Skip to content

Drop the CI mock evaluation - #1039

Open
Sun Haoran (haoranpb) wants to merge 1 commit into
mainfrom
haoransun/ci-drop-mock-evaluation
Open

Sun Haoran (haoranpb) wants to merge 1 commit into
mainfrom
haoransun/ci-drop-mock-evaluation

Conversation

@haoranpb

Copy link
Copy Markdown
Collaborator

GitHub FIC for the BC-Bench app is blocked by policy, so azure/login fails, and CI's mock evaluation reaches it through summarize-results.yml.

The mock evaluation adds little over the existing unit tests for result summarizing, so this removes it rather than reworking it:

  • CI: drop select-category, get-entries, mock-evaluation and summarize-results
  • Remove the hidden bcbench evaluate mock command, its mock harness/pipeline, and HarnessName.MOCK

First of the PRs split from #1038.

The mock evaluation's summarize step runs azure/login, which is blocked by policy, so CI fails. Result summarizing is already unit-tested, so remove the job together with the hidden 'evaluate mock' command and mock harness.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 11:30
@github-code-quality

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: Python

Python / code-coverage/pytest

main 5a20580 haoransun/ci-drop-mo... 23a4b1e +/-
88% 88% 0%
View coverage of the 3 most impacted files.
File main 5a20580 haoransun/ci-drop-mo... 23a4b1e +/-
src/bcbench/types.py 94% 92% -2%
src/bcbench/res...s/codereview.py 100% 99% -1%
src/bcbench/com...nds/evaluate.py 76% 83% +7%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the cleanup removing CI’s mock evaluation path.

No open issues 🎉

What changed in this PR

Removes CI’s mock evaluation path, which reaches a policy-blocked Azure login through result summarization. This is the first cleanup split from #1038.

Changes:

  • Removes category selection, entry loading, mock evaluation, and result summarization jobs from CI.
  • Deletes the hidden mock command, harness, pipeline, and harness enum member.
  • Removes mock-specific tests while retaining other evaluation coverage.
File Description
tests/​test_type_exhaustiveness.py Removes the deleted mock harness from test parameters.
tests/​test_evaluate_pipeline.py Removes mock pipeline tests and import.
src/​bcbench/​types.py Removes HarnessName.MOCK and its metrics branch.
src/​bcbench/​commands/​evaluate.py Deletes the mock command, harness, pipeline, and unused imports.
.github/​workflows/​CI.yml Removes the mock evaluation job chain and its environment variable.

Review effort: Balanced

This branch has not been deployed

No deployments
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