Skip to main content

Module rules

Module rules 

Source
Expand description

Service rule values the screen shows and the mock service reuses (ADR 0014).

The service judges with these named constants instead of literals. This crate’s tests also write their values into ipc/bindings/rules.ts next to the generated types, so the screen and the mock import them rather than copying numbers by hand; CI’s bindings diff (ADR 0003) covers that file.

Structs§

CalibrationLimits
Inclusive (low, high) range of each value calibration_settings_edit clamps (upstream calibration.py and step_calibration.py constants).

Constants§

ARRANGEMENT_COUNTS
Measurement arrangements by position count.
CALIBRATION_LIMITS
CONFIG_GROUPS
Configuration groups in the order the service lists them: the upstream (Korean) group name that keys the XO map, then the presentation id.
JOB_HISTORY_MAX
Finished jobs the service keeps in its job list beside every active one (ADR 0009).
RC_LO_READ
Upstream’s clamp of a stored RC low edge (calibration.py), kept for reading project files so a stored 10–19 Hz still computes as before (ADR 0024, D48).
RECENT_PROJECTS_MAX
How many recent projects the app settings keep.
START_DELAYS
Start delays before each measured position, as upstream stores them in extra['start_delay'] (step 4 of the wizard).
SWEEP_LENGTHS
Sweep lengths a measurement plan accepts, shortest first.