phenotypic.sdk_.tune_cache_study_db_path#

phenotypic.sdk_.tune_cache_study_db_path(output_dir: Path) Path[source]#

Return <output>/.pht-tune-cache/study.db (the Optuna study DB).

The canonical SQLite-WAL storage for the Optuna-backed OptunaStudyStore when the tune extra is installed, relocated into the hidden tune cache. A legacy run wrote it at the output root; use resolve_study_db_path() to read either location.

Parameters:

output_dir (Path) – The run output directory.

Returns:

<output_dir>/.pht-tune-cache/study.db.

Return type:

Path