Conversation
There was a problem hiding this comment.
Pull Request Overview
Adds enhanced tracing/logging and significant refactors to the RB and QBC applications, including new configuration handling, schema changes, and benchmarking logic. Also updates connector tracing steps, modifies the mock MPI handler, and relaxes Pandera import usage. Some test assertions were removed without replacement.
- Refactored RB app: new schema, benchmark generation, QASM construction, and survival probability aggregation.
- Refactored QBC app: added argument decoding, parameter initialization changes, and updated loss aggregation.
- Introduced (insecure) pickle-based APP_ARGS decoding in both RB and QBC; removed RB test assertions reducing coverage.
Reviewed Changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_apps.py | Removed assertions in RB pre test reducing validation strength. |
| qstone/utils/utils.py | Added docstring and minor membership check improvement. |
| qstone/profiling/profile.py | Adjusted pandera import namespace. |
| qstone/multiprocessing/nompi.py | Added communicate method; changed Get_size return; simplified allreduce. |
| qstone/generators/generator.py | Added formatting newline (no functional change). |
| qstone/generators/common/jobs.py.jinja | Updated connector argument/environment variable mapping and removed duplicate instantiations. |
| qstone/connectors/no_link/no_link.py | Corrected computation_step annotations; switched outcome source. |
| qstone/apps/RB.py | Major redesign of RB workflow, configuration parsing, QASM generation, and post-processing. |
| qstone/apps/QBC.py | Added tracing levels, APP_ARGS decoding, parameter initialization changes, and loss logic adjustments. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…he RB and QBC apps on the README file
Pip has a vulnerability that cannot be mitigate for python <3.10.10. It does not really affect recent users (running on 3.10.15).
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 11 out of 13 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Added tracing with larger logging levels to both the QBC and RB apps