Repository navigation
Releases
Releases · spencernorton/endexis
Endexis v2.3.0 — Neuro-Symbolic Concept Isolation, Multi-Turn Refinements & 14x SFT+RPO-DPO Sync
Endexis v2.3.0 — Neuro-Symbolic Concept Isolation, Multi-Turn Refinements & 14x SFT+RPO-DPO Sync
Latest
Endexis v2.3.0 — Neuro-Symbolic Compiler Isolation, Multi-Turn Refinements & 14x Corpus SFT+RPO-DPO Overhaul
Highlights
- 14x Corpus-Synchronized Neural Weights (
5,277SFT Examples +648Contrastive RPO-DPO Pairs):- Retrained
endexis-qwen3-0.6b-dpo-merged(BF16,Q8_0, andQ4_K_MGGUF) from stockQwen/Qwen3-0.6Bacross all36clinical, nursing/ADL, medication, scheduling, and financial revenue-cycle templates plus768compactNeuralCompilationIRexamples and648preference pairs. - Stage-2 NLL-anchored RPO-DPO (
beta = 0.1,lambda_nll = 0.15) achieved100.0%preference accuracy (+3.4014mean log-prob margin) with flat full-corpus SFT validation loss (0.1137 -> 0.1137) and bounded per-fold OOF SFT loss deltas (+0.0024to+0.0058vs.v2.0.0+0.0158).
- Retrained
- Clinical-vs-Billing Concept Isolation & Multi-Turn Refinements:
- Added
lexical_guards.pyword-boundary disambiguation preventing clinical physician/provider requests from pullingCWF GS Adjustments(Adj Post Prsnl,Prsnl Position,Adj Trans *), preventing"discharged"from matchingCHARGEcolumns, and preserving affirmative clauses trailing negated phrases ("without billing columns and include LOS"). - Added structured and natural-language multi-turn negative/override refinements (
exclude_columns,exclude_filters,prior_filters,override_filtersacross the 95-fieldda2_filter_value_catalog) across IR,<cclquery>XML,.daquery, EJS V500 SQL, CCL.prg, and Eclipse BIRT 4.4.2.rptdesign, plus conversational-filler stripping in_derive_report_name().
- Added
- Sealed
N = 640Post-Freeze Qualification & Sub-260ms GGUF Inference:- 5-Fold GroupKFold OOF (
N = 132): Unverified Track-A Strict Pass@1 jumped from0.00%(v2.0.0322-row weights) to50.76%(+50.76pp), with99.24%CUDAQ8_0 <-> BF16structural parity and257.44 mssingle-passQ4_K_MCUDA p50 (vs.2,352.61 mslegacy PyTorch HTTP mean). - Sealed Post-Freeze Holdout (
data/eval_postfreeze_v3.jsonl,N = 640,0 / 0 / 0Exact / Token-Bag / Normalized 5-Gram Skeleton Overlap;19Generic Boilerplate Raw 5-Grams): Strict zero-rescue Track-AQ4_K_M/Q8_0reached95.00%/97.19%SQLite V500 SQL +<cclquery>XML pass rates and75.47%/78.28%4-surface (XML + SQLite + CCL + BIRT) compile rates (191.81 ms/209.24 msp50;214.22 ms/234.08 msmean) vs.0.00%v2.0.0; Track-B neuro-symbolic reached100.00%(640 / 640) SQLite V500 + XML + contamination-free compliance and99.69%(638 / 640) 4-surface verified Pass@1 (75.47%raw unedited neural IR +19.38%symbolically repaired neural IR =94.84%neural-led acceptance,5.16%full symbolic fallback) at210.12 msfull wall-clock p50 (232.82 msmean). - Zero-Leakage & Privacy Audits:
100.00%domain-conditionedAcc@1(89.58%unconditionedAcc@1) and100.00%CODE_VALUEexact match across144holdout filter values,100.00%across20V2 adversarial traps +14frozen +4holdout queries (53/53unit tests), and0violations across repository tree (including decoded Base64 literal checks), tenant-agnostic invariants, binary.safetensors/.ggufscans, and17behavioral canary prompts.
- 5-Fold GroupKFold OOF (
Endexis v2.2.2 — DA2 Is Like text filters
Added
DA2ReportGenerator.generate(like_filters={field: pattern})writes a DA2 Is Like text filter into the.daquery, in the shape DA2's own editor writes.LIKE_TEXT_FIELDSnames the 14 free-text fields it takes, andlike_pattern()shows how each pattern is written. Person Name Last patterns are upper-cased and lose spaces and punctuation, because DA2 compares Cerner'sNAME_LAST_KEY. Other patterns are kept as written. The reference SQL, CCL and standalone.rptdesigndon't carry it;value_filters_not_in_referencelists it.
Known gap
- Untested in DA2: an Is Like
.daqueryfromlike_filtershas not been imported into Discern Analytics 2.0 yet. Only Person Name Last's XML and SQL were checked in DA2's editor.
Notes
- The IN-list
.daqueryfrom 2.2.1'svalue_filtershas since imported into DA2 cleanly.
Full change: #14.
Endexis v2.2.1 — Word-start form matching, whole-word MAR, native value filters
Fixed
- "discharge" no longer matches the charges form, so discharge requests no longer pull in
ChgandCEcolumns. Form keywords, table names and payload column parts must now start a word. - "MAR" (or "MARS") must be a whole word of the query name before the order-status filter and the MAR joins apply. Every
*_Summaryreport used to get the filter.
Added
DA2ReportGenerator.generate(value_filters={field: [display values]})turns each entry into an IN-list filter in the.daquery, the cclquery XML, the query's filters and build card, the reference EJS SQL and the CCL (CCLCompiler.compile(value_filters=...)).DA2UploadableBundle.value_filters_not_in_referencelists any filter the SQL or CCL can't carry.
Known gap
- Untested in DA2: a
.daquerywith an IN list fromvalue_filtershas not been imported into Discern Analytics 2.0 yet. Its XML has the same shape as the generator's existing IN filters.
Full change: #13.
Endexis v2.2.0
Endexis v2.2.0 — Clinical & Order DA2 Report Blueprints, Code Set 72/200 Expansion & Word-Boundary Disambiguation
Summary
- Expanded
da2_canonical_reports_and_queries_catalog.jsonfrom29to36canonical clinical and financial report blueprints andda2_filter_value_catalog.jsonto6,678sanitizedDISPLAY <-> CODE_VALUEpairs acrossCE Event(Code Set 72),Order Catalog(Code Set 200), andHP E R Verify Status(Code Set 27137). - Added 8
CWC Encounterclinical event and order templates insrc/discern_intelligence/da2_generator.py:Bathing_Hygiene_Documentation_Report,Inpatient_Nutrition_Assessment_Report,Pharmacy_Clinical_Interventions_Report,Peripheral_Central_IV_Catheter_Report,Inpatient_Precaution_Orders_Report,One_To_One_Observation_Orders_Report,Wound_Care_Consult_Orders_Report, andDiet_And_Nutrition_Orders_Report. - Enforced word-boundary signal matching in
src/discern_intelligence/interpreter.pyto prevent substring collisions ("discharged"->CHARGE,"primary"->MAR,"scheduled date/time"->Sch App Id, and"Suicide Precautions"order -> C-SSRS 7-query subquery). - Adopted the
bench-receipt/v1benchmark export adapter (scripts/export_bench_receipt.py) and device-agnostic (CUDA/MPS/CPU) training support.
Endexis v2.1.0
Endexis v2.1.0 — Oral Care & Bladder/Bowel Nursing ADL Templates + Code Set 72 Expansion
Summary
- Added
201verifiedCode Set 72(CE Event) coded value mappings (2,331 -> 2,532CE Evententries) insrc/discern_intelligence/data/da2_filter_value_catalog.json. - Added canonical
Oral_Care_Documentation_Report(21CE Eventcodes) andBladder_Bowel_Management_Report(55CE Eventcodes) clinical DA2 report templates insrc/discern_intelligence/da2_generator.py. - Added configurable generic
LTCA <MNEMONIC>owner-group resolution inTenantConfigwhile preservingTENANT_OWNER_GROUPdefault tenant isolation. - Verification: full
pytestsuite green andscripts/release_pipeline.py auditclean (0violations).
Endexis v2.0.2
Endexis v2.0.2 — Verified CWC Encounter UUIDv4 Catalog & Verifier Guard
Summary
- Promoted
236verified Discern Analytics 2.0 (DA2) elementUUIDv4identifiers intosrc/discern_intelligence/data/da2_element_catalog.json(includingSch App Idd5807380-8c35-4f9c-8f32-487839a0bade). - Expanded
LIVE_CWC_ELEMENT_MAPinsrc/discern_intelligence/da2_generator.pyto377verifiedCWC EncounterUUIDv4entries. - Enforced
DA2_VERIFIED_DOMAIN_ELEMENT_UUIDSacross_make_single_query_spec(),_render_daquery_xml(), andverify_da2_bundle()so.daqueryexports never emit syntheticUUIDv5identifiers or unverifiedCWC Encounterelement bindings (ColumnDomainExceptionprevention). - Verification:
37/37unit tests passing andscripts/release_pipeline.py auditclean (0violations).
Endexis v2.0.1 — Canonical Report Naming & Scheduling Summary Precision
Endexis v2.0.1
- Canonical Report & Query Naming:
DA2ReportGenerator._derive_report_name()now synthesizes standard clinical/operational report names (e.g.,Daily_Unit_Patient_Appointment_Summary) and strips conversational phrasing and relative date windows. - Scheduling Summary Precision: Fixed 1:1 alignment in
CONCEPT_SIGNALSscheduling DA2 element mappings (Sch App Duration), disambiguatedPERSON.NAME_FULL_FORMATTED(Person Name Full FormatvsAcct Guarantor Name), and deduplicated scheduling summary DA2 elements. - Verification:
37/37pytest suites pass;100.0%(1.0) column Precision, Recall, and F1 across all 20 V2 benchmark scenarios.
Endexis v2.0.0
Summary
- Precision Column & DA2 Field Disambiguation (
strict_precision=True): Adds grain-pruned column andDA_ELEMENTselection across 6 temporal anchor surfaces (CLINICAL_EVENT.EVENT_END_DT_TMvs.VERIFIED_DT_TMvs.UPDT_DT_TM;MED_ADMIN_EVENTadministration start vs.ORDERS.ORIG_ORDER_DT_TM;ENCOUNTER.INPATIENT_ADMIT_DT_TMvs.REG_DT_TM/ARRIVE_DT_TM/DISCH_DT_TM;SCH_APPT.BEG_DT_TMvs.ACTION_DT_TM;CHARGE.SERVICE_DT_TMvs.POSTED_DT_TM), identifier alias disambiguation (PERSON_ALIASMRN Code Set 4 vs.ENCNTR_ALIASFIN Code Set 319 vs. internalf8surrogate keys), and multi-1:N child join-explosion guardrails. - Clinical & SQL Safety Qualification Filters: Enforces
Order Status Not In (Canceled, Voided)(Code Set 6004: 2542, 2553) preservingDiscontinued(2545) for historical MAR/BCMA audits,CE Result Status In (Auth (Verified), Modified, Altered)(Code Set 8: 25, 34, 35) withVALID_UNTIL_DT_TM >= 31-DEC-2100,LEFT OUTER JOIN V500.DIAGNOSISfor active census admitting diagnosis queries, and test-patient prefix exclusion (< 'ZZ'). - Context-Conditioned Filter-Value & Code Set Resolver (
resolve_da2_filter_value): Scores6,458DISPLAY <-> CODE_VALUEpairs across90DA2 filter fields conditioned on(query_intent, domain, subentity, da2_field_name, code_set). - Zero-Leakage V2 Adversarial Benchmark & SQLite Edge-Case Harness: Adds a 20-scenario V2 adversarial benchmark (
data/eval_adversarial_v2.jsonl,evaluate_adversarial_v2_benchmark:100.0%Pass@1, mean F10.995) and a 5-scenario SQLite V500 edge-case execution suite (run_adversarial_sql_edge_case_suite), plus.endexis.tomldiscovery (endexis init-discover) andLocalNeuralCompilerGGUF client support. - Expanded Catalogs & Retrained Stage-2 RPO-DPO Model: Enriches all
2,606DA2 elements and230V500 tables, rebuilds4,5016-step<reasoning>SFT examples and189contrastive DPO pairs, and updatesNorviTech/endexis-qwen3-0.6b-dpo-merged(v2.0.0) with BF16.safetensorsandQ8_0/Q4_K_MGGUF checkpoints.
Verification
python3 scripts/release_pipeline.py audit(release_audit_passed: true,74files scanned,0violations)pytest -q(36 passed)
Endexis 1.0.0
Changelog
1.0.0 — 2026-11-06
Added
- Initial public release of Endexis (
endexisv1.0.0) and the merged Qwen3-0.6B Stage-2 RPO-DPO neural compiler (NorviTech/endexis-qwen3-0.6b-dpo-merged). - Tenant-agnostic Discern Analytics 2.0 (DA2)
.daqueryand.dareportXML/SQL generator with runtimeTenantConfigoverrides (owner_group_display,timezone_index,Enc Loc Facility,Enc Loc Building,Enc Loc Nurse Unit,Enc Loc Room,Enc Loc Bed, and custom filter overrides). - Cerner Command Language (CCL)
.prgcompiler and Eclipse BIRT 4.4.2.rptdesignmulti-dataset join generator. - 13 client-neutral V500, DA2, Code Set (
363code sets), Event Set/Language crosswalk, PowerForm/IView/SmartTemplate, and HealtheIntent EDW reference catalogs (2,600DA2 elements,6,458coded value mappings across90fields). - 4-Gate Public Release Auditor (
discern_intelligence.release_audit) verifying repository/corpus text, tenant-agnostic structural invariants, binary.safetensorsheaders/strings, and adversarial behavioral canary prompts.