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.

TwinAnalytics/player-score

https://github.com/TwinAnalytics/player-score · scanned 2026-06-16 00:43 UTC (2 months, 1 week ago)

48 raw signals (0 security + 48 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 42 actionable findings from 1 signal source. 6 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 50.7/100 with 66.7% coverage. It contains 355 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 48 findings — concentrated in quality (26), software (16), security (2). Risk profile is high: 1 critical, 0 high, 10 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 37 of 42 actionable findings. 48 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.

critical System graph security Secrets conf 1.00 Possible secret in football_api_explorer/explore.py
Detected pattern matching generic_api_key. Rotate the credential and move to a secret manager.
football_api_explorer/explore.py:16
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/launch.json
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/launch.json VerificationClaude instruction
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 Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, tests. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph quality Tests conf 1.00 CI is configured but no tests are detected
A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal.
CI/CDConfig theaterRepo hardening
medium System graph cicd CI/CD security conf 1.00 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.
.github/workflows/playerscore-weekly-current-season.yml CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — football_api_explorer/explore.py:27
`requests.get(...)` 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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — streamlit/run_weekly_sofa.py:49
`subprocess.run(...)` 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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph network Security conf 1.00 Privileged port 6 in use
Port 6 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
.github/workflows/playerscore-weekly-current-season.yml Ports
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 46 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 247 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 GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/playerscore-weekly-current-season.yml:29 CI/CD securitySupply chainGithub actions
low System graph quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
low System graph quality Integrity conf 1.00 6 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: marketing/generate_team_mv_visuals.py:set_dark_bg, marketing/generate_league_score_visuals.py:dark_axes 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 the…
6 occurrences
repo-level (6 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: streamlit/src/scraping_fbref_big5_table.py:is_current_season, streamlit/src/scraping_fbref_squad_stats.py:is_current_season, streamlit/src/scraping_fbref_player_stats.py:is_current_season This is *the* AI-coder failure mode (4× more duplication in vi…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `cols_to_copy` in streamlit/app.py:2341
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: assess_diff
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/app.py:654
low System graph software Dead code conf 1.00 Possibly dead Python function: band
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/scoring.py:169
low System graph software Dead code conf 1.00 Possibly dead Python function: band_from_score
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/app.py:686
low System graph software Dead code conf 1.00 Possibly dead Python function: colored_badge
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/generate_roadmap_pdf.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: compute_score
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/scoring.py:14
low System graph software Dead code conf 1.00 Possibly dead Python function: goals_row
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
football_api_explorer/json_to_csv.py:168
low System graph software Dead code conf 1.00 Possibly dead Python function: keyfn
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/match_sofascore.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: kv_row
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/generate_roadmap_pdf.py:72
low System graph software Dead code conf 1.00 Possibly dead Python function: main_pos_from_string
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/processing.py:185
low System graph software Dead code conf 1.00 Possibly dead Python function: make_score_band_5
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/scoring.py:168
low System graph software Dead code conf 1.00 Possibly dead Python function: mean_or_na
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/app.py:648
low System graph software Dead code conf 1.00 Possibly dead Python function: prepare_squad_advanced_metrics
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/app.py:2173
low System graph software Dead code conf 1.00 Possibly dead Python function: refine_mf_with_zones
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/processing.py:228
low System graph software Dead code conf 1.00 Possibly dead Python function: render_big5_facet_scatter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/charts/team_scatter.py:146
low System graph software Dead code conf 1.00 Possibly dead Python function: render_scatter_linkedin_optimized
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/src/charts/team_scatter.py:316
low System graph software Dead code conf 1.00 Possibly dead Python function: score_trend_chart
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
streamlit/app.py:704
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Complexity conf 1.00 Very large file: streamlit/app.py (5654 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/234f27de-ae1f-4d58-9933-c8961c5e8cef/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/234f27de-ae1f-4d58-9933-c8961c5e8cef/

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.