Leaderboard github.com
RaihanKaskandar/basket
A self-hosted household grocery list that understands English and Dutch
AI provenance
0%
possible
- Confidence
- 41%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
77/100
adequate
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
77/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
0% possible
Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence).
How the score is built
- Explicitly attributed share0%
- Unattributed share in AI-pace bursts0%
- Estimated AI-generated share0%
- AI tool configuration files0
- Work sessions at AI pace0
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)1.99
Lines added per month all AI-attributed share
- 2026-104,145 · 0% AI
- 2026-119 · 0% AI
Evidence by analyzer
Explicit AI attributionok
- attributed_commit_share
- 0.0%
- attributed_commits
- 0
- attributed_loc
- 0
- attributed_loc_share
- 0.0%
- commits
- 2
- effective_loc
- 4,154
- tools_detected
- 0
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 4,145
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 2.25
- measured_loc
- 9
- median_loc_per_hour
- 0
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 1
Release velocityskipped
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 16
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 3
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 1.99
- lines_scanned
- 4,023
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 3.98
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Code quality
77 adequate
Code quality is adequate: test-to-source ratio 0.03, CI runs tests; 15% of function code in complex or long functions; 1% duplicated lines. Weakest area: complexity.
How the score is built
- Complexity64
- Duplication95
- Lint and smells94
- Tests and CI66
- Documentation65
- Type safety100
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok5 items
- paint in scripts/make-icons.mjs: complexity 21, 26 lines
- suggestions in server/suggest.ts: complexity 18, 46 lines
- scoreTerm in shared/match.ts: complexity 17, 16 lines
- App in src/App.tsx: complexity 13, 138 lines
- SettingsSheet in src/components/SettingsSheet.tsx: complexity 3, 174 lines
- complex_functions
- 3
- function_nloc
- 2,693
- functions
- 418
- long_functions
- 2
- many_param_functions
- 0
- mean_ccn
- 2.19
- p90_ccn
- 4
- risky_nloc_share
- 14.8%
Duplication (jscpd)ok2 items
- 6+ duplicated lines: src/App.tsx:9 and src/api.ts:8
- 6+ duplicated lines: src/components/Sidebar.tsx:101 and src/components/Suggestions.tsx:28
- compared_lines
- 3,054
- duplicated_lines
- 26
- duplicated_share
- 0.9%
- files
- 34
Lintok
- category:best-practice
- 1
- findings
- 1
- scanned_lines
- 4,023
- weighted_findings
- 1
Tests and CIok2 items
- CI config: .github/workflows/ci.yml
.github/workflows/ci.yml - CI runs tests (npm test)
- check:ci_present
- yes
- check:ci_runs_lint
- no
- check:ci_runs_tests
- yes
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- yes
- ci_files
- 1
- cochange_commits
- 2
- cochange_share
- 50.0%
- source_lines
- 4,023
- test_lines
- 115
- test_ratio
- 0.03
Documentationok2 items
- README.md
README.md - LICENSE
LICENSE
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 143
Type safetyok1 item
- TypeScript strict type checking: tsconfig.json
tsconfig.json
- check:low_escape_density
- yes
- check:strict_config
- yes
- escapes
- 0
- escapes_per_kloc
- 0
Security
77 adequate
Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 3 high-severity workflow issues. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)100
- Vulnerable dependencies88
- CI workflows47
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 12
- declared
- 12
- 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
- 0
- findings_high
- 0
- findings_low
- 0
- findings_medium
- 0
- parse_errors
- 0
- scanned_lines
- 4,023
- weighted_findings
- 0
Dependencies (osv-scanner)ok
- penalty
- 8
- vulnerabilities
- 1
- vulnerable_packages
- 1
- vulns_critical
- 0
- vulns_high
- 1
- vulns_low
- 0
- vulns_medium
- 0
- vulns_unknown
- 0
CI workflows (zizmor)ok
- findings
- 8
- findings_high
- 3
- findings_low
- 0
- findings_medium
- 5
- penalty
- 45.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
4 high6 medium
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:12 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:13 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | zizmor/unpinned-uses |
.github/workflows/ci.yml:26 | unpinned action reference [confidence high] | CI workflows (zizmor) |
| high | osv/GHSA-27r3-jxmh-p828 |
package-lock.json | [email protected] (npm) is affected by GHSA-27r3-jxmh-p828 | Dependencies (osv-scanner) |
| medium | opengrep/typescript.react.best-practice.react-props-spreading |
src/components/ListView.tsx:63 | It's best practice to explicitly pass props to an HTML component rather than use the spread operator. The spread operator risks passing invalid HTML props to an HTML element, which can cause console warnings or worse, give malicious... | Lint |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:1 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:12 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:23 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
| medium | zizmor/artipacked |
.github/workflows/ci.yml:26 | credential persistence through GitHub Actions artifacts [confidence low] | CI workflows (zizmor) |
| medium | zizmor/excessive-permissions |
.github/workflows/ci.yml:9 | overly broad permissions [confidence medium] | CI workflows (zizmor) |
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 | |
| 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 | 1 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 8 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 1 | |
| 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 | 0 | |
| 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 | cdb0f513c6c8 | prov-5+qual-2+sec-2 | 0% | 77 | 77 |
| 2026-11-14 | cdb0f513c6c8 | prov-4+qual-2+sec-2 | 0% | 77 | 77 |
Full text report
- Repository: https://github.com/RaihanKaskandar/basket
- Commit:
cdb0f513c6c82f4683a880260b37e8a49593d0bc - Generated: 2026-11-14T14:52:01+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) | 0 | possible | 41% | 100% |
| Code quality | 77 | adequate | 90% | 100% |
| Security | 77 | adequate | 85% | 100% |
AI provenance
Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence).
-
Explicitly attributed share (lower bound): 0.0%
-
Unattributed share in AI-consistent velocity bursts: 0.0%
-
Estimated AI-generated share: 0.0%
-
Stylometry index: 1.99 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 16). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-10 | 4,145 | 0% |
| 2026-11 | 9 | 0% |
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 adequate: test-to-source ratio 0.03, CI runs tests; 15% of function code in complex or long functions; 1% duplicated lines. Weakest area: complexity.
| Area | Score |
|---|---|
| Complexity (lizard) | 64 |
| Duplication | 95 |
| Code smells (Opengrep) | 94 |
| Tests and CI | 66 |
| Documentation | 65 |
| Type safety | 100 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 418; mean complexity 2.2, 90th percentile 4; 3 complex and 2 long functions
- Duplicated lines: 0.9% of 3,054 compared
- Tests: 115 test lines for 4,023 source lines (ratio 0.03); CI test commands: npm test; 50% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- paint in scripts/make-icons.mjs: complexity 21, 26 lines
- suggestions in server/suggest.ts: complexity 18, 46 lines
- scoreTerm in shared/match.ts: complexity 17, 16 lines
- App in src/App.tsx: complexity 13, 138 lines
- SettingsSheet in src/components/SettingsSheet.tsx: complexity 3, 174 lines
Security
Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 3 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 100 |
| Vulnerable dependencies (OSV) | 88 |
| CI workflows (zizmor) | 47 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 1 in 1 packages (critical 0, high 1, medium 0, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | osv/GHSA-27r3-jxmh-p828: [email protected] (npm) is affected by GHSA-27r3-jxmh-p828 |
package-lock.json |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:12 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:13 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:26 |
| medium | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:12 |
| medium | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:26 |
| 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:9 |
| medium | zizmor/excessive-permissions: overly broad permissions [confidence medium] |
.github/workflows/ci.yml:23 |
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: 4,023; test lines: 115
| Language | Lines |
|---|---|
| TypeScript | 4,001 |
| JavaScript | 137 |