Skip to content

Phase 4: retire Streamlit, Docker web app, answer quality, final README - #13

Merged
CodexManvik merged 3 commits into
mainfrom
phase4-launch
Nov 9, 2026
Merged

CodexManvik merged 3 commits into
mainfrom
phase4-launch

Conversation

@CodexManvik

Copy link
Copy Markdown
Owner

Phase 4 of the showcase plan: finish the launch. It retires Streamlit, runs the new web app in Docker, improves answer quality, and rewrites the README around the new UI.

Changes

  • Streamlit retired. The interim app and the old experimental dashboard move to legacy/streamlit/, with a README on how to run them. The API still accepts FRONTEND_TOKEN. Committed __pycache__/*.pyc files are untracked.
  • Docker Compose runs the web app. web/Dockerfile builds a Next.js standalone server on port 3000. Browsers reach the API at localhost:8000, while the web server uses backend:8000 (API_URL_INTERNAL). Pages that couldn't reach the API while prerendering, as in a Docker build, render per request instead. Verified: docker compose up serves the bundled snapshot, and the chat streams from the local API.
  • Answer quality:
    • gpt-oss is a reasoning model, and its hidden reasoning used up the 600-token limit, cutting long answers off mid-sentence. Answers now get 1200 tokens and the router 600.
    • The analytical "What this means" text is requested as plain prose, instead of a list that restated the rows.
  • Web app:
    • a finished analytical answer shows its title and explanation, with the rows in the chart and Data tab instead of above them
    • search maps keep enough area to show the coastline
    • search results and float pages download profiles as CSV, NetCDF or ASCII through /export
    • the Next dev badge is off
  • README: new screenshots (landing, chat, float page), the run log, a live-versus-snapshot data table, port 3000 throughout, refreshed tips and limitations. DEPLOY.md points at the new file locations.

Checks

  • Python: 172 tests pass and ruff is clean.
  • web/: 19 unit tests, ESLint and tsc clean, next build passes, including with the API unreachable.
  • Exports for all three formats checked from the browser against the live API.

After merge and the Render redeploy, I'll re-run the benchmark (the token and prompt changes affect answers) and refresh the chat screenshot.

🤖 Generated with Claude Code

CodexManvik and others added 3 commits November 9, 2026 04:08
The interim Streamlit app and the old experimental dashboard move to
legacy/streamlit/ with a README. docker compose now builds web/ (Next.js
standalone) on port 3000; the web server reaches the API at backend:8000
while browsers use localhost:8000. Pages that could not reach the API while
prerendering render per request. Compiled __pycache__ files are untracked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mpact analytical view

gpt-oss spends part of max_tokens reasoning, which cut long answers short;
answers now get 1200 tokens and the router 600. The analytical insight is
asked for in plain prose instead of restating the rows. The web chat shows a
finished analytical answer as its title and explanation, with the rows in
the chart and table, and maps keep enough area around the points to show
the coastline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README now leads with the web app (screenshots of the landing page, chat
and float page), describes the run log, the live and bundled data, and runs
the stack on port 3000. DEPLOY.md points at the new file locations. Search
results and float pages download profiles as CSV, NetCDF or ASCII.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 22:39
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b4a8e7d3-f705-4807-bdb6-17f513bb872e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@CodexManvik
CodexManvik merged commit 15df5ab into main Nov 9, 2026
7 checks passed
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.

2 participants