store
store
¶
Backward-compatibility shim -- optimize.store moved to learning.optimize.store.
Classes¶
OptimizationStore
¶
SQLite-backed storage for optimization runs and trials.
Source code in src/openjarvis/learning/optimize/store.py
Functions¶
save_run
¶
save_run(run: OptimizationRun) -> None
Persist an optimization run (insert or update).
Source code in src/openjarvis/learning/optimize/store.py
get_run
¶
get_run(run_id: str) -> Optional[OptimizationRun]
Retrieve an optimization run by id, or None.
Source code in src/openjarvis/learning/optimize/store.py
list_runs
¶
Return summary dicts of recent optimization runs.
Source code in src/openjarvis/learning/optimize/store.py
save_trial
¶
save_trial(run_id: str, trial: TrialResult) -> None
Persist a single trial result.
Source code in src/openjarvis/learning/optimize/store.py
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | |
get_trials
¶
get_trials(run_id: str) -> List[TrialResult]
Retrieve all trial results for a given run.