Separate bcbench-core from the BC-Bench application - #905
Draft
Sun Haoran (haoranpb) with Copilot wants to merge 9 commits into
Draft
Sun Haoran (haoranpb) with Copilot wants to merge 9 commits into
Sun Haoran (haoranpb) with Copilot wants to merge 9 commits into
Conversation
Co-authored-by: haoranpb <27280733+haoranpb@users.noreply.github.com>
Co-authored-by: haoranpb <27280733+haoranpb@users.noreply.github.com>
Co-authored-by: haoranpb <27280733+haoranpb@users.noreply.github.com>
|
|
||
|
|
||
| class AgentRunner[ContextT, OutputT](Protocol): | ||
| def __call__(self, context: ContextT, /) -> OutputT: ... |
|
|
||
|
|
||
| class EvaluationPipeline[EntryT, OutputT, ResultT: EvaluationResult](Protocol): | ||
| def evaluate(self, context: EvaluationContext[EntryT], agent: AgentRunner[EvaluationContext[EntryT], OutputT]) -> ResultT: ... |
|
|
||
| class Scorer[ResultT: EvaluationResult](Protocol): | ||
| @property | ||
| def scorer_id(self) -> str: ... |
| @property | ||
| def scorer_id(self) -> str: ... | ||
|
|
||
| def __call__(self, result: ResultT) -> float: ... |
Copilot
AI
changed the title
Prototype public bcbench-core and repository-owned code-review consumer
Separate bcbench-core from the BC-Bench application
Sep 29, 2026
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.
BC-Bench needs a distributable core that other repositories can consume without inheriting this repository’s categories, configuration, or integrations. This prototype makes that boundary visible while retaining the existing public evaluation flow.
Public library:
library/buildsbcbench-corewith typed execution contracts, result persistence, scoring operations, and run provenance.Repository application:
app/owns the CLI, categories, agent profiles, prompts, and integrations. Dataset and CI assets remain repository-owned.Consumer examples: A synthetic consumer runs from an installed wheel;
app/code_review_consumer.pyshows the real code-review pipeline composing core operations without registering its category in the library:The existing CLI remains the supported workflow. The code-review example still requires the repository’s evaluation checkout, agent CLI, and judge.