A Python-embedded modeling language for convex optimization problems.
This report presents the forensic synthetic code analysis of cvxpy/cvxpy, a C++ project with 6,275 GitHub stars. SynthScan v2.0 examined 254,263 lines of code across 889 source files, recording 2596 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 22.3 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2596 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 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/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_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_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 |
| HIGH | cvxpy/tests/nlp_tests/test_matmul.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 | …xpy/tests/nlp_tests/test_scalar_and_matrix_problems.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_solvers.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_problem.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_quasi_newton.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_interfaces.py | 0 | copyright 2025, the cvxpy authors licensed under the apache license, version 2.0 (the "license"); you may not use this f | STRING |
| 658 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 | 113 | def _construct_dual_variables(self, args) -> None: | CODE |
| LOW | cvxpy/constraints/nonpos.py | 200 | 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 | 218 | 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 | 732 | def test_project_boolean_indices(self) -> None: | CODE |
| LOW⚡ | cvxpy/tests/test_expressions.py | 740 | def test_project_integer_indices(self) -> None: | CODE |
| LOW⚡ | cvxpy/tests/test_expressions.py | 748 | 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 |
| LOW | cvxpy/tests/test_expressions.py | 678 | def test_project_multiple_attributes(self) -> None: | CODE |
| 727 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 161 | # Writes the resolved version to cvxpy/_version.py at build time so the | COMMENT |
| LOW | continuous_integration/install_optional_solvers.sh | 61 | #python -c "import julia; julia.install()" | 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/tests/test_python_backends.py | 81 | # Simple variable linop of shape (2,) - creates a 2x2 identity in the variable columns | 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/lin_ops/backends/coo_backend.py | 1481 | new_n : int | 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 |
| 358 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 | |
| 302 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 | 1716 | # ========================================================================= | COMMENT |
| MEDIUM | cvxpy/lin_ops/backends/coo_backend.py | 1718 | # ========================================================================= | 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 | 67 | 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 | 109 | CODE | |
| LOW | cvxpy/tests/test_cone2cone.py | 824 | CODE | |
| LOW | cvxpy/tests/test_atoms.py | 134 | CODE | |
| LOW | cvxpy/tests/test_quad_form.py | 129 | 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 | 2866 | 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 | 347 | CODE | |
| LOW | cvxpy/problems/problem.py | 536 | CODE | |
| LOW | cvxpy/problems/problem.py | 956 | CODE | |
| LOW | cvxpy/problems/problem.py | 1381 | CODE | |
| LOW | cvxpy/lin_ops/backends/base.py | 518 | 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 | 223 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 377 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 546 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 653 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 834 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 914 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 1007 | CODE | |
| LOW | cvxpy/expressions/variable.py | 96 | CODE | |
| LOW | cvxpy/expressions/variable.py | 105 | CODE | |
| LOW | cvxpy/expressions/expression.py | 301 | CODE | |
| LOW | cvxpy/expressions/expression.py | 329 | CODE | |
| LOW | cvxpy/expressions/expression.py | 810 | CODE | |
| 52 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 | 689 | # Define the SolverTestHelper object | COMMENT |
| MEDIUM | cvxpy/tests/test_atoms.py | 2542 | # 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 | 3270 | # Create a parametric tensor with duplicated param_idx entries | COMMENT |
| MEDIUM | cvxpy/tests/test_complex.py | 430 | # Create a random positive definite Hermitian matrix for all tests. | COMMENT |
| MEDIUM | cvxpy/tests/test_conic_solvers.py | 2100 | # 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 | 1324 | # 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 | 338 | # 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 | 216 | # Create a new Knitro solver instance | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 241 | # Define the callback for evaluating objective and constraints (EVALFC) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 273 | # Define the callback for evaluating gradients (EVALGA) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 307 | # Define the callback for evaluating Hessian (EVALH) | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/uno_nlpif.py | 158 | # Create the Uno model using unopy constants | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/conic_solver.py | 187 | # Create a matrix to reshape constraints, then replicate for each | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/nag_conif.py | 240 | # Define the cones | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/mosek_conif.py | 531 | # This function is only designed to recover dual variables | STRING |
| MEDIUM | cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py | 172 | # Create a new model | COMMENT |
| MEDIUM | cvxpy/reductions/solvers/qp_solvers/gurobi_qpif.py | 163 | # 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 |
|---|---|---|---|---|
| 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 | 633 | 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 | 1403 | def _cylp_checks_isProvenInfeasible(): | CODE |
| MEDIUM | cvxpy/tests/test_conic_solvers.py | 3517 | def test_cuopt_mi_lp_4(self) -> None: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 954 | except Exception: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 1480 | except Exception: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 2062 | except Exception as e: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 3487 | except Exception as e: | CODE |
| LOW | cvxpy/tests/test_conic_solvers.py | 3520 | except Exception as e: | CODE |
| LOW | cvxpy/expressions/expression.py | 222 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/solver.py | 120 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 290 | except Exception as e: | CODE |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 291 | print(f"Error in callbackEvalGA: {e}") | CODE |
| LOW | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 329 | except Exception as e: | CODE |
| MEDIUM | cvxpy/reductions/solvers/nlp_solvers/knitro_nlpif.py | 330 | print(f"Error in callbackEvalH: {e}") | CODE |
| LOW | …xpy/reductions/solvers/conic_solvers/clarabel_conif.py | 256 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/cplex_conif.py | 393 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/knitro_conif.py | 429 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/knitro_conif.py | 638 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 340 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 418 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/scip_conif.py | 456 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py | 294 | 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 | 390 | except Exception: | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/osqp_qpif.py | 152 | except Exception as e: | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/cplex_qpif.py | 194 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/gurobi_qpif.py | 233 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py | 250 | except Exception: # Error in the Knitro. | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py | 352 | except Exception: # Error in the solution | CODE |
| LOW | cvxpy/reductions/solvers/qp_solvers/copt_qpif.py | 213 | 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 | 1345 | # -- Concomitant M-estimation: robust location + scale on contaminated data -- | COMMENT |
| MEDIUM | cvxpy/tests/test_atoms.py | 1368 | # 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 | 170 | # 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 | 523 | # Check if bounds attribute is compatible with linear objective | COMMENT |
| LOW | cvxpy/tests/test_constraints.py | 536 | # Check if bounds attribute is compatible with quadratic objective | COMMENT |
| LOW | cvxpy/tests/test_constraints.py | 552 | # 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 | 671 | # Check if any unknown options were passed | STRING |
| LOW | cvxpy/reductions/solvers/conic_solvers/scipy_conif.py | 118 | # 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 | 249 | 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 | 97 | 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 | 32 | __all__ = [ | CODE |
| LOW | …eductions/solvers/nlp_solvers/diff_engine/c_problem.py | 58 | 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 | 352 | # TODO: implement me | COMMENT |
| LOW | cvxpy/constraints/exponential.py | 396 | # TODO: implement me. | COMMENT |
| LOW | cvxpy/transforms/suppfunc.py | 72 | # TODO: implement | COMMENT |
| LOW | cvxpy/reductions/complex2real/complex2real.py | 351 | # 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 | 30 | # 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 | 956 | CODE | |
| LOW | cvxpy/expressions/leaf.py | 100 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cvxpy/reductions/solvers/conic_solvers/pdcs_conif.py | 153 | solver_opts.setdefault("julia_env", "placeholder") | CODE |
| LOW | cvxpy/reductions/solvers/conic_solvers/pdcs_conif.py | 164 | if solver_opts["julia_env"] != "placeholder": | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | doc/sphinxext/docscrape_sphinx.py | 46 | CODE |