Skip to content

Refactor CSV tests#715

Merged
jaredoconnell merged 2 commits intovllm-project:mainfrom
jaredoconnell:refactor/csv-improvements
May 5, 2026
Merged

Refactor CSV tests#715
jaredoconnell merged 2 commits intovllm-project:mainfrom
jaredoconnell:refactor/csv-improvements

Conversation

@jaredoconnell
Copy link
Copy Markdown
Collaborator

Summary

It now isolates specific functionality better, and covers more edge cases.

Details

  • Moves functionality into _align_columns, which can be more easily tested in isolation.
  • Adds unit tests that cover edge cases
  • Has an integration test.

Test Plan

  • I ran a real benchmark with CSV to confirm that it still works.
  • You can run the unit tests.

  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes AI-assisted code completion
  • Includes code generated by an AI application
  • Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes ## WRITTEN BY AI ##)

dbutenhof
dbutenhof previously approved these changes May 4, 2026
Copy link
Copy Markdown
Collaborator

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

I like the cleaner set of test cases...

Comment thread tests/unit/benchmark/test_csv_output.py Outdated
It now isolates specific functionality better, and covers more edge cases.

Assisted-by: Cursor AI
Signed-off-by: Jared O'Connell <joconnel@redhat.com>
Signed-off-by: Jared O'Connell <joconnel@redhat.com>
@jaredoconnell jaredoconnell force-pushed the refactor/csv-improvements branch from a0ad0c1 to b8dc13f Compare May 5, 2026 20:21
@jaredoconnell jaredoconnell merged commit 6b73894 into vllm-project:main May 5, 2026
11 checks passed
@jaredoconnell jaredoconnell deleted the refactor/csv-improvements branch May 5, 2026 20:47
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