HackPSU-Mercer

Mercer — FNB HackPSU

Run

python -m pip install -r requirements.txt
python -m streamlit run app.py

Enter an OpenAI API key in the sidebar, or configure .streamlit/secrets.toml with OPENAI_API_KEY = "...".

Features

Limitations

Added: rate-shopping assistant

For the default synthetic demo mode, keep synthetic_bank_transactions.csv alongside app.py and loan_finder.py.

Safe-to-Spend Forecast (new)

Below the original auditor and loan finder, an additional panel estimates discretionary cash after recurring upcoming bills, ordinary variable spending, a savings allocation, and a minimum checking cushion. It uses the bundled synthetic CSV by default or an uploaded CSV with posted_date, amount_usd, transaction_type, merchant, recurring, running_balance_usd (optional category). Choose 7–60 days, edit the checking balance, savings contribution, safety cushion and variable reserve, and simulate an extra purchase. It charts the projected balance and lists estimated due dates.

Snapshot caveat: Sample transactions end September 30, 2026; the first scenario runs from that date. The app does not claim to know today’s balance. Future income is deliberately excluded, and a bill’s due date is inferred from previous postings. Variable expenses include non-recurring negative Expense rows and exclude transfers. Predictions are conservative estimates, not verified upcoming transactions or a real-time account connection. Calculations run locally, without requiring an API key.