Repository navigation
Add four-view synthetic prototype with authenticated Render hosting - #18
Merged
Merged
Conversation
DevDataMLOps
marked this pull request as ready for review
October 14, 2026 04:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PATIENTRA gains a four-view synthetic experience covering Pipeline, Governance, Product/API, and Phase 10. A new authenticated Render Free service serves a frozen, validated aggregate snapshot; the existing patientra-api service is unchanged. Public prototype and Swagger links are added near the top of README, alongside local startup instructions.
The fixture exercises actual quarantine, suppression, and unresolved identity boundaries: 200 Gold admissions, 13/13 release checks, three quarantined records, four suppressed groups, and one unresolved identity review. Phase 10 uses 100 training and 98 holdout admissions with zero shared patients and excludes the two pending-identity admissions. Metrics remain DEMONSTRATION_ONLY; no clinical inference endpoint or trained model is exported.
The hosted service installs only API dependencies, binds to 0.0.0.0:$PORT, verifies hash-pinned files and aggregate linkage on every request, restricts hostnames, and shares bearer authentication/rate limits with the existing API. Canonical LF files and .gitattributes preserve hashes across Windows/Linux. The hosted token is separate from the local token and is supplied through Render environment configuration, never Git. Automatic deploys are disabled for deliberate maintainer control.
Validation: 124 local tests passed before the line-ending correction; all six prototype tests passed after it. Browser checks verified all four local and public hosted views and local Swagger aggregate execution. Hosted health, HTML, and Swagger return 200; unauthenticated data requests return 401, authenticated prototype/overall/data-quality return 200 with 13 checks and zero shared patients. Render deployment dep-db7fvfo473hc73d8lq9g is live at source commit d35ef84. All five GitHub CI jobs passed for review head e6c4e1e (run 38510319590); this synchronization merge has the same source tree as the deployed commit. All six prototype tests also passed after the final presentation corrections.
Public URLs:
The public site serves a frozen synthetic run, not live hospital data or a new Databricks execution. Its source timestamps remain intact and freshness ages normally. Databricks evidence and the existing Render release are linked separately. Free hosting may sleep. Maintainer review/merge remains pending; no production clinical readiness is claimed.