invenia / invenia/Checkpoints.jl

add `checkpoint_basepath(::IndexEntry)`

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Julia
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Consisder a checkpoint index `index` constructed from the path `results/backrun/2021-10-08T15:59:04.829/foo=BAR/sim_now=2019-02-14T10:15:00-05:00/strategy=1/Forecasters/predicted.jlso`

`checkpoint_path(ind)` would return that `results/backrun/2021-10-08T15:59:04.829/foo=BAR/sim_now=2019-02-14T10:15:00-05:00/strategy=1/Forecasters/predicted.jlso`

I propose a new: `checkpoint_basepath(index)` that returns `results/backrun/2021-10-08T15:59:04.829/`
Giving what ever part is common for all tags

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.