Use only the latest date subdir of each system for the dashboard#874
Merged
Conversation
generate-results.sh used to take, for every (system, basename), the latest dated copy across all date subdirectories. That meant the website would still surface a benchmark machine after the system was re-run on a new date that no longer covers that machine. Switch the rule: for each <system>/results/, find the lexicographically greatest YYYYMMDD subdirectory and emit every file it contains. Older subdirs remain in the repo as history but are not rendered. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
# Conflicts: # data.generated.js
alexey-milovidov
added a commit
that referenced
this pull request
May 8, 2026
Revert #874: restore previous generate-results.sh behavior
3 tasks
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
generate-results.shpicked, for every(system, basename), the latest dated copy across all date subdirs. After re-running a system on a new date that doesn't cover all machines, the dashboard would still surface stale machines from older snapshots of that system.<system>/results/, take the lexicographically greatestYYYYMMDDsubdirectory and emit every file in it. Older subdirs remain on disk as history but are not rendered.Test plan
bash generate-results.shfinishes without errors.data.generated.jscontains entries only from the latest date subdir of each system.index.htmlshows only the most recent benchmark snapshot per system.🤖 Generated with Claude Code