Repository navigation
docs: add an interactive results page for the Tic Tac Toe series - #12
Merged
Merged
Conversation
The README tables show one fixed cut per parameter. The page reads the series' results.csv and lets the reader filter runs by model, effort, profile and prompt, pick the parameter to compare by, and choose which metrics to chart. Rates are bars with counts; token, duration and cost metrics plot every run with the median, so the spread of three runs per configuration stays visible. A table below follows the same filters. The view is kept in the URL fragment, so it can be linked. docs/.nojekyll makes GitHub Pages serve docs/ as plain files. Assisted-by: Claude Opus 5.5 (code generation)
- Toggling a chip rebuilt the controls and dropped keyboard focus to the body; focus now returns to the chip. - The median's focus stop, bar and label covered the dots near the median, so those showed no tooltip; they no longer take the pointer. - Chart focus stops get an accessible name; the chart is a group, not an image, so they are reachable. - Durations round .5 to even, as Python's round() in the README tables; five medians differed by 1 s. - Muted text and the selected chip meet 4.5:1 contrast in light mode. Assisted-by: Claude Opus 5.5 (code generation) Assisted-by: Claude Opus 5.5 (code review)
Follow-ups only kept the automation going, and the goal is a precondition of the assessment, so one rate remains: runs whose game passed the assessment, of all runs. Start context and growth are one stacked bar per group, since start + growth is the context at the last call; each run's end context is a dot on it. Output tokens and API-equiv cost are one scatter per group on shared axes, so the trade-off between them is visible without a second y-axis. Duration is only a table column. The table names the run count "Runs". Charts are drawn at the width of their card and redrawn on resize, so text keeps its size on small screens. Assisted-by: Claude Opus 5.5 (code generation)
The context chart stacks average start and average growth upright; averages add up, so the bar's top is the average context at the last call. Output tokens and API-equiv cost are separate charts again, each with one dot per run and the group median. Assisted-by: Claude Opus 5.5 (code generation)
Charts sit at the bottom of their card and the assessment and context charts have the same height, so two charts in one row share the baseline even when one card has a legend or a longer note. Assisted-by: Claude Opus 5.5 (code generation)
The context chart is upright now, so barPath only draws upright bars. Value charts get more room on the right for the last median label, which reached the card border below 390 px. Assisted-by: Claude Opus 5.5 (code generation) Assisted-by: Claude Opus 5.5 (code review)
Nothing in docs/ needs to bypass Jekyll: index.html and results.csv are copied as they are, and no file holds Liquid syntax. Assisted-by: Claude Opus 5.5 (code generation)
The chart shows the same values as the table and the README. Medians of start and growth do not add up to the median at the last call, so the bar carries no total; the tooltip gives that median separately. Assisted-by: Claude Opus 5.5 (code generation)
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 README of the Tic Tac Toe series shows one fixed cut per parameter. This adds a static page next to it that reads the series'
results.csvand lets the reader filter and compare the 216 runs.Changes
docs/results/2026-10-21-tic-tac-toe/index.html: vanilla JS and SVG, no dependencies.Decisions
Tests
Checked in headless Chrome, light and dark, at 1280 and 390 px. Clicking chips filters, regroups, hides charts and shows an empty state when one parameter has no value left; keyboard focus stays on a toggled chip; every dot shows its tooltip on hover. The table matches the README tables for model, effort, profile and prompt; passed counts match
assess_ok == Truein the CSV.Assisted-by: Claude Opus 5.5 (code generation)
Assisted-by: Claude Opus 5.5 (code review)