Bug #343
openInconsistent labeling between API and UI for Readiness Score and Optimal Level in Analysis screen
0%
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
No data to display