Skip to content

TEST: smoke-test agentic workflow examples#393

Open
biru-codeastromer wants to merge 1 commit intosktime:mainfrom
biru-codeastromer:fix/agentic-example-smoke-tests
Open

TEST: smoke-test agentic workflow examples#393
biru-codeastromer wants to merge 1 commit intosktime:mainfrom
biru-codeastromer:fix/agentic-example-smoke-tests

Conversation

@biru-codeastromer
Copy link
Copy Markdown
Contributor

Summary

This PR tightens the repository's agentic/MCP workflow examples and adds smoke tests so they stay aligned with current runtime behavior.

Closes #392.

Why

The example scripts are a first-stop artifact for LLM/agent users, but they were not covered by tests and had drifted from the actual MCP surface. In particular, the query-simulation example used an unsupported dataset name and a misspelled estimator, which caused hidden failed tool calls inside the demo.

Changes

  • update examples/02_llm_query_simulation.py to use current working dataset / estimator names
  • update examples/01_forecasting_workflow.py so the invalid-composition demonstration reflects current validator behavior without overlapping the open forecaster→forecaster validator lane
  • add tests/test_examples.py to smoke-test the core agentic workflow examples

Verification

  • .venv/bin/ruff check examples/01_forecasting_workflow.py examples/02_llm_query_simulation.py tests/test_examples.py
  • .venv/bin/ruff format --check examples/01_forecasting_workflow.py examples/02_llm_query_simulation.py tests/test_examples.py
  • .venv/bin/pytest tests/test_examples.py -q
  • .venv/bin/pytest -q

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.

[BUG] agentic workflow examples drift from current MCP behavior and are not smoke-tested

1 participant