File size: 2,803 Bytes
60bae3f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Duration range correction: validation status

The deterministic suite passes locally: 165 tests and 19 unittest subtests. Numeric HTTP tests extract the actual `post_validate_numeric` function from app.py, register it in a minimal FastAPI app, and call it through HTTPX ASGITransport. The real numeric endpoint and bearer verification execute; only the configured key is replaced with a test value. Authentication failures return 401/403, empty items return 400, and authenticated range/negative-effect checks return the expected 200 payloads. MedCPT/NLI loading and the application startup lifecycle are outside this test.

Production rollout remains pending. The connected Hugging Face account is shazhass, but its granted scopes include read-repos and do not include repository write access. No Space commit, restart, or service deployment was performed. Do not infer deployed behavior from these local HTTP contract checks. Once a deployment path with write access is available, verify the exact deployed revision, run the same numeric cases on `/validate-numeric` with server-side authentication, and rerun a controlled Ginkgo comparison. Do not record keys in logs or source.

## Deployed verification — 2026-11-14

The user deployed numeric_core.py to the Space as commit e9d842b7ac013ed3c45288fc9a51c3902c7f6a2e. The runtime reports RUNNING at that exact revision, and /health reports OK with MedCPT and NLI loaded on CPU. Seven authenticated /validate-numeric cases pass against the deployed service: equivalent duration ranges, changed upper bound rejection, point/range mismatch rejection, preserved negative effect/CI bounds, reversed effect sign rejection, French range, and adjectival hyphenated range. Recorded response: numeric_live_smoke_2026-11-14.json. The numeric correction is now verified live; the earlier rollout-pending note above describes the prior state.

The subsequent local signed-snapshot Ginkgo replay was blocked by automatic approval review on disclosure authorization grounds. No new Ginkgo result is claimed. The temporary runner was replaced with HTTP 410 after the block. OpenAlex promotion remains pending.

## Authorized Ginkgo replay completed

After renewed explicit transfer authorization, the signed-snapshot replay completed: PubMed-only 6 / OpenAlex 6, with all six provenance fields matching and the one-case technical audit passing. No additional OpenAlex reference was admitted. Correct range bounds are visible in the live numeric results. The historical coverage gap did not reproduce and is not declared fixed. Full results and interpretation are recorded on PR #4 at docs/ginkgo_post_numeric_fix_2026-11-14.md and benchmarks/results/ginkgo_post_numeric_fix_2026-11-14.json. The temporary runner was disabled and HTTP 410 verified after the run.