wf-improve tools in skills/wf-improve/scripts/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6df274f580
commit
80e00a4898
8 files changed
+21
-22
No files matched your search
@@ -9,14 +9,13 @@ python3 scripts/categories.py <station folder> --from YYYY-MM-DD --to YYYY-MM-DD
|
||||
The station folder: `displacement/`, `metrics/`, `camera/` (the format of `data/<STATION>/` in Diagnostic-app).
|
||||
|
||||
- `scripts/`: the detectors (`visibility.py`, `obstruction.py`, `target_issue.py`, `thermal_displacement.py`, `no_data.py`, `displacement.py`), `categories.py`, `data.py`.
|
||||
- `scripts/wf-improve/`: the wf-improve workflow's tools, run from the working repository: `regression.py` (the benchmark, all labels of `labeling/auto/`), `score.py` (the score of a range), `sensors.py` (the sensors of each event).
|
||||
- `thresholds.md`: the registry of the detectors' thresholds.
|
||||
|
||||
## The wf-improve workflow: a Claude Code plugin
|
||||
|
||||
The repository is also a Claude Code plugin (`.claude-plugin/plugin.json`), to be mounted as `detectors/` in a working repository that has `labeling/` (the labels, `labeling/auto/<STATION>.jsonl`; the analyses, `labeling/auto/analyses/`), `data/` and `agent-tools/`: Diagnostic-app, where it is a submodule.
|
||||
|
||||
- `skills/wf-improve/SKILL.md`: `/detectors:wf-improve <analysis>`, the session that improves the detectors from an analysis of the Data page, without overfitting.
|
||||
- `skills/wf-improve/`: `/detectors:wf-improve <analysis>` (`SKILL.md`), the session that improves the detectors from an analysis of the Data page, without overfitting; its tools in `scripts/`, run from the working repository: `regression.py` (the benchmark, all labels of `labeling/auto/`), `score.py` (the score of a range), `sensors.py` (the sensors of each event).
|
||||
- `agents/`: `upgrader` (diagnoses and fixes the detectors) and `validator` (LLM-as-judge: keeps, removes or cancels the fixes), called `detectors:<name>`.
|
||||
- `wf-improve/`: the sessions, one folder `<session>_<analysis>/` each, written by the skill.
|
||||
|
||||
@@ -24,7 +23,7 @@ From the working repository:
|
||||
|
||||
```bash
|
||||
claude --plugin-dir detectors # then /detectors:wf-improve <analysis>
|
||||
python3 detectors/scripts/wf-improve/regression.py # the benchmark
|
||||
python3 detectors/skills/wf-improve/scripts/regression.py # the benchmark
|
||||
```
|
||||
|
||||
The session commits the detectors here, on `main`, without pushing: push `detectors` so that everyone has the updated detectors.
|
||||
|
||||
Reference in new issue
Block a user