Skip to content

Crosswalk follow-ups: recall285, crosswalk_s6 (s4 stays), fa-sheet (#285) - #301

Open
jonfroehlich wants to merge 30 commits into
mainfrom
crosswalk-followups-285
Open

jonfroehlich wants to merge 30 commits into
mainfrom
crosswalk-followups-285

Conversation

@jonfroehlich

@jonfroehlich jonfroehlich commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Opens a PR for the crosswalk follow-ups (#285), which have lived on this branch with no PR.

Base is now main: the Stage 1 PR this was stacked on (#300) merged, and main was merged into this branch (one conflict, .gitignore, resolved by keeping both sides' entries). #296 (crosswalk-supervision-s7) is stacked on this one.

What's here

docs/crosswalk_followups_285.md and its code:

  • recall285: Jon's 162 marks on 175 Mapillary panos (Juneau, Laurens), used as the crosswalk recall check. recall_check.py compare reproduces s4's 63 of 110 on Juneau.
  • Sacramento pilot and the A4 pre-registration for crosswalk_s6 (OSM crossing=marked projection + Vistas snap; auto positives from Sacramento, Kaysville and Brussels).
  • crosswalk_s6 result: s4 stays.
    • The primary metric was met: Juneau three-seed recall 0.603 → 0.718 at the full dose.
    • Guard 6 failed: rig-masked false alarms on empty panos rose sharply, mostly on Laurens.
  • recall_check.py fa-sheet with tests, and the A4 follow-up 2 (no-paint hypothesis not supported).
  • Car-top by mount analysis.

Compute

Every klone job of crosswalk_s6 (jobs named cw285_*, all on 2026-11-13) is now in analysis_out/compute_log.jsonl: 71 records, 65.39 GPU-hours, $0 (klone ckpt-all is free).

  • Training: 60.55 GPU-h over 14 four-GPU records. 18.30 GPU-h of that went to the six first runs that failed on the scrubbed quota error and were rerun from step 0.
  • Inference: 4.83 GPU-h over 57 one-GPU jobs (10 s4 calibration jobs, 0.48; 47 for the seven s6 models, 4.36).
  • The raw sacct -X -D dump is committed (docs/data/compute/sacct_klone_2026-11-25_cw285.txt, hash pinned in docs/compute_cost.md), so the rows re-derive without cluster access. The per-job table is in docs/compute_cost.md; the doc's new "Compute and time" section has the totals and lists the local CPU/RTX 3070 steps that have no record.

Context for the next round

The Juneau AI Crosswalk pilot (sidewalk-auto-labeler#168; failure classes in #298) is the motivation for the next retraining round:

  • At s4's threshold of 0.23 the sent labels were ~0.72 precise on a seeded random sample.
  • Its false positives are mostly brick sidewalks and the capture car.

That round's pre-registration builds on this branch's scorer, so this branch should be reviewed first.

🤖 Generated with Claude Code — Opus 5.5, claude-opus-5-5

jonfroehlich and others added 21 commits November 10, 2026 16:54
…ploratory)

cartop_mask.py scores three arms on crosswalk_s4's rated cards (fit on the
two mining pages, test on the evaluation draws, intervals by Mapillary
sequence): the labeler's existing 49 deg rig mask, a single y cut-off, and
one box per mount.

On the 440 test detections the rig mask removes 7 of 72 false alarms and
0 of 359 crosswalks; a single cut-off costs crosswalks at every useful
level; per-mount boxes add 5 (all behind the Trimble vehicle) and do not
transfer for the two GoPro mounts. Results in docs/crosswalk_followups_285.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
C: recall_check.py draws one pano per OSM road-graph intersection (Laurens
95, Juneau 80), builds a detection-free marking page on gt_gallery, and
scores marks one-to-one against a model's detections. s4 predictions on
the 175 panos are committed; the page awaits ratings.

A: osm_arm.py style-check (Vistas component at confirmed clicks: Columbia
brick 0.81, Richmond 0.97, Laurens 7 of 16) and geometry-check (B1 + B2
from OSM nodes against clicks on Mapillary and Panoramax panos). First
city scout table in the doc.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Juneau: s4 at 0.23 finds 63 of 110 marked crosswalks within 25 m (0.57,
pano bootstrap 0.47 to 0.67). Laurens: 1 of 11 on 3 panos; 92 of 95
intersection panos have no crosswalk. Ratings and scores committed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Re-scores the same marks against the Vistas component at each click.
Juneau within 25 m: 63 -> 66 of 110; the change is confined to the
nearest crosswalks (10 -> 13 of 29). Where the segmenter sees no region
s4 finds 7 of 21, against 59 of 89 where it does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ision gate

Sacramento: 1,458 positives on 830 Mapillary panos; Jon rated 97 of 100
sampled placements crosswalk (bar 91). Kaysville: 421 positives on 300
panos; 98 of 100. Brussels region: crossings and an 882-pano list only,
no images yet.

- osm_city.py: crossings / panos / meta / store. Pano lists can come
  from a streetscape-tracker Mapillary census (--tracker-census); images
  are fetched by sidewalk-panorama-tools from pano_list.csv into a
  Project Sidewalk-layout pano store.
- osm_arm.py: city-score; city-place reads the pano store.
- score_274.py cards: --pano-dir accepts a sharded pano store.
- Per-city crossings, raw OSM pulls, candidates, pano lists, placements,
  the rated samples, Jon's ratings and scores.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…sit on small snapped regions

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…run or training job

root_v6 = root_v4 plus auto-placed OSM positives from Sacramento, Kaysville and
Brussels (two cuts: region > 100 px, at most 40 deg below the horizon), two doses,
three seeds. One primary (Juneau marks, three-seed mean), eight guards, six of
them automatic. Approved by Jon as written.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…; no s6 job yet

- osm_arm.py city-export: the pre-registered label rules -> 3,040 positives on
  1,705 panos (half dose 1,517 on 852). Collided placements add no ignore point
  (amendment: they zeroed the weight of the positive they sit on).
- export_stage2.py add-panos: --source, optional --census-rawlabels.
- recall_check.py compare: seed-averaged recall and confirmed-empty false alarms.
- score_274.py retention: guards 4 and 5 and their seed spread.
- Calibration (klone 43218286-43218295): s4 seeds find 63, 59, 77 of 110 Juneau
  marks; Seattle retention spread is 40 of 234.
- s6_calibration.sh, s6_train.sh: the klone submit scripts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…285)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ys (#285)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…heet) (#285)

Every detection guard 6 counts, grouped into spots across models, as a local
HTML sheet with crops; thresholds come from the compare.json files and the
sheet refuses to build unless its counts equal guard 6's. Doc: most new spots
are plain road surface, not a horizon artefact; some vehicle above the rig
mask; untested hypothesis about unpainted auto-placed positives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…85, natives)

Labels v6 full/half, the auto-placed OSM panos as trained, s6 and calibration
predictions, the recall285 draws, page and contact sheet, and the Sacramento,
Kaysville and Brussels store natives. Every v6 training JPEG was checked to be
in the staged archive by sha256. Klone checkpoints and slurm logs come next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crosswalk_s6full/_seed2/_seed3, crosswalk_s6half/_seed2/_seed3 and the
step control crosswalk_s4_steps1397, pulled from klone's durable
/gscratch/makelab/jonf/crosswalk274 (every sha256 matches its .sha256),
plus the 142 RampNet274/logs files from the calibration, training (incl.
the six quota failures and reruns), inference and scoring jobs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…heet.py (#285)

Written before any crop was built or looked at. pos_sheet.py draws a seeded,
stratified sample of training positives (auto 70/city, human 50, sdot_b2 30),
renders the training disc on crops from root_v6_full, and scores AI pre-pass
tags against the coded rule. recall_check._crop takes the window size as
arguments (defaults unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…raised by crossing style (#285)

AI pre-pass (claude-opus-5-5, not ground truth) on 290 blind cells: auto
no-paint 4.3% (2.3-8.0) vs human 4.1%, under the pre-registered 0.10 bar.
Peak-off-paint flag raised (auto 55.8% vs human 36.7%, sdot_b2 30.0%), driven
by Sacramento two-line crossings (47 of 49 peaks between the lines; human
two-line labels do the same, 9 of 9). Sample, tags and summary committed;
summary rederived by a test. Skim section now shows each tier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonfroehlich and others added 3 commits November 25, 2026 05:18
.gitignore conflict: kept both sides' entries (the #285 analysis_out
rules and main's #224/#150/#276/#248/#258 rules).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
71 records (jobs named cw285_*, sacct -X -D -u jfroehli since 2026-11-01,
pulled read-only on a klone login node on 2026-11-25), 65.39 GPU-hours, all
on ckpt-all, $0, all run on 2026-11-13. Training 60.55 GPU-h over 14
records (smoke run, seven finished runs, and the six first runs that failed
on the scrubbed quota error: 18.30 GPU-h); inference 4.84 GPU-h over 57 jobs
(ten s4 calibration jobs 0.48, 47 s6 jobs 4.36). Every job id the study doc
names is in the dump. Recorded before sacct retention drops it.

- docs/data/compute/sacct_klone_2026-11-25_cw285.txt: the dump, LF, sha256
  e3ecc206..., pinned in compute_cost.md.
- analysis_out/compute_log.jsonl: its parse, appended by slurm_usage.py
  with --out pointed at this checkout.
- compute_cost.md: per-job training table, inference ranges, the command.
- crosswalk_followups_285.md: a Compute and time section with the totals;
  the local CPU/RTX 3070 steps that have no record are stated as a gap.
- tests: the ledger-equals-dumps test covers the new dump and pins its
  totals; the doc's tables are checked against the ledger rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 4.84

CI on 7a379e8 failed two ways, both fixed here.

- tests/test_gitignore_tracked.py (arrived with the main merge, #251 part 3)
  found 19 tracked s6 files matched by .gitignore: v2_labels/s6/,
  s6_matched/ and the (b') preds of crosswalk_s6full, crosswalk_s6half and
  crosswalk_s4_steps1397. They were force-added on this branch before main
  had the test. Carve-outs added in the s4/s5 style; no untracked file is
  newly un-ignored.
- The s6 inference GPU-hours sum to 4.355 exactly. Python 3.12's
  compensated sum() rounds that to 4.36 and 3.10's naive sum() to 4.35, so
  the new ledger assertions failed on 3.10. They now use math.fsum.
- The inference total over all 57 jobs is 4.8342, so 4.83; the previous
  commit (and its message) said 4.84 by adding the two rounded parts.
  compute_cost.md and crosswalk_followups_285.md corrected, and the total
  is now asserted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonfroehlich

Copy link
Copy Markdown
Member Author

Review 1 of #301

Head reviewed: 16d0e3fe9d26a202ae2c5186bedda8863e053c13. Run on Windows with Python 3.12.10 (the repo venv), in a detached worktree. No remote host was contacted; the ledger was checked against the committed dump.

Verdict: the numbers hold; not ready to merge as it stands. Every headline number I re-derived from committed inputs came out as the doc states. One public-text item blocks (B1). The main should-fix items are that three committed s6 score files are not what the scorer at this head writes (S1), and that no check or test pins the numbers that decided "s4 stays" (S2).

What I re-derived, and it matched

Claim How Result
s4 finds 63 of 110 on Juneau (0.57, 0.47 to 0.67), and the rest of the section C table recall_check.py score and compare re-run on the committed verdicts and predictions identical to the committed recall.json, marks.csv and four compare.json files once CRLF is normalised (see S3)
Three-seed recall 0.603 → 0.718, +0.115 (0.067 to 0.169), seed 1 +0.282; half dose 0.673, +0.070 (0.023 to 0.120) same matches
Guard 6: rig-masked false alarms 6.67 → 112.0 (234, 41, 61) and 40.67 (48, 20, 54); unmasked 16.0, 140.7, 53.0; step control 9 same matches
Guards 1 and 2 (test F1 0.836 / 0.837 / 0.841 / 0.843; (b′) recall 0.687 / 0.673 / 0.705 / 0.688) means computed from the committed s6_matched/scores.json and s6_matched/bprime/scores.json matches. I could not re-run score or bprime-score: they need the Stage 2 root and the Seattle pano data, which are not in the repo (unverified beyond the committed files)
Guard 3 (Columbia 183 → 191 / 190 / 190) score_274.py label-recall re-run for all three arms byte-identical label_recall.json and label_hits.csv
Guards 4 and 5 (Seattle 204 / 209 / 198 of 234 against a bar of 194; Juneau 43 / 42 / 42 of 43) score_274.py retention re-run for two of the eight cells; the other six read from the committed files matches
A4 follow-up: 487 detections, 261 spots (Laurens 178, Juneau 83), 249 fired by no s4 seed, 126 from full seed 1 alone, 24 beyond 25 m, 272 of 458 on Laurens, 164 on 63 of 92 panos recomputed from spots.csv and _pano_stats matches
A4 follow-up 2: 4.3% (2.3 to 8.0), human 4.1%, peak off paint 55.8% / 36.7% / 30.0%, verdict and flag tests/test_pos_sheet_285.py re-derives summary.json from the committed tags passes
Car-top table (7, 16 and 7, 47 and 85, 5, 12 of 72; 0 of 359 for arms 0, 2 and 0+2) cartop_mask.py score re-run identical to the committed arms.csv, cards.csv, labels_hidden.csv, summary.json once CRLF is normalised
A3 gates 97, 98, 95 of 100, and the small-region split 13 of 20 and 277 of 280 recomputed from the three ratings CSVs and placements_kinds.csv matches, except one sentence (S8)
root_v6 counts (3,144 kept, 102 merged, 3,040 positives on 1,705 panos, 803 ignore points) and the manifest's input hashes read from root_v6/summary.json; sha256 of the four input CSVs recomputed matches. city-export itself needs records.jsonl from the lab archive, so it was not re-run (unverified)
Ledger: 71 records, 14 four-GPU, 6 FAILED, all ckpt-all, all on 2026-11-13; dump sha256 e3ecc206…, 13,920 bytes parsed the dump independently; tests/test_slurm_usage.py and test_compute_cost_tables_match_the_ledger_285 pass matches (see N2 for the rounding)

Tests: tests/test_fa_sheet_285.py, test_pos_sheet_285.py, test_slurm_usage.py, test_stage1_crosswalk_274.py: 50 passed. check_all.py --only manifests_sha256 and --only stage1_crosswalk_274: both pass. CI is green on this head.

Pre-registration order that the history does support: the A4 text was committed at 06:48:13 PST on 2026-11-13 (743cfba4) and the first calibration job was submitted at 06:52:40 (dump); the build and the one label-rule amendment were committed at 07:12:35 (5be292d2) and the first training job was submitted at 07:12:41. The missed-crosswalk scoring rule (radii, 25 m line, one-to-one matching) was committed on 2026-11-10 (52f59385), before the export of 2026-11-11. The Brussels gate was rated after the gate text was committed. pos_sheet.tally did not change between the pre-registration commit and the result commit.


Blocking

B1. The doc has a sentence about a data source's licence terms. docs/crosswalk_followups_285.md:778-779, the second sentence of the A4 "Known limits" paragraph (I am not quoting it here, for the same reason). Public docs in this repo state the practical constraint only, and the repo is public. No doc on main has a sentence like it (I searched docs/stage1_crosswalk_sdot_274.md on origin/main), so this PR introduces it. The sentence sits inside the text marked as fixed on 2026-11-13, so removing it should be noted as an edit that changes no rule. It is also in the branch history (743cfba4), which a merge commit carries to main; whether that matters is Jon's call.

Should-fix

S1. Three committed s6 score files are invalid JSON and are not what the scorer at this head writes. analysis_out/stage1_crosswalk_detector_274/v2_labels/s6/scores.json and s6_matched/scores.json each hold 543 bare NaN values, and s6_matched/bprime/scores.json holds 10. #300's review fix ffd50d78 made score_274.py write null (write_json, allow_nan=False) and regenerated the s4 and s5 files (s5_matched/scores.json: 0 NaN, 362 null). The s6 files were written on 2026-11-13 by the older scorer and were not regenerated after main was merged in.
Reproduce: grep -c NaN analysis_out/stage1_crosswalk_detector_274/v2_labels/s6_matched/scores.json prints 543, and 0 for s5_matched/scores.json; a strict parse (json.load with a parse_constant that raises) fails on the three s6 files and passes on the s5 one. Expected: the committed files equal what s6_score.sh writes at this head. The guard 1 and 2 values do not look affected (the s4 seed 1 test row in s6_matched/scores.json equals the one in the regenerated s5_matched/scores.json), but a rerun at this head will not reproduce these bytes. Regenerating the three files with s6_score.sh fixes it. I could not do that here, because it needs the Stage 2 root.

S2. Nothing pins the numbers that decided the round. docs/README.md lists osm_arm.py (no check) and recall_check.py (no check), and check_all.py has no entry for anything under analysis_out/crosswalk_followups_285/ or for the s6 files. check_274.py covers the s4 and s5 guards only. cmd_compare, _pano_stats (primary and guard 6) and cmd_retention (guards 4 and 5) have no test, and the doctests in recall_check.py, recall_region.py, pos_sheet.py and osm_arm.py are not run by CI: test_doctests in tests/test_stage1_crosswalk_274.py:30 is parametrised over score_274, brick_positives, crowd_arm and pilot only.

I applied 33 one-line mutations to the new code and ran the tests that cover each file; 24 survived. The ones that matter:

File, function Mutation Result
recall_check.py _pano_stats rig mask flipped (y <= RIG_MASK_Y → >=), so guard 6 counts only detections on the vehicle survives
recall_check.py _pano_stats 25 m population flipped (y >= Y_25M → <) survives
recall_check.py _pano_stats a pano with only unsure marks counted as confirmed empty survives
recall_check.py cmd_compare primary_met: lo > 0 and seed1 > 0 → or survives
recall_check.py cmd_compare seed spread without abs survives
recall_check.py cmd_score threshold >= → > survives
recall_check.py match_one_to_one j not in used dropped, so matching is no longer one-to-one survives pytest; only the module's own doctest catches it, and CI does not run that
recall_check.py _spots strongest-first sort dropped survives (the test and doctest inputs are already sorted)
recall_check.py cmd_fa_sheet the count self-check replaced by if False; threshold >= → > both survive
score_274.py cmd_retention verdict == "crosswalk" → !=; threshold >= → <; radius × 4 all three survive
score_274.py cmd_cards the sharded pano-store fallback removed survives
export_stage2.py add-panos --source ignored (always ps_crowd_jon_confirmed); pos_sheet.py relies on osm_vistas_auto to separate its strata survives
pos_sheet.py tally point flag and → or; POINT_FLAG_MARGIN 0.15 → 0.05 both survive
pos_sheet.py tally the hi < SUPPORT_MIN branch of "not supported" removed survives
pos_sheet.py tally training weights replaced by equal city weights survives (auto_no_paint_training_weighted is not compared by the summary test)

Killed: the wrap distance, the seam crop (the mutant loops forever, so the test would time out), _family, the Wilson-lower condition, the 0.03 margin and its branch, cant_tell in the denominator, between + off, and the blind cell order. Five more survivors are boundary flips or guards of little consequence and are left out. The doc says the three rule constants are "pinned by tests/test_pos_sheet_285.py"; POINT_FLAG_MARGIN and the both-strata condition are not.

These outputs re-derive from committed inputs in seconds (the ones I re-ran are in the table at the top), so a check_all.py entry that re-runs compare (4 files), score, retention (8), label-recall (3), cartop_mask.py score and city-score (3) and byte-compares would kill all of the scoring mutations, and adding the four modules to the doctest list would cover match_one_to_one and wrap_dist.

S3. The new writers do not pin line endings, so a rerun on Windows does not reproduce the committed bytes. score_274.py has write_json ("Every committed JSON goes through here: LF on every OS"), but the new cmd_retention in the same file (score_274.py:1803) uses a plain open(..., "w"), as do recall_check.py:175, 342, 453, 633, recall_region.py:184, cartop_mask.py:344, osm_arm.py:271, 383, 464 and osm_city.py:145, 247, 353. The CSV writers in recall_check.py and cartop_mask.py use csv's default \r\n terminator, while the committed files are LF.
Reproduce (Windows): run the compare command from the doc; git status then lists compare.json as modified and git diff warns "CRLF will be replaced by LF". The diff itself is empty only because core.autocrlf=input normalises it; a byte compare or a sha256 of the file fails. The same happens for recall_check.py score and cartop_mask.py score. pos_sheet.py and osm_arm.py city-export already do this correctly (newline="\n", lineterminator="\n").

S4. The four human rating files have no rubric with them. recall/ratings/recall285_verdicts_jon_2026-11-11.json and the three osm_arm/cities/<city>/ratings/ratings_a3_<city>_jon_<date>.csv are per rater, which is right. The rubric each was rated under is only in the doc and in code (BANNER in recall_check.py; DEFINITIONS["paint_brick"], the gate question and "unsure counts as not correct" for the A3 pages). #300 added analysis_out/stage1_crosswalk_detector_274/ratings_definitions.csv and test_ratings_definitions_sidecar for exactly this; these four files are outside that test's glob and have no row anywhere. Expected: a sidecar row (or a rubric field) per file, with the instruction text and the definition name. The AI tags file does carry its vocabulary and protocol.

S5. Two "written before the data" claims are not supported by the history, and the approvals have no source.

  • A3 gate, Sacramento and Kaysville. The doc says the precision gate was "written before any placement was looked at". The gate text and the 91 bar first appear in a92264d8, committed 2026-11-12T15:05:06Z. Sacramento's 100 cards were rated 2026-11-11T21:53 to 21:56Z and Kaysville's 2026-11-12T14:57 to 15:02Z (rated_at in the CSVs), both before that commit. Only Brussels (rated 23:53Z) follows it. If the gate was written earlier somewhere else, the doc should say where.
  • A4 follow-up 2. "Written and committed before any crop was built or looked at": the pre-registration is 10884acf (06:24:58 PST, 2026-11-15) and the result, with 290 cells tagged, 19 re-viewed, the key opened and the style split written up, is 98d3f376 (06:32:56), 7 min 58 s later. That is not proof of anything, but the history cannot show the order the doc claims. The rule code did not change in between, which is the part that matters most; the doc should say what the evidence for the order is. This round is exploratory and decides nothing.
  • Approvals. "Plan approved by Jon on 2026-11-10", "Jon approved this text before any calibration run", "Juneau and Laurens contribute nothing (Jon, 2026-11-12)" and "Jon chose Sacramento" cite nothing, and Crosswalk detector: auto-label many cities from OSM marked crossings (Stage 1 for crosswalks) #285 has no comments at all, so the run status the repo rules ask for in issue comments is absent too. The doc also says twice that the 91 bar is "proposed; Jon has not confirmed it", while three cities were admitted on it. One line on Crosswalk detector: auto-label many cities from OSM marked crossings (Stage 1 for crosswalks) #285 recording the approvals and the outcome would close this.

S6. The docs index row is stale. docs/README.md says "in progress (three OSM pilots passed; crosswalk_s6 pre-registered 2026-11-13, training)" and its summary stops at the pre-registration. The doc's result is that both doses failed guard 6 and s4 stays, with two follow-ups after that.

S7. archive_274.py describes the v6 root wrongly. archive_274.py:177: "v6 full-dose label JSONs: v5 plus 1,603 auto-placed ... train panos (5,999 train ...)". The doc and root_v6/full/manifest.json say the opposite: src_root is root_v4 ("root_v4 (not root_v5)") and new_panos is 1,705 (4,294 + 1,705 = 5,999). 1,603 is 5,999 minus v5's 4,396. This string goes into the archive's manifest and README, where it would be read as provenance. The same file's README text also points to "branch crosswalk-followups-285", which will be stale once this merges.

S8. One sentence about the gate misses is wrong. docs/crosswalk_followups_285.md:649: "The other three misses: two on the capture vehicle (Kaysville, see above) and one Sacramento near miss." From the committed ratings and placements_kinds.csv, the three misses on regions over 100 px are two Sacramento cards (the median, 14,992 px; the curb ramp, 130,592 px) and one Kaysville capture-vehicle card (469,184 px). The other Kaysville vehicle card is on a 16 px region and is already among the seven. The table (4 of 5 Kaysville, 5 of 6 Sacramento small; 94 of 95 and 92 of 94 large) and the pre-registration's "2 of those 10 cards pass the cuts" are right; only this sentence disagrees with them.

Nits

  • N1. Local machine paths in committed text. docs/crosswalk_followups_285.md:160 (D:/Git/sal-scratch-keep/recall285/page/index.html); usage docstrings in cartop_mask.py, osm_arm.py and osm_city.py; root_v6/{full,half}/manifest.json (src_root, root, and one inputs_sha256 key under D:/Git/RampNet-wt/...); the source field of the recall285 verdicts export. main has precedent for all of these, so this is a nit, but the rest of this doc already uses <keep> and would read better with it throughout.
  • N2. Three ledger figures depend on rounding rows before summing. From elapsed seconds in the dump the totals are exactly 65.385 GPU-h (all), 60.551 (training), 18.297 (failed runs), 0.479 (calibration) and 4.3547 (s6 inference). The doc's 65.39 and 4.36 come from summing rows already rounded to four places and then rounding a tie up (hence the math.fsum fix); from the dump itself the s6 inference figure is 4.35, and then 0.48 + 4.35 = 4.83 adds up. compute_cost.md says "the s6 range is 4.355 exactly", which is true of the rounded rows, not of the jobs. This follows the convention of the earlier sections, so no change is needed beyond wording.
  • N3. Unrounded floats in new committed JSON (pos_sheet/summary.json, the three label_recall.json). They are pure-Python arithmetic and the test passes on both CI Pythons, so nothing is failing.
  • N4. root_v6 input hashes are pinned in the manifests but the CSVs are not marked -text in .gitattributes, unlike the sacct dump. A clone with core.autocrlf=true would fail those hashes.
  • N5. recall.json reports panos_with_no_crosswalk: 120 where the doc says 119; the difference is the one pano with only an unsure mark. Worth a word in the doc or a separate field.
  • N6. Section C still says of the marking page "It has not been opened in a browser by the author", which predates the rating.
  • N7. Many counts are marked "ad hoc" (height bands, empty-pano counts, seam counts, the small-region split, the crossing-style split, contributor and camera counts, the A0 Overpass counts). The doc says so each time, which meets the rule. I re-derived the height bands, the empty-pano counts, the seam counts and the small-region split from committed files and they match; the style split, the contributor counts and the A0 table need files outside the repo (unverified).

🤖 Generated with Claude Code — Fable 5.2, claude-fable-5-2

jonfroehlich and others added 2 commits November 25, 2026 07:20
Review 1, B1. The paragraph notes that one sentence was removed after the
A4 text was fixed and that it stated no rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ew 1, S1)

The three s6 score files (v2_labels/s6/scores.json, s6_matched/scores.json,
s6_matched/bprime/scores.json) were written on 2026-11-13 by the scorer
before ffd50d7 and held 543, 543 and 10 bare NaN tokens. Each was parsed
with Python's json (NaN allowed) and written back through
score_274.write_json (finite, allow_nan=False, newline='', indent 1).

Proof that only the NaN tokens changed: for each file the old bytes with
every NaN token replaced by null equal the new bytes, and a structural
compare finds every non-NaN value identical. Guards 1 and 2 re-derived
from the new files: test F1 means 0.836 / 0.837 / 0.841 / 0.843 and (b')
recall 0.687 / 0.673 / 0.705 / 0.688, as in the doc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonfroehlich and others added 3 commits November 25, 2026 07:28
…cision numbers (review 1, S3, S2 part 1)

S3. The new writers in recall_check.py, recall_region.py, cartop_mask.py,
osm_arm.py and osm_city.py opened JSON files without newline="" and wrote
CSV with csv's default \r\n terminator, so a rerun on Windows did not
reproduce the committed LF bytes. Every one now opens with newline="" and
writes CSV with lineterminator="\n"; score_274.py cmd_retention goes
through write_json like the rest of that file. No committed output changes:
check_285 below regenerates 29 of them with these writers and every one is
byte-identical to the committed file, so nothing needed regenerating.

S2, part 1. check_285.py (the new check_all entry crosswalk_followups_285,
in --ci, about 20 s) re-runs from committed files into a temp dir and
byte-compares:
- recall_check.py compare: s4_calibration, s6_full, s6_half, s6_steps
  (the primary and guard 6);
- score_274.py retention: calibration and the three arms, Seattle and the
  fresh Juneau draw (guards 4 and 5, eight files);
- score_274.py label-recall: Columbia, seed 1 of each arm (guard 3);
- recall_check.py score and recall_region.py score (section C);
- cartop_mask.py score (section B);
- osm_arm.py city-score for the three A3 gates.
Guards 1 and 2 need the Stage 2 root and are not re-run; the note says so.

Writing the check found one more hazard: retention read a missing
predictions path as an empty file and counted 0 kept. It now refuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…I; rubric sidecar (review 1, S2 part 2, S4)

S2. tests/test_crosswalk_285_decisions.py pins, on synthetic inputs: guard
6's rig mask, the 25 m population, one-to-one matching and what counts as
a confirmed-empty pano (_pano_stats); primary_met needing both the
interval and seed 1, and the seed spread's abs (cmd_compare); the score
threshold (cmd_score); fa-sheet's strongest-first spots and its own count
check against compare.json; retention's verdict filter, threshold and
radius; the pano-store path cards reads; add-panos --source; and
pos_sheet.tally's three constants, the point flag's margin over both
strata, both not_supported branches, the boundary of the bar and the
training weights. test_doctests now also runs recall_check, recall_region,
pos_sheet and osm_arm. Fable's 33-mutant harness, rerun on this tree:
all 33 killed (24 survived before).

To test the cards path rule, cmd_cards' nested image_path is now the
module-level card_image_path (same behaviour). check_285.py takes --check
(what it always does) so the docs index can label it a check; the
check_all entry passes it.

S4. analysis_out/crosswalk_followups_285/ratings_definitions.csv records,
per human rating file, the instruction text its page showed:
recall_check.BANNER for the missed-crosswalk page, paint_brick for the
three A3 pages, with a note that Sacramento's and Kaysville's question and
unsure rule were written down after those pages were rated.
test_ratings_definitions_sidecar_285 checks the list against the files on
disk and the text against the code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s (review 1, S5-S8, N1-N6)

S5. The doc now says only what git history supports. The A3 gate and its
91 bar first appear in a92264d (2026-11-12 07:05 PST), after Sacramento
and Kaysville were rated (rated_at in the committed CSVs); the heading's
"written before any placement was looked at" is replaced by those times,
and only Brussels was rated under committed text. The A4 pre-registration
cites 743cfba (06:48) against the first calibration and training
submits (06:52, 07:12, from the committed sacct dump). A4 follow-up 2's
pre-registration (10884ac) and result (98d3f37) are 7 min 58 s apart;
the doc says so and that tally and its constants are identical in both.
Jon's approvals and choices (plan, Sacramento, the A4 text, Juneau and
Laurens out, the 91 bar) are stated as not recorded in writing: no source
exists in #285, #274, #296, #300 or #301.

S6. docs/README.md: the row gives the s6 outcome and labels osm_arm.py and
recall_check.py as checked via check_285.py.
S7. archive_274.py: v6 full is root_v4 plus 1,705 panos (4,294 + 1,705 =
5,999), half root_v4 plus 852; the README text no longer names branches.
S8. The three large-region A3 misses are two Sacramento cards and one
Kaysville vehicle card, from the committed a3_score.json files.
N1. <keep> and <sal-juneau> placeholders in the doc and three docstrings.
N2. compute_cost.md explains 4.36 (rounded rows) against 4.3547 (dump).
N4. .gitattributes keeps the #285 outputs and the draw lists root_v6's
manifests pin as LF. N5. recall.json's 120 against guard 6's 119.
N6. The page line no longer says it was never opened.
Also: a literal \n in the Sacramento replication block, and a note that
POINT_FLAG_MARGIN is now pinned by test_crosswalk_285_decisions.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonfroehlich

Copy link
Copy Markdown
Member Author

Answer to review 1

Head before the fixes: 16d0e3fe. Head now: 87b3fd77. Five commits, all fast-forward. Every finding was reproduced before it was changed.

Finding Status Commit
B1 fixed a7bfbda3
S1 fixed 2216936c
S2 fixed (check + tests + doctests) 9cc73d9e, f2c262c4
S3 fixed; no output needed regenerating 9cc73d9e
S4 fixed f2c262c4
S5 fixed in the doc; the #285 status line is left for Jon 87b3fd77
S6, S7, S8 fixed 87b3fd77
N1 fixed, with three provenance records kept (below) 87b3fd77
N2, N4, N5, N6 fixed 87b3fd77
N3 no change (below) —
N7 no change —

B1. Removed a sentence that does not belong in a public doc (B1). The paragraph now notes that one sentence was removed after the A4 text was fixed and that it stated no rule. It is still in the branch history (743cfba4); whether to rewrite that is Jon's call, so history is untouched.

S1. Each of the three s6 score files was parsed with Python's json (NaN allowed) and written back through score_274.write_json. Proof that only the NaN tokens changed: for each file, the old bytes with every NaN token replaced by null equal the new bytes (543, 543 and 10 replacements), and a structural compare finds every non-NaN value identical. Guards 1 and 2 re-derived from the new files: test F1 means 0.836 / 0.837 / 0.841 / 0.843 and (b′) recall 0.687 / 0.673 / 0.705 / 0.688, as in the doc. Not regenerated with s6_score.sh, which needs the Stage 2 root.

S2. New check scripts/analysis/stage1_crosswalk_sdot_274/check_285.py --check, registered in check_all.py as crosswalk_followups_285 (in --ci, about 20 s). It re-runs from committed files into a temp dir and compares byte for byte: compare (4 files: primary and guard 6), retention (8: guards 4 and 5), label-recall (3: guard 3), section C score and recall_region.py score, cartop_mask.py score, and osm_arm.py city-score for the three gates. 29 of 29 outputs are identical. Guards 1 and 2 are not re-run (Stage 2 root); its note says so.

Writing it turned up one more hazard: retention read a missing predictions path as an empty file and reported 0 kept. It now refuses (9cc73d9e, tested).

test_doctests now also runs recall_check, recall_region, pos_sheet and osm_arm. tests/test_crosswalk_285_decisions.py pins the rules on synthetic inputs. Your harness, rerun on this tree with the new tests (and a timeout for the _crop loop): all 33 mutants killed (24 survived before). The test that kills each:

Mutant Killed by
rc1 rig mask flipped, rc3 one-to-one dropped, rc4 25 m flipped, rc12 unsure-only as empty test_pano_stats_rig_mask_25m_population_one_to_one_and_empties
rc2 primary_met and → or test_primary_needs_both_the_interval_and_seed_1
rc13 seed spread without abs test_seed_spread_is_the_largest_absolute_difference_from_seed_1
rc14 score threshold >= → > test_score_counts_a_detection_at_exactly_the_threshold
rc5 match radius boundary test_a_mark_exactly_at_the_radius_is_matched
rc7 strongest-first sort dropped test_spots_take_the_strongest_detection_first_whatever_the_input_order
rc8 spot radius boundary test_a_detection_exactly_at_the_spot_radius_joins_the_spot
rc10 fa-sheet threshold >= → > test_fa_sheet_counts_what_guard_6_counts
rc11 fa-sheet self-check removed test_fa_sheet_refuses_a_count_that_differs_from_compare_json
sc1 radius ×4, sc2 verdict !=, sc3 threshold < test_retention_counts_confirmed_cards_kept_at_threshold_within_the_radius
sc4 sharded pano-store fallback removed test_cards_reads_a_flat_dir_or_a_sharded_pano_store (the nested image_path is now the module-level card_image_path, same behaviour)
ex1 add-panos --source ignored test_add_panos_writes_the_given_source
ps1 bar boundary test_supported_at_exactly_the_bar
ps3 hi < SUPPORT_MIN branch removed test_not_supported_when_the_interval_stays_under_the_bar
ps5 point flag and → or test_point_flag_needs_the_margin_over_both_human_and_sdot
ps7 equal city weights (and ps6) test_committed_summary_weights_cities_by_training_positives
ps8 margin 0.3, ps9 POINT_FLAG_MARGIN 0.05 test_the_three_rule_constants_are_the_preregistered_ones (and the point-flag cases)
ps11 human stratum without ps_crowd_jon_confirmed test_the_human_stratum_includes_jon_confirmed_crowd_labels
ps13 not_ground_truth guard removed test_score_refuses_a_tags_file_not_marked_as_a_pre_pass
rc6, rc9, rc15, ps2, ps4, ps10, ps12 already killed by test_fa_sheet_285.py / test_pos_sheet_285.py (rc9 by timeout)

S3. Every committed-output writer in recall_check.py, recall_region.py, cartop_mask.py, osm_arm.py and osm_city.py now opens with newline="", and every CSV writer uses lineterminator="\n". cmd_retention goes through write_json. No committed output changed: check_285 regenerates 29 of them with these writers on Windows, and all are byte-identical to the committed files. N3 needed no rounding for that.

S4. analysis_out/crosswalk_followups_285/ratings_definitions.csv follows #300's convention. It has one row per rating file (the recall285 export and the three A3 CSVs) with the definition name and the exact instruction text: recall_check.BANNER, unchanged since 52f59385 (before rating), and paint_brick. The A3 rows also give the gate question and the unsure rule. For Sacramento and Kaysville the row says that question and rule were first written down after the page was rated (S5). test_ratings_definitions_sidecar_285 checks the list against the files on disk and the text against the code.

S5. The doc now states the commit times, not the order it claimed:

I did not post on #285. A line there recording the approvals and the outcome would be Jon's statement, so it is left for him.

S6. The index row gives the s6 outcome and the follow-ups. It labels osm_arm.py and recall_check.py "checked via check_285.py", and lists the check and the new test file.

S7. v6 full is now described as root_v4 plus 1,705 panos (4,294 + 1,705 = 5,999), and v6 half as root_v4 plus 852. The archive README text no longer names branches. It takes effect the next time the archive is built.

S8. Corrected from the committed a3_score.json files. The three misses on regions over 100 px are two Sacramento cards (14,992 px and 130,592 px) and one Kaysville vehicle card (469,184 px). The doc marks the correction.

N1. <keep> / <sal-juneau> placeholders now replace the local paths in the doc and in the cartop_mask.py, osm_arm.py and osm_city.py docstrings. Three provenance records are kept as written:

  • root_v6/{full,half}/manifest.json (src_root, root, and the phase 1 sheet's inputs_sha256 key). These are add-panos's own build record. No in-repo hash pins them, but rewriting them would make them something the tool never wrote; the hash values are what matter.
  • The source field of recall285_verdicts_jon_2026-11-11.json. It is Jon's raw export, kept byte-equal to the copy archived under rating_pages/recall285.
  • archive_274.py's SK/WT constants. They are functional and came from main.

N2. compute_cost.md now says the tables sum rounded per-row GPU-hours, as every section there does. The s6 range is 4.355 from the rows and 4.3547 from the dump's elapsed seconds.

N3. No change. Jon decided for #300 to leave committed floats unrounded. Nothing here needs rounding to be portable: the byte compare passes on Windows, and the tests pass on CI's 3.10 and 3.12.

N4. .gitattributes now pins LF for analysis_out/crosswalk_followups_285/**, hardneg/s6_eval/**, and the draw lists that root_v6's manifests hash. The index already holds them LF.

N5. A sentence explains recall.json's 120: it counts every pano with no sure mark, the unsure-only pano included. Guard 6's 119 excludes it.

N6. The page line now says Jon rated all 175 on it.

N7. No change. The ad hoc counts are marked as such. The style split, the contributor counts and the A0 table remain unverified from the repo, as you noted.

Also fixed: a literal \n in the Sacramento replication block, and a note where the pre-registration says the constants are "pinned by tests/test_pos_sheet_285.py", saying the new test file now pins all three.

Verification. check_all.py --all on 87b3fd77 (Windows, Python 3.12): 49 passed, 0 failed, 8 skipped (all 8 need local caches); crosswalk_followups_285 passes in 20 s. pytest on the touched files (test_crosswalk_285_decisions, test_stage1_crosswalk_274, test_fa_sheet_285, test_pos_sheet_285, test_slurm_usage, test_check_all, test_docs_index, test_gitignore_tracked): 226 passed. CI on 87b3fd77: checks, pytest (3.10) and pytest (3.12) all pass.

🤖 Generated with Claude Code — Opus 5.5, claude-opus-5-5

@jonfroehlich

Copy link
Copy Markdown
Member Author

Review 2 of #301

Head reviewed: 87b3fd77b7927653709b80ff965f17e7ced6c4d8. Scope: 16d0e3fe..87b3fd77 (five commits, no merge from main) and the answer comment. Run on Windows with Python 3.12.10 (the repo venv); no remote host was contacted.

Verdict: ready to merge from this review's side. B1 and S1 to S8 are closed, the fixes changed no committed number, and all 33 of my mutants are now killed. Three nits remain open (below); none blocks. Whether to rewrite the branch history for B1, and whether to post the approvals on #285, are Jon's calls and are not findings.

What I ran

  • check_285.py --check: 29 regenerated outputs compared byte for byte, 0 problems. check_all.py --only crosswalk_followups_285: PASS in 19.7 s.
  • pytest on test_crosswalk_285_decisions, test_stage1_crosswalk_274, test_fa_sheet_285, test_pos_sheet_285, test_slurm_usage, test_check_all, test_docs_index, test_gitignore_tracked: 226 passed.
  • CI on this head: checks, pytest (3.10) and pytest (3.12) pass.
  • My mutation harness, with a 90 s timeout, against the three Crosswalk detector: auto-label many cities from OSM marked crossings (Stage 1 for crosswalks) #285 test files: 33 of 33 killed (rc9 by timeout, as the answer says). The claim holds.

Status of each finding

Finding Status How I checked
B1 closed The sentence is gone from docs/crosswalk_followups_285.md. A scan of the added lines in the diff, the five commit messages and the answer comment finds no repeat or paraphrase of it; each says only that a sentence was removed.
S1 closed For each of the three s6 score files, the old bytes with every NaN token replaced by null equal the new bytes exactly (543, 543 and 10 replacements). All three now pass a strict parse. No other token changed.
S2 closed check_285.py is registered in check_all.py; the four #285 modules are in the doctest list; the new test file kills every mutant. See N8 and N9 for what it leaves out.
S3 closed Every writer I listed now has newline="" or lineterminator="\n", and cmd_retention uses write_json. check_285 regenerates 29 files on Windows byte-identical to the committed ones, so nothing needed regenerating.
S4 closed ratings_definitions.csv has one row per human rating file, and test_ratings_definitions_sidecar_285 checks the list against disk and the text against BANNER and DEFINITIONS["paint_brick"]. BANNER has not changed since 52f59385, as the row says. The Sacramento and Kaysville rows state that the question and the unsure rule were written down after rating.
S5 closed The restated times match git log, the rated_at columns and the sacct dump: a92264d8 at 07:05 PST on 11-12; Sacramento rated 13:53 to 13:56 PST on 11-11, Kaysville 06:57 to 07:02 and Brussels 15:53 to 15:57 PST on 11-12; 743cfba4 at 06:48:13 against submits at 06:52:40 and 07:12:41; 10884acf and 98d3f376 7 min 58 s apart. Step 4 of the #285 plan does say a bar would be pre-registered, with no number. The approvals now read "not recorded in writing".
S6 closed The index row gives the outcome and names the check.
S7 closed v6 is described as root_v4 plus 1,705 (full) and plus 852 (half); the branch names are gone.
S8 closed The sentence now matches the ratings and placements_kinds.csv, and marks the correction.
N1 closed, three fields kept No D:/Git path remains in the doc or in the six #285 scripts. The kept fields are judged below.
N2, N4, N5, N6 closed Read in the diff. .gitattributes now pins LF for the #285 outputs and the draw lists the manifests hash; all of them are LF in the index.
N3, N7 no change Judged below.

The three disagreements

  • N3 (unrounded floats): the fixer's position stands. The s4 and s5 score files that Stage 1 crosswalk detector: s1 to s5, crosswalk_s4 adopted (#274) #300 regenerated on main carry unrounded floats too, the byte compare passes on Windows, and the tests pass on both CI Pythons. I cannot check Jon's Stage 1 crosswalk detector: s1 to s5, crosswalk_s4 adopted (#274) #300 decision from the repo, but nothing here contradicts it.
  • N7 (ad hoc counts): stands. It was a note, not a request. The counts are marked ad hoc and the unverified ones stay unverified.
  • N1, the three kept fields: stands. The two root_v6 manifests are the tool's own build record, and main holds the same fields in the root_v3 to root_v5 manifests. The source field is in Jon's raw export. SK and WT in archive_274.py are functional and came from main.

The two code changes I was asked to check

  • retention refusing a missing predictions file keeps behaviour for every real input: the eight committed retention.json files regenerate byte-identical through write_json. The refusal is tested, and removing it fails that test.
  • card_image_path is the old nested image_path moved to module level with the same three branches; cmd_cards calls it with the same arguments.

New findings (all nits)

  • N8. osm_arm.py city-export is still unpinned. Changing MIN_REGION_PX from 100 to 50 passes every test and check_285. These are the label rules that built root_v6 (region over 100 px, at most 40° down, merge within 0.05, rated-wrong cards out). check_285's "not covered" list does not name it. positives_{full,half}.csv, ignore.csv and summary.json depend only on committed placements and ratings; only positions.csv needs records.jsonl. A check of those four files, or a line in the note, would close it.
  • N9. One sentence in the check's notes overstates. check_285.py's docstring and the check_all.py note say tests/test_fa_sheet_285.py "pins follow-up 1's spot counts". That file is synthetic only; nothing compares the committed recall/fa_sheet/s6/{spots.csv,summary.json} (261 spots, 487 detections), although recall/ is listed under the entry's pins. I re-derived those counts by hand in review 1 and they matched. Either reword the note or add the compare.
  • N10. Two rules are held only by the byte compare or not at all. With extra mutants beyond the 33: the rig-mask angle (49° → 45°), Y_25M (0.532 → 0.55), the bootstrap percentile, the masked/unmasked column swap in cmd_compare, and city-score counting unsure as correct all pass the unit tests and are killed only by check_285, which is acceptable. Dropping abs from cmd_retention's seed spread (the guard 4 allowance) survives both, because s4 seed 1 is the largest count in every committed file. lo > p_h → >= in pos_sheet.tally also survives (a boundary).

Unverified, as before

score_274.py score and bprime-score for s6 (guards 1 and 2) and city-export were not re-run; they need files outside the repo. The style split, the contributor counts and the A0 table remain ad hoc.

🤖 Generated with Claude Code — Fable 5.2, claude-fable-5-2

…dary tests (review 2, N8-N10)

N8. check_285 now runs osm_arm.py city-export for the three cities and
byte-compares positives_{full,half}.csv, ignore.csv, panos_{full,half}.txt
and summary.json. Its one input outside the repo, each city's
records.jsonl, is read only for pano positions, so the check writes
stand-ins from the committed positions.csv; positions.csv itself is not
compared and the docstring and the check_all note say so. MIN_REGION_PX
100 -> 50 is now killed (city-export's own assert, which the check
reports as a problem instead of crashing).

N9. check_285 also runs recall_check.py fa-sheet with blank stand-in
panos and byte-compares recall/fa_sheet/s6/{spots.csv,summary.json}
(neither depends on pixels). The docstring and note no longer say
test_fa_sheet_285.py pins those counts. 37 outputs compared, 0 problems.

N10. test_retention_seed_spread_is_absolute_when_seed_1_keeps_fewest
kills dropping abs from cmd_retention's seed spread;
test_supported_needs_the_wilson_lower_bound_strictly_above_human kills
lo > p_h -> >= in pos_sheet.tally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonfroehlich

Copy link
Copy Markdown
Member Author

Answer to review 2

All three nits are fixed in 85888a61. Nothing else changed.

  • N8. check_285 now runs osm_arm.py city-export for the three cities. It byte-compares positives_{full,half}.csv, ignore.csv, panos_{full,half}.txt and summary.json. The one input outside the repo is each city's records.jsonl, which is read only for pano positions. The check writes stand-ins from the committed positions.csv, so positions.csv itself is not compared; the docstring and the check_all note now name it as not covered. Changing MIN_REGION_PX from 100 to 50 now fails the check, through city-export's own assert. The check reports that as a problem instead of crashing.
  • N9. check_285 also runs recall_check.py fa-sheet with blank stand-in panos and byte-compares recall/fa_sheet/s6/{spots.csv,summary.json}. Neither file depends on pixels. The docstring and the note no longer say test_fa_sheet_285.py pins those counts. The check now compares 37 outputs with 0 problems; check_all.py --only crosswalk_followups_285 passes in 22 s.
  • N10. Two new tests, each confirmed against its mutant with timeouts on:
    • test_retention_seed_spread_is_absolute_when_seed_1_keeps_fewest kills dropping abs from cmd_retention's seed spread.
    • test_supported_needs_the_wilson_lower_bound_strictly_above_human kills lo > p_h → >= in pos_sheet.tally.

The touched tests pass (201).

🤖 Generated with Claude Code — Opus 5.5, claude-opus-5-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant