Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

cvxpy/cvxpy

https://github.com/cvxpy/cvxpy · scanned 2026-06-17 01:52 UTC (1 month, 1 week ago)

134 raw signals (0 security + 134 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -7.9 (diff) · 91 actionable findings from 1 signal source. 43 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 68.8/100 with 55.6% coverage. It contains 7127 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 134 findings — concentrated in quality (79), cicd (30), software (25). Risk profile is high: 0 critical, 4 high, 20 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 57 of 91 actionable findings. 134 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Action tracks a moving branch
cvxpy/actions/.github/workflows/benchmarks.yml@main can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
4 files, 4 locations
.github/workflows/benchmarks.yml:10
.github/workflows/build.yml:21
.github/workflows/pr_benchmark_comment.yml:11
.github/workflows/pr_benchmarks.yml:8
CI/CD securitySupply chainGithub actions
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: CLAUDE.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
CLAUDE.md VerificationClaude instruction
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 13 occurrences GitHub Action is tag-pinned rather than SHA-pinned
astral-sh/setup-uv@v7 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
9 files, 13 locations
.github/workflows/build.yml:64, 151, 162 (3 hits)
.github/workflows/docs.yml:51, 59 (2 hits)
.github/workflows/extensions.yml:16, 71 (2 hits)
.github/workflows/claude-code-review.yml:39
.github/workflows/claude.yml:51
.github/workflows/manual_coverage.yml:37
.github/workflows/pyright.yml:16
.github/workflows/test_backends.yml:22
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 3 occurrences GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
3 files, 3 locations
.github/workflows/claude-code-review.yml
.github/workflows/claude.yml
.github/workflows/scorecards.yml
CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/release_notes.py:33
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 32 placeholder/mock markers across 12 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Maintenance conf 1.00 99 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 48 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph cicd CI/CD security conf 1.00 10 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/upload-artifact@v7 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
6 files, 10 locations
.github/workflows/build.yml:78, 185 (2 hits)
.github/workflows/claude-code-review.yml:33, 83 (2 hits)
.github/workflows/docs.yml:15, 29 (2 hits)
.github/workflows/scorecards.yml:25, 45 (2 hits)
.github/workflows/claude.yml:45
.github/workflows/manual_coverage.yml:243
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 11 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: cvxpy/utilities/shape.py:mul_shapes_promote, cvxpy/utilities/shape.py:mul_shapes This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
11 occurrences
repo-level (11 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: cvxpy/utilities/key_utils.py:wrap_neg_index, cvxpy/utilities/key_utils.py:wrap_neg_index, cvxpy/utilities/key_utils.py:wrap_neg_index This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). C…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 6 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: cvxpy/interface/base_matrix_interface.py:const_to_matrix, cvxpy/interface/numpy_interface/sparse_matrix_interface.py:const_to_matrix, cvxpy/interface/numpy_interface/matrix_interface.py:const_to_matrix, cvxpy/interface/numpy_interface/ndarray_interfac…
6 occurrences
repo-level (6 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_solve_and_copy` in cvxpy/tests/test_quad_dpp.py:32
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `b_old` in cvxpy/reductions/solvers/conic_solvers/cvxopt_conif.py:314
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `is_pre_v1` in cvxpy/reductions/solvers/qp_solvers/osqp_qpif.py:63
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `lh_old` in cvxpy/utilities/shape.py:128
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `prob_copy` in cvxpy/tests/test_copy.py:73
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `SwigPyIterator_copy` in cvxpy/cvxcore/python/cvxcore.py:85
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_add_expr_copy` in cvxpy/tests/test_atoms.py:53
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_var_copy` in cvxpy/tests/test_expressions.py:1421
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `tree_copy` in cvxpy/reductions/cvx_attr2constr.py:290
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `tree_copy` in cvxpy/transforms/partial_optimize.py:97
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `tree_copy` in cvxpy/utilities/canonical.py:76
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: compose_constr_id_map
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/chain.py:133
low System graph software Dead code conf 1.00 Possibly dead Python function: compose_param_id_map
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/chain.py:119
low System graph software Dead code conf 1.00 Possibly dead Python function: disable_warnings
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/error.py:21
low System graph software Dead code conf 1.00 Possibly dead Python function: enable_warnings
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/error.py:26
low System graph software Dead code conf 1.00 Possibly dead Python function: from_1D_to_2D
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/interface/matrix_utilities.py:164
low System graph software Dead code conf 1.00 Possibly dead Python function: from_2D_to_1D
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/interface/matrix_utilities.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: index_to_slice
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/utilities/key_utils.py:136
low System graph software Dead code conf 1.00 Possibly dead Python function: indicator_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/indicator_canon.py:21
low System graph software Dead code conf 1.00 Possibly dead Python function: kl_div_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/kl_div_canon.py:23
low System graph software Dead code conf 1.00 Possibly dead Python function: log1p_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/log1p_canon.py:21
low System graph software Dead code conf 1.00 Possibly dead Python function: log_det_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/log_det_canon.py:28
low System graph software Dead code conf 1.00 Possibly dead Python function: log_sum_exp_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/log_sum_exp_canon.py:26
low System graph software Dead code conf 1.00 Possibly dead Python function: logistic_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/logistic_canon.py:25
low System graph software Dead code conf 1.00 Possibly dead Python function: matrix_frac_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/matrix_frac_canon.py:23
low System graph software Dead code conf 1.00 Possibly dead Python function: new_converter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/interface/base_matrix_interface.py:45
low System graph software Dead code conf 1.00 Possibly dead Python function: param_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/cone_matrix_stuffing.py:244
low System graph software Dead code conf 1.00 Possibly dead Python function: pnorm_exact_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/pnorm_canon.py:49
low System graph software Dead code conf 1.00 Possibly dead Python function: power_exact_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/power_canon.py:30
low System graph software Dead code conf 1.00 Possibly dead Python function: quantum_rel_entr_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/quantum_rel_entr_canon.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: sigma_max_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/sigma_max_canon.py:26
low System graph software Dead code conf 1.00 Possibly dead Python function: special_index_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/utilities.py:41
low System graph software Dead code conf 1.00 Possibly dead Python function: squeezed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/utilities/shape.py:22
low System graph software Dead code conf 1.00 Possibly dead Python function: suppfunc_canon
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/reductions/dcp2cone/canonicalizers/suppfunc_canon.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: uniform_bounds
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cvxpy/utilities/bounds.py:128
low System graph quality Integrity conf 1.00 Stub function `import_solver` (body is just `pass`/`return`) — cvxpy/reductions/solvers/constant_solver.py:24
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: cvxpy/lin_ops/backends/coo_backend.py (2449 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/problems/problem.py (1654 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/solver_test_helpers.py (1724 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/test_atoms.py (3014 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/test_conic_solvers.py (3622 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/test_expressions.py (2121 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/test_problem.py (2372 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cvxpy/tests/test_python_backends.py (3561 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/2246469b-3dca-421d-b09f-8d129d6a79cd/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/2246469b-3dca-421d-b09f-8d129d6a79cd/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.