Closed merajhashemi closed 2 months ago
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
src/cooper
__init__.py
19
cmp.py
src/cooper/constraints
constraint.py
src/cooper/formulations
formulations.py
utils.py
154
src/cooper/multipliers
multipliers.py
penalty_coefficient_updaters.py
12
penalty_coefficients.py
src/cooper/optim
optimizer.py
unconstrained_optimizer.py
31
src/cooper/optim/constrained_optimizers
alternating_optimizer.py
155
constrained_optimizer.py
extrapolation_optimizer.py
66
simultaneous_optimizer.py
22
src/cooper/optim/torch_optimizers
extragradient.py
166, 168, 170, 211, 242, 244, 246, 248, 260
nupi_optimizer.py
90, 92, 94, 97, 105, 107
src/cooper/utils
utils.py
tests
test_cmp.py
tests/helpers
cooper_test_utils.py
254
testing_utils.py
tests/multipliers
test_explicit_multipliers.py
tests/optim/torch_optimizers
test_nupi.py
tests/pipeline
conftest.py
66
test_checkpoint.py
test_manual.py
272
Project Total
The report is truncated to 25 files out of 33. To see the full report, please visit the workflow summary page.
This report was generated by python-coverage-comment-action
This PR introduces a series of structural and configuration changes aimed at improving the maintainability, performance, and simplicity of the project. Key changes include transitioning to a
src
-based layout, consolidating configuration files, and optimizing the linting setup.Changes
setup.cfg
andMANIFEST.in
.pyproject.toml
, streamlining the configuration management.pyproject.toml
now serves as the central configuration file, encapsulating build system requirements and tool configurations as suggested in PEP621.isort
,flake8
, andblack
withruff
.pyproject.toml
to includeruff
configuration, ensuring it adheres to the project's style guidelines.