Project

General

Profile

Actions

Bug #343

open

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

Added by Mrinmoy Kakoti 26 days ago.

Status:
New
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

No data to display

Actions

Also available in: Atom PDF