fix(sf-10): velocity LEFT JOIN + velocity_data_available flag #284

Merged
lekss361 merged 1 commit from fix/sf-10-velocity-left-join-v2 into main 2026-05-17 13:00:19 +00:00

1 commit

Author SHA1 Message Date
lekss361
b7ce4a589c fix(sf-10): velocity LEFT JOIN + velocity_data_available flag
Replace INNER JOIN on objective_complex_mapping with LEFT JOIN approach:
competitors without mapping now return velocity=0 with
velocity_data_available=False instead of being silently dropped.

UI: VelocityBlock shows 'нет данных velocity' badge when flag is False
and hides the gauge (meaningless zero). TS type updated (additive optional
field, backward compat).

Audit (EKB, region_cd=66): mapped=129, unmapped=1387, total=1516.

Closes #271 item #10
2026-05-17 15:51:43 +03:00