auto: the analysts verified the labels of 32 periods (11 stations, up to 14 days each): 710 labels -> 835, 587 unchanged; one analysis folder per period with its report (section Verification)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 15:13:44 +01:00
1 parent df979301b5
commit 2a5d87659b
279 files changed
+10758 -710

No files matched your search

@@ -0,0 +1,16 @@
"""For each label of a file: the scan lines (work/scan_all.txt) around its start and its end (+-N instants)."""
import json, sys
O = sys.argv[1]; N = int(sys.argv[3]) if len(sys.argv) > 3 else 3
lines = [l.rstrip() for l in open(O + '/work/scan_all.txt')]
ts = ['2026-' + l.split()[0] for l in lines]
for l in open(sys.argv[2]):
d = json.loads(l)
print(f"=== {d.get('id','')} {d['start']} -> {d['end']} {d['family']}")
for edge in (d['start'], d['end']):
i = next((k for k, t in enumerate(ts) if t >= edge), len(ts))
for k in range(max(0, i - N), min(len(ts), i + N + 1)):
s = lines[k]
import re
s = re.sub(r' pan\S+ tilt\S+ rot\S+ sc\S+', '', s)
print(('>' if ts[k] == edge else ' ') + s[:190])
print(' ...')