REA Optuna study notes (unofficial)
Optuna (create_study, objective modules, sampler/pruner/storage pins) pins hyperparameter-study identity. In REA 6.7.x, treat selected study/sampler/pruner/storage labels as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Optuna project tree (+ packaged objective modules you hold).
- Quote selected study names, sampler/pruner classes, and storage scheme labels you actually see (never paste secrets).
- Cousins → wandb-sweep · hydra-conf · mlflow-project · clearml-task.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_optuna_studyAPI REA never called.
Minimal path
# authorized Optuna study/objective modules (+ artifact you hold)
# quote selected study/sampler/pruner/storage labels into case notes
# cousins → peer W&B / Hydra / MLflow / ClearML lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_optuna_study .
Compare
| Artifact | Honest posture |
|---|---|
| Optuna study/objective | HPO study identity facts |
| W&B peer | rea-wandb-sweep |
| Hydra peer | rea-hydra-conf |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
study_name, direction, sampler class, and pruner class — enough for most Evidence binders. - RDB storage URLs often embed passwords — record scheme/host labels only, never credentials.
- Search-space keys (
suggest_*) are useful identity — quote parameter names, not live trial dumps from foreign DBs. - Keep Optuna distinct from W&B sweep YAML and Hydra config groups in case notes.
- Dashboard / journal storage pins — quote when present; do not invent REA helpers for
optuna-dashboard. - Multi-objective studies — quote objective labels when present; stay on authorized trees.
Scope we will not cover
- No inventing
inspect_optuna_study/ automatic attacks against foreign Optuna storage. - No credential theft from RDB URLs, Redis passwords, or cloud storage.
- No pirate redistribution of proprietary study trees.
- No crack framing via Optuna pins.
- No cookbooks that weaken remote auth on foreign deployments.
Honest limits
RepoRead documents config literacy — how authorized Optuna trees relate to Evidence — not a full Optuna course. Prefer upstream Optuna docs for studies and samplers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-wandb-sweep / rea-hydra-conf / rea-mlflow-project?
rea-wandb-sweep covers W&B sweeps; rea-hydra-conf covers Hydra; rea-mlflow-project covers MLflow. This page zooms on Optuna study identity — it does not overwrite those pages.
Is there inspect_optuna_study in 6.7.0?
Not assumed. Quote study names, sampler/pruner classes, and storage URI labels you actually open, then use documented package/archive lanes. Do not invent inspect_optuna_study.
Does REA connect to Optuna storage DBs or steal credentials?
No. Local trees only. Redact DB passwords and RDB/URL credentials in storage strings; do not treat REA as an Optuna runner. No credential theft.
How should I label Evidence vs other HPO configs?
Label Evidence by the file present. Keep Optuna separate from rea-wandb-sweep, rea-hydra-conf, and rea-clearml-task.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).