Spaces:
Running
Running
Commit History
Yesterday
-
Send cache headers so updates reach visitors on a normal reload
Verified signature## What Cache headers for the demo's files. `server.py` replaces `python -m http.server`: the page, scripts and data (`index.html`, `worker.js`, `pybot_web.py`, `tree.json`) get `Cache-Control: no-cache`; the bot bundle gets `immutable`, the fonts one day. ## Why After #2 was merged, Lewis's browser kept the old `index.html` and paired it with the new `tree.json`, so file links had the new commit but no line numbers. `http.server` sends no `Cache-Control`, so browsers may reuse a page heuristically after an update. ## How - `no-cache` still lets browsers keep a copy, but they check it on every load. An unchanged file costs a 304 (`http.server` already handles `If-Modified-Since`). - The bundle can be cached for good because its name changes with every build (`pybot-<sha12>-<hash>.zip`). - `Dockerfile` runs `server.py` (port 7860 as before; `HOST`/`PORT` can be overridden for local tests). README updated. ## Testing Served the live files locally with `server.py`: the headers are as a…445c84c -
Link the demo's trace to exact lines of code (#2)
- Link the demo's trace to exact lines of code (7d807902ec5f112aa22beac0d564ea3f5fee5e29)c327578
5 days ago
-
PyBot: Can Python be a chatbot? (in-browser demo)
Verified signaturef2c3987 -
Serve the in-browser demo from a minimal Docker file server
Verified signatureA static Space redirects LFS/Xet files to a CDN without CORS headers, which blocked the worker's fetch of the bot bundle and the fonts. The container only serves files; PyBot still runs in the browser.80ac3a1 -
Turn PyBot into an in-browser web demo of the best bot (3185a7a, 26.55%)
Verified signaturePyodide runs SwarmChat-v8 commit 3185a7a9bc50 (the leaderboard's best) in a Web Worker; no server. Keeps the chat, trace and file treemap; drops the story text, progress chart, FastAPI server and old bot zip. Switches the Space to sdk: static.b56ec7a -
Document private bucket storage for the deployed chart
Co-authored-by: Codex <noreply@openai.com>8c94880 -
Overlay measured Python source lines on progress chart
Count source lines from Git history on a separate right axis, leaving the unavailable initial seed unestimated. Co-authored-by: Codex <noreply@openai.com>5c9ff26 -
Add v8 SmolTalkBench progress chart with SmolLM baselines
Exclude the November 7 outage interval and keep generated evaluation data outside Git. Co-authored-by: Codex <noreply@openai.com>a5edae5 -
Document uv local setup and ignore local runtime files
Co-authored-by: Codex <noreply@openai.com>a727a3e
6 days ago
-
PyBot: the story and a live chat that shows which files made each reply (pinned to 64eb2c84)
Verified signature12ea8e3 -
initial commit
Verified signature0a82323