DOC/TEST: add agentic model-selection workflow example - #404
Closed
biru-codeastromer wants to merge 1 commit into
Closed
biru-codeastromer wants to merge 1 commit into
biru-codeastromer wants to merge 1 commit into
Conversation
Collaborator
|
It no longer runs on main: the examples/ directory was removed in #474, and the script imports list_estimators_tool, describe_estimator_tool, instantiate_estimator_tool, evaluate_estimator_tool and fit_predict_tool, all replaced during the tool consolidation (query_registry, describe_component, instantiate, evaluate, fit+predict). The smoke test fails with ModuleNotFoundError. Closing as obsolete along with #403. |
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 PR adds a runnable agentic model-selection workflow example using the current MCP tool surface, plus a smoke test to keep it working.
Closes #403.
Why
The repo already exposes the primitives needed for a simple agent loop — discovery, description, instantiation, evaluation, forecasting, and code export — but it did not yet ship a concrete example that ties them together into a truthful end-to-end workflow.
What this adds
examples/07_agentic_model_selection.pytests/test_agentic_workflow_example.pyVerification
.venv/bin/ruff check examples/07_agentic_model_selection.py tests/test_agentic_workflow_example.py.venv/bin/ruff format --check examples/07_agentic_model_selection.py tests/test_agentic_workflow_example.py.venv/bin/python examples/07_agentic_model_selection.py.venv/bin/pytest tests/test_agentic_workflow_example.py -q.venv/bin/pytest -q