Biocommons normalizer test fixtures
===================================

Source (proximate):  https://github.com/biocommons/hgvs-rs
Commit:              b6513b3d793615fd770b1e8ae2a87d85d10396b5
License:             Apache-2.0
Upstream project:    https://github.com/biocommons/hgvs

cases.json is generated by scripts/refresh-biocommons-fixtures.py from
src/normalizer.rs in the hgvs-rs repo at the pinned commit above. The Rust
port transcribed biocommons/hgvs's `tests/test_hgvs_normalizer.py` cases
verbatim, except for one BRCA2 1bp/3bp-deletion mismatch case that hgvs-rs
intentionally reinterpreted as a success; we restore biocommons' assertRaises
expectation here.

Six normalize-bearing cases from biocommons/hgvs `tests/issues/test_02xx.py`
and `test_03xx.py` (issue regressions for #293, #324, #335, #376) are hand-
curated in ISSUE_CASES at the top of the refresh script since the hgvs-rs
port did not transcribe them.

The script reads src/normalizer.rs via `git show <sha>:<path>` and does not
modify the upstream checkout's working tree.

To refresh against a newer upstream commit:
    1. Update HGVS_RS_SHA in scripts/refresh-biocommons-fixtures.py
    2. pixi run python scripts/refresh-biocommons-fixtures.py refresh
    3. Re-bless the mock pin:
         BLESS_MOCK_PIN=1 cargo nextest run --features dev \
           -E 'test(regression_under_mock_normalized) & binary(biocommons_normalize_tests)'
    4. Commit cases.json + NOTICE + mock-pin together.

Biocommons/hgvs upstream is Apache-2.0; hgvs-rs is also Apache-2.0. Both
licenses require attribution; this file satisfies that requirement.
