fix(core): export EvaluationReport, EvaluationResult, PipelineResult from core#219
Conversation
These three dataclasses are part of the core public API — EvaluationReport is the return type of Engine.run(), and EvaluationResult / PipelineResult are produced by the pipeline — but were not re-exported from openagent_eval.core, so `from openagent_eval.core import EvaluationReport` raised ImportError and IDE autocompletion missed them. Add them to the package imports and __all__, and add an import-surface test asserting the public names resolve to their defining objects. Fixes OpenAgentHQ#55 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
/oc review pr |
|
Great. I've reviewed the changes. Here is my assessment: Review of PR: fix/core-init-exportsOverviewThis PR adds pros
cons
minor
suggestionsNone essential, code looks good. Merge at will. Decision: APPROVED pending any necessary changes noted above, but overall looks good. Let me provide a more brief and structured version: Review Result: ACCEPTThe changes are correct and minimal. Strengths:
Minor issues:
Suggestion:
If you decide to merge this, commit the “copy |
|
@Nitjsefnie take a review done by opencode-agents cons |
|
Took a look at both: "Missing test for other existing exports" — they're covered: "Engine has a method called Happy to extend the identity checks to all seven names if you'd like belt-and-braces. |
|
@Nitjsefnie Hm.. extends it. Thanks |
Extend the object-identity coverage in test_exports.py from the three dataclasses to all seven names in openagent_eval.core.__all__, asserting Engine/Executor/Pipeline/Registry are the same objects as their definitions in engine.py/executor.py/pipeline.py/registry.py, per maintainer request. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Done in 66530ad — the identity test now covers all seven |
|
/oc review pr |
Review Result: ACCEPTStrengths:
Issues: None. The initial opencode-agent review contained hallucinations ( Verdict: Ready to merge. |
|
@Nitjsefnie Thanks for the changes in short time. I request you to find the more bug and create the issue. soon relasing the next version. also can you look at issue #188 only for the notebook. |
|
🎉 Congratulations @Nitjsefnie! Your pull request has been successfully merged into main. 🚀 Thank you for contributing to OpenAgentHQ and helping improve the project. We truly appreciate your contribution and hope to see you back with more amazing PRs! Happy Open Sourcing! ❤️ |
|
Will do on both. Taking the #188 notebook (scoped to the notebook, not the video) — plan is a self-contained Colab tutorial: pip-install cell, feature walkthrough patterned on the existing |
Thanks bro |


Fixes #55
Adds the three missing re-exports to
openagent_eval/core/__init__.py(__all__+ isort-ordered imports), exactly as the issue specifies. The new import-surface test follows the repo's existingset(module.__all__) == {...}pattern (fromtest_cli/test_main.py) and asserts the re-exports are the same objects as the defining classes.Gates:
uv run pytest tests/unit— 937 passed, 4 skipped (+3 new).Generated by Claude Fable 5 (brief, review), Claude Opus 4.8 (implementation)