Leaderboard github.com
jonwiggins/cedis
Minimal Redis implementation in Rust
AI provenance
69%
explicit
- Confidence
- 76%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
59/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
72/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
69% explicit
Explicit AI attribution on 69% of first-party code added; an estimated 69% including velocity signals.
How the score is built
- Explicitly attributed share69%
- Unattributed share in AI-pace bursts27%
- Estimated AI-generated share69%
- AI tool configuration files1
- Work sessions at AI pace5
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)0.25
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 12 | 19,893 | 2026-02-09 | 2026-02-21 |
Lines added per month all AI-attributed share
- 2026-0228,651 · 69% AI
Findings in AI-attributed lines vs the rest
From git blame: 15,887 lines trace to AI-attributed commits, 7,755 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.00 | 0.00 | — |
| Security | 0.25 | 0.00 | — |
Evidence by analyzer
Explicit AI attributionok13 items
- Claude Code: 12 attributed commits, 19,893 lines added
- 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: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 46.2%
- attributed_commits
- 12
- attributed_loc
- 19,893
- attributed_loc_share
- 69.4%
- commits
- 26
- effective_loc
- 28,651
- tools_detected
- 1
AI tool configurationok1 item
- artifacts
- 1
- earliest_adoption
- 2026-02-21
- tools_configured
- 1
- workflow_agents
- 0
Commit velocityok5 items
- 2,761 lines of first-party code in ~0.8h (3,284 lines/hour, 1 commit session)
- 3,048 lines of first-party code in ~0.9h (3,217 lines/hour, 1 commit session)
- 5,827 lines of first-party code in ~4.8h (1,226 lines/hour, 3 commit session)
- 1,998 lines of first-party code in ~2.0h (1,015 lines/hour, 7 commit session)
- 2,209 lines of first-party code in ~4.0h (550 lines/hour, 2 commit session)
- excluded_import_loc
- 10,435
- flagged_loc
- 15,843
- flagged_loc_share
- 87.0%
- flagged_units
- 5
- max_loc_per_hour
- 3,283.65
- measured_loc
- 18,216
- median_loc_per_hour
- 782.52
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 9
Release velocityskipped
Coding styleok6 items
- step-by-step narration comment: // First, collect all source HLLs into a temporary merged HLL
- step-by-step narration comment: // Step 1: Send PING
- step-by-step narration comment: // Step 2: REPLCONF listening-port
- step-by-step narration comment: // Step 3: REPLCONF capa
- step-by-step narration comment: // Step 4: PSYNC
- step-by-step narration comment: // Step 5: Stream commands from master and apply them
- count:assistant_voice
- 0
- count:emoji_in_code
- 0
- count:narrated_steps
- 6
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 0
- files:narrated_steps
- 2
- files:placeholder
- 0
- index
- 0.25
- lines_scanned
- 23,642
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0.25
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 15,887
- blame_failures
- 0
- files_blamed
- 48
- other_lines
- 7,755
- quality:ai_findings
- 0
- quality:ai_per_kloc
- 0
- quality:other_findings
- 0
- quality:other_per_kloc
- 0
- security:ai_findings
- 4
- security:ai_per_kloc
- 0.25
- security:other_findings
- 0
- security:other_per_kloc
- 0
Code quality
59 weak
Code quality is weak: test-to-source ratio 0.11, CI runs tests; 46% of function code in complex or long functions; 16% duplicated lines. Weakest area: complexity.
How the score is built
- Complexity25
- Duplication38
- Lint and smells100
- Tests and CI80
- Documentation40
- Type safetynot measured
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- dispatch in src/command/mod.rs: complexity 277, 529 lines
- execute_redis_command in src/scripting.rs: complexity 198, 779 lines
- get_command_info in src/command/server_cmd.rs: complexity 147, 154 lines
- cmd_zadd in src/command/sorted_set.rs: complexity 63, 180 lines
- zset_combine_op in src/command/sorted_set.rs: complexity 62, 215 lines
- cmd_bitfield in src/command/bitmap.rs: complexity 58, 334 lines
- cmd_set in src/command/string.rs: complexity 58, 189 lines
- cmd_msetex in src/command/string.rs: complexity 48, 142 lines
- save_to_writer in src/persistence/rdb.rs: complexity 48, 80 lines
- process_command in src/server.rs: complexity 48, 179 lines
- complex_functions
- 69
- function_nloc
- 19,678
- functions
- 706
- long_functions
- 35
- many_param_functions
- 11
- mean_ccn
- 7
- p90_ccn
- 15
- risky_nloc_share
- 45.6%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: src/command/bitmap.rs:104 and src/command/bitmap.rs:159
- 6+ duplicated lines: src/command/geo.rs:36 and src/command/sorted_set.rs:41
- 6+ duplicated lines: src/command/geo.rs:198 and src/command/geo.rs:792
- 6+ duplicated lines: src/command/geo.rs:814 and src/command/hash.rs:338
- 6+ duplicated lines: src/command/hash.rs:32 and src/command/hash.rs:67
- 6+ duplicated lines: src/command/hash.rs:201 and src/command/list.rs:316
- 6+ duplicated lines: src/command/hash.rs:310 and src/command/sorted_set.rs:2088
- 6+ duplicated lines: src/command/hash.rs:582 and src/command/key.rs:844
- 6+ duplicated lines: src/command/hash.rs:583 and src/command/set.rs:307
- 6+ duplicated lines: src/command/hyperloglog.rs:98 and src/command/hyperloglog.rs:158
- compared_lines
- 16,600
- duplicated_lines
- 2,676
- duplicated_share
- 16.1%
- files
- 48
Lintok
- findings
- 0
- scanned_lines
- 23,642
- weighted_findings
- 0
Tests and CIok3 items
- CI config: .github/workflows/ci.yml
.github/workflows/ci.yml - CI runs tests (go test, cargo test)
- CI runs linters (clippy, rustfmt, cargo fmt)
- check:ci_present
- yes
- check:ci_runs_lint
- yes
- check:ci_runs_tests
- yes
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- yes
- ci_files
- 1
- cochange_commits
- 19
- cochange_share
- 36.8%
- source_lines
- 23,642
- test_lines
- 2,565
- test_ratio
- 0.11
Documentationok1 item
- README.md
README.md
- check:changelog
- no
- check:contributing
- no
- check:license
- no
- check:readme
- yes
- readme_lines
- 285
Type safetyskipped
Security
72 adequate
Security posture is adequate: 4 known vulnerabilities in 4 dependencies; 6 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)98
- Vulnerable dependencies82
- CI workflows26
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 10
- declared
- 10
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 0
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 4
- findings_high
- 0
- findings_low
- 4
- findings_medium
- 0
- parse_errors
- 0
- scanned_lines
- 23,642
- weighted_findings
- 1
Dependencies (osv-scanner)ok
- penalty
- 12
- vulnerabilities
- 4
- vulnerable_packages
- 4
- vulns_critical
- 0
- vulns_high
- 0
- vulns_low
- 0
- vulns_medium
- 0
- vulns_unknown
- 4
CI workflows (zizmor)ok
- findings
- 11
- findings_high
- 6
- findings_low
- 0
- findings_medium
- 5
- penalty
- 81.60
- workflows
- 1
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
6 high9 medium4 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:17 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:18 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:21 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:33 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:34 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:35 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:1 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:13 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:17 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:29 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:33 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | osv/GHSA-cq8v-f236-94qc |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0097, GHSA-cq8v-f236-94qc | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2026-0386 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0386 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2026-0441 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0441 | Dependencies (osv-scanner) |
| medium | osv/RUSTSEC-2026-0486 |
Cargo.lock | [email protected] (crates.io) is affected by RUSTSEC-2026-0486 | Dependencies (osv-scanner) |
| low | opengrep/rust.lang.security.args |
src/bin/cedis-cli.rs:13 | args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.args |
src/main.rs:23 | args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied... | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.unsafe-usage |
src/scripting.rs:1255 | Detected 'unsafe' usage, please audit for secure usage [confidence high] | Static analysis (opengrep) |
| low | opengrep/rust.lang.security.unsafe-usage |
src/scripting.rs:1269 | Detected 'unsafe' usage, please audit for secure usage [confidence high] | Static analysis (opengrep) |
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 | 0 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | skipped | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 11 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 4 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | ok | — | 0 | |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 4 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 0 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | dbac87d791b7 | prov-5+qual-2+sec-2 | 69% | 59 | 72 |
| 2026-11-14 | dbac87d791b7 | prov-4+qual-2+sec-2 | 69% | 59 | 72 |
Full text report
- Repository: https://github.com/jonwiggins/cedis
- Commit:
dbac87d791b70635fd890afa2e919e76053022ea - Generated: 2026-11-14T14:52:05+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 69 | explicit | 76% | 100% |
| Code quality | 59 | weak | 90% | 100% |
| Security | 72 | adequate | 85% | 100% |
AI provenance
Explicit AI attribution on 69% of first-party code added; an estimated 69% including velocity signals.
- Explicitly attributed share (lower bound): 69.4%
- Unattributed share in AI-consistent velocity bursts: 27.3%
- Estimated AI-generated share: 69.4%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 12 | 19,893 |
- AI tooling configured in repo: claude-code
Current source lines last changed by AI-attributed commits: 15,887 of 23,642.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.0 | 0.0 | n/a |
| Security | 0.252 | 0.0 | n/a |
- Stylometry index: 0.25 per 1,000 lines (narrated steps 6, placeholders 0, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-02 | 28,651 | 69% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (74e90899c4d6)
- Claude Code: trailer 'Co-Authored-By: Claude' (62abbeb9b4b1)
- Claude Code: trailer 'Co-Authored-By: Claude' (e58803dd88bc)
- Claude Code: trailer 'Co-Authored-By: Claude' (4301a8c94e62)
- Claude Code: trailer 'Co-Authored-By: Claude' (2d6e157b86b5)
- Claude Code: trailer 'Co-Authored-By: Claude' (7d8ae958a664)
- Claude Code: trailer 'Co-Authored-By: Claude' (a1f664a896fe)
- Claude Code: trailer 'Co-Authored-By: Claude' (85edc38aceac)
- Claude Code: trailer 'Co-Authored-By: Claude' (361f7676f0b9)
- Claude Code: trailer 'Co-Authored-By: Claude' (fba6e07f0d0c)
- Claude Code: trailer 'Co-Authored-By: Claude' (3c31ba700a17)
- Claude Code: trailer 'Co-Authored-By: Claude' (83e69ae88c6e)
- 2,761 lines of first-party code in ~0.8h (3,284 lines/hour, 1 commit session) (64c63fe2d8b4)
- 3,048 lines of first-party code in ~0.9h (3,217 lines/hour, 1 commit session) (538079c29420)
- CLAUDE.md (claude-code configuration) (CLAUDE.md)
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, CI runs tests; 46% of function code in complex or long functions; 16% duplicated lines. Weakest area: complexity.
| Area | Score |
|---|---|
| Complexity (lizard) | 25 |
| Duplication | 38 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 80 |
| Documentation | 40 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 706; mean complexity 7.0, 90th percentile 15; 69 complex and 35 long functions
- Duplicated lines: 16.1% of 16,600 compared
- Tests: 2,565 test lines for 23,642 source lines (ratio 0.11); CI test commands: go test, cargo test; 37% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Most complex functions:
- dispatch in src/command/mod.rs: complexity 277, 529 lines
- execute_redis_command in src/scripting.rs: complexity 198, 779 lines
- get_command_info in src/command/server_cmd.rs: complexity 147, 154 lines
- cmd_zadd in src/command/sorted_set.rs: complexity 63, 180 lines
- zset_combine_op in src/command/sorted_set.rs: complexity 62, 215 lines
Security
Security posture is adequate: 4 known vulnerabilities in 4 dependencies; 6 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 98 |
| Vulnerable dependencies (OSV) | 82 |
| CI workflows (zizmor) | 26 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 4 in 4 packages (critical 0, high 0, medium 0, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:17 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:18 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:21 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:33 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:34 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:35 |
| medium | osv/RUSTSEC-2026-0441: [email protected] (crates.io) is affected by RUSTSEC-2026-0441 |
Cargo.lock |
| medium | osv/GHSA-cq8v-f236-94qc: [email protected] (crates.io) is affected by RUSTSEC-2026-0097, GHSA-cq8v-f236-94qc |
Cargo.lock |
| medium | osv/RUSTSEC-2026-0486: [email protected] (crates.io) is affected by RUSTSEC-2026-0486 |
Cargo.lock |
| medium | osv/RUSTSEC-2026-0386: [email protected] (crates.io) is affected by RUSTSEC-2026-0386 |
Cargo.lock |
| medium | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:17 |
| medium | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:33 |
| medium | zizmor/excessive-permissions: overly broad permissions [confidence medium] |
.github/workflows/ci.yml:1 |
| medium | zizmor/excessive-permissions: overly broad permissions [confidence medium] |
.github/workflows/ci.yml:13 |
| medium | zizmor/excessive-permissions: overly broad permissions [confidence medium] |
.github/workflows/ci.yml:29 |
| low | opengrep/rust.lang.security.args: args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes." [confidence high] |
src/bin/cedis-cli.rs:13 |
| low | opengrep/rust.lang.security.args: args should not be used for security operations. From the docs: "The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes." [confidence high] |
src/main.rs:23 |
| low | opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] |
src/scripting.rs:1255 |
| low | opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] |
src/scripting.rs:1269 |
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: 23,642; test lines: 2,565
| Language | Lines |
|---|---|
| Rust | 26,207 |