RepoTrust

GaurabAryal/reddit-stock-experiment

Can Reddit beat the stock market? AI-powered experiment scoring reasoning quality in r/ValueInvesting and backtesting against S&P 500.

https://github.com/GaurabAryal/reddit-stock-experiment · commit e07bb52ef1cb · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

unreviewed-ai-risk

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Unreviewed AI code risk: a large share of this code is explicitly AI-attributed, and its tests or review process are weak while quality or security scores are low.

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 100 explicit 70% 100%
Code quality 26 poor 90% 100%
Security 86 strong 85% 100%

AI provenance

Explicit AI attribution on 100% of first-party code added; an estimated 100% including velocity signals.

AI tool Attributed commits Lines added
Claude Code 1 3,699

Current source lines last changed by AI-attributed commits: 3,699 of 3,699.

Too few lines in one group to compare finding densities.

Month Lines added Attributed to AI
2026-03 3,699 100%

Evidence

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 22% of function code in complex or long functions; 13% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 52
Duplication 46
Code smells (Opengrep) 1
Tests and CI 0
Documentation 40
Type safety 40
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is strong: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 98
Vulnerable dependencies (OSV) 100
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a

Top findings

Severity Finding Location
medium opengrep/python.lang.security.audit.dynamic-urllib-use-detected: Detected a dynamic value being used with urllib. urllib supports 'file://' schemes, so a dynamic value controlled by a malicious actor may allow them to read arbitrary files. Audit uses of urllib calls to ensure user data cannot control the URLs, or consider using the 'requests' library instead. [confidence low] sept_validation/fetch_threads.py:28

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Repository profile

Language Lines
Python 3,699

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/GaurabAryal/reddit-stock-experiment/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/GaurabAryal/reddit-stock-experiment/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/GaurabAryal/reddit-stock-experiment/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/GaurabAryal/reddit-stock-experiment/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/GaurabAryal/reddit-stock-experiment/security.svg)](https://repotrust.synapticcyber.com/r/github.com/GaurabAryal/reddit-stock-experiment/)