One computation per module, an explicit list of detectors; obstruction.py removed
Each module returns every family it finds (kind); categories.py imports DETECTORS by name (no introspection, no CONTEXT) and drops from Obstruction the sensors already in an overlapping Target issue episode (formerly obstruction.py). No detector computed twice. Benchmark identical to the baseline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e9a7aa9d1
commit
5f085bf5ff
5 files changed
+24
-69
No files matched your search
@@ -195,7 +195,7 @@ def _episode(g, total):
|
||||
|
||||
|
||||
def detect(measurements):
|
||||
return sorted([e for e in episodes(measurements) if e["kind"] == "Displacement"] + drift(measurements),
|
||||
return sorted(episodes(measurements) + drift(measurements),
|
||||
key=lambda ep: ep["start"])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user