Frontend Config Portal

Version: -
Status: -
Hash: -
Updated: -
0 pending changes
Total Tests 0
Categories 0
Visible 0
Loading tests hierarchy...

Tests

0 tests found
📋

Click "Load Tests" to see available tests

Config Structure

Loading config structure...

Compare Versions

Select two versions to compare

Older is the baseline; Newer defaults to the active production version. Adjust as needed, then click Compare.

Loading formulas...

Has Scoring Config
Missing Scoring Config

Loading test hierarchy...

Switch to this tab to load images...

Loading norm sets...
Loading reference tables...

Formula / Config Sync

Click Run Validation to compare formula requiredMeasurements against the config tree.

Implicit Calculation Dependencies

Click Scan to find formulas with calculated tests incorrectly listed in requiredMeasurements.
These should be moved to Calculation Dependencies (requiredCalculations).

Formula Execution Test

Click Run All Tests to execute every formula with mock data and update validation status.

Select Levels Format

Choose the format for your levels and norm descriptions:

Select Race/Ethnicity

Choose a race/ethnicity to add:

Already added races are disabled

Define Effect Variable

For now, this dialog only supports activity level from the API (activityLevel or activity_level). Other effect keys are not configurable here yet.

This is the variable name used in your formula
activity_level
The backend accepts either key; values must be one of the activity level labels in the mapping below.
Used when request body key is missing or value not in mapping
Fixed activity levels with editable numeric values:

Create New Formula

Measurements
Loading measurements...
Operators
+
-
*
/
**
//
%
(
)
Use the equation editor above. Variables like body_weight, height will be replaced with actual values.

Required Measurements

Define measurements required for this formula. You can specify different requirements based on race, gender, and age.

Effect Variables

Activity level only for now: the portal wires activityLevel / activity_level to numeric factors. Use Save Formula to persist.

Insert name into math formula

Validation Warnings

Define validation warnings that will be shown when input values are outside expected ranges. Warnings are non-blocking - calculations will continue even if warnings are triggered.

No warnings defined. Click "Add Warning" to add validation warnings.
result = 

Formula Type

Select the type of formula. Changing the type may affect existing formula content.

Test Formula

Edit Test

✏️

Select a test from the list to edit

Add Required Measurement

1. Race
2. Gender
3. Age
4. Measurements

Select Race

Choose the race/ethnicity for this requirement. Select "Default" for race-agnostic requirements.

Select Gender

Choose the gender for this requirement. Select "All" for gender-agnostic requirements.

Select Age Range

Choose the age range for this requirement. Select "All" for age-agnostic requirements.

Select Measurements

Select the measurements required for this combination.

Add Norm Levels

1. Race
2. Gender
3. Age
4. Levels

Select Race

Choose the race/ethnicity for these norm levels. Select "Default" for race-agnostic levels.

Select Gender

Choose the gender for these norm levels. Select "All" for gender-agnostic levels.

Select Age Range

Choose the age range for these norm levels. Select "All" for age-agnostic levels.

Define Levels

Define the classification levels. Use a template or copy from an existing node.