thresholds.md, CLAUDE.md, README.md: the simplified detectors
thresholds.md keeps only the remaining constants, with shortened history; CLAUDE.md and README.md describe the five modules, common.py, the families each gives, the reader of the tools repository and the event fields; the benchmark takes about 1 min. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8b5f8a34b9
commit
000e8bd6e4
3 files changed
+51
-78
No files matched your search
@@ -4,22 +4,20 @@ The AIMsight anomaly detectors and their benchmark. Python 3, standard library o
|
||||
|
||||
## The detectors
|
||||
|
||||
One detector per anomaly family of the displacements, in `scripts/`:
|
||||
Five modules in `scripts/`, one per kind of reading; each gives episodes of one or more of the six families:
|
||||
|
||||
| Family | Detector |
|
||||
|---|---|
|
||||
| Visibility | `visibility.py` |
|
||||
| Obstruction | `obstruction.py` |
|
||||
| Target issue | `target_issue.py` |
|
||||
| Thermal displacement | `thermal_displacement.py` |
|
||||
| No data | `no_data.py` |
|
||||
| Displacement | `displacement.py` |
|
||||
| Module | Reads | Families (varieties) |
|
||||
|---|---|---|
|
||||
| `visibility.py` | error_value of each sensor; fast noise of the curves | Visibility (Poor visibility "none" or "reduced", Heat shimmer), Obstruction (Brief obstruction) |
|
||||
| `target_issue.py` | rejections day after day | Target issue (Degraded target), Obstruction (Target obscured) |
|
||||
| `thermal_displacement.py` | the daily wave of the curves | Thermal displacement (Thermal expansion / contraction, Camera thermal expansion / contraction, Camera thermal movement) |
|
||||
| `no_data.py` | the cadence of the measurements | No data |
|
||||
| `displacement.py` | jumps and slow drift of the corrected curves | Displacement (Sudden jump, back to normal; Lasting shift; Jump, not back yet; Slow drift) |
|
||||
|
||||
`categories.py` runs them all and classifies their episodes into events, one line per event; they read a station folder through `scripts/data.py` of the tools repository, the sibling `~/aimsight-tools`.
|
||||
`common.py` holds their shared helpers. `categories.py` runs them all and classifies their episodes into events (a jump back joins the visibility loss or the obstruction that explains it; the same variety less than an hour apart, one event), one line per event. The measurements are read by `scripts/data.py` of the tools repository, the sibling `~/aimsight-tools`.
|
||||
|
||||
```bash
|
||||
python3 scripts/categories.py <station folder> --from YYYY-MM-DD --to YYYY-MM-DD # --chunk N, --history N
|
||||
|
||||
```
|
||||
|
||||
`thresholds.md` is the registry of the detectors' thresholds and what each was tuned on.
|
||||
@@ -40,4 +38,4 @@ A change to a detector is checked with the benchmark; a refactoring leaves every
|
||||
|
||||
The detectors are improved by Optimizer (its `optimize` skill, from one analysis), with the `upgrader` and `validator` agents of the agents repository: on the range of an analysis, its labels as the truth, the upgrader fixes the detectors (one commit per fix here) and the validator keeps, removes or cancels the fixes against overfitting, judged by this benchmark. Nothing is pushed.
|
||||
|
||||
Copied from Support-Agent on 2026-11-13 (commit 48a3092); the detectors now evolve here. Used by aimsight-app and Optimizer, through a `detectors -> ~/aimsight-detectors` link (one copy on the workstation); their labels come from the `labeling` repository, their data from `aimsight-data`. The architecture of the repositories: `~/aimsight-app/docs/architecture.drawio`.
|
||||
Copied from Support-Agent on 2026-11-13 (commit 48a3092), simplified on 2026-11-16 (branch `simplify`); the detectors now evolve here. Used by aimsight-app and Optimizer, through a `detectors -> ~/aimsight-detectors` link (one copy on the workstation); their labels come from the `labeling` repository, their data from `aimsight-data`. The architecture of the repositories: `~/aimsight-app/docs/architecture.drawio`.
|
||||
Reference in new issue
Block a user