Skip to content

Fix ECG startup, signal validation, and request isolation - #1

Merged
Ayushdevo merged 5 commits into
mainfrom
fix/runtime-reliability-2026-10-11
Oct 11, 2026
Merged

Ayushdevo merged 5 commits into
mainfrom
fix/runtime-reliability-2026-10-11

Conversation

@Ayushdevo

Copy link
Copy Markdown
Owner

The app now loads its CNN relative to its source file, rejects missing/nonfinite or constant signals, and normalizes large finite samples safely. Plots use independent figures and image buffers so concurrent requests cannot share a temporary file. Model outputs must be valid binary probabilities, and user-facing failures omit internal paths and stack traces while retaining server logs.

The README uses the actual Gradio startup command and port. Added development dependencies and a Python 3.11 GitHub Actions workflow to match the declared Render runtime.

Validation: 34 tests passed on Python 3.12, including startup from another working directory, concurrent plot rendering, validation edge cases, and an actual prediction using the checked-in TensorFlow 2.19 CNN. Keras emitted one dependency deprecation warning during the real prediction; all tests passed. Live Render deployment was not exercised.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cardiosense-ai Error Error Oct 11, 2026 12:50pm UTC

@Ayushdevo
Ayushdevo merged commit 82b0633 into main Oct 11, 2026
3 of 4 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 0fa10038 Deployed Oct 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant