Repository navigation
Drop the CI mock evaluation - #1039
Open
Sun Haoran (haoranpb) wants to merge 1 commit into
Open
Sun Haoran (haoranpb) wants to merge 1 commit into
Sun Haoran (haoranpb) wants to merge 1 commit into
Conversation
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>
Contributor
Code coverage overviewLanguages: Python Python / code-coverage/pytest
View coverage of the 3 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
Contributor
There was a problem hiding this comment.
🟢 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
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.
GitHub FIC for the BC-Bench app is blocked by policy, so
azure/loginfails, and CI's mock evaluation reaches it throughsummarize-results.yml.The mock evaluation adds little over the existing unit tests for result summarizing, so this removes it rather than reworking it:
select-category,get-entries,mock-evaluationandsummarize-resultsbcbench evaluate mockcommand, its mock harness/pipeline, andHarnessName.MOCKFirst of the PRs split from #1038.