table_gen
table_gen
¶
LaTeX table generator for the framework-comparison harness.
Reads summary.json files produced by EvalRunner, builds a long-format
polars DataFrame, then renders 7 tables (T1..T7) as both tabular
fragments (paste-into-paper) and \documentclass{standalone} previews
(latexmk-renderable).
Classes¶
TableGenError
¶
Bases: Exception
Base for table-generation problems.
MixedCommitError
¶
Bases: TableGenError
Raised when one (framework, model, benchmark) cell has multiple commits.
NoResultsError
¶
Bases: TableGenError
Raised when no valid summary files were loaded.
ResultsFrame
dataclass
¶
Long-format DataFrame of all loaded summary.json results.
Functions¶
load_results
¶
load_results(glob_pattern: str) -> ResultsFrame
Glob summary.json files, validate, return long-format ResultsFrame.
Source code in src/openjarvis/evals/comparison/table_gen.py
main
¶
Build LaTeX tables from framework-comparison evaluation results.