Leaderboard github.com
cruxxxxxx/gdx-3ds
Unofficial 3DS Port of F-Zero X based on G-Diffuser & the decompilation of inspectredc
AI provenance
21%
explicit
- Confidence
- 83%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
62/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
57/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
- Repository: https://github.com/cruxxxxxx/gdx-3ds
- Commit:
d8a37d560a96b27fd65c74390bd995ee5029fba8 - Generated: 2026-11-13T23:45:08+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 21 | explicit | 83% | 100% |
| Code quality | 62 | weak | 90% | 100% |
| Security | 57 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 21% of first-party code added; an estimated 21% including velocity signals.
- Explicitly attributed share (lower bound): 21.3%
- Unattributed share in AI-consistent velocity bursts: 0.9%
- Estimated AI-generated share: 21.3%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 5 | 75,367 |
Current source lines last changed by AI-attributed commits: 62,166 of 302,453.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 1.448 | 0.458 | 3.16x |
| Security | 2.719 | 0.549 | 4.95x |
- Stylometry index: 0.01 per 1,000 lines (narrated steps 4, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-09 | 162,213 | 0% |
| 2026-10 | 190,796 | 39% |
| 2026-11 | 1,098 | 100% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (d8a37d560a96)
- Claude Code: trailer 'Co-Authored-By: Claude' (61b5558f022f)
- Claude Code: trailer 'Co-Authored-By: Claude' (7014783b64b1)
- Claude Code: trailer 'Co-authored-by: Claude' (111a14c56832)
- Claude Code: trailer 'Co-Authored-By: Claude' (07cbe2dc3dad)
- 1,207 lines of first-party code in ~1.6h (751 lines/hour, 2 commit session) (78ff524f4ce2)
- 2,061 lines of first-party code in ~4.0h (512 lines/hour, 2 commit session) (824c7aec302b)
- step-by-step narration comment: * then, when cupSlot is 0..5, names it in that edit-cup slot and saves CRS_ENTRY.CENT. The (port/3ds/gdx)
- step-by-step narration comment: * first, bit set = a 2-byte back-reference ((distance-1) << 4 | (length-3), big-endian; distance (port/3ds/gdx)
- step-by-step narration comment: * then, in mode 1: 4 = SpTri would bind and draw nothing (the probe must not run); with a (port/3ds/gfx)
- step-by-step narration comment: * first, so a frame that lands during the drain re-signals it). 0 = pull on every call (90049af). */ (port/3ds/net)
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 weak: test-to-source ratio 0.11, no CI test run detected; 27% of function code in complex or long functions; 3% duplicated lines. Weakest area: type safety.
| Area | Score |
|---|---|
| Complexity (lizard) | 44 |
| Duplication | 83 |
| Code smells (Opengrep) | 79 |
| Tests and CI | 50 |
| Documentation | 80 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 10,297; mean complexity 5.0, 90th percentile 11; 541 complex and 114 long functions
- Duplicated lines: 3.0% of 243,357 compared
- Tests: 33,537 test lines for 302,453 source lines (ratio 0.11); CI test commands: none detected; 33% of recent source commits also change tests
- Docs missing or thin: changelog
Most complex functions:
- Fast::GfxRenderingAPIC3D::DrawTriangles in port/3ds/gfx/gfx_citro3d.cpp: complexity 246, 591 lines
- gdxn::Interp::SpTri in port/3ds/gfx/n64/gdx_tri.cpp: complexity 173, 480 lines
- main in tools/mp-rendezvous/emu_matrix.py: complexity 142, 288 lines
- main in port/3ds/main_3ds.cpp: complexity 132, 632 lines
- gdxn::Interp::ImportTexture in port/3ds/gfx/n64/gdx_texcache.cpp: complexity 124, 235 lines
Security
Security posture is weak: 29 high-severity SAST findings; 17 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 90 |
| Static analysis (Opengrep) | 84 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | 4 |
| 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 |
|---|---|---|
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/audio_pcm_harness/run_scenario.py:124 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/build.py:30 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/capture.py:70 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/capture.py:95 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/delegate.py:46 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/emu.py:455 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/retro.py:1009 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/retro.py:1612 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/gdxdev/util.py:117 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/hw.py:360 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/dev/hw.py:360 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'call' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/hw.py:899 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'call' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/dev/hw.py:899 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/refrun.py:132 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/refrun.py:136 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/refrun.py:318 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/dev/refrun.py:318 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/dev/snapcensus.py:71 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/dev/snapcensus.py:71 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'check_call' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/gen_ek_text_pack.py:299 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/mp-rendezvous/emu_matrix.py:235 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/mp-rendezvous/emu_matrix.py:235 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/mp-rendezvous/emu_matrix.py:334 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'Popen' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] |
tools/mp-rendezvous/emu_matrix.py:334 |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
tools/o2r_harness/verify_determinism.py:42 |
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.
Distribution signals
- binary-release-asset: release v1.2.0 ships G-Diffuser-3DS-N3DS-EK-v1.2.0.zip (74 downloads)
- binary-release-asset: release v1.2.0 ships G-Diffuser-3DS-N3DS-v1.2.0.zip (59 downloads)
- binary-release-asset: release v1.2.0 ships G-Diffuser-3DS-O3DS-EK-v1.2.0.zip (16 downloads)
- binary-release-asset: release v1.2.0 ships G-Diffuser-3DS-O3DS-v1.2.0.zip (32 downloads)
- binary-release-asset: release v1.2.0 ships gdx-extract-linux-x64.zip (26 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 302,453; test lines: 33,537
| Language | Lines |
|---|---|
| C | 182,243 |
| C++ | 108,204 |
| Python | 41,261 |
| Shell | 4,118 |
| Swift | 88 |
| PowerShell | 76 |