Add R-style performance table with Great Tables and Reactable renderers - #288
Merged
Conversation
Contributor
|
uriahf
marked this pull request as ready for review
August 11, 2026 13:11
uriahf
force-pushed
the
agent/performance-table-reactable
branch
from
August 12, 2026 07:11
b3c4e4a to
fd5aad7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
create_performance_table(),create_performance_table_times(), andrender_performance_table()to the public Python APIprepare_performance_data()/prepare_performance_data_times()pipelines as the numerical source of truthrenderer="reactable"for Quarto/Jupyter contexts, including sortable columns, in-cell data bars, model badges, grouped performance columns, and expandable confusion matrices_timestable wrapper boundary, while relying on the shared time-dependent pipeline for integer/float fixed-horizon handlingAPI
Renderer choice
Great Tables is the Marimo-safe default and is deliberately styled toward the original R performance table: model colors, grouped performance columns, compact layout, proportional metric bars, predicted-positive bars, and diverging net-benefit bars. Reactable remains an optional renderer for Quarto/Jupyter; this PR does not pursue Reactable support in Marimo.
Time-dependent design
create_performance_table_times()is intentionally a thin presentation wrapper aroundprepare_performance_data_times(). It does not introduce a second statistical implementation. The renderers display the time horizon and heuristic dimensions explicitly so results from different time-dependent evaluation scenarios remain distinguishable.Validation