reports.status_table(spec)
All units with pace, risk, intent count, evaluation coverage and consumer count.
Returns
| str |
str |
A Markdown table, units ordered from slow to fast pace. |
Examples
from pathlib import Path
from tempfile import TemporaryDirectory
from spotregen import load_spec, make_sample_repo, status_table
with TemporaryDirectory() as tmp:
print(status_table(load_spec(make_sample_repo(Path(tmp) / "demo"))))
| unit | pace | risk | intent | evaluated | decisions | consumers |
|---|---|---|---|---|---|---|
| samplepkg.core.calc | fast | low | 1 | 1/1 | 1 | 2 |