Skip to content

benchmark: Extend pretty handling with categories#315

Merged
apaolillo merged 1 commit intomainfrom
prettycat
Jan 28, 2026
Merged

benchmark: Extend pretty handling with categories#315
apaolillo merged 1 commit intomainfrom
prettycat

Conversation

@apaolillo
Copy link
Collaborator

Allow pretty-variable mappings to be either a dict or a direct column name. When a dict is provided, generate the usual _pretty column and optionally emit an additional categorical column if a "category" entry is defined.

In compat/new2old.py, forward pretty mappings through cartesian campaigns.

Allow pretty-variable mappings to be either a dict or a direct column
name. When a dict is provided, generate the usual <var>_pretty column
and optionally emit an additional categorical column if a "__category__"
entry is defined.

In `compat/new2old.py`, forward pretty mappings through cartesian
campaigns.

Signed-off-by: Antonio Paolillo <apaolill@gmail.com>
@apaolillo apaolillo self-assigned this Jan 27, 2026
Copy link
Collaborator

@matsvanmolle matsvanmolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@apaolillo apaolillo merged commit 8a49c06 into main Jan 28, 2026
2 checks passed
@apaolillo apaolillo deleted the prettycat branch January 28, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants