Skip to content

feat(LCHUX-425): Add wrap_data function to format long paths and upda…#1257

Open
psakthivel04 wants to merge 1 commit intomainfrom
feat/LCHUX-425
Open

feat(LCHUX-425): Add wrap_data function to format long paths and upda…#1257
psakthivel04 wants to merge 1 commit intomainfrom
feat/LCHUX-425

Conversation

@psakthivel04
Copy link

@psakthivel04 psakthivel04 commented Mar 17, 2026

…te output display

image

after dynamic width changes

image

Copy link
Contributor

@Konboi Konboi left a comment

Choose a reason for hiding this comment

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

This change looks good to me however, I left one suggestion for improvement.

headers = ["Δ Rank", "Subset Rank", "Test Name", "Reason", "Density"]
tabular_data = [
(rank, after, test_name, reason, density)
(rank, after, wrap_data(test_name), wrap_data(reason, width=30), density)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we determine the width size based on the terminal size used by this library?
https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size

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