test(benchmarks): add RFC-0001 LLM surface corpus - #53
Open
tingfeng347 wants to merge 2 commits into
Open
Conversation
Reviewer's GuideIntroduces deterministic evidence infrastructure for RFC-0001 LLM-surface usability evaluation: a bilingual canonical corpus, schema and repository contract validation, and Rust target-grammar coverage, while explicitly avoiding changes to the RFC, runtime semantics, dependencies, or CI. Flow diagram for RFC-0001 LLM surface corpus validationflowchart LR
Cases[cases.json] --> Schema[cases.schema.json]
Cases --> PyContract[Python contract tests]
Cases --> RustContract[Rust V2TargetParser test]
Schema --> PyContract
PyContract --> Structure[Structure and bilingual pairing valid]
RustContract --> Grammar[Target grammar valid]
Structure --> Evidence[Deterministic evaluation evidence]
Grammar --> Evidence
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
HsiangNianian
enabled auto-merge
September 2, 2026 08:21
fu050409
approved these changes
Sep 3, 2026
|
cc @HsiangNianian plz take a look |
auto-merge was automatically disabled
September 3, 2026 12:34
Head branch was pushed to by a user without write access
tingfeng347
force-pushed
the
test/llm-surface-corpus
branch
from
September 3, 2026 12:34
01f8ce4 to
2dc8e2e
Compare
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
Scope
This PR does not change RFC-0001, the target grammar, parser behavior, runtime semantics, package dependencies, or CI workflows. It establishes deterministic evidence infrastructure for the usability and LLM tool-call concern discussed in #51.
Validation
uv sync --all-groups --frozenuv run --frozen python -m unittest tests.test_llm_surface_contract -vcargo test v2_target_grammar_parses_llm_surface_corpus -- --nocapturecargo fmt --all -- --checkcargo test --all-targets --all-featurescargo test --release checked_i64_cargo test --release rfc_0002_cargo clippy --all-targets --all-features -- -D warnings -A non-local-definitionsuv run --frozen ruff check .uv run --frozen ruff format --check .uv run --frozen mypy --strict src/oneroll docs/rfcs/0004-target-api.pyiuv run --frozen maturin developuv run --no-sync python -m unittest discover -s tests -vLC_ALL=C LANG=C uv run --no-sync sphinx-build -W --keep-going -b html docs/source docs/_build/htmlgit diff --checkRelated to #51.
Summary by Sourcery
Establish deterministic bilingual LLM surface evaluation evidence for RFC-0001 without changing language, parser, runtime, dependencies, or CI behavior.
New Features:
Enhancements:
Documentation:
Tests: