No domain logic in the app: labels checked by labeling (validate.check, ids.assign), client message and action by labeling/client.py, events by categories.window, references by data.is_reference; manual/ no longer written

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 09:32:20 +01:00
1 parent 7332306b79
commit a733575d65
7 files changed
+63 -109

No files matched your search

+3 -1
View File
@@ -15,7 +15,9 @@ import { StationImages } from "./Images.jsx";
const FAMILIES = { "Visibility": "#8ec5e8", "Obstruction": "#f0b072", "Thermal displacement": "#f08a7e", "Displacement": "#b39ddb",
"Target issue": "#e6d46a", "No data": "#c4c4be", "None": "#a8d5a2" };
const FAMILY_NAME = f => (f === "None" ? "None (curves intact)" : f);
const FAMILY_CHOICES = [{ value: "", label: "(no family)" }, ...Object.keys(FAMILIES).map(f => ({ value: f, label: FAMILY_NAME(f) }))];
// A label of auto/ has one of the six families (labeling/scripts/validate.py); None is the expert's, in manual/
const FAMILY_CHOICES = [{ value: "", label: "(choose a family)" },
...Object.keys(FAMILIES).filter(f => f !== "None").map(f => ({ value: f, label: f }))];
// LLM and Analysis: the same labels, labeling/auto/; LLM reads them, Analysis edits, deletes them, and has the analyst make
// some on a range (app/server/analysis.py)
const SOURCES = [{ value: "detectors", label: "Detectors" }, { value: "auto", label: "LLM" }, { value: "analysis", label: "Analysis" }];