# Independent reproduction: public RadLab diagnostic snapshots

Verified 12 November 2026 on Windows 11, Python 3.12.9.

## Fixed release

- Repository: [abhs21/space-radiation-reliability](https://github.com/abhs21/space-radiation-reliability)
- Release: v0.1.1, commit `1a0b211ba57676a53d7165f92a93caaa06076c44`
- Existing release suite: **19 tests pass** with UTF-8 mode enabled.
- All 18 committed snapshot SHA-256 values match their source manifest.
- Reproduced campaign: **18 instrument-day cases, 21,500 readings, 58 differing-rate repeated timestamps**. The existing rules exclude 16 series from numerical integration.
- The original `verify_reproduction.py` accepts the result: structure, integer counts, strings and hashes match exactly; finite floats use the published 1e-12 relative/absolute tolerance.

## Current timestamp-review addition

Current main is `373f801c1ac5481277e66b7d431b88311206824c`.

- Existing current-main suite: **22 tests pass**.
- Reproduced summary matches the committed JSON exactly.
- All **58 rows** in the reproduced review CSV match the committed CSV as parsed records, including source row numbers, original rate strings, source URLs and hashes.
- Totals: 116 readings in the 58 differing-rate groups; all 58 groups are aligned to five-minute boundaries in the recorded clock. There are 21,442 unique recorded timestamps, including 5,176 aligned timestamps.

These checks reproduce the published software diagnostics while retaining all source rows and recorded timestamp strings. Timezone, interval and instrument interpretation remain questions for the project and instrument experts.

## Windows encoding finding and verified fix

With UTF-8 mode disabled on this Korean Windows machine, the original campaign fails at `REPORT.md` after producing the calculation JSON:

```text
UnicodeEncodeError: 'cp949' codec can't encode character '\\u2014'
```

This occurs on both v0.1.1 and current main. The following workaround completes the campaign:

```powershell
python -X utf8 run_campaign.py --output-dir outputs/reproduced
python -X utf8 verify_reproduction.py reports/diagnostics.json outputs/reproduced/diagnostics.json
python -X utf8 review_timestamps.py --output-dir outputs/timestamp-review
```

For current main's report writer, the one-line fix is:

```diff
-    (args.output_dir / 'REPORT.md').write_text(report(cases))
+    (args.output_dir / 'REPORT.md').write_text(report(cases), encoding='utf-8')
```

With that exact change, `python -X utf8=0 run_campaign.py ...` succeeds under CP949 and reproduces all 18 cases. The generated diagnostics still pass the original comparator, and the input snapshot hashes remain unchanged.

The proposed fix is [PR #4](https://github.com/abhs21/space-radiation-reliability/pull/4), head `e797c13ae80b8f58ad12740d13c267f3c17e466d`. This is an open code contribution; merge and project adoption are separate stages.

