Repository navigation
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);
numpyis 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.gzThe 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
testsworkflow 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.