mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
get_metric_table now gets a step like every other read: the domain is its validated metric, and once the table is in, the window, period and granularity are the ones the table was built with (after the executor's defaults). The count is the readings the table folds, taken from the summary the server computed, so a read past the sixth table still counts. A step whose call produced a table now names it (resultRef), for the projected tables of the older tools as well. show_result gets its own step. It reads nothing new: while it runs it names no domain, and once the stored table is found it takes the source of the read that built it and the name the copy carries in this turn. A table that could not be shown is a failed step with the reason, never an empty read. The property test now drives show_result too and checks resultRef; the coverage test gives each tool the smallest arguments it accepts instead of passing empty arguments to a tool that requires a metric.