Implement end-to-end hypothesis generation and testing workflow for issue #14#236
Merged
Josephrp merged 4 commits intoMay 3, 2026
Merged
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Collaborator
|
@taivu1998 please retarget the PR from "to main" to "to dev" please :-) otherwise it's 10/10 , with all my thanks |
8bad2f3 to
e397fbd
Compare
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Author
|
Thanks @Josephrp, I just updated. Could you review and merge? |
Josephrp
approved these changes
May 3, 2026
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.
Summary
This draft PR implements the end-to-end hypothesis workflow for issue #14 on top of the current
mainbranch snapshot.It adds a shared hypothesis engine that supports both hypothesis generation and hypothesis testing, wires that engine into the application and orchestration layers, and adds the supporting configs, scripts, and focused tests needed to exercise the flow.
What Changed
DeepResearch.hypothesis_appentrypoint and CLI wiring for hypothesis runsDeepResearch.appand the primary workflow orchestratorWhy
Issue #14 calls for comprehensive hypothesis testing support. On current
main, the hypothesis path was still effectively placeholder-backed: the workflow was not fully wired end to end, testing-environment generation was incomplete, and several integration edges around provided hypotheses, routing, and validation still needed real implementation.This PR closes that gap with a single shared workflow that keeps the implementation cohesive without adding unnecessary orchestration layers.
Validation
UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/test_statemachines/test_hypothesis_workflow.py tests/test_tools/test_hypothesis_tools.py tests/test_examples/test_hypothesis_engine.py tests/imports/test_app_imports.py tests/imports/test_datatypes_imports.py tests/imports/test_tools_imports.py -qUV_CACHE_DIR=/tmp/uv-cache uv run python scripts/test/run_hypothesis_smoke.pyUV_CACHE_DIR=/tmp/uv-cache uv run pytest -qIssue
Addresses #14.