Project

General

Profile

Actions

Bug #343

closed

Inconsistent labeling between API and UI for Readiness Score and Optimal Level in Analysis screen

Added by Mrinmoy Kakoti 4 months ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Start date:
02/18/2026
Due date:
% Done:

0%

Estimated time:

Description

Environment

App: CalmSync iOS

Build: 1.90

Module: History → Therapy → Analysis Screen

Description

When navigating from History → Individual Therapy → Analysis screen, the UI displays the labels “Readiness Score” and “Optimal Level.”

However, in the API response JSON, the field is named optimalValue.
This creates confusion because Readiness Score and Optimal Level appear to represent different metrics, but the backend only provides a single field.

The frontend needs clear labeling and mapping to avoid misinterpretation.

Steps to Reproduce

Open the app

Navigate to History

Select a user → Open an individual therapy

Go to the Analysis screen

Scroll down to view metrics

Compare UI labels with API response

Actual Result

UI shows two labels:

Readiness Score

Optimal Level

API response contains only:

"optimalValue":

Expected Result

Either:

Provide separate backend fields for Readiness Score and Optimal Level, OR

Update frontend labeling to clearly match the API field (optimalValue).


Files

IMG_0593.jpg (366 KB) IMG_0593.jpg Mrinmoy Kakoti, 02/18/2026 10:47 AM
Actions #1

Updated by Nisha Yadav 25 days ago

  • Status changed from New to In Progress

Readiness is only the title. Below it, we are displaying the optimal value, and the design is according to Figma.

Actions #2

Updated by Nisha Yadav 20 days ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by Mrinmoy Kakoti 9 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF