1.8 KiB
1.8 KiB
CLAUDE.md
labeling: the AIMsight displacement labels and the knowledge to place them, in a single copy on the workstation (README.md). Diagnostic-App reads and writes there, Optimizer only reads, both through a link labeling -> ~/labeling; commits are made here.
- The labels:
manual/<STATION>.jsonl(the expert, for him alone),auto/<STATION>.jsonl(the agents, reviewed byreview), one per line,{"id", "start", "end", "family", "description", ...}. The Diagnostic-App analyses:auto/analyses/<STATION>_<start>_<end>/. - The knowledge:
families.md(the families, their boundaries),labeling-rules.md(bounds, a single event, description, stated cause),label-map.md(the phenomena, via its summary),knowledge/. - The tools, standard library:
python3 validate.py [STATION | file.jsonl](the rules),python3 ids.py [STATION](the stable id of new labels),python3 precedents.py "<text>" [--exclude STATION START END] [--family F] [--k N](the RAG; it starts the Ollama containerollama-bge-m3by itself if it does not answer;--checkwithout it). - Verify:
python3 validate.py(today 18 expected errors: the labels submitted by the app withoutreview) andpython3 precedents.py --check.
Rules:
manual/is the expert's, for him alone: no agent and no process reads or writes there; the whole project (analyst, precedents, benchmark, optimization) uses onlyauto/.- A label added to
auto/goes throughids.pythenvalidate.py; an id never changes. - Every time is in UTC; descriptions in words, without numeric values; written in English from now on.
- No rule specific to a station, a target or a date in the rules and the families.
- Commit by path, never
git add -A: Diagnostic-App writes here at the same time. - Language: English.