Skip to content

Bump the BC-ALAgents engine pin to 1.38.6 - #855

Open
Wenjie Fan (gggdttt) wants to merge 1 commit into
mainfrom
chore/bump-engine-pin-1.38.6
Open

Bump the BC-ALAgents engine pin to 1.38.6#855
Wenjie Fan (gggdttt) wants to merge 1 commit into
mainfrom
chore/bump-engine-pin-1.38.6

Conversation

@gggdttt

Copy link
Copy Markdown
Collaborator

Moves the pinned review engine from e9d9249 (1.36.6) to 1dbb15f (1.38.6).

Knowledge corpus is unchanged

Both engine commits declare the same BCQuality revision in agents/ALReviewAgent/bcquality.config.yaml182180913e6c90b62e6c2a65f13371e53c7adb5e, content version 1.6. The knowledge under evaluation is therefore identical, and the BC-Bench -> BC-ALAgents -> BCQuality chain stays consistent: the revision a run executes is still exactly the one its engine pin declares.

What the bump picks up

BC-ALAgents #64 — orphaned knowledge samples are now removed with their article. Invoke-BCQualityFilter.ps1 deletes knowledge articles that fall outside enabled-layers / knowledge.allow, but previously left the sibling <slug>.good.al / <slug>.bad.al samples behind. This repository evaluates with enabled-layers: microsoft and knowledge.allow: microsoft/knowledge/**, so the community layer is filtered out. Measured at the pinned BCQuality revision, that left 52 orphaned .al files in the clone the Copilot CLI uses as its working directory, 26 of them .bad.al — anti-pattern samples stripped of the prose that identifies them as anti-patterns.

BC-ALAgents #63 — PATHEXT is forwarded to the Copilot child environment. New-CopilotChildEnvironment clears the child environment and re-adds an allow-list that omitted PATHEXT, so on Windows the child could not resolve git to git.exe and every git call returned empty output instead of an error. This does not affect this repository: EvaluationCategory.CODE_REVIEW.runner is ubuntu-latest, where PATHEXT does not exist. Included because it comes with the range, not as a fix for anything here.

Version

0.10.0 -> 0.11.0. Per CONTRIBUTING.md, a tooling update that may affect results is a minor bump.

Validation

  • uv lock --check — consistent
  • uv run ruff format --check / ruff check — clean
  • uv run ty check . --ignore=unresolved-import --exclude "notebooks/" — 1 diagnostic, pre-existing on main (src/bcbench/redteam.py:150, unused ty: ignore); verified by re-running with the change stashed
  • uv run pytest -q -m "not e2e" — 874 passed, 2 skipped
  • uv run pytest -q -m e2e against a clean microsoft/BCQuality main checkout — 1 passed
  • git diff --stat — 4 files, 1 line each, no formatter or line-ending noise

Moves the pinned engine from e9d9249 (1.36.6) to 1dbb15f (1.38.6). The BCQuality revision the engine declares is unchanged (182180913e6c90b62e6c2a65f13371e53c7adb5e, content version 1.6), so the knowledge corpus under evaluation is identical and the pin chain BC-Bench -> BC-ALAgents -> BCQuality stays consistent.

The bump picks up BC-ALAgents #64, which deletes the .good.al / .bad.al samples belonging to a knowledge article that the BCQuality filter removed. Under this repository's filter configuration (enabled-layers: microsoft, knowledge.allow: microsoft/knowledge/**) the community layer is filtered out, which at the pinned BCQuality revision left 52 orphaned .al files in the clone the Copilot CLI uses as its working directory, 26 of them .bad.al. A .bad.al without its article is an anti-pattern sample stripped of the prose that identifies it as one.

Also picks up BC-ALAgents #63, which forwards PATHEXT to the Copilot child environment. That fixes a Windows-only failure and does not affect this repository, where code-review evaluates on ubuntu-latest.

Minor version bump per CONTRIBUTING.md: a tooling update that may affect results.
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.

2 participants