3 Commits
Author SHA1 Message Date
Abhinav Gupta 7b40481e36 fix: resolve HTML tag rendering bug and ensure explicit primary diagnosis precedence over secondary and meta-narratives 2026-10-08 15:03:02 +05:30
Abhinav Gupta ced32805b3 fix(pipeline): complete database-grounded recall, exact evidence extraction, and Streamlit image width on extraction-fix 2026-10-08 13:50:56 +05:30
Abhinav Gupta 72d0da1c22 feat(pipeline): complete healing and hardening of clinical reasoning and matching pipeline
- Implement soft dimensional compatibility and 3-way attribute logic (SUPPORTED, CONTRADICTED, UNKNOWN)
- Replace binary hardwall rejection with nuanced compatibility scoring
- Isolate context per diagnosis to prevent cross-condition contamination (MD Sec 41)
- Generalize disease families (liver sarcoma, net, asthma, acl) and category priors
- Add regex word boundary acuity checking and laterality alignment scoring in ranker
- Fix candidate sort by sorting on unconstrained multi-factor raw score before output clamping
- Preserve zero-modification immutability of local Database_2.xlsx
- Pass 100% of full regression test suite (158/158 tests) and ruff linting
2026-10-06 14:43:16 +05:30