factor_agent.web.run_view.list_runs#

list_runs(root)[source]#

The runs under root, the latest written first.

Each run is read only as far as its summary needs. A run whose files cannot be read is listed with unreadable saying why, so one broken run does not hide the others.

Parameters:
rootstr or Path

A folder of run directories, at any depth, or a run directory itself.

Returns:
list of RunSummary

One per run directory, named by its path relative to root.