docs(site): keep llms.txt synchronized with live benchmark data - #281
Open
ramanbansal1 wants to merge 6 commits into
Open
docs(site): keep llms.txt synchronized with live benchmark data#281ramanbansal1 wants to merge 6 commits into
ramanbansal1 wants to merge 6 commits into
Conversation
Perry2004
self-requested a review
August 11, 2026 07:01
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.
What does this PR do?
Refactors
llms.txtgeneration insrc/clawbench/utils/update_llms.pyto dynamically fetch live metadata, leaderboard data, canonical sitemap links, andCITATION.cffrecords. Adds unit and regression tests intests/test_update_llms.pyto ensurellms.txtstays strictly synchronized with live site data.Resolves issues identified in #264:
get_leaderboard_section()fetches live leaderboard data fromhttps://claw-bench.com/api/leaderboard.json, generating V1 Hermes and V2 Hermes top 5 tables with pass rate, interception rate, and pass/total metrics.fetch_sitemap_urls()parseshttps://claw-bench.com/sitemap.xmlto replace old hash routes with canonical URLs (/leaderboard,/tasks,/traces,/difficulty, etc.).NAIL-Group/ClawBench), V1 execution traces (NAIL-Group/ClawBenchV1Trace), and V2 execution traces (TIGER-Lab/ClawBenchV2Trace).parse_citation_bibtex()parsesCITATION.cffto automatically format BibTeX citations without manual drift.test_llms_txt_regression_checkintests/test_update_llms.pythat fails ifllms.txtdiverges from live data/metadata generators.Corpus
Test plan
uv run python -m clawbench.utils.update_llmsto updatellms.txtfrom live sources and verified generated markdown output.uv run pytest tests/test_update_llms.py(13 unit and regression test cases covering BibTeX parser, sitemap fetcher/fallback, leaderboard fetcher/fallback, quick facts, canonical resources, CLI dry-run, and workspacellms.txtregression check). All 13 tests passed.uv run pytest tests/test_cli_entrypoints.py tests/test_update_llms.py(18 tests passed).Related issues
Fixes #264