Conversation
|
@phlexbot tidy-fix readability-identifier-naming |
1 similar comment
|
@phlexbot tidy-fix readability-identifier-naming |
e1aa8ad to
fae5088
Compare
|
Looks like it's changing the |
The header guards are a known limitation for However, using a pre-generated fixes YAML file when fixing only specific issues can lead to actual inconsistencies in the code, so I will be re-doing the fixes for this PR after resolving the issue in the workflow PR. Thanks for spotting this, @beojan! |
6abc94e to
7137a36
Compare
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #362 +/- ##
==========================================
+ Coverage 85.36% 85.37% +0.01%
==========================================
Files 122 122
Lines 2433 2435 +2
Branches 389 389
==========================================
+ Hits 2077 2079 +2
+ Misses 233 232 -1
- Partials 123 124 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
@greenc-FNAL, all of these changes look consistent with what I would expect. It does illustrate at least one naming issue.
Whereas N and M seemed (to me) to be reasonable identifiers for representing the number of inputs and outputs, respectively, for an algorithm, the identifiers n and m are too easily glossed over.
I think the solution to this problem is to just replace n with num_inputs, and m with num_outputs (or something similar). That should maybe be another PR?
Given that the originals ( |
Let's fix it here then |
Per #362 (review): - `n` -> `num_inputs` - `m` -> `num_outputs`
7ef4e8c to
544cac5
Compare
|
@phlexbot clang-fix |
|
@phlexbot format |
Local commands: ```console $ cmake -S /phlex-src -DCMAKE_BUILD_TYPE=Debug -B /phlex-src/phlex-build -GNinja --preset default -DCMAKE_EXPORT_COMPILE_COMMANDS=YES -DPHLEX_USE_FORM=YES -DFORM_USE_ROOT_STORAGE=YES -DCMAKE_CXX_CLANG_TIDY='clang-tidy;--export-fixes;clang-tidy-fixes.yaml;--checks=-*,readability-identifier-naming' $ cmake --build /phlex-src/phlex-build $ clang-apply-replacements /phlex-src/phlex-build ```
Per #362 (review): - `n` -> `num_inputs` - `m` -> `num_outputs`
0e54e8f to
626bc70
Compare
|
@phlexbot format |
|
No automatic header-guards fixes were necessary. |
|
No automatic jsonnetfmt fixes were necessary. |
|
No automatic cmake-format fixes were necessary. |
|
No automatic clang-format fixes were necessary. |
|
No automatic markdownlint fixes were necessary. |
No description provided.