0.9.3 — Rules-first Architecture
Current working versionMoves editable clinical thresholds and decisions into rules.txt so that PHP remains the interpreter, geometry calculator and presentation layer.
Changes
- Added a PARAM block containing Closure, RDR, LoD, BMI, overlap, Plane, TAR, EHS and scar-geometry values.
- Made the Closure boundary explicit: 8.0 cm remains directly closable by default, while 8.1 cm enters the difficult category.
- Removed competing PHP reclassification of Closure and postoperative resetting of BTA/TAR decisions.
- Moved preperitoneal selection, full versus segmental TAR and Separation prescriptions into the external ruleset.
- Added regression tests proving that changes made only in rules.txt propagate to the final recommendation.