Skip to content

Releases

v1.0.2: submission

Choose a tag to compare

@parsa-hke parsa-hke released this 22 Nov 16:21

Submission release for MAAI 901/902 (University of Wollongong in Dubai). Research prototype, not for clinical use.

It supersedes v1.0.1. The models, the contracts and every result reported before are unchanged. What changed since v1.0.1:

  • Three report-only read-outs of saved results (development cases and synthetic scenarios; nothing trained or predicted again, no held-out case): the human check weighted back to all claims, with the verifier's flags confirmed by type and the labellers' kappa by stratum (EXP-88); the share of all cases answered with no false-content claim, and subgroup differences with intervals (EXP-89); Qwen's format failures by cause (EXP-90).
  • A decision-balanced training set for the small reasoner, prepared and not trained on (EXP-91, DEC-39): the code and the switch in notebooks 54 and 55 are in place, off by default. The fine-tuning result reported earlier stands.
  • No notebook needs a GitHub token. Each installs from this public repository at a pinned commit.
  • A notebook that needs no Google Drive and no API key, notebooks/62_replay_no_drive.ipynb, stored with its outputs: it fetches the replay bundle, rebuilds the hallucination table, and shows one hand-written fixture end to end, offline.
  • Packaging: the description no longer says "retrieval-grounded" (the reasoner gets the whole rulebook; retrieval serves only the verifier's candidate passages); numpy is a base dependency, so the replay below works on a plain install; the package version now matches the tag.
  • Wording: the README no longer calls the verifier's rates upper bounds. People found that the verifier both over-flags and misses errors.

Reproduce the hallucination table without an API key

replay_bundle.tar.gz, attached below, is the same file as in v1.0.0 and v1.0.1. It holds the saved answers and verifier caches for the fixtures and the 150 synthetic scenarios, and no patient data.

pip install git+https://github.com/parsa-hke/strokecopilot.git@v1.0.2
python -m strokecopilot.pipeline.replay run --bundle replay_bundle.tar.gz

The command checks the bundle's sha256, rescores every model and arm offline from the cached verdicts, checks each rate against the reported one and prints the table. It ends with OK: every cell matches its reported rates.

  • sha256: 44c8d3abb4b6e93613a12de0ccf4cfca0945bdaf100a47b203926119add3b799
  • size: 3,235,909 bytes

Checked at this tag

  • Tests: 950 passed with every extra installed; 779 passed and 25 skipped in a fresh environment with only .[dev] (pytest, no data needed).
  • GitHub Actions: the tests workflow passed on this commit.
  • Replay: the bundle matches its sha256 and every cell matches its reported rate.

Not included

No data and no model weights. ISLES'24 (Zenodo record 17652035, CC BY-NC-SA 4.0) and the RSNA Intracranial Haemorrhage data (Kaggle, competition rules) must be obtained from their sources. Guideline and trial texts stay with their publishers; the reasoner sees only our own-words rulebook. Terms are in docs/DATA_USE.md.

Cite with CITATION.cff. Licence: MIT.

v1.0.1: submission

Choose a tag to compare

@parsa-hke parsa-hke released this 21 Nov 20:24

Submission release for MAAI 901/902 (University of Wollongong in Dubai). Research prototype, not for clinical use.

It supersedes v1.0.0. The models, the contracts and every reported result are unchanged. What changed since v1.0.0:

  • The quick start works on a fresh machine. pip install -e ".[dev]" now installs what the tests need; tests of the heavier parts (torch, timm, opencv, sentence-transformers, the LLM clients) skip themselves until the matching extra is installed.
  • A GitHub Actions run executes the tests on every push to main and every pull request.
  • Four report-only read-outs of saved results (development data; nothing trained or predicted again): Vision A as a yes/no call at each decision cut-off (EXP-84), Vision B's threshold trade-off between RSNA sensitivity and ISLES'24 flags (EXP-85), a post hoc test of the centre gap in Dice (EXP-86) and fold 0's training curve from nnU-Net's logs (EXP-87).

Reproduce the hallucination table without an API key

replay_bundle.tar.gz, attached below, is the same file as in v1.0.0. It holds the saved answers and verifier caches for the fixtures and the 150 synthetic scenarios, and no patient data.

pip install git+https://github.com/parsa-hke/strokecopilot.git@v1.0.1
python -m strokecopilot.pipeline.replay run --bundle replay_bundle.tar.gz

The command checks the bundle's sha256, rescores every model and arm offline from the cached verdicts, checks each rate against the reported one and prints the table. It ends with OK: every cell matches its reported rates.

  • sha256: 44c8d3abb4b6e93613a12de0ccf4cfca0945bdaf100a47b203926119add3b799
  • size: 3,235,909 bytes

Checked at this tag

  • Tests: 921 passed with every extra installed; 752 passed and 23 skipped in a fresh environment with only .[dev] (pytest, no data needed).
  • GitHub Actions: the tests workflow passed on this commit.
  • Replay: the bundle matches its sha256 and every cell matches its reported rate.

Not included

No data and no model weights. ISLES'24 (Zenodo record 17652035, CC BY-NC-SA 4.0) and the RSNA Intracranial Haemorrhage data (Kaggle, competition rules) must be obtained from their sources. Guideline and trial texts stay with their publishers; the reasoner sees only our own-words rulebook. Terms are in docs/DATA_USE.md.

Cite with CITATION.cff. Licence: MIT.

v1.0.0: submission

Choose a tag to compare

@parsa-hke parsa-hke released this 20 Nov 20:47

Submission release for MAAI 901/902 (University of Wollongong in Dubai). Research prototype, not for clinical use.

This tag holds the code as frozen under DEC-31, the Phase 5 report-only analyses (SHAP, t-tests, BiomedCLIP probes, subgroups, a non-Claude judge, a retrieval re-test, ONNX export) and the redesigned demo Space.

Reproduce the hallucination table without an API key

replay_bundle.tar.gz, attached below, holds the saved answers and verifier caches for the fixtures and the 150 synthetic scenarios. It contains no patient data.

pip install git+https://github.com/parsa-hke/strokecopilot.git@v1.0.0
python -m strokecopilot.pipeline.replay run --bundle replay_bundle.tar.gz

The command checks the bundle's sha256, rescores every model and arm offline from the cached verdicts, checks each rate against the reported one and prints the table. It ends with OK: every cell matches its reported rates.

  • sha256: 44c8d3abb4b6e93613a12de0ccf4cfca0945bdaf100a47b203926119add3b799
  • size: 3,235,909 bytes

Checked at this tag

  • Tests: 910 passed, 1 skipped (pytest, no data needed).
  • Replay: the bundle matches its sha256 and every cell matches its reported rate.

Not included

No data and no model weights. ISLES'24 (Zenodo record 17652035, CC BY-NC-SA 4.0) and the RSNA Intracranial Haemorrhage data (Kaggle, competition rules) must be obtained from their sources. Guideline and trial texts stay with their publishers; the reasoner sees only our own-words rulebook. Terms are in docs/DATA_USE.md.

Cite with CITATION.cff. Licence: MIT.