Skip to content

Update the autodiscovery local workflow for asta-autodiscovery 2.0.1 - #366

Merged
charliemcgrady merged 5 commits into
mainfrom
autods-local-2.0.1
Dec 4, 2026
Merged

charliemcgrady merged 5 commits into
mainfrom
autods-local-2.0.1

Conversation

@charliemcgrady

Copy link
Copy Markdown
Contributor

Updates workflows/local.md now that asta-autodiscovery 2.0.1 is on PyPI.

  • Removes scripts/run_relaxed.py; runs call auto-discovery directly, since the CLI's reviewer is now the relaxed one.
  • Install is uv tool install --upgrade asta-autodiscovery, with no Python 3.13 pin.
  • Python 3.12+ and Windows are supported.
  • Only --model is needed; the doc wrongly said every model flag defaults to Gemini.
  • Notes that Success: False in the log is a retried attempt, not a failed experiment.

Checked: make check-skills passes; 2.0.1 installs with uv on Python 3.12 and 3.14.

🤖 Generated with Claude Code

https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ

charliemcgrady and others added 4 commits December 4, 2026 07:37
Local runs call auto-discovery directly; run_relaxed.py is removed now
that the CLI's reviewer fails an experiment only when its main result is
unsound. The install no longer pins Python 3.13.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ
… are

Found by having a fresh agent follow the doc end to end.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ
```

**Prerequisites:** Python 3.13+ and [uv package manager](https://docs.astral.sh/uv/).
**Prerequisites:** Python 3.12+ and [uv](https://docs.astral.sh/uv/). Works on macOS, Linux and Windows.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't add this line about OS compat

**Prerequisites:** Python 3.12+ and [uv](https://docs.astral.sh/uv/). Works on macOS, Linux and Windows.

`--python 3.13` is needed. Without it, uv builds on the newest Python it finds, where AutoDiscovery's `h5py` dependency has no prebuilt package and the install fails part-way through compiling it.
No uv? Use `python -m pip install --upgrade asta-autodiscovery` in a virtual environment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cut the prose. "No uv?" is not needed.

Comment on lines +19 to +17
Verify the install:
Check the version is 2.0.1 or later:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need to change this

Comment on lines -41 to -46
- A name for the run (`--name`)
- One or more datasets (`<path> ...`)
- An overall description (`--description` or a `--dataset_description` for each dataset)
- A high-level guidance to steer exploration (`--intent`)
- Experiment parameters (`--n_experiments`, `--n_threads`)
- An output directory (`--out_dir`)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure we're not dropping configs which still work

--description "120 plants: fertilizer (g), water (ml), site and height (cm)." \
--intent "Do fertilizer and water affect height?" \
--model openai/gpt-6-luna --n_experiments 5 \
--out_dir runs/plant-growth data/plants.csv > runs/plant-growth.log 2>&1

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a super small simple dataset not of a specific topic synthetic such that this command works from the base of the repo.

Comment on lines +56 to +68
Model names need a provider prefix (`openai/`, `anthropic/`, `vertex_ai/`). Every model flag defaults to Gemini, so when using another provider, set all three.
`--model` is required and needs a provider prefix (`openai/`, `anthropic/`, `vertex_ai/`).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only remove details related to this change

Comment on lines -61 to -62
--belief_model openai/gpt-6-luna
--vision_model openai/gpt-6-luna

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to remove these. produce as simple a diff as possible

…dataset

Restore the original wording of local.md and interpreting-results.md
wherever asta-autodiscovery 2.0.1 does not make it wrong, and add a small
synthetic dataset so the example command runs from the repository root.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018g2sXoYrXKUDoFMSB7mAXJ
@charliemcgrady
charliemcgrady merged commit 46fee01 into main Dec 4, 2026
29 checks passed
@charliemcgrady
charliemcgrady deleted the autods-local-2.0.1 branch December 4, 2026 20:46
@charliemcgrady charliemcgrady mentioned this pull request Dec 4, 2026
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.

1 participant