Repository navigation
Browser demo that runs the real engine - #7
Merged
Merged
Conversation
Profiling a 6,451-row table spent five seconds sending planet names through dateutil. Values parse independently under format="mixed", so checking in chunks and stopping early gives the same answer in a tenth of the time.
The hosted demo copies src/ into the page unchanged and drives it from a module worker, so the answers, the arithmetic and the rows come from the same code as the desktop app. Adds the page, a build step that assembles the static output, and tests that fail if the copies drift.
… gaps Greenbar striping on the evidence rows, a cooler paper ground, a tabbable file control, no decorative pulse, and reduced motion that keeps the fade but drops the movement.
Pyodide hands Python None to JavaScript as undefined and turns JavaScript null back into JsNull, so a question without a group fell through to the grouped branch and its evidence lookup failed. Also caps the evidence table so a wide answer does not bury the rest of the page.
The hosted page now bundles the NASA Exoplanet Archive composite table and Palmer penguins, both checked against their sources, and credits them in the page and README. The invented CRM sample is no longer shipped, and the hand-written AI transcript is gone: questions outside the recognised forms get a note that the desktop app can send them to a local model.
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.
Live demo: https://tablebeam-eight.vercel.app
What changed
web/holds a static page that answers questions with Tablebeam's own code.web/build.shcopiessrc/answer_format.py,src/data_pipeline.py,src/question_actions.pyandsrc/table_analysis.pyinto the output unchanged, and a module worker loads them into Pyodide (CPython 3.14.2, pandas 3.0.2). The CSV is read in the tab and never uploaded.summarize_dataframecall behind it, the written-out arithmetic, the rows used, and a CSV download of those rows. The first question runs on load.pscompparstable (6,451 rows; matched value for value against a fresh TAP query on 22 October 2026, only column names changed). Palmer penguins is byte-identical topenguins.csvfrom palmerpenguins (CC0). Both are credited in the page footer and the README. Visitors can also open their own CSV.calculation_detailsno longer says "0 missing values are excluded",app.pyimportsdisplay_resultfromanswer_formatrather than through the view, andprovider_control.pydrops an unused import.Verification
pytest -q: 383 passed.tests/test_web_demo.pybuilds the output, asserts the copied modules are byte-identical tosrc/, answers every bundled question through the copy, checks that the written-out arithmetic reproduces the result, and checks that every bundled table names its source.