Skip to content

Adopt external parity fixtures#35

Merged
konard merged 3 commits into
mainfrom
issue-19-3b570e20c466
Jun 7, 2026
Merged

Adopt external parity fixtures#35
konard merged 3 commits into
mainfrom
issue-19-3b570e20c466

Conversation

@konard
Copy link
Copy Markdown
Member

@konard konard commented Jun 7, 2026

Fixes #19

Summary

  • Expand PARITY_FIXTURES with multiple upstream-provenanced fixtures for tree-sitter, LibCST, Recast, jscodeshift, Rowan, cstree, and Roslyn.
  • Add fixture-level verification expectations for clean versus recoverable parses, plus executable query/transform expectations.
  • Strengthen the parity unit tests to validate provenance, recovery diagnostics, transform output, capability coverage, and multiple external fixtures per competitor target.
  • Update the README, parity roadmap, and minor changelog fragment for the expanded fixture registry.

Reproduction

  • Before this branch, a guard requiring multiple ported fixtures for tree-sitter, LibCST, Recast, jscodeshift, Rowan, cstree, and Roslyn fails because the registry only had one illustrative fixture per target.
  • The new tests/unit/link_network.rs::external_competitor_corpora_contribute_multiple_fixtures test captures that gap, and the extended core contract test verifies provenance, recovery, and transform behavior.

Verification

  • cargo fmt --check
  • cargo clippy --all-targets --all-features
  • cargo test --all-features
  • rust-script scripts/check-no-src-tests.rs
  • rust-script scripts/check-file-size.rs (passes with existing soft warnings for src/query.rs, src/link_network.rs, and tests/unit/link_network.rs above 900 lines)
  • rust-script scripts/check-crate-size.rs
  • rust-script scripts/check-changelog-fragment.rs
  • git diff --check

Release

  • Added a bump: minor changelog fragment.

Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: #19
@konard konard self-assigned this Jun 7, 2026
@konard konard changed the title [WIP] Adopt external competitor test corpora (tree-sitter, LibCST, Recast, jscodeshift, rowan/cstree, Roslyn) Adopt external parity fixtures Jun 7, 2026
@konard konard marked this pull request as ready for review June 7, 2026 20:24
@konard
Copy link
Copy Markdown
Member Author

konard commented Jun 7, 2026

Working session summary

Done. PR #35 is ready for review: #35

Implemented the issue by expanding PARITY_FIXTURES into upstream-provenanced competitor corpora in src/parity_fixtures.rs, adding clean/recoverable and query/transform expectations in src/parity.rs, and strengthening executable parity tests in tests/unit/link_network.rs. Also updated docs and added a bump: minor changelog fragment.

Verification passed locally:
cargo fmt --check, cargo clippy --all-targets --all-features, cargo test --all-features, check-no-src-tests, check-file-size, check-crate-size, check-changelog-fragment, and git diff --check.

Latest CI/CD run 27103799903 passed on head 8aaedc8; PR merge state is clean and the working tree is clean.


This summary was automatically extracted from the AI working session output.

@konard
Copy link
Copy Markdown
Member Author

konard commented Jun 7, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $12.113878

📊 Context and tokens usage:

  • 296.4K / 1.1M (28%) input tokens, 48.3K / 128K (38%) output tokens

Total: (296.4K + 7.0M cached) input tokens, 48.3K output tokens, $12.113878 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Repository (51640KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit c1529b6 into main Jun 7, 2026
13 checks passed
@konard
Copy link
Copy Markdown
Member Author

konard commented Jun 7, 2026

🎉 Auto-merged

This pull request has been automatically merged by hive-mind.

  • All CI checks have passed

Auto-merged by hive-mind with --auto-merge flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt external competitor test corpora (tree-sitter, LibCST, Recast, jscodeshift, rowan/cstree, Roslyn)

1 participant