| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| openadapt_types-0.24.3-py3-none-any.whl | 2026-12-02 | 278.3 kB | |
| openadapt_types-0.24.3.tar.gz | 2026-12-02 | 442.9 kB | |
| openadapt-types 0.24.3 source code.tar.gz | 2026-12-02 | 189.4 MB | |
| openadapt-types 0.24.3 source code.zip | 2026-12-02 | 202.5 MB | |
| README.md | 2026-12-02 | 5.5 kB | |
| Totals: 5 Items | 392.6 MB | 0 | |
Compatibility: for every input 0.24.2 accepts, outcome_word and
build_evidence_scope return the same word except for a confirmed level 1
or level 2 check with no basis. That check was SHOWN and is now RECORDED,
or ATTESTED when an operator attested it. Both words were already valid at
those levels in 0.24.2, and they are consistent with the same record/run/v1
outcomes as SHOWN. No word becomes stronger and no call that worked now
raises. SHOWN blocks written earlier still validate. openadapt-flow 4.1.0, which accepts
>=0.24.2,<0.25.0, needs this release to name the post_save_screen and
reopened_record bases on its receipts; with 0.24.2 it names none.
check_level: the post-save screen check earnsVERIFIED. New basespost_save_screen(level 1) andreopened_record(level 2) are handed out only bypost_save_screen_basis, from aScreenCheckthat says every intended value was read on the screen field by field and matched, the form left edit mode, and no error is shown. A banner or toast alone, a field not read, or a flag nobody observed earns no basis, and the word isRECORDED.outcome_wordandbuild_evidence_scopenow defaultminimumtosame_screenand no longer clamp it toseparate_session; a regulated caller passesseparate_session.VERIFIED_LEVELSnow lists levels 1 to 4 (the levels the word may name); the newINDEPENDENT_LEVELSlists levels 3 and 4.outcome_wordnever returnsSHOWNany more.ScreenCheckrefuses a value that is not a count or a flag (a boolean count, a string flag), andfrom_mappingrefuses a mapping with any other key.screen_basis_for(level, checks)is the one rule for a result with one check per save: every check complete and reachinglevel.build_evidence_scoperefuses a screen basis unlessscreen_checksearns it.evidence_scope:VERIFIEDis valid at levels 1 to 4 with a basis that reaches that level.SHOWNis kept inOutcomeWordand still validates at levels 1 and 2 so older receipts verify; it may not name a basis.legacy_wordandLEGACY_WORDSlet tools label it as the older format. A block that names a screen basis and listsfields_not_readdoes not validate, whatever its word. Arecord/run/v1receipt with a screen basis is refused unless every line is confirmed and none listsfield_valuesas not checked. A block with a new basis does not validate under openadapt-types 0.24.2 or earlier.- Test vectors:
valid-evidence-scope-post-save-screen(a signedVERIFIEDreceipt with basispost_save_screen) andolder-evidence-scope-shown(an olderSHOWNreceipt that still verifies),evidence-scope-screen-with-unread-fieldsandevidence-scope-screen-with-unchecked-write(both refused), plusvectors/screen-check/cases.json, shared by the types, Flow, kernel and launcher tests. evidence: one strict matcher for deciding whether text on a screen or page proves a value or a commit.match_fieldreturnsMATCH,MISMATCHorAMBIGUOUS, and onlyMATCHmay pass. A value bound to its label is tried before the whole text. A value merely found in longer text isAMBIGUOUS, and a token never ends at joining punctuation, so2026-11is not in2026-11-29. A label binds only at the start of a line or after|,;or a tab, with only punctuation between, soPrevious Patient ID:,Error: Claim ID:andName: Jane Doe Previous MRN:don't bind, and neither doesDOBin a single-linePatient: X DOB: Y. A bound value may hold only unit words beside the value:CLM-1 not found,Dose: <5,250.00 CRandJane Sample (not this patient)areAMBIGUOUS. Numbers compare as whole numeric tokens by value, so250never matches$1,250.00and5never matches50 mg. One label with two values isAMBIGUOUS.phrase_affirmedchecks a commit confirmation across two frames. It refuses a phrase already present before, a question, a modal or future form, a negation, or a control label next to it, and a failure word (Error,rolled back,draft,0 records) on any line new since the first frame.has_negation_or_modalexposes the word check. The module is standard library only. The launcher and the kernel carry byte-identical copies, and a test fails when the copies drift.tests/evidence_corpus.jsonpins the verdicts on adversarial cases and true positives.docs/evidence-migration.mdlists which callers use it.check_level: afresh_reloadbasis at level 3. It is a new navigation in the acting session that is proven to have fetched from the server (cache bypassed, the request kept as evidence). With it a level 3 check isVERIFIED; a reopen without that proof stays level 2,RECORDED.evidence_scope: optionalagent_usedandverifier_adapterlabels name the agent or compiled plan that produced a run and the verifier stack that checked it (#2650). Each is a short label and may not contain a URL. A block that carries either does not validate under openadapt-types 0.24.2.- Test vectors only, no code change: six
record/run/v1vectors (evidence-scope-null,evidence-scope-null-basis,evidence-scope-null-read-back-at,evidence-scope-null-recheck-window,evidence-scope-protocols-null,evidence-scope-protocols-missing) sign anevidence_scopewith anullor missing field. Each payload is not canonical, so every verifier must refuse it asmalformed.