Leaderboard github.com
snufflyyy/trials-hd-recompiled
Trials HD for the Xbox 360 recompiled
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
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 110 | 36,941 | 2026-10-13 | 2026-10-19 |
Lines added per month all AI-attributed share
- 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 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.00 | 0.59 | 0.00× |
| Security | 0.19 | 0.00 | — |
Evidence by analyzer
Explicit AI attributionok26 items
- Claude Code: 110 attributed commits, 36,941 lines added
- Claude Code: on merged branch (17a76f5e67)
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: on merged branch (4ccf0294ae)
- Claude Code: on merged branch (38f736d690)
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: on merged branch (de0b8cb0f4)
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: on merged branch (8b77aab9f0)
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- 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
- 8,245 lines of first-party code in ~2.0h (4,116 lines/hour, 7 commit session)
- 7,019 lines of first-party code in ~2.5h (2,824 lines/hour, 14 commit session)
- 7,212 lines of first-party code in ~5.2h (1,397 lines/hour, 5 commit session)
- 1,632 lines of first-party code in ~1.6h (1,003 lines/hour, 2 commit session)
- 2,333 lines of first-party code in ~2.7h (849 lines/hour, 1 commit session)
- 2,505 lines of first-party code in ~3.0h (840 lines/hour, 4 commit session)
- 3,986 lines of first-party code in ~6.9h (581 lines/hour, 11 commit session)
- 2,614 lines of first-party code in ~5.1h (509 lines/hour, 13 commit session)
- 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
- rex::graphics::webgpu::WebGpuBackend::Draw in src/gpu_webgpu/webgpu_backend.cpp: complexity 112, 431 lines
- rex::graphics::webgpu::WgslShaderTranslator::ProcessScalarAluOperation in src/gpu_webgpu/wgsl/wgsl_alu.cpp: complexity 61, 143 lines
- trials_hd::GraphicsSettingsDialog::DrawGraphicsTab in src/graphics_settings.cpp: complexity 54, 143 lines
- stfs::StfsPackage::Open in src/installer/stfs_package.cpp: complexity 54, 143 lines
- rex::graphics::webgpu::TextureCache::LoadTexture in src/gpu_webgpu/texture_cache.cpp: complexity 45, 207 lines
- rex::graphics::webgpu::WgslShaderTranslator::ProcessVectorAluOperation in src/gpu_webgpu/wgsl/wgsl_alu.cpp: complexity 44, 109 lines
- TrialsHdApp::WatchSettingsCombo in src/trials_hd_app.h: complexity 44, 88 lines
- rex::graphics::webgpu::WgslShaderTranslator::ProcessVertexFetchInstruction in src/gpu_webgpu/wgsl/wgsl_fetch.cpp: complexity 39, 172 lines
- rex::graphics::webgpu::RenderTargetCache::Transfer in src/gpu_webgpu/render_target_cache.cpp: complexity 37, 167 lines
- rex::graphics::webgpu::format_tables::GetTextureFormatInfo in src/gpu_webgpu/format_tables.cpp: complexity 36, 213 lines
- 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
- 6+ duplicated lines: build.sh:52 and run.sh:44
- 6+ duplicated lines: src/flat_hash_map.h:207 and src/flat_hash_map.h:250
- 6+ duplicated lines: src/gamepad_nav.cpp:64 and src/trials_hd_app.h:654
- 6+ duplicated lines: src/gpu_webgpu/format_tables.cpp:181 and src/gpu_webgpu/format_tables.cpp:196
- 6+ duplicated lines: src/gpu_webgpu/gpu_profiler.cpp:120 and src/gpu_webgpu/gpu_profiler.cpp:182
- 6+ duplicated lines: src/gpu_webgpu/primitive_converter.h:7 and src/gpu_webgpu/render_target_cache.h:8
- 6+ duplicated lines: src/gpu_webgpu/render_target_cache.h:22 and src/gpu_webgpu/resolve_engine.h:21
- 6+ duplicated lines: src/gpu_webgpu/resolve_engine.cpp:420 and src/gpu_webgpu/resolve_engine.cpp:495
- 6+ duplicated lines: src/gpu_webgpu/resolve_engine.h:7 and src/gpu_webgpu/texture_cache.h:10
- 6+ duplicated lines: src/gpu_webgpu/webgpu_immediate_drawer.cpp:98 and src/gpu_webgpu/webgpu_presenter.cpp:75
- 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
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| 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.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | skipped | — | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Findings in AI-written lines | AI provenance | ok | git-blame | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 3 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | skipped | — | 0 | |
| Dependencies (osv-scanner) | Security | skipped | — | 0 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | skipped | — | 0 | no registry dependencies declared |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 2 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 4 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 17a76f5e674c | prov-5+qual-2+sec-2 | 63% | 49 | 76 |
| 2026-11-14 | 17a76f5e674c | prov-4+qual-2+sec-2 | 63% | 49 | 76 |
Full text report
- Repository: https://github.com/snufflyyy/trials-hd-recompiled
- Commit:
17a76f5e674c6132d74f587567e0ecc1624ce3e6 - Generated: 2026-11-14T14:52:07+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
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:
- rex::graphics::webgpu::WebGpuBackend::Draw in src/gpu_webgpu/webgpu_backend.cpp: complexity 112, 431 lines
- rex::graphics::webgpu::WgslShaderTranslator::ProcessScalarAluOperation in src/gpu_webgpu/wgsl/wgsl_alu.cpp: complexity 61, 143 lines
- trials_hd::GraphicsSettingsDialog::DrawGraphicsTab in src/graphics_settings.cpp: complexity 54, 143 lines
- stfs::StfsPackage::Open in src/installer/stfs_package.cpp: complexity 54, 143 lines
- rex::graphics::webgpu::TextureCache::LoadTexture in src/gpu_webgpu/texture_cache.cpp: complexity 45, 207 lines
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 |