Skip to content

Latest commit

 

History

History
1124 lines (943 loc) · 98.2 KB

replication.md

File metadata and controls

1124 lines (943 loc) · 98.2 KB

Replication: can someone else reproduce our numbers from a clean clone?

The standing rule is in CLAUDE.md. This document is the ledger that keeps it honest: for every experiment, what a new student would actually need, and — where they cannot get it yet — exactly what is blocking them.

The test is not "is the script committed". It is: clone the repo, follow written instructions, obtain every input, re-run, get our numbers. An experiment that fails that test is a result that lives on one machine.

Status by input

input size where it is replicable?
benchmark/*/records.jsonl, verdicts.json small committed ✅
manual_labels/*.txt (gold set) small committed ✅
analysis_out/op_cache/*.json (RampNet low-floor detections) ~KB committed ✅
analysis_out/*.json (derived results) ~100 KB committed ✅
analysis_out/usage_log.jsonl (paid-run spend) ~KB committed ✅ ⚠️ starts 2026-08-18; see the Claude section
analysis_out/compute_log.jsonl (cluster GPU-hours + $) ~2 MB, grows per pull committed ✅ ⚠️ needs a sacct pull per cluster (#143); klone back-filled 2026-08-19 (3,990 rows) from the committed dump docs/data/compute/sacct_klone_2026-08-19.txt (765,754 bytes, sha256 pinned in compute_cost.md); Tillicum back-filled 2026-09-21 (38 rows, $607.24) from docs/data/compute/sacct_tillicum_2026-09-21.txt (7,282 bytes, sha256 pinned the same way), reconciled to hyakusage to the cent
benchmark/miss_taxonomy_46/*.json (human verdicts) small committed ✅
RampNet model weights — HF projectsidewalk/rampnet-model ✅
Stage 1 dataset 463 GB (test split ~44 GB) HF projectsidewalk/rampnet-dataset ✅
benchmark/model_detections/ (challenger detections) 35.7 MB (406 files) + one replicate under replicates/ committed ✅ ✅
location_data/ (the paper's government inventories) 71.8 MB committed ✅ ✅
street_data/ derivative (what the pipeline actually reads) 18.7 MB committed ✅ ✅
street_data/ raw downloads (NY file alone is 669 MB) 801 MB git-ignored; HF #21 pending ⚠️ superseded by the derivative
Stage 1 manifests (all_locations.csv, dataset.jsonl, finaldataset.jsonl, negativepanos*.jsonl) 152 MB HF rampnet-stage1-inputs ✅
Crop-model checkpoints (rounds 1 + 2) 720.7 MB HF rampnet-crop-model ✅
Round-1 crop training set (Project Sidewalk crops) 13.4 GB rampnet-crop-model-dataset-round1 ✅ published 2026-08-05 (§4)
benchmark/*/panos/ (benchmark panoramas) 11.41 GB HF rampnet-benchmark ⚠️ nine splits published (dataset commit 63d5ffd0); laurens_gsv, laurens_mapillary, bayonne and juneau are not uploaded yet (scripts/unpack_benchmark_panos.py; bayonne is Jon's call, #159, and so is juneau, #254, juneau_split_254.md §8). Each of the four pins its bytes in imagery_manifest.json; bayonne's panos are public on Panoramax and in the makelab2 archive (benchmark/README.md, Bayonne section), and juneau's are in the makelab2 archive
GSV depth payloads for the 485 benchmark panos of bend / paterson / gainesville / sao_paulo (#112), plus the 86 benchmark panos of laurens_gsv (#151, held out; index sha256 3e11306de0882173c3c723a62a496df17dc4e298d531a48f8c23539b7a738a2d; that pin is the index as harvested on 2026-09-27, and the local mirror's index.csv was rewritten later that day by a labeler re-harvest that adds two stand-in columns, so it now hashes to 74e56eb5…; all 86 payload files still match their per-file sha256, and whether makelab2's copy still carries the pinned index has not been checked) ~2.5 MB (gzipped) for the four #112 splits; 252,757 bytes (gzipped) for laurens_gsv's 86, measured on the local mirror on 2026-09-28 labeler archive makelab2:/projects/makeabilitylab/sidewalk-auto-labeler/runs/<city>/depth/ + local mirror; per-file sha256 in analysis_out/recall_by_depth_112.json (laurens_gsv's under tables["held_out"] and panos) ⚠️ unpublished (Google-derived; publication pending Jon's decision). This covers laurens_gsv's 86 payloads too. Every table in detection_recall_analysis.md §0 re-derives from the committed per-point rows without them. Re-deriving the rows, or re-running the image↔payload alignment check (scripts/analysis/depth_image_alignment_112.py → analysis_out/depth_image_alignment_112.json, and --splits laurens_gsv → analysis_out/depth_image_alignment_151_laurens_gsv.json, which also need the benchmark panos), needs the payloads
GSV depth payloads archived by #111: manual_gold (649 served of 1,000), plus RampNet's own re-fetch of bend (110) and laurens_gsv (86), fetched 2026-10-06 4.7 MB (gzipped; 3.80 MB manual_gold) local only, benchmark/<split>/depth/ (git-ignored, desktop); per-pano sha256 of the payload in the committed benchmark/<split>/depth_manifest.json (digests db827337fd09a5b2, e16aa8f10098df3b, 09263279acf11f31) ⚠️ unpublished (publication is Jon's call). harvest_depth_111.py --check verifies the manifests without the payloads. harvest rebuilds the archive while Google serves it, but Google revises payloads (106 of bend's 110 changed between 2026-08-05 and 2026-10-06), so a rebuild is not byte-identical; see benchmark_depth_111.md
Lyon review panos (benchmark/lyon/panos/, the 200 of the #159 audit; read by lyon_review_159.py to re-do the review and by pano_tilt_estimate.py lyon to re-run the tilt rows in analysis_out/pano_tilt/) 0.95 GB public on Panoramax (each record's hd_url) and the makelab2 run archive; pinned by sha256 in benchmark/lyon/imagery_manifest.json; not on HF ⚠️ pano_tilt_estimate.py fetch-lyon --out <dir> re-fetches and checks all 200 (all matched on 2026-10-31), but that depends on Panoramax serving the same bytes; publishing them to HF is Jon's call. Every committed Lyon number (score, recall by elevation, tilt summaries) re-derives without them
makelab2 pano store (/projects/makeabilitylab/sidewalk_panos/Panoramas, the Project Sidewalk scraper's equirect archive; input to the crop cutter, #86 item 2b) not measured; 55 city directories makelab2 only, unpublished ❌ the crops and the HF-similarity numbers in crop_cutter.md cannot be re-cut outside the lab; the geometry tests, the coverage input/result and every crop's sha256 are committed (see below)

❌ Open — the makelab2 pano store (crop cutter, #86 item 2b)

scripts/crop_cutter.py cuts label crops from the equirect panos on makelab2, and the store is not published. What a clean clone can check without it is listed at the top of crop_cutter.md: every geometry test (pytest tests/test_crops.py, on synthetic panos and on the 200 committed validation rows), the coverage input and per-row result, and the sha256 of every crop the validation runs wrote, which proves a re-cut identical or not. What it cannot do is re-cut a crop or re-derive the similarity table. Publishing the crops that items 4 and 5 train on would close this for those experiments; that is a decision for those items, not done here. Item 4 (context_fov_86.md §6) has not published its crops or checkpoints either: it commits the sha256 of every crop as trained, the cutter manifests and the transfer tar's sha256, so a copy can be proven identical, and every number it reports re-derives from committed predictions on CPU; re-training needs the crops.

✅ Resolved — the challenger detections are published

fp_taxonomy.py, silent_witness.py, complementarity.py and null_recall.py all read the challenger detections. Those cost real GPU-hours on Hyak and paid API spend, and until 2026-07-31 they lived only in a git-ignored .model_cache/, so every number they produced was reproducible on exactly one machine. Which models those are is rampnet/roster.py, not a list in this sentence — the list here was one of the things that drifted.

.model_cache is fine as a working cache and hostile as a published artifact: 12,951 single-panorama shards keyed by an opaque SHA-1 of (label, signature, city, pano), unreadable without reconstructing detector signatures. scripts/analysis/export_model_cache.py consolidates it into human-readable files, one per (model, split), keyed by panorama id with the detector signature recorded inside. As of 2026-11-11 (with the tiles arms, #258, the Vistas 1024 arm on all fourteen splits, the two #276 Gemini legs and the seven #276 Step 5 confidence legs; on 2026-11-17 the thirteen Opus 5.5 effort=high files) that is 406 files, 35.7 MB, and every one of them belongs to a registered leg:

what files where it is written up
the seven zero-shot roster challengers of 2026-07, fourteen splits each (the four pairs that were absent, Gemini 3.1 Pro and 3.6 Flash on manual_gold and Molmo2-8B and Qwen3-VL-32B on bayonne, were filled on 2026-11-11, two months after their other splits; bayonne_split_159.md and the manual_gold note in model_scoreboard.md); the two #276 Gemini legs promoted to standing on 2026-11-09 are the rows below 98 the roster tables in model_comparison.md
gemini-3.7-flash, fourteen splits, published ahead of its write-up (#120) 14 §below
gemini-3.8-flash, fourteen splits, zero-shot at the as-run settings (#276 Step 2, published 2026-11-09 ahead of its write-up) 14 model_scoreboard.md; the write-up lands as vlm_prompt_276.md
gemini-4-argon, fourteen splits, zero-shot at the as-run settings (#276 Step 2, published 2026-11-09 ahead of its write-up; the best challenger on the board) 14 model_scoreboard.md; the write-up lands as vlm_prompt_276.md
the seven #276 Step 5 held-out legs, every arm with elicited confidence: gemini-3.8-flash-confidence-on and gemini-4-argon-confidence-on (fourteen splits each), gemini-3.8-flash-definition-def276-flash38-alt-confidence-on, -definition-para3- and -definition-expert- on both models (twelve held-out splits each); registered standing=False, so off every table until promoted 88 vlm_prompt_276.md; prompt_276_heldout.py --check re-scores the committed tables from the local cache, and the published files re-score on any clone
the supervised YOLO pano trio, fourteen splits each (#51) 42 model_comparison.md §supervised baseline, and the training record
the supervised YOLO perspective-tiles arms (#51, #135; published under #258 on 2026-10-19): y11x_tiles on ten splits, and the six seed-variance legs y11x_tiles_s1_ep44, y11x_tiles_s2_ep44, y11x_tiles_s3_ep42, y11x_tiles_s1_best, y11x_tiles_s2_best, y11x_tiles_s3_best on nine (no budapest_district5) 64 yolo_geometry_51.md, seed_variance_51_135.md; export commands §below
claude-opus-5 at low effort, eleven splits (#122; the pool by #139, both Laurens arms by #151) 11 claude_legs_122.md
the other three Vertex Claude legs, annapolis only (#122) 3 claude_legs_122.md
claude-fable-5 at low effort, annapolis only, served on Anthropic's first-party API (#156) 1 claude_legs_122.md §Claude Fable on annapolis
claude-fable-5-1 at low effort, first-party API, all fourteen splits: annapolis (#156) and the other thirteen (2026-10-19/20) 14 claude_legs_122.md §Claude Fable on annapolis, claude_newest_ids.md
claude-opus-5-5 at low effort, first-party API, all fourteen splits (2026-10-19/20) 14 claude_newest_ids.md; its paired intervals and radius check re-derive from these files with scripts/analysis/claude_newest_ids_261.py --check. Re-running the paid legs on laurens_gsv, laurens_mapillary, bayonne or juneau needs panoramas that are not on HF yet (the benchmark panos row above)
claude-opus-5-5 at high effort, max_tokens 20000, first-party API: all thirteen city splits (2026-11-17; a study leg, off the scoreboard) 13 claude_effort_high.md; its paired intervals re-derive with scripts/analysis/claude_effort_high.py --check. A 150-pano manual_gold slice also ran but is not published (a partial split)
the two Mapillary Vistas class-set arms, richmond only (#126) 2 vistas_transfer_126.md
the Vistas curb-cut arm at 1024×1024 input — the resolution-parity leg, all fourteen splits: richmond (#126, #137; re-run and published under #163), bend, paterson, gainesville, annapolis for the #35 cascade transfer read (klone job 40774146, 2026-09-27), and the other nine on makelab2 on 2026-10-20 (scripts/analysis/vistas1024_all_splits.sh, verified 9/9 identical to the producing cache) 14 vistas_transfer_126.md §Resolution parity; the four transfer splits in cascade_cost_35.md §Transfer; the nine of 2026-10-20 in vistas_transfer_126.md §All fourteen splits

rampnet is a row in every results table and has no file here: it is read from each bundle's committed records.jsonl and carries no detector signature.

One more file sits outside that count, on purpose: benchmark/model_detections/replicates/makelab2-a40-2026-09-20/mask2former-vistas-curb-cut__richmond.json is a replicate, not a leg — the published 384×384 Vistas arm run again on makelab2's A40 in the parity run's environment, at the same signature and cache key, so that the parity delta can be attributed to input size rather than to the host (#163). A replicate cannot be a roster leg (nothing in its signature distinguishes it), so rampnet/roster.py registers it in REPLICATES and it publishes under its tag's directory via export_model_cache.py --replicate <tag>, which derives the path from the registry (a typed --out used to be able to land it on the very file it replicates, since the two share a signature — the exporter now refuses that); tests/test_roster.py checks that every replicate directory is registered and holds exactly the registered files, and that each replicate file carries the same header as the file it replicates. The canonical-form and provenance checks below cover the replicate file too. The 1024 leg and the replicate were exported and --verify-ed against the cache that produced them on 2026-09-20; the exact commands are in vistas_transfer_126.md §Resolution parity.

Every one of those files is in canonical form — byte-identical to what export_model_cache.py would write today — which is the difference between a corpus that is reproducible and one that merely scores the same. It was not, until 2026-08-18: the published_as field arrived with the Claude legs, so the 108 files exported before it lacked it and re-exporting any of them produced a diff with identical detections inside. Bringing them up to date needed no cache, because the serialization is deterministic and each file's published name was recoverable from the file itself:

python scripts/analysis/export_model_cache.py --canonicalize          # report
python scripts/analysis/export_model_cache.py --canonicalize --write  # apply

That is worth knowing for the next envelope change: it is not a reason to go find the machine that produced each leg. Only a file whose published name cannot be derived from its own contents needs a real re-export, and --canonicalize names those rather than guessing. test_every_published_file_is_in_canonical_form now fails if the corpus drifts again.

Three tests hold that table up rather than trust it. test_the_ledger_count_matches_the_directory asserts the count, and test_every_published_detections_file_belongs_to_a_registered_leg asserts the stronger property that nothing in the directory is unaccounted for; the third is the canonical-form check above. The second one is why this table exists: the registry covered 78 of the then 112 files. The YOLO arms and the Claude legs had been run, scored, verified and written up, and the one place that is supposed to enumerate every model said nothing about them — which is also what the unremarked 78 → 108 jump in the drift list below actually was.

python scripts/analysis/export_model_cache.py --out benchmark/model_detections
python scripts/analysis/export_model_cache.py --verify     # exported == cached

--verify re-scores every split from both sources and asserts identical per-pano (TP, FP) — 68/68 pairs on the default roster verified identical — because a published artifact that silently differs from what produced the paper's numbers is worse than none. It exits non-zero when it had nothing to compare, so a green run cannot mean "found no cache".

The other 44 files were each verified the same way when they were published, but by their own invocation against their own cache rather than by the default-roster one above — the YOLO trio on makelab2 (30 files, identical to the producing cache; see the training record) and the four Claude legs one at a time under --publish-as (see claude_legs_122.md). Re-running --verify on any of them needs the cache that produced it, which is machine-local by construction. What a clean clone can check without any cache is that each file's recorded signature still matches the leg the registry says it is: test_each_published_file_names_the_leg_it_says_it_is.

Keep this count current when a leg is added. It drifted three times (61 → 68 at the São Paulo split, 68 → 78 at gemini-3.7-flash, 78 → 108 unremarked — that one was the YOLO trio, see the table above — and 108 → 112 at the Claude legs) before anyone noticed, and a ledger that exists to keep the repo honest is the wrong document to let rot. It is now a test rather than a promise.

The gemini-3.7-flash leg is published but off the default roster

benchmark/model_detections/gemini-3.7-flash__*.json covers all fourteen splits (bayonne since 2026-10-04, #159; juneau since 2026-10-19, #254), including manual_gold (1,000 panoramas, 0 uncached — that leg finished 2026-08-15 08:04 UTC, after the first nine were exported). It is currently the only Gemini with a manual_gold file: the other two are absent for a different reason, their manual_gold detections not being in the cache under current keys (#20). Produced and verified with the model named explicitly:

python scripts/analysis/export_model_cache.py --models gemini:gemini-3.7-flash
python scripts/analysis/export_model_cache.py --verify --models gemini:gemini-3.7-flash
# -> compared 10 (model, split) pair(s); published detections score IDENTICALLY

The two Laurens arms (2026-09-01)

Both arms of Laurens — laurens_mapillary (pooled) and laurens_gsv (held out, the #151 discriminator) — were run through the identical leg list, which is what makes their ΔF1 table in model_comparison.md a comparison of rigs rather than of protocols. Substitute laurens_gsv for laurens_mapillary in every command below to reproduce the second arm.

The laurens_mapillary legs (2026-09-01)

The eighth US split arrived after every challenger had already been run, so all eleven legs were produced for it in one pass. Exact commands, in order:

# 1. the seven standing roster challengers (owlv2/gdino on an A40, Qwen-32B on 2x L40S)
python scripts/model_comparison/compare.py benchmark/laurens_mapillary \
    --models rampnet,owlv2,gdino --sweep
python scripts/model_comparison/compare.py benchmark/laurens_mapillary \
    --models rampnet,qwen:Qwen/Qwen3-VL-8B-Instruct
QWEN_MODEL=Qwen/Qwen3-VL-32B-Instruct BUNDLE=benchmark/laurens_mapillary \
    sbatch -A <account> --nodes=1 --gpus-per-node=2 scripts/model_comparison/run_qwen.slurm
python scripts/model_comparison/compare.py benchmark/laurens_mapillary \
    --models rampnet,molmo:allenai/Molmo2-8B      # transformers==4.57.1 env, see below
python scripts/model_comparison/compare.py benchmark/laurens_mapillary \
    --models gemini:gemini-3.6-flash              # and 3.1-pro-preview, and 3.7-flash

# 2. the YOLO trio, under the #71 pre-registered protocol
python scripts/model_comparison/compare.py benchmark/laurens_mapillary \
    --models yolo:yolo_ckpts/y11l_pano.pt,yolo:yolo_ckpts/y26_pano.pt,yolo:yolo_ckpts/y11x_pano_h200.pt \
    --tiling none --yolo-imgsz 1280 --op-threshold 0.25 --sweep

# 3. export -- three invocations, because --models defaults to CHALLENGERS only
python scripts/analysis/export_model_cache.py --splits laurens_mapillary
python scripts/analysis/export_model_cache.py --splits laurens_mapillary \
    --models gemini:gemini-3.7-flash
python scripts/analysis/export_model_cache.py --splits laurens_mapillary \
    --models yolo:yolo_ckpts/y11l_pano.pt,yolo:yolo_ckpts/y26_pano.pt,yolo:yolo_ckpts/y11x_pano_h200.pt \
    --tiling none --yolo-imgsz 1280
# ...then the same three with --verify; all reported 0 uncached and IDENTICAL scores.

The YOLO perspective-tiles arms (#258)

These 64 files were exported on 2026-10-19 from makelab2's /homes/gws/jonf/RampNet/.model_cache, the cache that scored them: y11x_tiles in the 2026-08-30 geometry run (docs/data/yolo_geometry_51/env.txt) and the six seed legs in the 2026-09-17 re-score (docs/data/seed_variance_51_135/env.txt), both on an A40 with ultralytics 8.4.120. Until then they existed only in that cache. They are an export, not a re-inference: the cache key includes a SHA-1 of the weights file, so each file holds the detections of the exact checkpoint the published numbers were scored on. Run from a checkout of main (4156847) with the checkpoints at the paths rampnet/roster.py names:

M=yolo:yolo_ckpts/y11x_tiles.pt
for s in s1_ep44 s2_ep44 s3_ep42 s1_best s2_best s3_best; do
  M=$M,yolo:seedvar_ckpts/y11x_tiles_$s.pt
done
python scripts/analysis/export_model_cache.py --cache-dir .model_cache --models "$M" \
    --tiling perspective --yolo-imgsz 1024
python scripts/analysis/export_model_cache.py --cache-dir .model_cache --models "$M" \
    --tiling perspective --yolo-imgsz 1024 --verify
# -> 64 pair(s): published detections score IDENTICALLY to the cache; 0 uncached

As a further check, compare.py benchmark/bend re-scored from the same cache reproduced every row of docs/data/seed_variance_51_135/yolo/bend_tiles.txt exactly (e.g. y11x_tiles_s1_ep44 202/4/125/3 at conf 0.25).

Checkpoints. The seven weights files are not in this repo or on HF. Copies whose sha256 matches the scored files are on klone at /gscratch/makelab/jonf/rampnet_yolo_baseline_51/ (y11x_tiles/weights/best.pt; seedvar/y11x_tiles_s{1,2,3}/weights/best.pt, and epoch43.pt / epoch43.pt / epoch41.pt for the _ep44 / _ep44 / _ep42 legs, which are Ultralytics' 0-based names) and on makelab2 under yolo_ckpts/ and seedvar_ckpts/. makelab2's seedvar_ckpts/SHA256SUMS is stale for the three _ep files: it still lists the mislabelled checkpoints moved to seedvar_ckpts/mislabelled/ on 2026-09-17. The hashes to check against are the ones in env.txt. Re-scoring from these detections needs none of the checkpoints.

The --tiling none --yolo-imgsz 1280 flags are load-bearing on the export, not just the run. The exporter defaults to --tiling perspective --yolo-imgsz 1024, and those settings enter the detector signature and therefore the cache key. Export without them and the lookup misses every pano: the command reports 94 uncached and writes empty files rather than failing. A non-zero uncached column on a leg that has already been run means the signature was reconstructed wrong — check it before committing anything.

gemini:gemini-3.7-flash is registered in rampnet/roster.py as published-but-off-roster, so it is not in CHALLENGERS and not what --models defaults to. The two commands above are therefore not optional detail: the default --verify skips these ten files entirely and reports a clean pass without opening them, and fp_taxonomy.py needs the same --models flag. Since #122, silent_witness.py takes --models as well, so it can be pointed at any pool without editing a tuple.

Promoting the leg to the standing roster is one field in the registry (standing=True) plus a re-run of fp_taxonomy.py and null_recall.py, whose committed JSON would change — a re-run, not an edit, open until the write-up lands in docs/model_comparison.md. What promotion no longer touches is the #46 human pass. silent_witness.py defaults to roster.WITNESS_POOL_46, the pool frozen at the state the pass was rated under, and both committed artifacts record the pool they ran over.

The four Claude legs are published, one file per effort level per split

benchmark/model_detections/claude-{sonnet,opus}-5-effort-{low,high}__*.json — 14 files, 0 uncached. Three of the four legs ran annapolis only (125 panoramas, #122) and the other splits are a stated gap for them. claude-opus-5 at low ran eleven splits — 1,289 panoramas: the nine of #139 (annapolis, bend, budapest_district5, clovis, gainesville, morgantown, paterson, richmond, sao_paulo; 1,109 panoramas) plus both Laurens arms (laurens_mapillary 94, laurens_gsv 86), run 2026-09-04 to answer #151 — whether Laurens is hard because it is rural or because of the imagery rig — with the strongest zero-shot model in the benchmark. manual_gold is deliberately absent from all four: no gemini-3.1-pro-preview row exists there either, so a Claude-only run would have no peer (#144).

⚠️ The mapillary arm needed a second pass. Two panoramas (2102336717175440, 2281219182305735) died on Vertex's transient 404 even after the detector's four retries, and compare.py isolated them and scored the other 92 — which would have published a recall against 247 GT ramps inside a table captioned 249. The re-run recovered both for 12 calls and $0.14. This is the same defect class as the annapolis sonnet/low pano, and test_claude_published_legs.py asserts whole-split coverage for exactly that reason.

These need one flag the other legs do not. Effort is part of the cache signature, so one model id is two different legs, and both would export to claude-sonnet-5__annapolis.json — the second silently overwriting the first, leaving a file that still looks complete and still passes --verify against whichever leg was written last. --publish-as names the published file without touching the cache label (which has to stay the bare model id, because it is baked into keys that have already been paid for), and export_model_cache.py now refuses outright to overwrite a file whose recorded signature differs from the run's:

# the three annapolis-only legs
for m in claude-sonnet-5 claude-opus-5; do for e in low high; do
  python scripts/analysis/export_model_cache.py --splits annapolis \
      --models claude:$m --claude-effort $e --publish-as $m-effort-$e
  python scripts/analysis/export_model_cache.py --verify --splits annapolis \
      --models claude:$m --claude-effort $e --publish-as $m-effort-$e
done; done
# -> 4 x "compared 1 (model, split) pair(s); published detections score IDENTICALLY"

# the eleven-split opus/low leg (#139, #151) -- no --splits, so it covers every bundle
python scripts/analysis/export_model_cache.py --verify \
    --models claude:claude-opus-5 --claude-effort low \
    --publish-as claude-opus-5-effort-low
# What a cache holding every run prints:
# -> "compared 11 (model, split) pair(s) ... 11 pair(s): published detections score
#     IDENTICALLY to the cache", plus "claude-opus-5 / manual_gold: no published
#     export to check" -- the #144 decision, showing up as a named absence.
# What was actually observed, 2026-09-17, on the desktop cache (which never held the
# two Laurens runs, made on the #151 machine): "compared 9 ... 9 pair(s): published
# detections score IDENTICALLY", with both Laurens files flagged "NOTHING was
# compared". So 12 of the 14 Claude files have a recorded cache-identity check; the
# two Laurens files have n_uncached 0 at export and the CI re-score in
# tests/test_claude_published_legs.py, which is a different guarantee.

Add --cache-dir <path> when running from a git worktree: the default resolves against REPO_ROOT, which is the worktree, not the checkout holding .model_cache.

Neither Claude spec is in CHALLENGERS, so the same caveat as gemini-3.7-flash applies: the default --verify never opens these files, and fp_taxonomy.py / silent_witness.py cannot reach them without the explicit --models.

Unlike every other published leg, these four can also be checked with no cache and no credentials at all — tests/test_claude_published_legs.py recomputes the entire published result table from the committed detections plus the committed bundles, and runs in CI. That is the strongest form this ledger's promise can take, and it is the pattern worth copying to the other legs. The opus/low leg's other splits get the same treatment one level up: tests/test_scoreboard.py builds the whole board by re-scoring every committed detections file against every committed bundle, so those numbers are re-derived in CI too rather than read back from analysis_out/scoreboard.json.

Known gap, partly recovered: the four legs' token counts were never written to analysis_out/usage_log.jsonl. The $28.82 figure and the per-leg costs quoted in docs/claude_legs_122.md come from the runs' console output. A re-run cannot back-fill them, because it reads the detection cache, makes zero API calls and therefore has no usage to record. Only the 2026-08-18 single-panorama re-run ($0.03) is in the log.

Cloud Monitoring can, and did (2026-08-19). scripts/analysis/vertex_usage.py --days 7 recovered the billed daily totals — claude-opus-5 $21.47 and claude-sonnet-5 $7.79, $29.26 against the console's $28.82, so the published figures are right to 1.5%.

The per-leg split goes one level further and only half works. scripts/analysis/vertex_effort_split.py re-queries the same metric at 60 s instead of daily alignment: the two Opus legs ran concurrently and separate at their changepoint (18:32 UTC, throughput /2.54), giving $8.95 low / $12.47 high against the console's $8.94 / $12.46 — 0.1%, from an independent source. Sonnet does not separate, and the script prints NOT SEPARABLE rather than a number: its high leg spent 17,820 thinking tokens to Opus's 127,227, so the signal this method reads is not there. Numbers, method and the exact commands are in docs/claude_legs_122.md §"Splitting a two-leg day by effort".

Retention is ~6 weeks, so all of this was recoverable only because someone looked within it; treat a missing usage record as having a deadline, not as paperwork. The 2026-08-15 series would have aged out around 2026-09-26 and the 2026-08-18 day around 2026-09-29, so the minute rows behind both are now committed under docs/data/vertex_minute_series/ — vertex_effort_split.py --from-series replays them with no credentials and no project, and tests/test_vertex_effort_split.py checks that the published figures still fall out of them. compare.report_usage now prints a loud warning when a leg that spent money finishes with no log destination.

Downstream scripts prefer the published files over .model_cache, and the label a --models spec resolves to is derived without building a detector, so a clean clone reproduces these numbers with no cache, no GPU and no torch installed. Verified by running against a nonexistent --cache-dir.

✅ Resolved — the paper's government inventories are published

Stage 1 begins with three open-government curb ramp inventories. Until now none of them were in git: stage_one/dataset_generation/.gitignore carried a location_data/* line, so v1.0-iccv2025 shipped the code that consumes them and not the files themselves. That is the worst class of replication gap, because it is not fixable later by re-downloading — the city portals serve current data and it drifts (§9 measures Bend at +8.7%), so a fresh download is a different experiment, not a reproduction.

All three are now committed (71.8 MB), hash-pinned in data_provenance.md §3, and marked binary in .gitattributes so no contributor's core.autocrlf can silently invalidate those hashes.

scripts/analysis/gov_provenance.py closes the second half of the gap — which government records ended up in training. combine_location_data.py reduces the inventories to three columns and shuffles, discarding every government primary key and even the city label, so all_locations.csv alone cannot answer that. The script rebuilds the mapping by coordinate join and verifies it: 276,071 / 276,071 rows resolved, 0 unmatched, of which 156,712 (56.77%) were consumed by a generated panorama.

Two things it cannot recover, both documented beside the numbers rather than papered over: the paper-era shuffle was unseeded, so the published row order is gone for good; and 8 coordinates are shared by two records, making 16 rows ambiguous.

The street centrelines came along too, by a different route. At 801.6 MB they could never live in git, but generate_negative_panos.py reads only the geometry and one name field, so scripts/build_street_derivative.py cuts them 42.9× to 18.7 MB and proves the sampled network is unchanged with a consumer fingerprint. See data_provenance.md §3.

Priority note for #21. Street data is not on the critical path for reproducing the paper: generate_negative_panos.py is unseeded, so the negatives cannot be regenerated from any street file. What reproduces them is the manifest — negativepanosSHORTENED.jsonl (5.2 MB, the 43,834 negatives actually used) and finaldataset.jsonl (64 MB, the 219,170-panorama manifest consumed by download_dataset.py). Those are the higher-value, smaller publish and should go first.

✅ Resolved — the benchmark panoramas are published (#21)

This was the last blocker: the imagery half of the benchmark existed only on lab machines, so gt_gallery.py, miss_gallery.py, fp_gallery.py and any re-rating were unobtainable by anyone else. It is now rampnet-benchmark — 11.41 GB, Parquet, four configs: records (the ground truth, 9 splits on the Hub today, 11 after the #127 push adds the two Laurens arms), native (9), 4096x2048 (9) and galleries (9 — Budapest was tagged in the #55 A/B, 89 of the 314 crops, but is excluded from its pooled result for low-confidence GT). Each config is one Parquet per split at data/<config>/<city>.parquet; load_dataset reads them by config name, so the paths are an implementation detail rather than something to navigate.

from datasets import load_dataset
ds = load_dataset("projectsidewalk/rampnet-benchmark", "4096x2048", split="budapest_district5")

The second-rater pass on Budapest is therefore unblocked. Its ground truth was reviewed at LOW confidence, and the imagery a reviewer needs is the 4096x2048 config — gt_gallery.py renders at that size and never native. What remains blocking a second rater is a person, not an artifact.

✅ Done 2026-08-17: the galleries join key is fixed on the Hub. As first published, a gallery row's pano_id column held the crop tag — low_floor_sweep.py names each crop {pano}_{x:.5f}_{y:.5f} — so the join to records documented on the card silently returned zero rows. Rows now carry crop_id (the tag), pano_id (parsed back out of it) and the detection's x_normalized / y_normalized. Re-pushed as 9 splits / 314 crops / 399.5 MB; native, 4096x2048 and records were left as they were, since upload_folder adds and overwrites but never deletes. Verified after the fact against the live repo: the join is 9-for-9 on paterson, and 0uNeulmg68uHO_WKDIuqZw_0.85449_0.59961 parses back to a panorama id that contains its own underscore — the case the right-anchored parse exists for.

Two things had to be fixed before the re-push was safe to run, both found by attempting it:

  • The card advertised the size of whatever was on local disk. A galleries-only rebuild would have published "0.24 GB" — later measured as 0.40 GB — as the size of an 11.41 GB dataset. That is the same hole as the config list, one field over, so build_manifest.json now records each config's byte total and the card sums the union.
  • The published package predated the manifest, so the first partial rebuild had nothing to union against and card refused — correctly, but with no way forward short of rebuilding 11.41 GB to change one config. export_benchmark.py adopt writes the manifest from the published repo's own file listing, which is the only authority on what is up there.

The exact sequence, which is what a replicator runs:

python scripts/export_benchmark.py adopt --out dist/rampnet-benchmark   # only needed once
python scripts/export_benchmark.py build --galleries analysis_out/op --out dist/rampnet-benchmark
python scripts/export_benchmark.py verify --out dist/rampnet-benchmark
python scripts/export_benchmark.py push --out dist/rampnet-benchmark --message "..."

build also regenerates records from the committed records.jsonl / verdicts.json; it came back byte-for-byte the same size as the published copy (179,356 bytes), which is the cheapest available check that the rebuild path is stable.

Running every check

Every analysis script that pins committed outputs has a check mode. It re-derives those outputs from committed inputs and compares bytes or sha256 pins. A check passing on its own branch is not enough. Some scripts pin another analysis' output: da3_calibration_101.py pins analysis_out/recall_by_depth_112.json, and recall_by_depth_112.py --only <split> appends to that file. So two PRs can each pass their own check and still break each other's pins once both are merged. scripts/check_all.py runs every check together on one tree.

After merging any analysis PR, and after merging main into one, run check_all.py --all. Running --only on the analysis you changed is not enough. In the #230 review, a one-byte change to the labeler_commit field of recall_by_depth_112.json passed recall_by_depth_112 and failed only da3_calibration_101. To see who pins a file, use --touching <path>:

python scripts/check_all.py --all                  # the full gate (~20 min on CPU)
python scripts/check_all.py --ci                   # what the `checks` CI job runs
python scripts/check_all.py --list                 # the registry with each entry's pins; nothing run
python scripts/check_all.py --touching analysis_out/recall_by_depth_112.json --list   # who pins it
python scripts/check_all.py --touching analysis_out/recall_by_depth_112.json          # ...and run them
python scripts/check_all.py --all --allow local-cache --local-root D:/Git/RampNet   # + local-data entries

--touching matches a pinned file, anything under a pinned directory, a directory that holds a pin, a glob pin (benchmark/*/verdicts.json), and the entry's own scripts. A directory can over-select through a glob pin: benchmark/model_detections matches benchmark/*/records.jsonl. Over-selection only runs extra checks; name a file to be precise.

What the runner does:

  • It prints a table (name, PASS / FAIL / SKIP with the reason, seconds).
  • Exit codes: 1 on any FAIL; 3 if an entry named with --only was skipped (you asked for it and it did not run), or if a --touching path selects no entry; 0 otherwise.
  • Each step runs as a subprocess with the repo root as cwd.
  • The registry is an explicit list in the script, with no discovery. Each entry carries pins: the committed files, directories or globs its check compares or re-derives from. The pins are maintained by hand from each script's check code. tests/test_check_all.py proves that every pin matches something, that every entry's argv is accepted by its script's argparse, and that the runner's guards work. It runs no real check.

A check must write nothing. Before the first entry, the runner hashes every file that git ls-files --cached --others --exclude-standard lists (tracked files, plus untracked files that are not ignored). After each entry it re-hashes only the files whose size or mtime changed, so a write that preserves both is not seen. It FAILs the entry if any content changed, or if a file appeared or disappeared. The comparison is by content, so it also works on an already-dirty tree, which is the usual state mid-merge. Rewriting a file that was already modified is still caught; a test covers it. Writes to git-ignored paths are not detected, and most of analysis_out/* is ignored. Neither are writes outside the repo. A check that drops a stray file into an ignored output directory still passes.

Local-data entries never compare against nothing. An entry that needs git-ignored local data declares a path that must exist. imagery_manifest_verify needs {local_root}/benchmark/*/panos and export_model_cache_verify needs {local_root}/.model_cache. If nothing matches, the entry is a SKIP with the reason ("panos absent: ..."), not a run. imagery_manifest.py --verify exits 0 even when every split's imagery is absent, so the runner also FAILs that entry if its output says every split is absent. Both guards are tested.

--ci runs every entry that has no requirements (committed inputs, CPU, offline) and is not marked slow. Four entries are marked slow and run only with --all: benchmark_power_135 (676 s of bootstrap on the desktop CPU, added in #236), cascade_argon_35 (164 to 176 s, added in #289), and aug_finetune_82 and control_arm_263 (minutes of paired bootstrap each; registered slow in #251 so the checks job keeps its time). cascade_cost_35 was out of --ci in the first version of this gate, and is now in, because the measured CI time leaves room for it. On GitHub's runner at 9671aa2 the whole checks job took 6m19s: 17 PASS and 2 SKIP, with 312.6 s inside check_all.py, 214.2 s of it cascade_cost_35. The runner was faster than the desktop (342 s for the same entry), so the first version's claim that this entry would push a 2-core runner over budget was wrong. The job runs in parallel with the two pytest jobs (8-9 min each), has timeout-minutes: 30, and passes --timeout 1200 per step. Entries that need git-ignored local data are skipped unless --allow local-cache is given.

What each entry proves

entry invocation a PASS proves needs s (CPU)
manifests_sha256 scripts/verify_sha256sums.py every committed SHA256SUMS / *.sha256 manifest (found with git ls-files) matches the files present. A manifest whose listed files are all absent is a counted skip; a partly present manifest (a committed file deleted or renamed) fails, any mismatch fails, and nothing-present fails committed only 2.9
sourcing_tables sourcing_tables.py --check the generated tables in the data-sourcing docs re-render identical from committed files (#145) committed only 0.1
dataset_cards_150 scripts/export_dataset_cards.py --check the rampnet-dataset and rampnet-benchmark Hugging Face cards re-render byte-identical to docs/data/hf_cards/ from croissant/*.json, scripts/hf_package/cards_facts.json, the two card templates and the committed verdicts.json / train_overlap.json, and every fact marked in_croissant still appears in its Croissant file (dataset_cards_150.md, #150). Its seconds are from a standalone run on the desktop (2026-11-05), not from latest.json committed only 0.2
yolo_warmup_dip_72 yolo_warmup_dip_72.py --check the pinned facts of the YOLO warm-up LR dip hold on the committed curves (#72) committed only 0.1
seam_pairs_248 seam_pairs_248.py --check the seam straddling-pair counts (114 / 72 / 58 at 0.05 / 0.30 / 0.55) re-derive from the committed Run A peaks in docs/data/run_a_84_detections/ (#248) committed only 1.1
seam_nms_default_248 seam_nms_default_248.py --check the #248 default study re-derives from committed peaks and verdicts: bounds.json (with the plan reviewer's independent counts as literals), calibration.json, results.json / results.md (classification, the rule's outcome NEXT STEP NEEDED, paired scores) and the figure CSV committed only 24.9
yolo_geometry_51 yolo_geometry_51.py --check the YOLO control leg reproduces its scoreboard row, and docs/data/yolo_geometry_51.json matches a fresh read (#51) committed only 0.1
run_b_gate_135 run_b_gate_135.py --check the Run-B gate decision re-derives from the committed CSVs and power JSON (#135) committed only 0.1
seed_variance_read_51_135 seed_variance_read_51_135.py --check the seed-variance JSON matches a fresh build from docs/data/seed_variance_51_135/ committed only 6.5
operating_point_parity_51 operating_point_parity_51.py --check the parity JSON matches a fresh build over every committed report (#51) committed only 3.0
recall_by_depth_112 recall_by_depth_112.py --check the tables re-derive from the committed rows (#112). Re-deriving the rows needs the labeler's depth payloads (see the gaps below) committed only 0.2
da3_calibration_101 da3_calibration_101.py --check the rows re-derive from the committed raw DA3 files, bundles and #112 JSON. The tables, the markdown and SHA256SUMS hold; SHA256SUMS pins recall_by_depth_112.json (#101) committed only 7.9
laurens_paired_151 laurens_paired_151.py --check every row except the curb probe, and every table, re-derive from committed inputs (#151) committed only 1.9
crossview_fresh_48 crossview_fresh_48.py pairs --check the fresh pair list and its meta re-derive byte-identical (FRESH_PAIRS_SHA256). The frozen-300 and eligible lists are read through their hash pins (#48) committed only 0.3
crop_tilt_113 crop_tilt_113.py --check summary*.json, sample*.csv, response*.json (both runs and the held-out sample) and overlap.json re-derive byte-identical from the committed labels*.csv and response*.csv. Without --pano-tools-root it does not re-derive labels*.csv or the funnel blocks (#113). Its seconds are from a standalone --check on a Mac (2026-10-11), not from latest.json committed only 1.3
pano_tilt_159 pano_tilt_estimate.py check the pano tilt id list re-derives from the five GSV splits' records, and validation_summary.json, lyon_summary.json and gate_sensitivity.json re-derive byte-identical from the committed per-pano rows (#159, #273). It does not re-run the estimator, which needs the panos (pano_tilt_estimate.md §8). Its seconds are from a standalone run on the desktop (2026-10-31), not from latest.json committed only 0.2
lyon_elevation_tilt_159 lyon_review_159.py elevation --tilt analysis_out/pano_tilt/lyon.json the tilt-corrected Lyon recall by elevation re-derives byte-identical from the committed verdicts, records, score.json and analysis_out/pano_tilt/lyon.json, whose sha256 the output records (#159, #273). Seconds as for the entry above committed only 7.1
per_ramp_recall_38 per_ramp_recall_38.py check results.json (the ramp-cluster bootstrap and stratified permutation null on the all-other-views-missed ratio, #38's three-nearest-views product against the observed share, who the all-missed ramps are, per-ramp recall under coarser Mapillary thinning, and nearest view vs any view) and ramps_other_views.csv re-derive byte-identical from the committed #48 tables analysis_out/multiview_48/captures_R25.csv, captures_R25_hit8.csv and residual_misses.json (#38). params.numpy is provenance and is not compared. Before #251 the entry pinned only captures_R25.csv; the other two inputs are now pinned too committed only 75.7
lyon_topup_plan_278 lyon_topup_278.py plan the pre-registered Lyon top-up plan (other cameras, looks at 25/45/70, z 2.35) rebuilds byte-identical from the committed draw, the four first-draw files it pins and the stored design_oc.json (#278). It does not re-run the simulation (oc has no check mode) or the draw, which needs the run's results.jsonl (lyon_review_159.md §11). Seconds not yet measured in latest.json committed only —
lyon_topup_verify_278 lyon_topup_278.py verify --records-only the top-up bundle's draw agrees with the first draw, ids.txt is the sorted record ids, never_train_ids.txt and exclude_ids.txt cover the first draw plus every top-up id, the current code rebuilds audit_plan.json byte-identical, and no text file carries an email-shaped token (#278). The imagery half (staged ids against panos/, the manifest, index.csv and nadir_band.json) is a gap. Registered when main was merged into #251; its seconds are from a standalone run on the desktop (2026-11-16), not from latest.json committed only 0.4
prompt_opt_276_splits prompt_opt_276_splits.py --check benchmark/prompt_opt_276/sao_paulo_split.json (the seeded dev_train / dev_select halves) and manual_gold_250.json rebuild byte-identical from the committed sao_paulo and manual_gold bundles (#276). Registered and timed as for the entry above committed only 0.6
two_scale_197 two_scale_197.py report --check results.json and results.md regenerate byte-identical from the committed #196 peak caches (#197) committed only 52.8
merged_separation_263 merged_separation_263.py --check the Stage 0a merged-pair histogram and arm A / arm C triggers regenerate byte-identical from analysis_out/op_cache (#263). Seconds from a standalone run (2026-11-15), not from latest.json committed only 0.3
horizon_band_263 horizon_band_263.py simulate --check the Stage 0b band simulation (exploratory) regenerates byte-identical from the committed #196 r2048, r3072 and u4096 caches (#263). Seconds as for the entry above committed only 61.4
input_res_sweep_25 input_res_sweep_25.py sums, then input_res_sweep_25.py check --out {tmp}/instrument_check.json, then input_res_sweep_25.py report --out {tmp}/results.json, then input_res_sweep_25.py sums --root {tmp} --partial the committed outputs and caches match SHA256SUMS, and r2048 reproduces analysis_out/op_cache (the instrument check). check and report, regenerated into scratch, hash to the pinned values (#25) committed only 54.0
validate_croissant scripts/validate_croissant.py the two Croissant files in croissant/ pass the offline levels: structure, pinned links, and the derived numbers (each benchmark split's extent, re-derived from the committed bundles; the dataset's city boxes and record counts, re-derived from stage_one/dataset_generation/location_data/ after checking those files' sha256 against docs/data_provenance.md) (#150, #190). The --hub, --mlcroissant, --rebuild-records, --load and --release levels are not run (network, extra packages) committed only 6.6
bayonne_159 bayonne_159.py verify, then firing --check, frame --check, candidates --check, paid-estimate --check, checks --check, preread-summary --check the Bayonne bundle's records, strata and detection count agree with imagery_manifest.json, and the six GT-free reads in analysis_out/bayonne_159/ re-derive byte-identical from the committed op_caches, model detections and usage ledger (#159). Without benchmark/bayonne/panos/, verify skips the byte check (that check is imagery_manifest_verify's), and band is not run (see the gaps) committed only 0.9
juneau_254 juneau_254.py verify, then juneau_254.py checks the Juneau bundle's record-level integrity holds, and analysis_out/juneau_254/checks.json (the replication control and the parity detail) re-derives byte-identical (#254). The byte check needs the panos, as for Bayonne committed only 0.2
lyon_review_159 lyon_review_159.py verify --records-only, then plan, score, elevation the Lyon audit bundle's committed files are mutually consistent, and benchmark/lyon/audit_plan.json, analysis_out/lyon_review_159/score.json and recall_by_elevation.json re-derive byte-identical (#159, #263). The tilt-corrected elevation table is lyon_elevation_tilt_159; band and artifacts are gaps committed only 16.2
open_rig_misses_258 open_rig_misses_258.py --check analysis_out/open_rig_misses_258.json and the generated tables in docs/open_rig_misses_258.md re-derive byte-identical from the committed op_caches and bundles (#258, #263) committed only 31.8
eval_protocol_150 eval_protocol_150.py --check rampnet.eval.score_split alone re-derives every cell of scoreboard.json["per_split"] and every number in the YOLO benchmark_eval/, no cell is unchecked, and analysis_out/eval_protocol_150/reproduction.json is current (#150). tests/test_eval_protocol_150.py also runs in CI; this entry puts it in the gate and in --touching committed only 13.9
crop_decode_221 crop_decode_221.py --check every results_*.json / .md in analysis_out/crop_decode_221/ re-derives byte-identical from the three committed coarse-map extracts (#221). Re-extracting needs the crop checkpoints and the round-2 crop dataset committed only 62.4
aug_probe_82 aug_probe_82.py check --out {tmp}/instrument_check.json, then aug_probe_82.py report --check the probe's untransformed arm reproduces the committed #25 r2048 caches (the instrument check), and probe_results.json re-derives from the committed arm caches and stats.json (#82). report --check compares the JSON only, not probe_results.md committed only 38.1
yolo_rescore_benchmark_eval scripts/model_comparison/yolo_baseline/rescore_benchmark_eval.py --check benchmark_eval/ matches the current scorer over the committed detections committed only 2.1
cascade_transfer_35 cascade_transfer_35.py --check the transfer table regenerates byte-identical (#35) committed only 1.8
scoreboard scoreboard.py --check the scoreboard doc's tables, the counts its prose quotes, the log tables and scoreboard.json match a fresh scoring of every leg except the seed legs (seed_of, kept off the board) committed only 4.4
verifier_candidates_258 verifier_candidates_258.py --check the #258 candidate set (every RampNet peak ≥ 0.05 on the 14 pinned splits, one label per peak) and its manifest re-derive byte-identical from the committed op_caches, records and verdicts committed only 1
validator_fusion_258 validator_fusion_258.py --check analysis_out/verifier_258/validator_fusion.json (#258 step 3: the fusion fitted on sao_paulo, recall at matched precision on the held-out splits, bootstrap intervals) re-derives byte-identical from the committed candidates, validator scores and the job log. Its seconds are from a standalone --check on the desktop (2026-11-16), not from latest.json committed only 30
validator_auc_258 validator_auc_258.py --check analysis_out/verifier_258/validator_auc.json (#258 step 2: AUC of the validator's P(correct) against RampNet's score per stratum, paired pano bootstrap, the richmond 4096 control) re-derives byte-identical from the committed candidates and scores. Seconds as for the entry above committed only 98
cascade_cost_35 cascade_cost_35.py --check all 142 per-pair cascade files regenerate byte-identical from their recorded args (#35) committed only 341.7
aug_finetune_82 aug_finetune_82.py --check finetune_results.json and .md re-derive from the committed per-checkpoint caches in analysis_out/aug_transfer_82/finetune/ and the #151 pairs (#82). Slow: --all only (#251) committed only 176.5
control_arm_263 control_arm_263.py --check analysis_out/control_arm_263/results.json and .md re-derive from the committed caches, the #82 controls, op_cache and the verdicts' strata (#263). Slow: --all only (#251) committed only 282.9
cascade_argon_35 cascade_argon_35.py --check the 37 Argon and YOLO cascade pair files under analysis_out/cascade_cost_35/argon/ and argon_pairs.json (incl. the unique-point / blind-GT comparison and the scoreboard reconciliation) regenerate byte-identical (#35). Slow: --all only. Its seconds are from a standalone --check run (2026-11-15, same desktop), not from latest.json committed only 176
argon_teacher_s0 argon_teacher_s0.py --check results.json (leak, feature table, 80 candidates, LOSO gates) regenerates byte-identical from the committed neighbours.json and heatmap_features.json. It does not rebuild those two, which need the labeler runs and the GPU (argon_teacher.md, Replication). Its seconds are from a standalone run (2026-11-15, same desktop), not from latest.json committed only 0.6
cascade_confirm_35 cascade_confirm_35.py --check Stage 0 of the open-weight cascade confirmation (#35, option B1): analysis_out/cascade_confirm_35/stage0.json (the leave-one-split-out N / T / C results with selection-aware intervals, the rule bars and verdicts, the readings of "pooled", the rig key test and the Laurens concentration) and inputs.json (the sha256 of its 24 inputs, CRLF read as LF) regenerate byte-identical from the committed op_caches, YOLO pano detections, records and verdicts of the four GoPro Max splits (cascade_confirm_35.md). It does not regenerate the figure. Its seconds are from a standalone --check on the desktop (2026-11-24), not from latest.json committed only 2.3
benchmark_power_135 benchmark_power_135.py --check the default command (the ten pinned #135 splits) regenerates docs/data/benchmark_power_135.json byte-identical (#135, #236), or identical except for float leaves within 1e-12 relative, which the output reports as NOT byte-identical (the macOS last-bit drift of #251; formatting, ints, strings and keys stay exact). Slow: --all only. Its seconds are from the standalone --check run in #237 (2026-10-03, same desktop), not from latest.json committed only 676
export_model_cache_verify export_model_cache.py --verify --cache-dir {local_root}/.model_cache the published benchmark/model_detections/ score identically to the local .model_cache local-cache ({local_root}/.model_cache must exist) 12.4
imagery_manifest_verify imagery_manifest.py --verify --panos-root {local_root} the local benchmark/*/panos/ JPEGs match the committed imagery manifests local-cache ({local_root}/benchmark/*/panos must exist) 16.5

The seconds are from the committed run, analysis_out/check_all/latest.json (at 9671aa2; Windows desktop, Python 3.12, CPU). The rows added in #251 (per_ramp_recall_38 and the ten new entries) take their seconds from that PR's --all run at 095286f (same desktop; 35 PASS, 2 SKIP for the two local-cache entries, 1925.5 s), not from latest.json. Scripts are under scripts/analysis/ unless another path is given. {tmp} is a scratch directory that the runner creates for each entry and deletes afterwards. {local_root} is the value of --local-root.

Cross-pins. These are the files that more than one entry reads, from check_all.py --touching <path> --list. A PR that changes one of them must pass every entry listed:

  • analysis_out/recall_by_depth_112.json: manifests_sha256, recall_by_depth_112, da3_calibration_101, laurens_paired_151
  • analysis_out/op_cache/: seed_variance_read_51_135, operating_point_parity_51, laurens_paired_151, input_res_sweep_25, seam_nms_default_248, cascade_transfer_35, verifier_candidates_258, validator_fusion_258, validator_auc_258, cascade_cost_35, benchmark_power_135, cascade_confirm_35
  • analysis_out/input_res_sweep_25/cache/r2048/: manifests_sha256, laurens_paired_151, two_scale_197, input_res_sweep_25, seam_nms_default_248, cascade_transfer_35
  • benchmark/model_detections/: laurens_paired_151, yolo_rescore_benchmark_eval, cascade_transfer_35, scoreboard, cascade_cost_35, benchmark_power_135, export_model_cache_verify, cascade_confirm_35
  • benchmark/<split>/verdicts.json: dataset_cards_150, da3_calibration_101, seam_nms_default_248, yolo_rescore_benchmark_eval, cascade_transfer_35, scoreboard, verifier_candidates_258, validator_fusion_258, validator_auc_258, cascade_cost_35, benchmark_power_135, cascade_confirm_35
  • analysis_out/verifier_258/candidates/ and analysis_out/verifier_258/validator_scores/: validator_fusion_258, validator_auc_258 (the candidates also verifier_candidates_258)
  • benchmark/manual_gold/seam_verdicts__jon.json: seam_pairs_248, seam_nms_default_248
  • docs/data/benchmark_power_135.json: run_b_gate_135, benchmark_power_135
  • docs/data/run_a_84_manual_gold/summary.csv: run_b_gate_135, benchmark_power_135
  • analysis_out/pano_tilt/lyon.json: pano_tilt_159, lyon_elevation_tilt_159
  • manual_labels/: seam_nms_default_248, scoreboard, benchmark_power_135
  • docs/data/run_a_84_detections/: seed_variance_read_51_135, benchmark_power_135

Result on main

The run was on 2026-09-30 at 9671aa2 (branch infra/check-all-runner: origin/main a45bb91, the merge of #222 after #219 and #220, plus this gate's own runner, tests, docs and CI; no analysis script or committed analysis output differs from main). Command: python scripts/check_all.py --all --allow local-cache --local-root D:/Git/RampNet. Result: 19 passed, 0 failed, 0 skipped in 509 s. No pin needed regenerating and no file was rewritten. The first version of the gate had 18 entries, without manifests_sha256; it also gave 18 PASS on a45bb91, in two runs.

analysis_out/check_all/latest.json is a record of one run, not an input: no script or test reads it. Whoever runs the gate on main after a merge regenerates it with --all --allow local-cache --local-root <main checkout> --json analysis_out/check_all/latest.json and commits it, so that the doc and the record agree. It records the commit the run was on (git_head), the runner's argv, the mode, the exit code, and every step's argv and exit code. The seconds, git_head, argv, python, platform and tree_dirty_at_start vary between runs; nothing else does. In argv, the machine-local --json and --local-root values are recorded repo-relative, or as a placeholder when they are outside the repo. CI does not update it. CI uploads its own result as the check-all artifact.

Known gaps: what the gate does not prove, and what would unblock it

gap why it is not in the gate (or not in CI) what unblocks it
recall_by_depth_112 rows (derive / --only <split>) they need the sidewalk-auto-labeler checkout with its runs/<city>/depth payload archive, which is not published publish the depth payloads (or the labeler run archive) with a pinned identifier, then add a labeler-root entry
da3_calibration_101 derive it reads the labeler's camera_heights.json via git show at a pinned commit. The raw DA3 extract also needs a GPU and the native panos a public labeler clone is enough for derive, because the pinned commit and file hash are checked. extract stays GPU-only
laurens_paired_151 curb probe rows the probe reads the labeler's runs/laurens_gsv/depth. --check carries the committed probe through instead of re-deriving it same as the #112 rows
export_model_cache_verify and imagery_manifest_verify in CI they read .model_cache/ and benchmark/*/panos/, which are git-ignored local data the panos are on HF (#21), so a CI job that downloads them could run imagery_manifest_verify. .model_cache/ has no published copy
op_caches, the #196 peak caches, the raw DA3 files the checks start from these committed caches, and regenerating them needs a GPU and the native-resolution panos a GPU plus the projectsidewalk/rampnet-benchmark native panos. Out of scope for a CPU gate
files pinned only by cluster-side manifests manifests_sha256 skips listed files that are absent, and prints how many. Today these are all 12 analysis_out/context_fov_86/*.sha256 manifests (65,097 crop, tarball and .pth lines), which pin files that live on the cluster copy the files somewhere public. The manifests then check them with no code change
crossview_align_48 frozen-300 pairs.csv (PAIRS_SHA256) it has no check mode of its own. It is verified indirectly: crossview_fresh_48 pairs --check reads it through read_frozen_pairs, which refuses any other bytes (checked 2026-09-30: appending one byte to analysis_out/crossview_align_48/pairs.csv made that entry exit 1), and it asserts ELIGIBLE_SHA256. crossview_align_48's results (score) are not re-derived by any entry a pairs --check / score --check on crossview_align_48.py like crossview_fresh_48's
writes to git-ignored paths the write detection covers only files git lists (tracked, plus untracked files that are not ignored) snapshot git ls-files --others --ignored --exclude-standard under analysis_out/ too, if a stray-file bug ever shows up
dump_peaks_from_cache.py --verify it needs an evaluate.py heatmap cache from the cluster run, and it also writes dumps, so it is not a write-nothing check publish the Run A heatmap cache, and split verifying from writing
stage2_epoch_curve.py --verify and stage2_train_cost.py --verify these are not checks. They print a sha256 manifest and always exit 0. The manifests they print are now verified by manifests_sha256 (docs/data/rampnet1_stage2_run/, stage_two/run_a_84_events/) nothing further needed for the manifests. Register a curve re-derivation if one is added
bayonne_159 band and lyon_review_159 band they re-measure each pano's nadir band (benchmark/<split>/nadir_band.json) from the imagery, which is git-ignored a local-cache entry with needs_paths on {local_root}/benchmark/<split>/panos. The scripts read the panos from the tree they run in, so from a worktree the entry also needs a way to point at the main checkout's panos while keeping this tree's committed files
lyon_topup_278 verify (without --records-only), band and score verify and band read the top-up's staged panos, which are git-ignored. score exits 1 until the review's first look file (verdicts_backups/look1.json) is committed stage the top-up imagery for a local-cache entry (as for the band row above); register score once the looks are committed
lyon_review_159 verify (without --records-only) and artifacts verify exits 1 until the Lyon imagery is staged and pinned; artifacts reads the labeler run's results.jsonl stage and pin the Lyon imagery; a labeler-root entry for artifacts
aug_probe_82 stats / extract, the aug_finetune_82 and control_arm_263 caches, crop_decode_221 extract they need the panos, a GPU or the checkpoints on klone; the checks start from the committed caches and extracts same as the op_caches row above
aug_probe_82 report --check it compares probe_results.json only; probe_results.md is not compared have report --check also compare the markdown, as aug_finetune_82 --check does

Some grep hits are not check modes and are left out on purpose. operating_point_curve.py, sam2_extent_83.py, tag_benchmark_86.py, export_gold_records.py, export_hf_model.py, decode_e2e_221.py, scripts/talks/uchicago_2026_heatmap.py and scripts/talks/uchicago_2026_showcase.py only matched on --checkpoint. scripts/talks/klone_splat_train.py check renders views of a trained splat; it pins nothing. build_sparse_labels.py --check, mix_training_dirs.py --check and restage_from_parquet.py --check verify a training-data directory on the cluster, which is not committed; their logic is covered by tests/test_build_sparse_labels.py, tests/test_mix_training_dirs.py and tests/test_restage_from_parquet.py. python -m rampnet.eval pins --verify is not registered: the runner invokes scripts by path, and a by-path run of a package module imports rampnet from whatever is installed, which from a worktree can be another checkout. The same comparison runs in CI as tests/test_eval_protocol_150.py::test_split_pins_match_committed_file, and eval_protocol_150 --check re-derives the pins into reproduction.json. scoreboard_render.py is the library that scoreboard.py --check uses. rebuild_yolo_labels_from_cache.py --verify re-reads its own fresh output, not a committed one. The pytest suite (pytest -q) is separate and still required.

Every manual-review task, and what it would take to redo it

Three distinct human passes exist. All three produce committed judgments; they differ in whether someone else can redo the pass.

task judgments what the reviewer saw redoable by someone else?
GT verification (9 splits) benchmark/<city>/verdicts.json ✅ whole panoramas at 4096×2048 via scripts/gt_gallery.py ✅ yes — rampnet-benchmark, config 4096x2048
#55 incremental-FP A/B (9 splits; budapest tagged, not pooled) benchmark/<city>/incremental_fp_tags.json ✅ crops from low_floor_sweep.py gallery ✅ yes — rampnet-benchmark, config galleries (the exact 314 crops)
#46 miss taxonomy (1 split-set) benchmark/miss_taxonomy_46/silent__jonf.json ✅ crops committed (15 MB) ✅ yes, from git alone

All three human passes are now redoable by someone else. That was not true this morning: two of the three needed imagery that existed only on lab machines. The judgments and rubrics were already committed; publishing the pixels is what closed the loop.

What makes #46 redoable, and what the other two need

The insight is that a rating task does not need the 9 GB of panoramas — it needs the crops the rater actually saw, and those are small. #46's are committed at benchmark/miss_taxonomy_46/silent_gallery/ (50 crops + manifest, 15 MB), so a second rater needs no imagery, no .model_cache and no GPU: open the committed crops, tag, commit a second file.

Applying the same to the other two is a size question, and here are the measured numbers:

  • #55 A/B galleries: ✅ resolved by publishing them. This once read "244 MB as PNG across the six cities still on disk (two cities' galleries have already been deleted)". Re-measured 2026-08-17 while doing the re-push above, that is wrong on both counts: all 9 splits are present, 314 crops, 380.8 MB of PNG, and they are on the Hub as the galleries config (399.5 MB as Parquet). Nothing was deleted and no re-encode decision is needed.
  • GT verification is the hard one. Reviewers scan whole panoramas for missed ramps, so crops are not enough. But gt_gallery.py renders at the model's 4096×2048, never native (the #26 fairness note), so what is actually required is a model-resolution derivative — roughly 1–2 GB, not the 9 GB native archive. That is a much easier thing to publish, and it is worth scoping HF #21 to include it rather than native-res alone.

✅ Rubrics now live beside the data — benchmark/RUBRICS.md documents all three passes (GT verdict schema, the A/B spot-check, the miss taxonomy), extracted from the tools that produced them. #46's rubric additionally travels inside each verdict file, which is the pattern the older two should adopt.

✅ The "deleted" #55 galleries were never lost

Two cities (richmond, bend) had no gallery on disk. They are derived artifacts, not originals: regenerating them from the committed op_cache plus the panoramas took one command each, and low_floor_sweep.py tagcheck then confirmed 8/8 cities, 100% of committed tags still resolve against the regenerated crops.

python scripts/analysis/operating_point_curve.py gallery --city richmond \
    --op-threshold 0.25 --upper 0.55 --panos benchmark/richmond/panos \
    --out analysis_out/op/richmond_incremental_fp
python scripts/analysis/low_floor_sweep.py tagcheck        # 8/8 PASS

The irreplaceable half — the human tags — was committed all along. That is the design working: commit the judgments, regenerate the pixels.

Publishing plan for Hugging Face

Everything RampNet publishes lives under the projectsidewalk organisation and is indexed by the RampNet collection, which is what makes the six artifacts findable together.

Creating a repo does not add it to the collection. Collection membership is a separate API call and none of the exporters do it — a repo published without this step is reachable only by direct URL or org listing, which is exactly the discoverability gap publishing was meant to close. After any --push, run:

from huggingface_hub import HfApi
HfApi().add_collection_item(
    collection_slug="projectsidewalk/rampnet-6871b77b1add07bdfecfcd5c",
    item_id="projectsidewalk/<new-repo>", item_type="dataset",   # or "model"
    note="<one line on what it is>", exists_ok=True)

The slug carries an id suffix; the bare projectsidewalk/rampnet URL will not resolve in the API. Find it with HfApi().list_collections(owner="projectsidewalk").

repo type size status
rampnet-model model — ✅ published
rampnet-dataset dataset 463 GB ✅ published — the Stage 1 output, 214k panoramas
rampnet-crop-model-dataset-round2 dataset 507 MB ✅ published (1,212 round-2 crops) — renamed from rampnet-crop-model-dataset 2026-08-05, old id redirects; round 1 cannot join it (§4)
rampnet-crop-model-dataset-round1 dataset 13.37 GB ✅ published 2026-08-05 (§4)
rampnet-crop-model model 720.7 MB ✅ published 2026-08-04
rampnet-stage1-inputs dataset 1.06 GB ✅ published 2026-08-04
rampnet-benchmark dataset 11.41 GB ✅ published 2026-08-04 (#21)

Total new upload is under 29 GB against the 463 GB already hosted — about +6%.

Do we hit any HF limit? No, and it is not close

Checked against the current limits rather than assumed:

characteristic HF limit our maximum headroom
single file size 500 GB hard, <200 GB recommended 669 MB (New York - Streets.geojson) ~300×
entries per folder 10,000 hard 125 (a per-city pano folder) 80×
files per repo <100k recommended ~2,550 (rampnet-benchmark) 39×
commit size <100 files recommended auto-split by upload_folder / hf upload n/a

Nothing in the plan is within an order of magnitude of a limit. The per-city subdirectory layout is what keeps the folder count trivial, which is the one decision that could have gone wrong.

The consideration that is real is the storage quota, not file sizes. projectsidewalk is a free organisation, and free organisations get "best-effort" public storage — HF's page notes they run "mitigations in place to prevent abuse of free public storage" and ask that anything beyond the first few gigabytes be of genuine community value. The existing 463 GB sits on a human approval from July 2025 rather than an entitlement. +6% on top of that is noise and these artifacts are squarely the kind of thing that approval was for, but the arrangement is informal, and HF's own guidance points academic groups at Academia Hub or a Team plan for guaranteed limits. Worth a courtesy note to datasets@huggingface.co on the existing thread when we publish — they also asked to be told about public comms.

1. ✅ rampnet-crop-model — 720.7 MB, published

Stage 1 cannot run at all without this, published inputs or not. dataset_generation/inference_isolator.py hardcodes a path to the round-2 crop checkpoint; it is the model that converts every government GPS coordinate into a pixel keypoint. It exists only on lab storage. Publishing location_data/ without it hands someone the inputs to a pipeline they still cannot execute.

file bytes sha256
round 1, ps_model/model/best_model.pth 360,358,458 00dba3948298a313…
round 2, ps_and_manual_model/best_model.pth 360,358,458 3fc00ad6b9ac2768…

Both rounds go up, not just round 2: round 1 is the initialisation for round 2, so without it the second stage of crop training cannot be reproduced either. Note that ps_and_manual_model/ps_model.pth is byte-identical to the round-1 checkpoint (00dba394… both) — that is the "copy it here, renamed" step in the README, now verified by hash rather than assumed, and it means only two distinct files need uploading.

scripts/export_crop_model.py builds and pushes the package, mirroring the Stage 2 exporter. Nothing uploads without --push, the expected hashes are asserted before anything is copied, and the copies are re-hashed afterwards so a push cannot ship bytes that were never verified:

python scripts/export_crop_model.py \
    --round1 <...>/ps_model/model/best_model.pth \
    --round2 <...>/ps_and_manual_model/best_model.pth \
    --out dist/rampnet-crop-model \
    --expect-round1-sha256 00dba3948298a313435b7c1955a2d4fccde43bc98c199e384ef197bf8b8cff49 \
    --expect-round2-sha256 3fc00ad6b9ac2768787b0262588b9bfa71ddd01d9f51109974e6ae377b9b520a

The card it renders is scripts/hf_package/README.crop_model_card.template.md.

2. ✅ rampnet-stage1-inputs — 1.06 GB, published

The inputs half. Order within it matters, because the manifests are the reproduction path and the source files are the archive:

contents size why HF rather than git
manifests — finaldataset.jsonl (64.3 MB), dataset.jsonl (59.1 MB), all_locations.csv (13.5 MB), negativepanos.jsonl (10.5 MB), negativepanosSHORTENED.jsonl (5.2 MB) 152.5 MB upload first. finaldataset.jsonl is the exact 219,170-panorama manifest download_dataset.py consumed, and negativepanosSHORTENED.jsonl the 43,834 negatives actually used — which is the only way to reproduce them, since the sampler is unseeded
street_data/ raw downloads 801.6 MB the pristine originals behind the committed 18.7 MB derivative
location_data/ originals 71.8 MB mirror of the committed copy, same sha256 — belt and braces against a git accident
gov_provenance.csv 29.4 MB optional; regenerates from the committed script, hash in §3

3. ✅ rampnet-benchmark — 11.41 GB, published (#21)

config size why
records a few MB the ground truth — per-pano metadata, detections with their human verdict, reviewer-marked misses. Its own config so a verdict correction never rewrites an image blob
4096x2048 1.02 GB what GT reviewers actually saw. gt_gallery.py renders at the model's 4096×2048 and never native, so this — not the native archive — is what lets a second rater redo the pass
native 10.89 GB the resolution experiment (#25) and any future re-render
galleries 244 MB the #55 A/B crops reviewers saw (also regenerable, so belt-and-braces)

As shipped, measured from the published repo 2026-08-17 — the sizes above were the plan's estimates, and every config carries the same 9 splits: native 10.01 GB, 4096x2048 1.00 GB, galleries 399.5 MB, records 179 KB, 11.41 GB total. export_benchmark.py adopt prints this table from the Hub, so it can be re-checked rather than trusted.

(The plan below was written as loose panos_native/<city>/ folders; it shipped as Parquet, one file per split at data/<config>/<city>.parquet, for the reasons in "Packaged as Parquet" further down. The naming argument survived the change intact — it is now the config names that are resolutions rather than consumers.)

Both pano figures are measured, by rendering all 1,109 panoramas across the 9 splits at 4096×2048 / JPEG q82 / BILINEAR — byte-for-byte the transform gt_gallery.py applies, deliberately not using PIL's faster draft() DCT downscale, which would produce different pixels and defeat the point.

The derivative is a review-fidelity artifact, not a compression trick, and the per-split spread shows it:

split native 4096×2048 ratio native size
gainesville, paterson, sao_paulo, bend, clovis 1.5–2.3 GB each 85–136 MB 16–18× 13312–16384 px
annapolis, richmond 365, 381 MB 103, 100 MB 3.6–3.8× 8000–12288 px
budapest_district5 217 MB 136 MB 1.6× 4096–5760 px
morgantown 96 MB 102 MB 0.9× 4096–5760 px

Morgantown's derivative is larger than its native archive: those panoramas are already at model resolution and heavily compressed, so re-encoding costs a JPEG generation and buys nothing. That is not an argument to skip it — gt_gallery.py re-encodes at q82 regardless, so this is what the reviewer saw — but it does mean the folder should not be described as "the small one". Publish both; they answer different questions.

Publish incrementally, don't wait for more cities. Benchmark imagery is immutable once fetched — imagery_manifest.py --verify confirmed all 984 reviewed panoramas unchanged since review — and the things that do get revised, records.jsonl and verdicts.json, live in git. So the set only ever grows, a new city is a new folder, and hf upload skips files whose hash already matches. An 11th city costs one folder. What waiting does cost is real: the panoramas are what block GT re-verification and the second-rater pass that Budapest's LOW-confidence ground truth needs.

Name them by resolution, not by consumer. panos_model_res/ was the earlier proposal and it is a poor public name twice over: "res" is unexplained, and "model resolution" is a relative label that silently becomes wrong when the model's input size changes — live risk given #25 and #20. 4096x2048 states the fact, cannot rot, and a future input size just adds a sibling config instead of invalidating this one. This is the one design decision here that shipped exactly as written.

Layout is the one thing worth settling before the first upload, because restructuring means replacing large blobs, which is the single expensive operation on HF (see churn, below).

Packaged as Parquet, not loose image folders, which is what HF asked for in July 2025 and what makes the dataset viewer work. scripts/export_benchmark.py streams each split into one Parquet per (config, city), embedding the exact source bytes — rows carry image as {bytes, path}, so nothing is re-encoded on write, and each row also carries the sha256 of its own bytes.

python scripts/export_benchmark.py build --benchmark benchmark \
    --panos-4096 <rendered dir> --galleries analysis_out/op --out dist/rampnet-benchmark
python scripts/export_benchmark.py verify --out dist/rampnet-benchmark
python scripts/export_benchmark.py push --out dist/rampnet-benchmark \
    --repo-id projectsidewalk/rampnet-benchmark

verify re-hashes every embedded image straight out of the Parquet, so "the round trip preserved the pixels" is checked rather than assumed — the point of the whole artifact is that it is what a reviewer's eyes were on. That is a different check from benchmark/<city>/imagery_manifest.json, which pins the bytes as they were at review time; both are needed, and the card says so.

Labels stay in git. records.jsonl and verdicts.json are revisable and belong under version control; imagery is immutable once fetched. Keeping them apart is what makes this repo purely additive.

4. Round-1 crop training data — 13.4 GB, as its own repo

The Project Sidewalk crop set behind round 1 of the crop model — 27,704 crops, 13.37 GB as Parquet — ships as its own dataset repo, rampnet-crop-model-dataset-round1. Parquet because HF asks for it on large datasets and it is what makes the viewer work; not because loose files would be illegal (the 10,000 limit is per folder, so train/val/test subdirectories would have kept loose JPEGs legal — a strong recommendation here, not a wall).

This section used to say the opposite, and the correction is the useful part.

The plan was to put round 1 into the existing round-2 repo (then named rampnet-crop-model-dataset; see the rename below) under round1_ps/, leaving the 1,212 round-2 JPEGs loose, so both training rounds lived at one address. That is impossible, and it fails silently. datasets infers one builder module per repository, from the default config, and applies it to every config in the repo:

default config round-2 (JPEGs) round-1 (Parquet)
round 2 Imagefolder, works Imagefolder — 0 rows, no error until you request a split
round 1 Parquet Parquet — the JPEG config breaks instead

There is no arrangement that works. The Parquet config's data_files patterns resolve perfectly — the shards are found — and then the imagefolder builder looks inside them for images, finds none, and reports an empty split. scripts/analysis/hf_config_mixing_check.py demonstrates both directions plus a parquet-only control that works, against throwaway repos it deletes afterwards (verified 2026-08-05, datasets 5.0.0 / huggingface_hub 1.24.0).

Unifying would therefore mean converting the 1,212 round-2 JPEGs to Parquet and deleting them — replacing a published layout and breaking every existing direct file path. This project has already drawn that line, in the safetensors commit: the "already up there, live with it" argument applies to replacing blobs, not to adding a file. Adding a repo is additive; rewriting the round-2 repo is not.

Separate repos initially left a genuine naming wart — the unmarked rampnet-crop-model-dataset was round 2, while the marked repo was round 1. Resolved 2026-08-05 by renaming the round-2 repo to rampnet-crop-model-dataset-round2. A rename was worth doing only if it breaks nobody, so that was measured first: scripts/analysis/hf_move_redirect_check.py proves HfApi.move_repo leaves a redirect that keeps the old id working at every layer a user touches — dataset_info, /resolve/ file URLs, and load_dataset(OLD_ID) — and the real rename was then verified content-identical (same git sha, all 1,214 files, downloads/likes carried). Both cards additionally carry the same two-row table naming which repo is which round.

One obligation the redirect leaves behind: the org must never create a new repo named rampnet-crop-model-dataset — a new repo at the freed name would shadow the redirect, and every stale link would silently point at the wrong dataset.

Two things the export found that the card now states, because both would mislead a user:

  • The token each filename starts with is not a panorama id. download_data.py:277 builds it with random.choices(alphabet, k=8), so the source panorama is not recoverable from this artifact at all. Published as crop_uid; naming it pano_id would have invited a join against rampnet-dataset that silently returns nothing.
  • The labels carry a 3.1% x-axis mismatch. train.py scales both keypoint axes by 0.5, but transforms.Resize((1024, 352)) scales the image by 0.5 on y and 352/683 = 0.5154 on x — so a label drifts left of its ramp in proportion to x, up to ~10.5 px at the right edge. Coordinates are published verbatim rather than normalised precisely so this stays visible and the reader chooses what to do about it.

Published 2026-08-05 at rampnet-crop-model-dataset-round1, from the artifact built by scripts/export_crop_dataset.py at 6a5b554, and verified at every hop rather than assumed:

  • the source tar's sha256 (7fd446c1…8ec9) matches on klone (/gscratch/makelab/jonf/round1_ps_crops.tar, job 38137571) and after transfer;
  • pre-upload, verify re-hashed all 27,704 crops out of the shards against their recorded sha256 — byte-identical, 35,757 keypoints cross-checked by an independent filename re-parse;
  • post-upload, each of the 11 shards matches its Hub LFS sha256 against the local file (no re-download needed — HF stores every LFS object under its content hash), the README round-trips byte-identical, the remote parquet footers count 19,392 / 4,155 / 4,157 = 27,704 rows, and a live-streamed row's image bytes re-hash to its stored sha256.

The repo is in the RampNet collection (7 items), and the dataset viewer is live.

Publishing this makes the paper's crop-model training set available but not reproducible: download_data.py reads live from Project Sidewalk servers whose databases keep growing, so a re-run builds a different set (§1). It can be downloaded, never regenerated — which is the reason it needs publishing, not an argument against.

Package the imagery as Parquet or WebDataset — see the HF correspondence below. Embed the exact bytes the reviewers saw (PNG stays PNG); imagery_manifest.json is what proves the round trip preserved them. The handful of loose source files in rampnet-stage1-inputs are a different case: they are documents to download and use as-is, not rows to iterate, so loose files are right there — but the card must say plainly that load_dataset() will not work and give the hf download command instead.

Is churn actually a problem? Mostly no — publish sooner

The concern is reasonable but the mechanics are milder than they look. From HF's own repository guidance:

  • Commits: no hard limit, though the Hub's UX "starts to degrade after a few thousand commits." This project would add tens, not thousands.
  • Old LFS versions do keep consuming quota after you replace a file — that is the one real churn cost. It is reclaimable with super_squash_history (destructive: history is lost), and note that deleting LFS pointers alone frees nothing.
  • upload_folder / hf upload skip files whose hash already matches, so re-running an upload after adding one city re-transfers only that city.
  • Hard limit: 10k entries per folder (and <100k files per repo recommended) — so use panos/<city>/ subdirectories rather than one flat folder. With ~1,100 panos we are far under, but the per-city shape is right anyway.

So the cost of churn is concentrated in one behaviour: repeatedly replacing the same large blobs. Structuring additively — a new folder per city, never a rewrite of existing ones — makes updates nearly free, and means waiting to publish buys very little.

Recommendation, as shipped: settle the layout once — one Parquet per split at data/<config>/<city>.parquet, configs records / native / 4096x2048 / galleries — then publish incrementally as splits land. The thing genuinely worth getting right up front is the layout, not the timing. An 11th city adds four files and rewrites none.

Storage capacity is not a constraint

projectsidewalk already hosts rampnet-dataset at 463 GB / 200,000+ panoramas — the ~44 GB figure quoted elsewhere in this repo is the test split, not the whole dataset. Another ~9 GB is under 2% of what is already published, and hosting at that scale was arranged with Hugging Face in July 2025.

The conditions agreed then still apply and should shape how #21 is packaged:

  1. Use Parquet or WebDataset for large datasets. push_to_hub on a datasets.Dataset handles the conversion and partitioning.
  2. Stay under the per-file / per-folder limits — notably the hard limit of 10k entries per folder, a real constraint for loose image files and a non-issue for Parquet.
  3. Host under an organisation, not an individual account — hence projectsidewalk.
  4. Document it properly in the dataset card, especially for a non-standard layout: if load_dataset('org/repo') does not just work, spell out how to download and load it.

What this changes about our plan

Publish the benchmark imagery as Parquet or WebDataset, not as loose JPEG/PNG folders. That is what HF asked for, it is what rampnet-dataset already uses, and it sidesteps the 10k-entries-per-folder limit entirely. A folder of 1,109 loose panos would work today but is the shape they explicitly steered us away from, and it would not survive many more cities.

This supersedes the PNG-vs-JPEG framing above: inside Parquet or WebDataset the images are stored as bytes, so the question becomes what encoding to embed, and the answer is unchanged — embed the exact bytes the reviewers saw, whose hashes are pinned in benchmark/<city>/imagery_manifest.json. That manifest is what lets a downloader confirm the round trip through Parquet returned the same pixels.

Human-rated tasks

A human judgment is the least reproducible thing we produce, so it gets the most structure:

  • Per-rater files — benchmark/miss_taxonomy_46/<task>__<rater>.json, never a single blob.

  • The rubric travels in the file. Every export carries the verdict scheme it was made under, because a verdict whose definition is unknown cannot be reused or compared. make_tagger.py also keys its browser storage on the scheme, so changing a verdict's meaning starts a clean session instead of silently averaging two rubrics into one rate.

  • The item list is hashed. The manifest records a sha256 per crop and one digest over the whole set; a verdict file records that digest. tag_results.py refuses to compare raters whose digests disagree.

  • Rendering is deterministic, and this was tested rather than assumed — re-rendering the #46 gallery reproduced all 50/50 crops byte-identically, which is what lets committed verdicts re-pair with a regenerated gallery instead of merely being presumed to.

  • The imagery every review was made against is pinned by hash. benchmark/<city>/imagery_manifest.json records a sha256 and pixel size per panorama plus one digest per split — 206 KB describing 9 GB. This is what makes a verdict verifiable after the panos go to HF and come back: same pano id and filename is not evidence that the bytes are the ones the reviewer judged, because a re-fetch from Mapillary or GSV can return re-stitched or re-compressed pixels.

    python scripts/analysis/imagery_manifest.py --verify   # run this after downloading the archive

    (All 8 reviewed splits verified OK on 2026-07-31 — 984 panoramas unchanged since review.)

Integrity coverage per pass

pass detections pinned imagery pinned rubric in the file
GT verification ✅ records.jsonl (committed) ✅ imagery_manifest.json ⚠️ in benchmark/RUBRICS.md, not the verdict file
#55 A/B ✅ op_cache + tagcheck re-resolves ids ✅ imagery_manifest.json ⚠️ in benchmark/RUBRICS.md, not the tag file
#46 miss taxonomy ✅ committed caches ✅ per-crop sha256 + manifest digest ✅ inside every verdict file

tagcheck and the imagery manifest answer different questions and both are needed: tagcheck confirms the detection coordinates a tag refers to still exist, the manifest confirms the pixels have not moved underneath them.

Run-book: the #46 miss-taxonomy rating task

Reproduces the tagging task exactly. Everything it needs is now obtainable: the challenger detections are committed under benchmark/model_detections/, and the panoramas are on HF at rampnet-benchmark (use the 4096x2048 config — miss_gallery.py crops at model resolution). The #46 crops themselves are committed, so steps 3–5 need no imagery at all.

# 1. Which silent misses did another model already explain? (needs .model_cache)
python scripts/analysis/silent_witness.py --json-out analysis_out/silent_witness.json

# 2. Render the crops for the ones nobody explained. (needs benchmark/<city>/panos)
python scripts/analysis/miss_gallery.py --bucket silent \
    --queue analysis_out/silent_witness.json --render analysis_out/gallery46_silent

# 3. Confirm you are looking at the same images the first rater saw.
#    It must equal the digest in benchmark/miss_taxonomy_46/silent_gallery/manifest.json,
#    which is also recorded as `manifest_digest` inside every per-rater verdict file.
python -c "import json;print(json.load(open('analysis_out/gallery46_silent/manifest.json'))['digest'])"
#    -> 360b5ddf8751dcd0

# 4. Build the tagging page and rate all 50 crops.
python scripts/analysis/make_tagger.py analysis_out/gallery46_silent
#    open analysis_out/gallery46_silent/tagger.html ; export when done

# 5. Commit the export as a new rater, then compare.
cp ~/Downloads/verdicts.json benchmark/miss_taxonomy_46/silent__<name>.json
python scripts/analysis/tag_results.py

Step 5 prints per-rater distributions, pairwise agreement and Cohen's kappa, the specific disagreements, and the resulting sourcing figure.

What the first pass produced

One rater (jonf), 50/50 tagged, manifest digest 360b5ddf8751dcd0.

near-field (n=13) far-field (n=37)
visible 7 34
context-only 1 2
definition 2 —
unclear 3 1

No second rater has done this, so no agreement statistic exists and the numbers below rest on one person's judgment. That is the single largest caveat on the result, and running step 5 above with a second rater is what would retire it.