Skip to content

Uptake bc-eval 0.6.0: call the M365 LLM API instead of CAPI - #962

Merged
Sun Haoran (haoranpb) merged 5 commits into
mainfrom
bcal/bc-eval-llm-api
Oct 9, 2026
Merged

Sun Haoran (haoranpb) merged 5 commits into
mainfrom
bcal/bc-eval-llm-api

Conversation

@haoranpb

Copy link
Copy Markdown
Collaborator

No description provided.

bc-eval 0.6.0 removed CAPI. The bcal bridge now builds the LLM API client and passes the locally staged certificate through the new credential hook instead of monkey-patching bc-eval internals; bceval metrics calculate drops --use-capi and defaults to the LLM API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-code-quality

github-code-quality Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: Python

Python / code-coverage/pytest

The overall line coverage in commit c1ec162 in the bcal/bc-eval-llm-api branch is 87%. The line coverage in commit 92af447 in the main branch is 86%.

Show a line coverage summary of the most impacted files.
File main 92af447 bcal/bc-eval-llm-api c1ec162 +/-
src/bcbench/age...m_api_bridge.py 0% 79% +79%

Updated October 09, 2026 08:00 UTC

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.

🟡 Changes recommended

The result-affecting provider migration needs the repository-required benchmark version bump and lockfile refresh.

1 open finding
What changed in this PR

Migrates BCal and result publishing from bc-eval’s CAPI integration to the M365 LLM API in bc-eval 0.6.0.

Changes:

  • Replaces the CAPI bridge with an M365 LLM API bridge and certificate authentication.
  • Updates workflows, configuration, documentation, and package pins.
  • Replaces CAPI bridge tests with LLM API coverage.
File Description
.env.sample Documents the new bridge and LLM API settings.
.github/​workflows/​bcal-evaluation.yml Runs BCal through bc-eval 0.6.0 and M365 LLM API.
.github/​workflows/​summarize-results.yml Updates result publishing to bc-eval 0.6.0.
docs/​code-review.md Updates the documented bc-eval version.
pyproject.toml Updates unresolved-import context.
src/​bcbench/​agent/​bcal/​bc_eval_capi_bridge.py Removes the CAPI bridge.
src/​bcbench/​agent/​bcal/​bc_eval_llm_api_bridge.py Adds the M365 LLM API bridge.
tests/​test_bcal_capi_bridge.py Removes obsolete CAPI tests.
tests/​test_bcal_llm_api_bridge.py Tests requests, credentials, and client invocation.
tests/​test_result_writer.py Updates the bc-eval version reference.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/bcal-evaluation.yml Outdated
Sun Haoran (haoranpb) and others added 4 commits October 9, 2026 08:54
The BCal agent and lm_checklist judge now call the M365 LLM API instead of CAPI, which may affect results, so this is a minor bump per the versioning policy.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b24c001b-216b-4506-950a-112b6f7a0302
bc-eval 0.6.0 defaults the LMChecklist judge to gpt-56-ceres and no longer routes claude-* models, so the LLM API cannot serve the Claude option.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b24c001b-216b-4506-950a-112b6f7a0302
bc-eval 0.6.1 only fixes release publishing. The LLM API rejects gpt-55-chat-2026-04-29 as an unknown model; gpt-55-chat is its name there.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b24c001b-216b-4506-950a-112b6f7a0302
@martinsrui-msft
martinsrui-msft marked this pull request as ready for review October 9, 2026 09:23
@martinsrui-msft
martinsrui-msft added this pull request to stack #964 October 9, 2026 10:36
@haoranpb
Sun Haoran (haoranpb) merged commit c84b793 into main Oct 9, 2026
246 of 247 checks passed
@haoranpb
Sun Haoran (haoranpb) deleted the bcal/bc-eval-llm-api branch October 9, 2026 10:47
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.

3 participants