RepoTrust

Leaderboard github.com

snufflyyy/trials-hd-recompiled

Trials HD for the Xbox 360 recompiled

  • View repository ↗
  • C++
  • ★ 26
  • commit 17a76f5e674c
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

unreviewed-ai-risk

AI provenance

63%

explicit

Confidence
95%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

49/100

poor

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

76/100

adequate

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

63% explicit

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

How the score is built

  • Explicitly attributed share63%
  • Unattributed share in AI-pace bursts31%
  • Estimated AI-generated share63%
  • AI tool configuration files2
  • Work sessions at AI pace8
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)0.10

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code11036,9412026-10-132026-10-19

Lines added per month all AI-attributed share

  1. 2026-1058,310 · 63% AI

Findings in AI-attributed lines vs the rest

From git blame: 15,458 lines trace to AI-attributed commits, 5,081 to others. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality0.000.590.00×
Security0.190.00—

Evidence by analyzer

Explicit AI attributionok26 items
attributed_commit_share
56.1%
attributed_commits
110
attributed_loc
36,941
attributed_loc_share
63.4%
commits
196
effective_loc
58,310
tools_detected
1
AI tool configurationok2 items
artifacts
2
earliest_adoption
2026-10-19
tools_configured
2
workflow_agents
0
Commit velocityok8 items
excluded_import_loc
12,003
flagged_loc
35,546
flagged_loc_share
76.8%
flagged_units
8
max_loc_per_hour
4,116.21
measured_loc
46,307
median_loc_per_hour
205.77
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
40
Release velocityskipped
Coding styleok1 item
count:assistant_voice
1
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
1
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
0
index
0.10
lines_scanned
20,539
per_kloc:assistant_voice
0.05
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
15,458
blame_failures
0
files_blamed
102
other_lines
5,081
quality:ai_findings
0
quality:ai_per_kloc
0
quality:other_findings
3
quality:other_per_kloc
0.59
quality:ratio
0
security:ai_findings
3
security:ai_per_kloc
0.19
security:other_findings
0
security:other_per_kloc
0

Code quality

49 poor

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

How the score is built

  • Complexity26
  • Duplication88
  • Lint and smells96
  • Tests and CI10
  • Documentation65
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok10 items
complex_functions
54
function_nloc
13,167
functions
700
long_functions
20
many_param_functions
2
mean_ccn
5.08
p90_ccn
13
risky_nloc_share
45.0%
Duplication (jscpd)ok10 items
compared_lines
15,501
duplicated_lines
327
duplicated_share
2.1%
files
102
Lintok
category:best-practice
3
findings
3
scanned_lines
20,539
weighted_findings
3
Tests and CIok
check:ci_present
no
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
no
check:test_ratio
no
check:tests_cochange
yes
ci_files
0
cochange_commits
122
cochange_share
29.5%
source_lines
20,539
test_lines
0
test_ratio
0
Documentationok2 items
  • README.md README.md
  • LICENSE LICENSE
check:changelog
no
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
172
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
0
escapes_per_kloc
0

Security

76 adequate

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

How the score is built

  • Secrets88
  • Static analysis (SAST)99
  • Vulnerable dependenciesnot measured
  • CI workflowsnot measured
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesskipped

no registry dependencies declared

Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
3
secrets_nonprod
1
Static analysis (opengrep)ok
findings
2
findings_high
0
findings_low
0
findings_medium
2
parse_errors
0
scanned_lines
20,539
weighted_findings
0.50
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
0.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

5 medium4 low

SeverityRuleLocationMessageTool
medium opengrep/python.lang.best-practice.unspecified-open-encoding tools/gen_trace_shims.py:26 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding tools/gen_trace_shims.py:34 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding tools/gen_trace_shims.py:39 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/bash.lang.security.ifs-tampering run.sh:185 The special variable IFS affects how splitting takes place when expanding unquoted variables. Don't set it globally. Prefer a dedicated utility such as 'cut' or 'awk' if you need to split input data. If you must use 'read', set IFS... Static analysis (opengrep)
medium opengrep/javascript.express.security.audit.xss.mustache.template-explicit-unescape web/shell.html:137 Detected an explicit unescape in a Mustache template, using triple braces '{{{...}}}' or ampersand '&'. If external data can reach these locations, your application is exposed to a cross-site scripting (XSS) vulnerability. If you must... Static analysis (opengrep)
low gitleaks/generic-api-key docs/webgpu-renderer/README.md:1957 Possible generic-api-key secret in history (commit 4d52f95ac6); removed from the current tree but still retrievable Secrets (gitleaks)
low gitleaks/generic-api-key src/gpu_webgpu/texture_cache.cpp:424 Possible generic-api-key secret in the current tree Secrets (gitleaks)
low gitleaks/generic-api-key src/graphics_settings.cpp:145 Possible generic-api-key secret in the current tree Secrets (gitleaks)
low gitleaks/generic-api-key tools/profile/vk_gpu_prof.patch:310 Possible generic-api-key secret in history (commit 75125a6bd5); removed from the current tree but still retrievable Secrets (gitleaks)

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceskipped—0
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Findings in AI-written linesAI provenanceokgit-blame0
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4143
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityskipped—0
Dependencies (osv-scanner)Securityskipped—0
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityskipped—0no registry dependencies declared
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4142
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.14

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-1417a76f5e674cprov-5+qual-2+sec-263%4976
2026-11-1417a76f5e674cprov-4+qual-2+sec-263%4976

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/snufflyyy/trials-hd-recompiled/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/snufflyyy/trials-hd-recompiled/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/snufflyyy/trials-hd-recompiled/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/snufflyyy/trials-hd-recompiled/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/snufflyyy/trials-hd-recompiled/security.svg)](https://repotrust.synapticcyber.com/r/github.com/snufflyyy/trials-hd-recompiled/)
Full text report

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) 63 explicit 95% 100%
Code quality 49 poor 90% 100%
Security 76 adequate 85% 100%

AI provenance

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

  • Explicitly attributed share (lower bound): 63.3%
  • Unattributed share in AI-consistent velocity bursts: 30.7%
  • Estimated AI-generated share: 63.3%
AI tool Attributed commits Lines added
Claude Code 110 36,941
  • AI tooling configured in repo: claude-code, generic-agent

Current source lines last changed by AI-attributed commits: 15,458 of 20,539.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 0.0 0.59 0.0x
Security 0.194 0.0 n/a
  • Stylometry index: 0.10 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 1, emoji 0). Reported as a signal, not scored.
Month Lines added Attributed to AI
2026-10 58,310 63%

Evidence

  • Claude Code: on merged branch (17a76f5e67) (394e3f3f24d0)
  • Claude Code: trailer 'Co-Authored-By: Claude' (9ee1af97a972)
  • Claude Code: on merged branch (4ccf0294ae) (e3c72ce7336e)
  • Claude Code: on merged branch (38f736d690) (77351fc62d21)
  • Claude Code: trailer 'Co-Authored-By: Claude' (e426d53cf041)
  • Claude Code: trailer 'Co-Authored-By: Claude' (17969622c2ea)
  • Claude Code: trailer 'Co-Authored-By: Claude' (67aa1c28edf2)
  • Claude Code: trailer 'Co-Authored-By: Claude' (644ffc2d14a2)
  • Claude Code: trailer 'Co-Authored-By: Claude' (8c16eef9a86e)
  • Claude Code: trailer 'Co-Authored-By: Claude' (01bd44fa1cdb)
  • Claude Code: trailer 'Co-Authored-By: Claude' (69486b46b887)
  • Claude Code: trailer 'Co-Authored-By: Claude' (a06980e3f506)
  • Claude Code: trailer 'Co-Authored-By: Claude' (be4dcde494cd)
  • Claude Code: on merged branch (de0b8cb0f4) (bedca4ad3603)
  • Claude Code: trailer 'Co-Authored-By: Claude' (82fd19176142)

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; 45% of function code in complex or long functions; 2% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 26
Duplication 88
Code smells (Opengrep) 96
Tests and CI 10
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 700; mean complexity 5.1, 90th percentile 13; 54 complex and 20 long functions
  • Duplicated lines: 2.1% of 15,501 compared
  • Tests: 0 test lines for 20,539 source lines (ratio 0.00); CI test commands: none detected; 30% of recent source commits also change tests
  • Docs missing or thin: contributing, changelog

Most complex functions:

Security

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

Area Score
Secrets (gitleaks, tree + history) 88
Static analysis (Opengrep) 99
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

Top findings

Severity Finding Location
medium opengrep/bash.lang.security.ifs-tampering: The special variable IFS affects how splitting takes place when expanding unquoted variables. Don't set it globally. Prefer a dedicated utility such as 'cut' or 'awk' if you need to split input data. If you must use 'read', set IFS locally using e.g. 'IFS="," read -a my_array'. [confidence low] run.sh:185
medium opengrep/javascript.express.security.audit.xss.mustache.template-explicit-unescape: Detected an explicit unescape in a Mustache template, using triple braces '{{{...}}}' or ampersand '&'. If external data can reach these locations, your application is exposed to a cross-site scripting (XSS) vulnerability. If you must do this, ensure no external data can reach this location. [confidence low] web/shell.html:137
low gitleaks/generic-api-key: Possible generic-api-key secret in the current tree src/gpu_webgpu/texture_cache.cpp:424
low gitleaks/generic-api-key: Possible generic-api-key secret in the current tree src/graphics_settings.cpp:145
low gitleaks/generic-api-key: Possible generic-api-key secret in history (commit 75125a6bd5); removed from the current tree but still retrievable tools/profile/vk_gpu_prof.patch:310
low gitleaks/generic-api-key: Possible generic-api-key secret in history (commit 4d52f95ac6); removed from the current tree but still retrievable docs/webgpu-renderer/README.md:1957

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

  • Source lines: 20,539; test lines: 0
Language Lines
C++ 14,245
C 4,402
Shell 850
JavaScript 820
Python 222