The problem
A sorter cannot give every shredded fragment a second look. Some loose metal ends up in the reject stream even when a closer inspection would catch it.
What it does
SecondPass prioritizes pieces for manual review; a suggestion never decides whether material is recovered. The browser workbench has three timed photo rounds, an archive benchmark, and a separate own-lot audit that records the first-pass plan, measured mass, verified material, and final outcome. The audit keeps unverified material and unweighed rows out of its result. It runs offline and exports a reopenable JSON and a printable report.
Rethinking Waste: what would count as success
We want to reduce the amount of recoverable loose metal that goes to discard, not just increase the number of fragments picked. In a new, blinded pilot we would freeze both methods' inspection priorities before outcomes are released, give them the same number of attempts, and record staff time. We would weigh the material sent to terminal disposal and only count incremental diversion when the downstream recycler accepts that material. We have not measured this field result.
How we built it
The experiment combines image and calibrated shape features with a four-head ranking to prioritize review. Each of two archived lots was ranked with models trained on the other. Held-lot material labels and weights scored the fixed priorities after ranking; they were not ranking inputs. The offline browser demo uses prepared study data; it does not rank arbitrary photo uploads.
Where Codex helped
Codex helped build and verify the offline browser workflow, reproduce the archive benchmark from the original images, and test how the results change when pieces are missed. It also helped test audit downloads, reopening, offline operation, and reproducible builds across checkouts.
Walkthrough without the video
Load the fictional audit, name the lot and record each piece's mass and first-pass decision. Lock the first pass before checking the outcomes. The example shows target material left going from 30 g to 18 g, then downloads and reopens the same local JSON. The separate archive panel has the equal-budget replay and the missed-inspection control; the measurements and their limits are described below.
The archive result
In a replay of 5,302 fragments from two familiar research lots, both methods got exactly 440 appliance and 620 phone inspections. A strong baseline that already estimates recoverable grams left 43.00 g of visually labelled target fragments. SecondPass left 27.78 g: 35.4% less target mass under the ideal archive replay. In the worst archived case with one missed target and no replacement slot, the improvement drops to 19.8%. The data were used in development; these are neither independent results nor measurements of actual recycling, worker performance, or elemental purity.
Try it offline
Extract the source and open site/index.html in Chrome, Chromium, or Brave. Use Audit your own lot → Load a worked example to enter a fictional lot, lock the first pass, download its JSON, and reopen it. Use Inspect the benchmark to check the original budget and missed-inspection results. The repository documents the separate full benchmark reproduction.
What we have not measured
No independent physical tray trial, accepted-recycling measurement, or causal estimate of field diversion. Photo coverage can be consequential. The archive ranking assumes a matched inspection budget; equal counts do not establish equal staff time.
Data and photo credit
Alexis Barthet, Emilie Chautru, Vincent Semetey, Hervé Chauris, and Thomas Romary, Granulometric database of individual fragments of shredded Waste Electric and Electronic Equipments (2024), https://doi.org/10.5281/zenodo.12759617. The source repository identifies selected archive photographs resized or re-encoded for the browser photo exercise, CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/. No endorsement is implied.