Skip to content

Remove extra fields when more then 1 socket is being used. - #75

Merged
dvalinrh merged 2 commits into
mainfrom
fix_output
Jul 22, 2026
Merged

dvalinrh merged 2 commits into
mainfrom
fix_output

Conversation

@dvalinrh

Copy link
Copy Markdown
Contributor

Description

Currently if more then 1 socket is being tested, we will output the results of the current socket, and all the priors reported. This corrects this issue so we report just the socket, not the priors.

Before/After Comparison

Before: Possible to have extra data in the csv file.
After: Just the data associated with the number of sockets is given.

Clerical Stuff

This closes #74

Relates to JIRA: RPOPC-1427

Testing:
Ran the new code, verified that the results is as expected.

1 Socket
Array_sizes,32768k,65536k,131072k,262144k,Start_Date,End_Date
Copy,52713,48770,47253,68802,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Scale,47161,46980,46577,46475,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Add,49396,50419,50765,50951,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Triad,51307,51278,51189,51156,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z

2 Socket
Array_sizes,32768k,65536k,131072k,262144k,Start_Date,End_Date
Copy,121976,104675,97100,94202,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Scale,102159,93810,93555,92909,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Add,99715,98452,100289,101135,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Triad,102310,102214,102079,102029,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z

@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@dvalinrh, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: fbba6a13-05f7-4a2c-9a8e-ef40139bd14f

📥 Commits

Reviewing files that changed from the base of the PR and between c095866 and 33bfc25.

📒 Files selected for processing (1)
  • streams/streams_run
📝 Walkthrough

Walkthrough

process_results now uses more specific sorting keys, resets per-socket aggregation state when socket counts change, initializes separator handling, and leaves ${data_file}.sorted available after processing.

Changes

Multi-socket aggregation

Layer / File(s) Summary
Socket result processing
streams/streams_run
The sorted intermediate data uses revised sort keys, socket transitions reset copy, scale, add, and triad accumulators and initialize separ, and the generated .sorted file is no longer deleted.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The patch also removes cleanup of ${data_file}.sorted, which is unrelated to the CSV output fix. Restore the temporary-file cleanup unless it is intentionally needed for the fix, and keep the change focused on socket result filtering.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The changes address issue #74 by preventing prior-socket results from being included in multi-socket output.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title matches the main multi-socket CSV fix and is concise enough for the change.
Description check ✅ Passed The description covers the required summary, before/after examples, and clerical details from the template.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

This relates to RPOPC-1427

@dvalinrh dvalinrh changed the title Remove extra fields when more then 1 socket is beingused. Remove extra fields when more then 1 socket is being used. Jul 21, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
streams/streams_run (1)

251-251: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Remove the unsorted temporary file after processing.

data_file is created with mktemp but is no longer cleaned up. Retain ${data_file}.sorted if required, but remove the base temporary file after process_list; repeated runs will otherwise accumulate files under /tmp.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@streams/streams_run` at line 251, Update the processing flow around
process_list to remove the mktemp-created base file referenced by data_file
after processing completes. Preserve ${data_file}.sorted when required, and
ensure cleanup occurs after process_list without affecting its processing
behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@streams/streams_run`:
- Line 251: Update the processing flow around process_list to remove the
mktemp-created base file referenced by data_file after processing completes.
Preserve ${data_file}.sorted when required, and ensure cleanup occurs after
process_list without affecting its processing behavior.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 7fb8d4b1-81e5-4fd6-bd7b-0118c5ae4728

📥 Commits

Reviewing files that changed from the base of the PR and between 4296808 and c095866.

📒 Files selected for processing (1)
  • streams/streams_run

@dvalinrh
dvalinrh requested a review from malucius-rh July 21, 2026 09:56

@malucius-rh malucius-rh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@malucius-rh malucius-rh added the group_review_lgtm Indicates approval after a group review meeting label Jul 22, 2026
@dvalinrh
dvalinrh merged commit 8932e7b into main Jul 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group_review_lgtm Indicates approval after a group review meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting extra data for multiple numa runs.

2 participants