- 32 analyses: each label kept, rewritten or removed by its analyst (section Requalification of the report; mm magnitudes where the targets have them) - SNCF01 x3, WILDSTRUBEL 2026-09-01 -> 2026-10-06 x3: verified from their existing labels under the new rules - long labels (no analysis): auto/analyses/long-labels/<STATION>/; NORDEND-169 and -195 run to 07/11, so NORDEND-283 and -284 (their continuation) are removed - reading-rules.md, stations.md: the citations of removed or rewritten labels point to their successor, or to [expert] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
957 B
Python
18 lines
957 B
Python
"""Write labels.jsonl: input labels kept as is, except WILDSTRUBEL-199 corrected (battery not full at the 30/10 return)."""
|
|
import json
|
|
D = "labeling/auto/analyses/long-labels/WILDSTRUBEL/"
|
|
out = []
|
|
for line in open(D + "input.jsonl"):
|
|
l = json.loads(line)
|
|
if l["id"] == "WILDSTRUBEL-199":
|
|
old = "come back only on 30/10 in the evening, the battery full, with daytime images on 31/10, still without a displacement measurement."
|
|
new = ("come back only on 30/10 in the evening, the battery well charged but not full; it is full only on 31/10 in the morning, "
|
|
"with daytime images on 31/10, still without a displacement measurement until that evening.")
|
|
assert old in l["description"]
|
|
l["description"] = l["description"].replace(old, new)
|
|
l.pop("review", None)
|
|
out.append(l)
|
|
with open(D + "labels.jsonl", "w") as f:
|
|
for l in out:
|
|
f.write(json.dumps(l, ensure_ascii=False) + "\n")
|