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.
28 of your 66 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

randomwalkhan/Short-Term-Reversal-Strategy

https://github.com/randomwalkhan/Short-Term-Reversal-Strategy · scanned 2026-06-05 13:17 UTC (5 days, 6 hours ago) · 10 languages

136 raw signals (64 security + 72 graph) 11/13 scanners ran 13th percentile · Python · small (2-20K LoC) System graph score 98 (lower by 47)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 6 hours ago · v2 · 30 actionable findings from 2 signal sources. 70 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 55.0 0.15 8.25
security_score 100.0 0.25 25.00
testing_score 0.0 0.20 0.00
documentation_score 60.0 0.15 9.00
practices_score 30.0 0.15 4.50
code_quality 45.0 0.10 4.50
Overall 1.00 51.2
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade C- (51/100). Dimensions: security 100, maintainability 55. 64 findings. 13,404 lines analyzed.

Showing 22 of 30 actionable findings. 100 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 Security checks quality Quality conf 1.00 ✓ Repobility 5 occurrences [MINED108] `self.request` used but never assigned in __init__: Method `account` of class `AlpacaPaperClient` reads `self.request`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.request = <default>` in __init__, or add a class-level default.
lines 134, 137, 140, 143, 146
reversal_3_4_1_alpaca_paper.py:134, 137, 140, 143, 146 (5 hits)
medium Security checks quality Practices conf 1.00 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.
Add a .gitignore appropriate for your language/framework.
low Security checks quality Error handling conf 0.55 ✓ Repobility 22 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
4 files, 22 locations
reversal_3_3_live.py:365, 418, 502, 561, 568, 638, 650, 703, +4 more (12 hits)
reversal_3_2_1_live.py:348, 417, 429, 469, 605, 771, 1049 (7 hits)
reversal_3_4_1_alpaca_paper.py:265, 550 (2 hits)
update_reversal_data.py:133
Error handlingquality
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — reversal_3_2_1_live.py:1811
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — reversal_3_3_live.py:2600
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — reversal_3_4_1_alpaca_paper.py:548
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/install_reversal_3_2_1_launchd.py:57
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/install_reversal_3_3_launchd.py:57
`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.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
low Security checks quality Quality conf 0.60 30 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
8 files, 30 locations
backtest_reversal_2_5_calls.py:7, 20, 37, 57, 186, 260 (6 hits)
backtest_reversal_3_1_calls.py:12, 21, 39, 59, 188, 262 (6 hits)
backtest_reversal_2_4_calls.py:15, 19, 36, 56, 256 (5 hits)
backtest_reversal_2_3_3_calls.py:19, 36, 56, 256 (4 hits)
backtest_reversal_2_3_calls.py:11, 33, 55, 279 (4 hits)
backtest_reversal_2_3_1_calls.py:34, 54, 254 (3 hits)
analyze_reversal_3_1_regime_predictive_power.py:21
backtest_reversal_2_2_1_calls.py:115
duplicationquality
low System graph quality Integrity conf 1.00 10 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: backtest_reversal_3_1_leveraged_etf_experiment.py:plot_one_year_comparison, backtest_reversal_2_5_min_drop_experiment.py:plot_comparison This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene)…
10 occurrences
repo-level (10 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: backtest_reversal_2_3_1_calls.py:load_history_cache, backtest_reversal_3_1_calls.py:load_history_cache, backtest_reversal_2_3_3_calls.py:load_history_cache, backtest_reversal_2_4_calls.py:load_history_cache This is *the* AI-coder failure mode (4× mor…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: backtest_reversal_2_3_1_calls.py:build_universe_presets, backtest_reversal_3_1_calls.py:build_universe_presets, backtest_reversal_article_variants.py:build_universe, backtest_reversal_2_3_3_calls.py:build_universe_presets This is *the* AI-coder failu…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 9 places
Functions with the same first-5-line body hash: analyze_reversal_2_4_overfitting.py:bs_call, backtest_reversal_2_3_1_calls.py:bs_call, backtest_reversal_2_2_1_calls.py:bs_call, backtest_reversal_3_1_calls.py:bs_call This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph software Dead code conf 1.00 Possibly dead Python function: clock
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reversal_3_4_1_alpaca_paper.py:136
low System graph software Dead code conf 1.00 Possibly dead Python function: has_open_share_position
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reversal_3_2_1_live.py:826
low System graph software Dead code conf 1.00 Possibly dead Python function: has_open_share_position
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reversal_3_3_live.py:1401
low System graph software Dead code conf 1.00 Possibly dead Python function: humanize_exit_reason
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reversal_3_2_1_live.py:1220
low System graph software Dead code conf 1.00 Possibly dead Python function: humanize_exit_reason
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
reversal_3_3_live.py:1998
low System graph quality Complexity conf 1.00 Very large file: reversal_3_2_1_live.py (1962 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: reversal_3_3_live.py (2778 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/4d4abf9a-a5db-43af-8677-18dc71592d58/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/4d4abf9a-a5db-43af-8677-18dc71592d58/

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.