new_experiment
Scaffold a new experiment dir under experiments/\<yyyymmdd>_\<slug>/.
Emits two files:
-
config.yaml- a minimal, runnableExperimentConfigskeleton with placeholders for the model, data, algorithm, and a metadata block where hypothesis / success_metric / benchmark live. -
run.py- the 3-line declarative entrypoint researchers run:from evsys_sdk import Experiment import src # registers project verifiers / metrics / transforms
Experiment.from_yaml("config.yaml").run()
Use via the CLI: evsys new-experiment \<slug>. Programmatically:
new_experiment(project_root, slug).
attribute__all__= ['new_experiment']funcnew_experiment(project_root, slug, *, today=None) -> PathCreate \<project_root>/experiments/\<yyyymmdd>_\<slug>/ and write
config.yaml + run.py inside. Returns the experiment dir.
Refuses if the dir already exists - researchers can pick a different slug or delete the prior one.
paramproject_rootstr | Pathparamslugstrparamtodaydate | None= NoneReturns
pathlib.Pathfunc_normalize_slug(slug) -> strSanitize into [a-z0-9_-]+.
paramslugstrReturns
strfunc_config_yaml(slug) -> strparamslugstrReturns
strfunc_run_py() -> strReturns
str