Open
Conversation
|
This relates to RPOPC-940 |
Review Summary by QodoComprehensive PassMark wrapper documentation overhaul
WalkthroughsDescription• Comprehensive README rewrite with detailed workflow documentation • Added command-line options reference and usage examples • Included complete benchmark test categories with descriptions • Added architecture support details and troubleshooting guide • Documented output files, dependencies, and return codes Diagramflowchart LR
A["Old README<br/>Basic description"] -->|"Expand and<br/>restructure"| B["New README<br/>Complete guide"]
B --> C["Command options<br/>& usage"]
B --> D["Workflow steps<br/>1-9"]
B --> E["Test categories<br/>CPU/Memory/Crypto"]
B --> F["Examples &<br/>troubleshooting"]
File Changes1. README.md
|
Code Review by Qodo
1. Broken CPU flags documented
|
|
This relates to RPOPC-939 |
Comment on lines
+20
to
+22
| PassMark Options: | ||
| --cpu_add <n>: Add n CPUs each iteration until max CPUs reached. | ||
| --powers_2: Starting from 1 CPU, keep doubling the CPUs until max CPUs reached. |
There was a problem hiding this comment.
1. Broken cpu flags documented 🐞 Bug ≡ Correctness
README documents --cpu_add/--powers_2 as supported, but passmark_run does not handle these flags and will treat them as unknown options and exit via usage. Users following the README will immediately fail when trying these advertised options.
Agent Prompt
## Issue description
README advertises `--cpu_add` and `--powers_2`, but `passmark_run` exits with usage when either flag is provided because they are never handled in the option parsing loop.
## Issue Context
`getopt` is configured to recognize these flags, but the `case` statement only handles `--usage` and `-h`. This makes the documented flags unusable and breaks user workflows.
## Fix Focus Areas
- passmark/passmark_run[397-433]
- README.md[17-23]
## Expected fix
Choose one:
1) **Implement** `--cpu_add` and `--powers_2` (add `case` branches, store values, and apply them to the run logic), and keep README as-is.
2) **Remove/adjust documentation** (and ideally also remove them from `getopt`/usage output) if the wrapper does not actually support these behaviors.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
This relates to RPOPC-943 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
changes made to passmark-wrapper documentation
Before/After Comparison
Changes include a template followed across all wrapper
Solves issue: #56
Relates to JIRA: RPOPC-939