ranjithraj/cancer-knowledge-base
Cancer Knowledge Base
Educational knowledge base on cancer types, classification, case studies, treatment regimens, monitoring, clinical trials, and guidelines.
Contents (parquet files)
RAG Benchmark
benchmark/ contains an oncology RAG evaluation suite built from this knowledge base:
retrieval_pool.parquet— ~1,092 chunked retrieval units (sections, markdown tables, domain tables)mcq_benchmark.parquet— 112 multiple-choice questions with golden docs, difficulty, evidence level, and citationsmcq_robustness.parquet— 336 MedRGB-style variants (sufficiency / noise / counterfactual-robustness)mirage_format.jsonl/medrgb_format.jsonl— interchange exports for MIRAGE-family leaderboards and MedRGB harnesses (seebenchmark/MIRAGE_INTEGRATION.md)leaderboard.json— recorded system results
Evaluate your own system with scripts/eval_mcq.py (BM25 or embedding retrieval, or score your predictions).
Ground-truth validation scorecards
scorecards/ holds the results of screening LLM-synthetic oncology datasets against the KB's cited statements (scripts/validate_synthetic.py). Each claim is tiered supported / partial / unsupported by lexical coverage of site-gated evidence, and every item links to the matching evidence chunk.
cancerguide.all.summary.md+.scorecard.json+.claims.parquet— CancerGUIDE (316 synthetic patient notes): 238 scorable claims, 87.0% supported, 12.6% partial, 0.4% unsupported.
Localization (l10n)
The KB is being localized with provenance — every translation keeps its citation (via the master document), a master_hash so a change in the English source flags the locale stale, and an explicit review status (auto → reviewed → approved).
locales.parquet— registered languages (de, zh, es, hi + pipeline candidates)glossary.parquet— code-anchored terminology registry: each concept is linked to its language-neutral code (ICD-10 / ICD-O-3 / LOINC / HGNC) and maps to the local clinical term, so structured rows localize for free while codes stay the join key across languages.translations.parquet— localized document bodies (pilot:know/breast-ref.mdat 100% translatable coverage in de/zh/es/hi) withmaster_hash/content_hashandstatus.
Coverage is not clinical approval: status='auto' rows are glossary-generated drafts that must be clinically reviewed (reviewed) before use. See l10n-moat.md and scripts/localize_pilot.py --coverage.
Privacy
This is the de-identified public subset. The real patient case (cases/specific/ — PHI) and all content derived from it are excluded. Documents are filtered by phi = 0.
Synthetic rows in labs, imaging_findings, and consultations are clearly flagged with synthetic = 1 and are illustrative public-case data — they are not real patient values.
Disclaimer
Educational reference only — not medical advice. Survival figures are population averages and may be outdated (prognosis.as_of marks their review date); consult current guidelines and clinicians for patient decisions.
