Skip to content

Trim the comments that were review notes - #55

Merged
rcannood merged 1 commit into
mainfrom
chore/trim-review-comments
Jul 30, 2026
Merged

Trim the comments that were review notes#55
rcannood merged 1 commit into
mainfrom
chore/trim-review-comments

Conversation

@rcannood

Copy link
Copy Markdown
Member

The bug fixes that landed over the past weeks left behind a few comments that
explain why the change was correct rather than what the code does. That is PR
material, not something the next reader of the script needs -- and it only reads
as necessary because the surrounding line was someone else's bug.

Keeps the one-line narrating comments, drops the justifications:

  • novel_predict: drop the note on model.to(device) entirely
  • lm: # add an intercept column, without the fastLm() explanation
  • correlation: one line for paired_similarity(), one for the zero-variance case
  • mse: one line for the sparse coercion
  • process_dataset: one line each for the positional sampling and the batch holdout

No behaviour change -- comments only. viash ns build green (38/38), and all
five scripts still parse.

The recent bug fixes left comments explaining why the change was correct,
which is PR material rather than something the next reader of the code needs.
Keep the one-line narrating comments, drop the justifications.
@rcannood
rcannood merged commit d995beb into main Jul 30, 2026
6 checks passed
@rcannood
rcannood deleted the chore/trim-review-comments branch July 30, 2026 07:22
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.

1 participant