Repository navigation
Remove the retired Streamlit app - #36
Merged
Merged
Conversation
The calculator moved to Next.js and FastAPI; the Streamlit app (app.py, app_backup.py, pages/, .streamlit/), its Codespaces config and requirements.txt, and the two calculation modules only it used (ptc.py, charts.py, with charts.py's logo) were left behind. So were 19 test files: 11 import the Streamlit app or drive it with Streamlit's test runner, and 8 are scripts that print results without asserting anything. The README and CONTRIBUTING describe the current frontend and API instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The builder moved from 10,001 to 1,001 points for faster charts; the test still expected 10,001. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks
This branch was successfully deployed
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.
Summary
The calculator moved from Streamlit to Next.js and FastAPI, but the Streamlit app and the code only it used stayed in the repo. This PR removes them. Nothing the site or the API runs changes.
It splits the cleanup out of #24, which also deleted these files but is parked: its local-impact view waits for 120th Congress district data.
What's removed
app.py,app_backup.py,pages/calculator.pyand.streamlit/config.toml..devcontainer/, which ranstreamlit run app.pyon attach) andrequirements.txt.aca_calc/calculations/ptc.pyandcharts.py, which only the Streamlit pages used, andblue.png, the logocharts.pyread.debugtarget (streamlit run app.py).test_400_fpl_cliff,test_app_comprehensive,test_app_imports,test_calculate_ptc,test_cliff_fixed,test_cliff_simple,test_debug_app,test_employment_vs_magi,test_show_errors,test_streamlit_appandtest_unique_chart_keys.test_app_function,test_austin,test_comparison,test_eligibility,test_labels,test_nj,test_reform_verificationandtest_texas.What's updated
tests/test_household.pyexpects the household builder's 1,001-point income axis; it still expected the 10,001 points the builder used before.Not changed
pyproject.tomlstill listsstreamlit. Dropping it re-resolvesuv.lock, about 1,500 changed lines, so it's left for the next policyengine-us pin, which refreshes the lock anyway.Modal APIworkflow; the others run only withmake test.Checks
.py,.js,.jsx,.mjs,.json,.tomland.ymlfile).tests/test_household.pypasses (6 tests).🤖 Generated with Claude Code