A Python-embedded modeling language for convex optimization problems.
This report summarizes scanner evidence for cvxpy/cvxpy, a C++ project with 6,361 GitHub stars. SynthScan examined 259,350 lines of code across 901 source files, recording 2754 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 22.7 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1534 finding(s).
Are imports declared and package/API names verified? 373 finding(s).
Are wrappers, guards, and repeated structures necessary? 1770 finding(s).
Which changes need focused human review? 2754 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2754 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | copyright.txt | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | CONTRIBUTING.md | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | AGENTS.md | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | CLAUDE.md | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/__init__.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/logic.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/length.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/dist_ratio.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/sign.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/inv_prod.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/cumprod.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/gmatmul.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/affine/concatenate.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/affine/einsum.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/affine/block.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/affine/broadcast_to.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/elementwise/ceil.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/atoms/elementwise/logic.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/constraints/nonpos.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_solver_data_validation.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_param_quad_prog.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_extract_direct_cones.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_cone_restructuring.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_diffengine_backend.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_errors.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_dcp2cone_cse.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_copy.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_copt_write.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_gurobi_write.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_matrix_utilities.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_openmp_conflict.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_canon_sign.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_scopes.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_canon_methods.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_solver.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_dqcp.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_param_cone_prog.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_einsum.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_clarabel.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_fuzz_reshape.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_logic.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_problem_form.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/test_quad_dpp.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/derivative_checker.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_abs.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_affine_atoms.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_huber_sum_largest.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_log_sum_exp.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_entropy_related.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_power_flow.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_hyperbolic.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_best_of.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_initialization.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_nlp_parameters.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/__init__.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_broadcast.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_dnlp.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_risk_parity.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_sum.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| HIGH | cvxpy/tests/nlp_tests/test_Sharpe_ratio.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| 663 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/release_notes.py | 44 | def get_previous_release_branch(tag: str) -> str: | CODE |
| LOW | cvxpy/atoms/affine/upper_tri.py | 183 | def batched_upper_tri_to_full(batch_size: int, n: int) -> sp.csc_array: | CODE |
| LOW | cvxpy/constraints/constraint.py | 129 | def _construct_dual_variables(self, args) -> None: | CODE |
| LOW | cvxpy/constraints/zero.py | 118 | def _construct_dual_variables(self, args) -> None: | CODE |
| LOW | cvxpy/constraints/nonpos.py | 203 | def _construct_dual_variables(self, args) -> None: | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 46 | def test_zero_sized_parameter(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 56 | def test_zero_sized_constant_from_empty_array(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 65 | def test_no_zero_sized_passthrough(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 74 | def test_zero_sized_constraint_dropped(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 96 | def test_invert_adds_empty_values(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 110 | def test_bounded_variable_domain_preserved(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 136 | def test_solve_with_zero_sized_variable(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 145 | def test_zero_sized_variable_gets_empty_value(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 154 | def test_zero_sized_constraint_dual_variable(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 163 | def test_zero_sized_constraint_dual_shape(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 173 | def test_normal_constraint_dual_with_zero_sized_present(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 187 | def test_broadcast_zero_sized_constraint_dual(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 195 | def test_mixed_problem_zero_constraint(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 203 | def test_zero_sized_constraint_from_broadcast(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 210 | def test_nonlinear_plus_empty_array(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 260 | def test_solve_with_all_false_boolean_constraint(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 268 | def test_sum_of_all_false_boolean_index(self): | CODE |
| LOW⚡ | cvxpy/tests/test_zero_sized.py | 278 | def test_bounded_var_only_in_all_false_boolean_constraint(self): | CODE |
| LOW | cvxpy/tests/test_zero_sized.py | 85 | def test_zero_sized_var_replaced_in_objective(self): | CODE |
| LOW | cvxpy/tests/test_zero_sized.py | 223 | def test_zero_sized_constraint_from_broadcast_bounded(self): | CODE |
| LOW | cvxpy/tests/test_zero_sized.py | 300 | def test_hstack_with_zero_sized(self): | CODE |
| LOW | cvxpy/tests/test_zero_sized.py | 306 | def test_vstack_with_zero_sized(self): | CODE |
| LOW | cvxpy/tests/test_derivative.py | 217 | def test_entropy_maximization(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 277 | def test_forget_requires_grad(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 333 | def test_zero_in_problem_data(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 343 | def test_sparse_variable_derivative(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 354 | def test_batched_symmetric_backward(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 390 | def test_backward_real_and_imag(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 414 | def test_forward_complex_delta(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 434 | def test_backward_hermitian_param(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 454 | def test_forward_hermitian_delta(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 472 | def test_derivative_complex_variable_imag_param(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 500 | def test_derivative_complex_variable_purely_imaginary(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 519 | def test_derivative_complex_param_complex_variable(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 585 | def test_analytic_param_in_exponent(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 642 | def test_param_used_in_exponent_and_elsewhere(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 736 | def test_paper_example_one_minus_pos(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 758 | def test_paper_example_exp_log(self) -> None: | CODE |
| LOW | cvxpy/tests/test_derivative.py | 857 | def test_param_backward_absent_log_param(self) -> None: | CODE |
| LOW | cvxpy/tests/test_nonlinear_atoms.py | 124 | def test_difference_kl_div_rel_entr(self) -> None: | CODE |
| LOW | cvxpy/tests/test_nonlinear_atoms.py | 191 | def test_trig_atoms_metadata_numeric_and_grad(atom, numeric, grad, domain_size): | CODE |
| LOW | cvxpy/tests/test_nonlinear_atoms.py | 209 | def test_atan_metadata_numeric_and_grad(): | CODE |
| LOW | cvxpy/tests/test_nonlinear_atoms.py | 238 | def test_hyperbolic_atoms_metadata_numeric_and_unimplemented_grad(atom, numeric, domain_size): | CODE |
| LOW⚡ | cvxpy/tests/test_solver_data_validation.py | 26 | def test_nan_in_parameter_raises(self): | CODE |
| LOW⚡ | cvxpy/tests/test_solver_data_validation.py | 32 | def test_nan_constant_in_objective(self): | CODE |
| LOW⚡ | cvxpy/tests/test_solver_data_validation.py | 39 | def test_nan_constant_in_constraint(self): | CODE |
| LOW⚡ | cvxpy/tests/test_solver_data_validation.py | 46 | def test_inf_in_constraint_rhs_allowed(self): | CODE |
| LOW⚡ | cvxpy/tests/test_solver_data_validation.py | 54 | def test_inf_constant_in_objective(self): | CODE |
| LOW⚡ | cvxpy/tests/test_expressions.py | 766 | def test_project_boolean_indices(self) -> None: | CODE |
| LOW⚡ | cvxpy/tests/test_expressions.py | 774 | def test_project_integer_indices(self) -> None: | CODE |
| LOW⚡ | cvxpy/tests/test_expressions.py | 782 | def test_project_boolean_coordinate_tuples(self) -> None: | CODE |
| LOW | cvxpy/tests/test_expressions.py | 283 | def test_constant_skew_symmetric(self) -> None: | CODE |
| LOW | cvxpy/tests/test_expressions.py | 336 | def test_sparse_symmetry_checks_positions(self) -> None: | CODE |
| LOW | cvxpy/tests/test_expressions.py | 378 | def test_parameters_successes(self) -> None: | CODE |
| LOW | cvxpy/tests/test_expressions.py | 406 | def test_parameter_infinite_values(self) -> None: | CODE |
| 859 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 161 | COMMENT | |
| LOW | continuous_integration/install_optional_solvers.sh | 61 | #python -c "import julia; julia.install()" | COMMENT |
| LOW | cvxpy/atoms/affine/cumsum.py | 121 | if axis is None: | COMMENT |
| LOW | cvxpy/atoms/elementwise/power.py | 221 | """Is the atom concave? | COMMENT |
| LOW | cvxpy/atoms/elementwise/power.py | 241 | # must be positive, they can have any sign when appearing as an | COMMENT |
| LOW | cvxpy/tests/test_problem.py | 441 | # def test_consistency(self): | COMMENT |
| LOW | cvxpy/tests/test_problem.py | 461 | # p = Problem(obj, constraints) | COMMENT |
| LOW | cvxpy/tests/test_problem.py | 481 | # Test removing duplicate constraint objects. | COMMENT |
| LOW | cvxpy/lin_ops/lin_op.py | 41 | PROMOTE = "promote" | COMMENT |
| LOW | cvxpy/lin_ops/lin_op.py | 61 | # An index/slice into an expression. | COMMENT |
| LOW | cvxpy/lin_ops/lin_op.py | 81 | DIAG_MAT = "diag_mat" | COMMENT |
| LOW | cvxpy/lin_ops/lin_op.py | 101 | CONCATENATE = "concatenate" | COMMENT |
| LOW | cvxpy/utilities/linalg.py | 101 | # | COMMENT |
| LOW | cvxpy/utilities/coeff_extractor.py | 121 | # the matrix P of each quadratic term by the coefficients | COMMENT |
| LOW | cvxpy/utilities/coeff_extractor.py | 161 | block_indices = quad_form_atom.block_indices | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/misc/RealSvd2x2.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/misc/lapacke_mangling.h | 1 | #ifndef LAPACK_HEADER_INCLUDED | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Reverse.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …py/cvxcore/include/Eigen/src/Core/ConditionEstimator.h | 121 | old_lower_bound = lower_bound; | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/PermutationMatrix.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Assign.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/MathFunctionsImpl.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/MathFunctionsImpl.h | 101 | inline RealScalar run(const Scalar& x, const Scalar& y) | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/MathFunctionsImpl.h | 121 | // | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/MathFunctionsImpl.h | 141 | : x == zero ? std::complex<T>(w, y < zero ? -w : w) | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/CwiseUnaryOp.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/DiagonalMatrix.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/VectorBlock.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/ReturnByValue.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …py/cvxcore/include/Eigen/src/Core/ArithmeticSequence.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/MatrixBase.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/MatrixBase.h | 121 | internal::traits<Derived>::ColsAtCompileTime> BasisReturnType; | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Map.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h | 1821 | } | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/SelfCwiseBinaryOp.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Swap.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/ProductEvaluators.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/ProductEvaluators.h | 421 | // dst {,+,-}= (s1*A)*(B*s2) | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/MapBase.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Matrix.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/EigenBase.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | …xpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h | 21 | * Default implementation for types not supported by the vectorization. | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/CwiseBinaryOp.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/DiagonalProduct.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Fuzzy.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/IO.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/ArrayBase.h | 81 | #endif // not EIGEN_PARSED_BY_DOXYGEN | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Block.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/Dot.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/PlainObjectBase.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/GeneralProduct.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/SolveTriangular.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/CoreEvaluators.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/CoreEvaluators.h | 441 | // erros pop up again. | COMMENT |
| LOW | cvxpy/cvxcore/include/Eigen/src/Core/VectorwiseOp.h | 1 | // This file is part of Eigen, a lightweight C++ template library | COMMENT |
| 359 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/__init__.py | 22 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 23 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 40 | CODE | |
| LOW | cvxpy/__init__.py | 50 | CODE | |
| LOW | cvxpy/__init__.py | 53 | CODE | |
| LOW | cvxpy/__init__.py | 53 | CODE | |
| LOW | cvxpy/__init__.py | 53 | CODE | |
| LOW | cvxpy/__init__.py | 58 | CODE | |
| LOW | cvxpy/__init__.py | 59 | CODE | |
| LOW | cvxpy/__init__.py | 60 | CODE | |
| LOW | cvxpy/__init__.py | 60 | CODE | |
| LOW | cvxpy/__init__.py | 60 | CODE | |
| LOW | cvxpy/__init__.py | 65 | CODE | |
| LOW | cvxpy/__init__.py | 66 | CODE | |
| LOW | cvxpy/__init__.py | 66 | CODE | |
| LOW | cvxpy/__init__.py | 66 | CODE | |
| LOW | cvxpy/__init__.py | 71 | CODE | |
| LOW | cvxpy/__init__.py | 72 | CODE | |
| LOW | cvxpy/__init__.py | 73 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| LOW | cvxpy/__init__.py | 74 | CODE | |
| 309 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 35 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 37 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 118 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 120 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 154 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 156 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 212 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 214 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 234 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_soc_dim3.py | 236 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_fuzz_reshape.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/test_fuzz_reshape.py | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/test_fuzz_reshape.py | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/test_fuzz_reshape.py | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 34 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 36 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 45 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 47 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 702 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 704 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 712 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 714 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 360 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 362 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 446 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 448 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 484 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 486 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 671 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 673 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 861 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/tests/test_grad.py | 863 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/tests/nlp_tests/test_power_flow.py | 31 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cvxpy/tests/nlp_tests/test_power_flow.py | 33 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 46 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 48 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 91 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 93 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 107 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_power_flow.py | 109 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | cvxpy/lin_ops/backends/coo_backend.py | 1668 | # ========================================================================= | COMMENT |
| MEDIUM | cvxpy/lin_ops/backends/coo_backend.py | 1670 | # ========================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 67 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 69 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 107 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 109 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 141 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 143 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/reductions/cone2cone/soc_dim3.py | 252 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cvxpy/reductions/cone2cone/soc_dim3.py | 254 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 404 | # ============================================================================= | COMMENT |
| MEDIUM | cvxpy/reductions/cone2cone/soc_dim3.py | 406 | # ============================================================================= | COMMENT |
| MEDIUM | doc/sphinxext/numpydoc.py | 127 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | doc/sphinxext/numpydoc.py | 129 | #------------------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/release_notes.py | 81 | CODE | |
| LOW | cvxpy/interface/base_matrix_interface.py | 116 | CODE | |
| LOW | cvxpy/interface/matrix_utilities.py | 124 | CODE | |
| LOW | cvxpy/interface/matrix_utilities.py | 188 | CODE | |
| LOW | cvxpy/atoms/total_variation.py | 24 | CODE | |
| LOW | cvxpy/atoms/norm.py | 30 | CODE | |
| LOW | cvxpy/atoms/axis_atom.py | 75 | CODE | |
| LOW | cvxpy/atoms/prod.py | 87 | CODE | |
| LOW | cvxpy/atoms/atom.py | 234 | CODE | |
| LOW | cvxpy/atoms/atom.py | 251 | CODE | |
| LOW | cvxpy/atoms/atom.py | 268 | CODE | |
| LOW | cvxpy/atoms/atom.py | 285 | CODE | |
| LOW | cvxpy/atoms/atom.py | 312 | CODE | |
| LOW | cvxpy/atoms/atom.py | 329 | CODE | |
| LOW | cvxpy/atoms/atom.py | 480 | CODE | |
| LOW | cvxpy/atoms/affine/einsum.py | 167 | CODE | |
| LOW | cvxpy/atoms/affine/sum.py | 123 | CODE | |
| LOW | cvxpy/tests/test_expressions.py | 618 | CODE | |
| LOW | cvxpy/tests/test_expressions.py | 633 | CODE | |
| LOW | cvxpy/tests/test_cone2cone.py | 825 | CODE | |
| LOW | cvxpy/tests/test_atoms.py | 151 | CODE | |
| LOW | cvxpy/tests/test_quad_form.py | 146 | CODE | |
| LOW | cvxpy/tests/solver_test_helpers.py | 41 | CODE | |
| LOW | cvxpy/tests/solver_test_helpers.py | 70 | CODE | |
| LOW | cvxpy/tests/solver_test_helpers.py | 101 | CODE | |
| LOW | cvxpy/tests/solver_test_helpers.py | 126 | CODE | |
| LOW | cvxpy/tests/solver_test_helpers.py | 246 | CODE | |
| LOW | cvxpy/tests/test_problem.py | 291 | CODE | |
| LOW | cvxpy/tests/test_problem.py | 339 | CODE | |
| LOW | cvxpy/tests/test_problem.py | 1524 | CODE | |
| LOW | cvxpy/tests/test_expression_methods.py | 42 | CODE | |
| LOW | cvxpy/tests/test_interfaces.py | 122 | CODE | |
| LOW | cvxpy/tests/test_conic_solvers.py | 2839 | CODE | |
| LOW | cvxpy/tests/test_conic_solvers.py | 3189 | CODE | |
| LOW | cvxpy/tests/test_grad.py | 1029 | CODE | |
| LOW | cvxpy/tests/nlp_tests/test_ML_Gaussian_stress.py | 29 | CODE | |
| LOW | cvxpy/tests/nlp_tests/test_ML_Gaussian_stress.py | 64 | CODE | |
| LOW | cvxpy/problems/problem_form.py | 393 | CODE | |
| LOW | cvxpy/problems/problem.py | 348 | CODE | |
| LOW | cvxpy/problems/problem.py | 537 | CODE | |
| LOW | cvxpy/problems/problem.py | 957 | CODE | |
| LOW | cvxpy/problems/problem.py | 1382 | CODE | |
| LOW | cvxpy/lin_ops/backends/base.py | 544 | CODE | |
| LOW | cvxpy/utilities/key_utils.py | 69 | CODE | |
| LOW | cvxpy/utilities/perspective_utils.py | 28 | CODE | |
| LOW | cvxpy/utilities/einsum_utilities.py | 174 | CODE | |
| LOW | cvxpy/utilities/einsum_utilities.py | 354 | CODE | |
| LOW | cvxpy/utilities/einsum_utilities.py | 469 | CODE | |
| LOW | cvxpy/utilities/coeff_extractor.py | 79 | CODE | |
| LOW | cvxpy/transforms/linearize.py | 21 | CODE | |
| LOW | cvxpy/transforms/scalarize.py | 36 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 236 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 390 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 559 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 666 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 847 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 927 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 1020 | CODE | |
| LOW | cvxpy/expressions/variable.py | 96 | CODE | |
| LOW | cvxpy/expressions/variable.py | 105 | CODE | |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | cvxpy/tests/test_zero_sized.py | 104 | # Create a mock solution. | COMMENT |
| MEDIUM | cvxpy/tests/test_param_quad_prog.py | 116 | # Create a solver instance where bounded variables are disabled. | COMMENT |
| MEDIUM | cvxpy/tests/test_param_quad_prog.py | 131 | # Create a solver instance where bounded variables are enabled. | COMMENT |
| MEDIUM | cvxpy/tests/test_cone2cone.py | 690 | # Define the SolverTestHelper object | COMMENT |
| MEDIUM | cvxpy/tests/test_atoms.py | 2806 | # Create a symmetric matrix variable. | COMMENT |
| MEDIUM | cvxpy/tests/test_labels.py | 396 | # Create a labeled compound expression | COMMENT |
| MEDIUM | cvxpy/tests/test_param_cone_prog.py | 104 | # Create a solver instance where bounded variables are disabled. | COMMENT |
| MEDIUM | cvxpy/tests/test_param_cone_prog.py | 119 | # Create a solver instance where bounded variables are enabled. | COMMENT |
| MEDIUM | cvxpy/tests/test_python_backends.py | 3323 | # Create a parametric tensor with duplicated param_idx entries | COMMENT |
| MEDIUM | cvxpy/tests/test_complex.py | 590 | # Create a random positive definite Hermitian matrix for all tests. | COMMENT |
| MEDIUM | cvxpy/tests/test_conic_solvers.py | 2272 | # Create a custom environment and set some parameters | COMMENT |
| MEDIUM | cvxpy/tests/test_attributes.py | 139 | # Create a sparse variable | COMMENT |
| MEDIUM | cvxpy/tests/test_attributes.py | 478 | # Create a variable with both boolean and integer attributes | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_initialization.py | 54 | # Create a simple constrained problem (use sum instead of trace for NLP support) | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_dnlp.py | 35 | # Define a simple nonlinear program | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_nlp_solvers.py | 189 | # Define the variable | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_nlp_solvers.py | 210 | # Define the variable | COMMENT |
| MEDIUM | cvxpy/tests/nlp_tests/test_quasi_newton.py | 132 | # Create a simple quadratic problem with better scaling | COMMENT |
| MEDIUM | cvxpy/lin_ops/backends/coo_backend.py | 1325 | # Create a sparse CSR matrix from rhs for efficient lookup | COMMENT |
| MEDIUM | cvxpy/utilities/coo_array_compat.py | 17 | # This file implements get_coords to paper over | COMMENT |
| MEDIUM | cvxpy/reductions/complex2real/complex2real.py | 366 | # Define the matrix | COMMENT |
| MEDIUM | …py/reductions/dcp2cone/canonicalizers/normNuc_canon.py | 30 | # Create the equivalent problem: | COMMENT |
| MEDIUM | …y/reductions/dnlp2smooth/canonicalizers/huber_canon.py | 17 | # This file is identical to the dcp2cone version, except that it uses the | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 205 | # Create a new Knitro solver instance | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 230 | # Define the callback for evaluating objective and constraints (EVALFC) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 262 | # Define the callback for evaluating gradients (EVALGA) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 296 | # Define the callback for evaluating Hessian (EVALH) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/uno_nlpif.py | 159 | # Create the Uno model using unopy constants | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/nag_conif.py | 238 | # Define the cones | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/mosek_conif.py | 524 | # This function is only designed to recover dual variables | STRING |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py | 173 | # Create a new model | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/qp_solvers/gurobi_qpif.py | 164 | # Create a new model | COMMENT |
| MEDIUM | …ductions/dgp2dcp/canonicalizers/eye_minus_inv_canon.py | 18 | # This function implements the log-log transformation of these constraints | COMMENT |
| MEDIUM | doc/source/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | doc/source/conf.py | 58 | # The following code replaces the relevant cvxopt modules with | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cvxpy/tests/test_mip_vars.py | 182 | except Exception: | CODE |
| HIGH | cvxpy/tests/test_conic_solvers.py | 1648 | except Exception: | CODE |
| HIGH | cvxpy/expressions/leaf.py | 992 | except (TypeError, ValueError): | CODE |
| HIGH | cvxpy/expressions/expression.py | 1029 | except KeyError: | CODE |
| HIGH | cvxpy/cvxcore/python/__init__.py | 5 | except ImportError: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/cplex_conif.py | 394 | except Exception: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/cosmo_conif.py | 172 | except KeyError: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 445 | except Exception: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 483 | except Exception: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py | 270 | except Exception: | CODE |
| HIGH | cvxpy/reductions/solvers/conic_solvers/copt_conif.py | 389 | except Exception: | CODE |
| HIGH | cvxpy/reductions/solvers/qp_solvers/copt_qpif.py | 214 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/constraints/constraint.py | 78 | except Exception as e: | CODE |
| LOW | cvxpy/tests/test_mip_vars.py | 182 | except Exception: | CODE |
| LOW | cvxpy/tests/test_constant_atoms.py | 321 | except Exception: | CODE |
| LOW | cvxpy/tests/test_qp_solvers.py | 68 | except Exception: | CODE |
| LOW | cvxpy/tests/test_qp_solvers.py | 128 | except Exception as exc: | CODE |
| LOW | cvxpy/tests/test_qp_solvers.py | 710 | except Exception as e: | CODE |
| MEDIUM | cvxpy/tests/test_parametric_bounds.py | 14 | def _solver_available(solver_name): | CODE |
| LOW | cvxpy/tests/test_parametric_bounds.py | 18 | except Exception: | CODE |
| MEDIUM | cvxpy/tests/test_conic_solvers.py | 1571 | def _cylp_checks_isProvenInfeasible(): | CODE |
| MEDIUM | cvxpy/tests/test_conic_solvers.py | 3851 | def test_cuopt_mi_lp_4(self) -> None: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 1046 | except Exception: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 1648 | except Exception: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 2234 | except Exception as e: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 3821 | except Exception as e: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 3854 | except Exception as e: | CODE |
| LOW | cvxpy/expressions/expression.py | 222 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/solver.py | 164 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 279 | except Exception as e: | CODE |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 280 | print(f"Error in callbackEvalGA: {e}") | CODE |
| LOW | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 318 | except Exception as e: | CODE |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 319 | print(f"Error in callbackEvalH: {e}") | CODE |
| LOW | …xpy/reductions/solvers/conic_solvers/clarabel_conif.py | 257 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/cplex_conif.py | 394 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/knitro_conif.py | 418 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/knitro_conif.py | 627 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 367 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 445 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 483 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py | 270 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/cuopt_conif.py | 52 | except Exception: | CODE |
| LOW⚡ | cvxpy/reductions/solvers/conic_solvers/cuopt_conif.py | 103 | except Exception: | CODE |
| LOW⚡ | cvxpy/reductions/solvers/conic_solvers/cuopt_conif.py | 111 | except Exception: | CODE |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/cuopt_conif.py | 98 | def _solver_mode(self, m): | CODE |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/cuopt_conif.py | 106 | def _solver_method(self, m): | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/copt_conif.py | 389 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/osqp_qpif.py | 153 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/cplex_qpif.py | 195 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/gurobi_qpif.py | 234 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py | 239 | except Exception: # Error in the Knitro. | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py | 341 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/copt_qpif.py | 214 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 24 | # a lot more robust than what was previously being used. | COMMENT |
| MEDIUM | cvxpy/tests/test_atoms.py | 1435 | # -- Concomitant M-estimation: robust location + scale on contaminated data -- | COMMENT |
| MEDIUM | cvxpy/tests/test_atoms.py | 1458 | # Sanity: robust mu is close to the true mean (5.0) despite three big outliers | COMMENT |
| MEDIUM⚡ | cvxpy/tests/test_grad.py | 708 | """Multiple random seeds for robust testing.""" | STRING |
| MEDIUM | cvxpy/tests/nlp_tests/test_Sharpe_ratio.py | 37 | # This type of initialization makes ipopt muich more robust. | COMMENT |
| MEDIUM | …py/cvxcore/include/Eigen/src/Core/ConditionEstimator.h | 128 | // added to make the algorithm more robust in certain corner cases where | COMMENT |
| MEDIUM | …y/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h | 123 | // to leverage AVX instructions. | COMMENT |
| MEDIUM | cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/Complex.h | 26 | // to leverage AVX instructions. | COMMENT |
| MEDIUM | cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/Complex.h | 194 | // to leverage AVX instructions. | COMMENT |
| MEDIUM | …y/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h | 56 | // to leverage AVX512 instructions. | COMMENT |
| MEDIUM | …y/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h | 638 | // NOTE: leverage _mm256_i32gather_ps and _mm256_i32gather_pd if AVX2 instructions are available | COMMENT |
| MEDIUM | cvxpy/cvxcore/include/Eigen/src/Geometry/AngleAxis.h | 200 | // let's use the robust Quaternion implementation: | COMMENT |
| LOW | cvxpy/reductions/dcp2cone/canonicalizers/huber_canon.py | 36 | # process and just return a power / abs expressions for readability sake | COMMENT |
| LOW | …reductions/dcp2cone/canonicalizers/quad/huber_canon.py | 36 | # process and just return a power / abs expressions for readability sake | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/cvxopt_conif.py | 259 | # Save old data in case need to use robust solver. | COMMENT |
| LOW | .github/workflows/build.yml | 34 | # These are intended to just add their extra parameter to existing matrix combinations; | COMMENT |
| LOW | .github/workflows/build.yml | 97 | # This is intended to just add the single_action_config parameter to one existing combination; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/tests/test_param_quad_prog.py | 73 | # Check if data match | COMMENT |
| LOW | cvxpy/tests/test_param_quad_prog.py | 76 | # Check if solutions match | COMMENT |
| LOW | cvxpy/tests/test_constraints.py | 552 | # Check if bounds attribute is compatible with linear objective | COMMENT |
| LOW | cvxpy/tests/test_constraints.py | 565 | # Check if bounds attribute is compatible with quadratic objective | COMMENT |
| LOW | cvxpy/tests/test_constraints.py | 581 | # Check if bounds are a list of 2 items | COMMENT |
| LOW | cvxpy/lin_ops/lin_utils.py | 113 | # Check if scalar. | COMMENT |
| LOW | cvxpy/lin_ops/lin_utils.py | 118 | # Check if sparse. | COMMENT |
| LOW | cvxpy/utilities/bounds.py | 836 | # Check if bounds are finite and worth using. | COMMENT |
| LOW | cvxpy/utilities/bounds.py | 843 | # Check if bounds only match sign info (avoid redundant constraints) | COMMENT |
| LOW | cvxpy/utilities/coeff_extractor.py | 145 | # Check if P depends on parameters (for DPP support). | COMMENT |
| LOW | cvxpy/reductions/solvers/conic_solvers/mosek_conif.py | 664 | # Check if any unknown options were passed | STRING |
| LOW | cvxpy/reductions/solvers/conic_solvers/scipy_conif.py | 116 | # Check if the problem is a MIP. | COMMENT |
| LOW | cvxpy/reductions/cone2cone/soc_dim3.py | 128 | # Check if it's a list with two elements (split format from save_dual_value) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/settings.py | 251 | def set_num_threads(num_threads: int) -> None: | CODE |
| LOW | cvxpy/atoms/affine/stack.py | 107 | __all__ = ["stack"] | CODE |
| LOW | cvxpy/lin_ops/canon_backend.py | 35 | __all__ = [ | CODE |
| LOW | cvxpy/lin_ops/backends/__init__.py | 78 | __all__ = [ | CODE |
| LOW | cvxpy/nlp/__init__.py | 17 | __all__ = [ | CODE |
| LOW | cvxpy/cvxcore/python/cppbackend.py | 148 | def set_linC_data(linC, linPy) -> None: | CODE |
| LOW | cvxpy/cvxcore/python/cppbackend.py | 189 | def set_slice_data(linC, linPy) -> None: | CODE |
| LOW | cvxpy/cvxcore/python/cppbackend.py | 230 | def set_matrix_data(linC, linPy) -> None: | CODE |
| LOW | cvxpy/reductions/cvx_attr2constr.py | 307 | def update_parameters(self, problem) -> None: | CODE |
| LOW | cvxpy/reductions/reduction.py | 72 | def update_parameters(self, problem) -> None: | CODE |
| LOW | cvxpy/reductions/complex2real/complex2real.py | 101 | def update_parameters(self, problem) -> None: | CODE |
| LOW | cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py | 242 | def update_params(self, problem) -> None: | CODE |
| LOW | …reductions/solvers/nlp_solvers/diff_engine/__init__.py | 31 | __all__ = [ | CODE |
| LOW | …eductions/solvers/nlp_solvers/diff_engine/c_problem.py | 74 | def update_params(self, theta: np.ndarray) -> None: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/cplex_conif.py | 42 | def set_parameters(model, solver_opts) -> None: | CODE |
| LOW | cvxpy/reductions/dgp2dcp/dgp2dcp.py | 84 | def update_parameters(self, problem) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cvxpy/utilities/key_utils.py | 28 | Check if the key is a valid index. Args: key: The key used to index/slice. shape: The shape (rows, | STRING |
| HIGH | cvxpy/transforms/scalarize.py | 43 | Combines objectives with penalties within a range between target and limit. For nonnegative priorities, each M | STRING |
| HIGH | cvxpy/reductions/solvers/solver_inverse_data.py | 32 | Get a value from inverse_data using dictionary-like syntax. Args: key: The key to retrieve from inv | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …y/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h | 547 | // In this implementation, we take advantage of the fact that pmin/pmax for SSE | COMMENT |
| HIGH | …y/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h | 556 | // In this implementation, we take advantage of the fact that pmin/pmax for SSE | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cvxpy/atoms/pnorm.py | 259 | # Subgrad is 0 when denom is 0 (or undefined). | STRING |
| HIGH | cvxpy/tests/test_grad.py | 140 | # Handle None gradient (outside domain or undefined) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/constraints/exponential.py | 279 | # TODO: implement me. | COMMENT |
| LOW | cvxpy/constraints/exponential.py | 358 | # TODO: implement me | COMMENT |
| LOW | cvxpy/constraints/exponential.py | 402 | # TODO: implement me. | COMMENT |
| LOW | cvxpy/transforms/suppfunc.py | 168 | # TODO: implement | COMMENT |
| LOW | cvxpy/reductions/complex2real/complex2real.py | 379 | # TODO: implement dual variable recovery | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …py/cvxcore/include/Eigen/src/Core/util/SymbolicIndex.h | 19 | * Here is a simple example: | COMMENT |
| MEDIUM | …re/include/Eigen/src/Core/arch/AltiVec/MatrixProduct.h | 114 | * As mentioned earlier MatrixProduct breaks complex numbers into a real vector and a complex vector so packing has | COMMENT |
| LOW | cvxpy/reductions/solvers/conic_solvers/conic_solver.py | 28 | # make sure to run cvxpy/tests/test_benchmarks.py to ensure that you have | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/constraints/finite_set.py | 137 | CODE | |
| LOW | cvxpy/tests/nlp_tests/derivative_checker.py | 267 | CODE | |
| LOW | cvxpy/problems/problem.py | 957 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 100 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/reductions/solvers/conic_solvers/pdcs_conif.py | 154 | solver_opts.setdefault("julia_env", "placeholder") | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/pdcs_conif.py | 165 | if solver_opts["julia_env"] != "placeholder": | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | doc/sphinxext/docscrape_sphinx.py | 46 | CODE |