Skip to main content

review.coding.summary_table

review.coding.summary_table(own, final, found)

The table printed after the last intake: both answers and the values derived from them.

The derived values are computed here and stored nowhere: revised (the final category differs from the own one), followed (the final category is that of the proposal), matched (the own category is that of the proposal) and the seconds of the two steps. A run without a proposal has no final answer and shows -.

Parameters

Name Type Description Default
own dict[str, object] The parsed file of the own answers. required
final dict[str, object] The parsed file of the final answers. required
found dict[str, Evidence] The checked proposals by run name. required

Returns

Name Type Description
str str The table as text, one row per run.

Examples

from babregen.review.coding import summary_table

print(summary_table({"run": []}, {"run": []}, {}))
run  own  final  proposal  revised  followed  matched  s own  s final