Stabilize CI and docs builds while adding test coverage and code quality tooling#5
Merged
Conversation
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
…orrelation.py Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
- Added types-PyYAML to the dev and all extras in pyproject.toml:81 and setup.py:98, so the lint job’s pip install -e ".[dev]" will provide yaml stubs. - Fixed the itertools.product typing complaint in qbiocode/utils/generate_qml_configs.py:146 with an explicit cast for the mixed-type parameter grid. - Removed the unsupported gamma argument from PegasosQSVC in qbiocode/learning/compute_qsvc.py:98. - Split the QNN network variable from the classifier in qbiocode/learning/compute_qnn.py:94 so mypy can accept both EstimatorQNN and SamplerQNN. - Returned explicit float(...) values in qbiocode/learning/compute_pqk.py:104 and qbiocode/embeddings/embed.py:62 to satisfy the declared return type. Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
09b01f4 to
7a546b2
Compare
Signed-off-by: Daniel Blankenberg <dan.blankenberg@gmail.com>
f-utro
added a commit
that referenced
this pull request
Apr 11, 2026
- Resolved merge conflicts in __init__.py files (data_generation, learning, utils, evaluation) - Applied black formatting to model_evaluation.py for consistency - Kept ensemble additions (compute_qensemble, evaluation_metrics, data_encoding, make_blobs) - Updated to use double quotes for string consistency with main branch - Integrated testing infrastructure from main (pytest, test files) - Integrated code quality improvements (black, isort, CI/CD updates) - Updated CHANGELOG with testing and code quality improvements from PR #5
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
This PR adds an initial automated test suite and then follows through with the CI, typing, formatting, and documentation fixes needed to make the project pass consistently in automation.
What Changed
Notes
Most of the churn is repository-wide formatting/import normalization, with the substantive functional changes centered on:
Type of Change
For Maintainers