Leaderboard github.com
DuskyElf/prep-jee
Upload JEE test PDFs → interactive quiz → instant grading
AI provenance
0%
possible
- Confidence
- 48%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
55/100
weak
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
66/100
weak
- 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 bursts50%
- Estimated AI-generated share0%
- AI tool configuration files1
- Work sessions at AI pace1
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)1.98
Lines added per month all AI-attributed share
- 2026-066,593 · 0% AI
- 2026-07134 · 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
- 33
- effective_loc
- 6,727
- tools_detected
- 0
AI tool configurationok1 item
- artifacts
- 1
- earliest_adoption
- 2026-06-25
- tools_configured
- 1
- workflow_agents
- 0
Commit velocityok1 item
- excluded_import_loc
- 0
- flagged_loc
- 3,389
- flagged_loc_share
- 50.4%
- flagged_units
- 1
- max_loc_per_hour
- 896.10
- measured_loc
- 6,727
- median_loc_per_hour
- 210.50
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 6
Release velocityskipped
Coding styleok4 items
- step-by-step narration comment: // Step 1: Find the first type marker — questions begin after this
- step-by-step narration comment: // Step 2: Find question numbers after the first type marker
- step-by-step narration comment: // Step 3: Scan type markers
- step-by-step narration comment: // Step 4: Map each question number to its type and page
- count:assistant_voice
- 0
- count:emoji_in_code
- 8
- count:narrated_steps
- 4
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 4
- files:narrated_steps
- 1
- files:placeholder
- 0
- index
- 1.98
- lines_scanned
- 4,035
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 1.98
- per_kloc:narrated_steps
- 0.99
- per_kloc:placeholder
- 0
Code quality
55 weak
Code quality is weak: test-to-source ratio 0.00, no CI test run detected; 14% of function code in complex or long functions; 7% duplicated lines. Weakest area: testing.
How the score is built
- Complexity65
- Duplication68
- Lint and smells100
- Tests and CI0
- Documentation65
- Type safety100
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok4 items
- parseQuestions in src/question-parser.ts: complexity 34, 109 lines
- (anonymous) in src/App.tsx: complexity 18, 67 lines
- reconstructLines in src/pdf-utils.ts: complexity 16, 43 lines
- QuizScreen in src/components/QuizScreen.tsx: complexity 4, 123 lines
- complex_functions
- 3
- function_nloc
- 2,379
- functions
- 243
- long_functions
- 2
- many_param_functions
- 0
- mean_ccn
- 2.59
- p90_ccn
- 5
- risky_nloc_share
- 14.4%
Duplication (jscpd)ok9 items
- 6+ duplicated lines: src/App.tsx:72 and src/App.tsx:173
- 6+ duplicated lines: src/components/QuizScreen.tsx:176 and src/components/ResultsScreen.tsx:90
- 6+ duplicated lines: src/components/QuizScreen.tsx:288 and src/components/QuizScreen.tsx:358
- 6+ duplicated lines: src/components/QuizScreen.tsx:355 and src/components/QuizTimer.tsx:106
- 6+ duplicated lines: src/components/QuizTimer.tsx:110 and src/components/UploadScreen.tsx:209
- 6+ duplicated lines: src/components/ResultsScreen.tsx:55 and src/quiz-engine.ts:136
- 6+ duplicated lines: src/components/ResultsScreen.tsx:199 and src/components/ResultsScreen.tsx:211
- 6+ duplicated lines: src/components/UploadScreen.tsx:41 and src/components/UploadScreen.tsx:151
- 6+ duplicated lines: src/store.ts:31 and src/store.ts:154
- compared_lines
- 2,856
- duplicated_lines
- 187
- duplicated_share
- 6.6%
- files
- 19
Lintok
- findings
- 0
- scanned_lines
- 4,035
- weighted_findings
- 0
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
- no
- ci_files
- 0
- cochange_commits
- 23
- cochange_share
- 0.0%
- source_lines
- 4,035
- 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
- 28
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
66 weak
Security posture is weak: 70 known vulnerabilities in 14 dependencies. Weakest area: dependencies.
How the score is built
- Secrets100
- Static analysis (SAST)98
- Vulnerable dependencies14
- CI workflowsnot measured
- Security posture20
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 15
- declared
- 15
- 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
- 1
- findings_high
- 0
- findings_low
- 0
- findings_medium
- 1
- parse_errors
- 0
- scanned_lines
- 4,035
- weighted_findings
- 0.25
Dependencies (osv-scanner)ok
- penalty
- 116
- vulnerabilities
- 70
- vulnerable_packages
- 14
- vulns_critical
- 2
- vulns_high
- 40
- vulns_low
- 4
- vulns_medium
- 24
- vulns_unknown
- 0
CI workflows (zizmor)skipped
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- yes
- signed_commit_share
- 100.0%
- unpinned_manifests
- 0
Release downloadsok
- binary_assets
- 0
- signals
- 0
- suspicious
- 0
Findings
2 critical40 high25 medium4 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-23hp-3jrh-7fpw |
package-lock.json | [email protected] (npm) is affected by GHSA-23hp-3jrh-7fpw | Dependencies (osv-scanner) |
| critical | osv/GHSA-p6vx-979v-rg4c |
package-lock.json | [email protected] (npm) is affected by GHSA-p6vx-979v-rg4c | Dependencies (osv-scanner) |
| high | osv/GHSA-28wg-ghj8-5hjv |
package-lock.json | [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv | Dependencies (osv-scanner) |
| high | osv/GHSA-2m5v-pch6-74hx |
package-lock.json | [email protected] (npm) is affected by GHSA-2m5v-pch6-74hx | Dependencies (osv-scanner) |
| high | osv/GHSA-2v37-7h3g-55p8 |
package-lock.json | [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 | Dependencies (osv-scanner) |
| high | osv/GHSA-34x7-hfp2-rc4v |
package-lock.json | [email protected] (npm) is affected by GHSA-34x7-hfp2-rc4v | Dependencies (osv-scanner) |
| high | osv/GHSA-3jxr-9vmj-r5cp |
package-lock.json | [email protected] (npm) is affected by GHSA-3jxr-9vmj-r5cp | Dependencies (osv-scanner) |
| high | osv/GHSA-3jxr-9vmj-r5cp |
package-lock.json | [email protected] (npm) is affected by GHSA-3jxr-9vmj-r5cp | Dependencies (osv-scanner) |
| high | osv/GHSA-4cwx-7wf7-3272 |
package-lock.json | [email protected] (npm) is affected by GHSA-4cwx-7wf7-3272 | Dependencies (osv-scanner) |
| high | osv/GHSA-4w7w-5xrc-9h26 |
package-lock.json | [email protected] (npm) is affected by GHSA-4w7w-5xrc-9h26 | Dependencies (osv-scanner) |
| high | osv/GHSA-587h-7wmj-h5pm |
package-lock.json | [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm | Dependencies (osv-scanner) |
| high | osv/GHSA-68fv-2mgg-jv7q |
package-lock.json | [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q | Dependencies (osv-scanner) |
| high | osv/GHSA-6j4f-fj2g-mc7p |
package-lock.json | [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p | Dependencies (osv-scanner) |
| high | osv/GHSA-6j4f-fj2g-mc7p |
package-lock.json | [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p | Dependencies (osv-scanner) |
| high | osv/GHSA-73wf-gq98-2v4g |
package-lock.json | [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g | Dependencies (osv-scanner) |
| high | osv/GHSA-7rv5-mrxv-xcr9 |
package-lock.json | [email protected] (npm) is affected by GHSA-7rv5-mrxv-xcr9 | Dependencies (osv-scanner) |
| high | osv/GHSA-83g3-92jg-28cx |
package-lock.json | [email protected] (npm) is affected by GHSA-83g3-92jg-28cx | Dependencies (osv-scanner) |
| high | osv/GHSA-8qq5-rm4j-mr97 |
package-lock.json | [email protected] (npm) is affected by GHSA-8qq5-rm4j-mr97 | Dependencies (osv-scanner) |
| high | osv/GHSA-8x88-c5mf-7j5w |
package-lock.json | [email protected] (npm) is affected by GHSA-8x88-c5mf-7j5w | Dependencies (osv-scanner) |
| high | osv/GHSA-97r2-qh9m-474h |
package-lock.json | [email protected] (npm) is affected by GHSA-97r2-qh9m-474h | Dependencies (osv-scanner) |
| high | osv/GHSA-9ppj-qmqm-q256 |
package-lock.json | [email protected] (npm) is affected by GHSA-9ppj-qmqm-q256 | Dependencies (osv-scanner) |
| high | osv/GHSA-c83g-rgw3-j3cx |
package-lock.json | [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx | Dependencies (osv-scanner) |
| high | osv/GHSA-f88m-g3jw-g9cj |
package-lock.json | [email protected] (npm) is affected by GHSA-f88m-g3jw-g9cj | Dependencies (osv-scanner) |
| high | osv/GHSA-jp82-f5mq-hwhp |
package-lock.json | [email protected] (npm) is affected by GHSA-jp82-f5mq-hwhp | Dependencies (osv-scanner) |
| high | osv/GHSA-mh99-v99m-4gvg |
package-lock.json | [email protected] (npm) is affected by GHSA-mh99-v99m-4gvg | Dependencies (osv-scanner) |
| high | osv/GHSA-mh99-v99m-4gvg |
package-lock.json | [email protected] (npm) is affected by GHSA-mh99-v99m-4gvg | Dependencies (osv-scanner) |
| high | osv/GHSA-qffp-2rhf-9h96 |
package-lock.json | [email protected] (npm) is affected by GHSA-qffp-2rhf-9h96 | Dependencies (osv-scanner) |
| high | osv/GHSA-qhr7-859c-m2p7 |
package-lock.json | [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 | Dependencies (osv-scanner) |
| high | osv/GHSA-qhr7-859c-m2p7 |
package-lock.json | [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 | Dependencies (osv-scanner) |
| high | osv/GHSA-qrxm-fqhp-jwvm |
package-lock.json | [email protected] (npm) is affected by GHSA-qrxm-fqhp-jwvm | Dependencies (osv-scanner) |
| high | osv/GHSA-r28c-9q8g-f849 |
package-lock.json | [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 | Dependencies (osv-scanner) |
| high | osv/GHSA-r292-9mhp-454m |
package-lock.json | [email protected] (npm) is affected by GHSA-r292-9mhp-454m | Dependencies (osv-scanner) |
| high | osv/GHSA-r6q2-hw4h-h46w |
package-lock.json | [email protected] (npm) is affected by GHSA-r6q2-hw4h-h46w | Dependencies (osv-scanner) |
| high | osv/GHSA-rfgv-xxqx-mfg5 |
package-lock.json | [email protected] (npm) is affected by GHSA-rfgv-xxqx-mfg5 | Dependencies (osv-scanner) |
| high | osv/GHSA-rgj7-g3m4-5g8c |
package-lock.json | [email protected] (npm) is affected by GHSA-rgj7-g3m4-5g8c | Dependencies (osv-scanner) |
| high | osv/GHSA-rgw5-rvv9-x895 |
package-lock.json | [email protected] (npm) is affected by GHSA-rgw5-rvv9-x895 | Dependencies (osv-scanner) |
| high | osv/GHSA-rgw5-rvv9-x895 |
package-lock.json | [email protected] (npm) is affected by GHSA-rgw5-rvv9-x895 | Dependencies (osv-scanner) |
| high | osv/GHSA-w293-vg96-wgc3 |
package-lock.json | [email protected] (npm) is affected by GHSA-w293-vg96-wgc3 | Dependencies (osv-scanner) |
| high | osv/GHSA-wgrm-67xf-hhpq |
package-lock.json | [email protected] (npm) is affected by GHSA-wgrm-67xf-hhpq | Dependencies (osv-scanner) |
| high | osv/GHSA-wp97-x4hv-qvhp |
package-lock.json | [email protected] (npm) is affected by GHSA-wp97-x4hv-qvhp | Dependencies (osv-scanner) |
| high | osv/GHSA-wq5f-xc86-pv6w |
package-lock.json | [email protected] (npm) is affected by GHSA-wq5f-xc86-pv6w | Dependencies (osv-scanner) |
| high | osv/GHSA-xjj6-f33q-929c |
package-lock.json | [email protected] (npm) is affected by GHSA-xjj6-f33q-929c | Dependencies (osv-scanner) |
| medium | osv/GHSA-2jfj-6hjv-fm6j |
package-lock.json | [email protected] (npm) is affected by GHSA-2jfj-6hjv-fm6j | Dependencies (osv-scanner) |
| medium | osv/GHSA-3wwx-pv8p-q78v |
package-lock.json | [email protected] (npm) is affected by GHSA-3wwx-pv8p-q78v | Dependencies (osv-scanner) |
| medium | osv/GHSA-3xpg-4rpp-hhhm |
package-lock.json | [email protected] (npm) is affected by GHSA-3xpg-4rpp-hhhm | Dependencies (osv-scanner) |
| medium | osv/GHSA-4qv8-2p9j-2685 |
package-lock.json | [email protected] (npm) is affected by GHSA-4qv8-2p9j-2685 | Dependencies (osv-scanner) |
| medium | osv/GHSA-55wc-3pg8-jfw6 |
package-lock.json | [email protected] (npm) is affected by GHSA-55wc-3pg8-jfw6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-698v-4r3x-3vcv |
package-lock.json | [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv | Dependencies (osv-scanner) |
| medium | osv/GHSA-8xcm-r25x-g524 |
package-lock.json | [email protected] (npm) is affected by GHSA-8xcm-r25x-g524 | Dependencies (osv-scanner) |
| medium | osv/GHSA-9fm3-97px-rjf6 |
package-lock.json | [email protected] (npm) is affected by GHSA-9fm3-97px-rjf6 | Dependencies (osv-scanner) |
| medium | osv/GHSA-f72v-6w45-q472 |
package-lock.json | [email protected] (npm) is affected by GHSA-f72v-6w45-q472 | Dependencies (osv-scanner) |
| medium | osv/GHSA-fxqj-rqcc-2cmp |
package-lock.json | [email protected] (npm) is affected by GHSA-fxqj-rqcc-2cmp | Dependencies (osv-scanner) |
| medium | osv/GHSA-g3hv-75wg-m249 |
package-lock.json | [email protected] (npm) is affected by GHSA-g3hv-75wg-m249 | Dependencies (osv-scanner) |
| medium | osv/GHSA-gvwx-54wh-qm9j |
package-lock.json | [email protected] (npm) is affected by GHSA-gvwx-54wh-qm9j | Dependencies (osv-scanner) |
| medium | osv/GHSA-jr45-8vmc-qm54 |
package-lock.json | [email protected] (npm) is affected by GHSA-jr45-8vmc-qm54 | Dependencies (osv-scanner) |
| medium | osv/GHSA-m8rv-5g2x-5cg5 |
package-lock.json | [email protected] (npm) is affected by GHSA-m8rv-5g2x-5cg5 | Dependencies (osv-scanner) |
| medium | osv/GHSA-pmjh-fq2x-6v4x |
package-lock.json | [email protected] (npm) is affected by GHSA-pmjh-fq2x-6v4x | Dependencies (osv-scanner) |
| medium | osv/GHSA-q2hr-2g5m-vwhr |
package-lock.json | [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr | Dependencies (osv-scanner) |
| medium | osv/GHSA-q2hr-2g5m-vwhr |
package-lock.json | [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr | Dependencies (osv-scanner) |
| medium | osv/GHSA-r825-w8mm-5pxw |
package-lock.json | [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw | Dependencies (osv-scanner) |
| medium | osv/GHSA-rq7h-c2jc-7f22 |
package-lock.json | [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 | Dependencies (osv-scanner) |
| medium | osv/GHSA-rx4f-c7p8-82vq |
package-lock.json | [email protected] (npm) is affected by GHSA-rx4f-c7p8-82vq | Dependencies (osv-scanner) |
| medium | osv/GHSA-v3r7-h72x-cjcm |
package-lock.json | [email protected] (npm) is affected by GHSA-v3r7-h72x-cjcm | Dependencies (osv-scanner) |
| medium | osv/GHSA-vmf3-w455-68vh |
package-lock.json | [email protected] (npm) is affected by GHSA-vmf3-w455-68vh | Dependencies (osv-scanner) |
| medium | osv/GHSA-w5vr-8v7q-w6rv |
package-lock.json | [email protected] (npm) is affected by GHSA-w5vr-8v7q-w6rv | Dependencies (osv-scanner) |
| medium | osv/GHSA-w8wr-v893-vjvp |
package-lock.json | [email protected] (npm) is affected by GHSA-w8wr-v893-vjvp | Dependencies (osv-scanner) |
| medium | opengrep/javascript.lang.security.audit.detect-non-literal-regexp |
src/question-parser.ts:485 | RegExp() called with a `qnum` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use... | Static analysis (opengrep) |
| low | osv/GHSA-2gqq-gqf2-x968 |
package-lock.json | [email protected] (npm) is affected by GHSA-2gqq-gqf2-x968 | Dependencies (osv-scanner) |
| low | osv/GHSA-8436-99hf-9mmv |
package-lock.json | [email protected] (npm) is affected by GHSA-8436-99hf-9mmv | Dependencies (osv-scanner) |
| low | osv/GHSA-9jrq-w75r-8gcw |
package-lock.json | [email protected] (npm) is affected by GHSA-9jrq-w75r-8gcw | Dependencies (osv-scanner) |
| low | osv/GHSA-r53p-7pc4-xj5r |
package-lock.json | [email protected] (npm) is affected by GHSA-r53p-7pc4-xj5r | Dependencies (osv-scanner) |
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 | 0 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | skipped | — | 0 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 70 | |
| 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 | 1 | |
| 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 | 390745710638 | prov-5+qual-2+sec-2 | 0% | 55 | 66 |
| 2026-11-14 | 390745710638 | prov-4+qual-2+sec-2 | 0% | 55 | 66 |
Full text report
- Repository: https://github.com/DuskyElf/prep-jee
- Commit:
390745710638e2a2298077e7af4d72233fc5e1fe - Generated: 2026-11-14T14:52:00+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 | 48% | 100% |
| Code quality | 55 | weak | 90% | 100% |
| Security | 66 | weak | 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: 50.4%
-
Estimated AI-generated share: 0.0%
-
AI tooling configured in repo: generic-agent
-
Stylometry index: 1.98 per 1,000 lines (narrated steps 4, placeholders 0, assistant phrasing 0, emoji 8). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-06 | 6,593 | 0% |
| 2026-07 | 134 | 0% |
Evidence
- AGENTS.md (generic-agent configuration) (AGENTS.md)
- 3,389 lines of first-party code in ~3.8h (896 lines/hour, 5 commit session) (64911fa09d44)
- step-by-step narration comment: // Step 1: Find the first type marker — questions begin after this (src/question)
- step-by-step narration comment: // Step 2: Find question numbers after the first type marker (src/question)
- step-by-step narration comment: // Step 3: Scan type markers (src/question)
- step-by-step narration comment: // Step 4: Map each question number to its type and page (src/question)
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.00, no CI test run detected; 14% of function code in complex or long functions; 7% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 65 |
| Duplication | 68 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 0 |
| Documentation | 65 |
| Type safety | 100 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 243; mean complexity 2.6, 90th percentile 5; 3 complex and 2 long functions
- Duplicated lines: 6.6% of 2,856 compared
- Tests: 0 test lines for 4,035 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- parseQuestions in src/question-parser.ts: complexity 34, 109 lines
- (anonymous) in src/App.tsx: complexity 18, 67 lines
- reconstructLines in src/pdf-utils.ts: complexity 16, 43 lines
- QuizScreen in src/components/QuizScreen.tsx: complexity 4, 123 lines
Security
Security posture is weak: 70 known vulnerabilities in 14 dependencies. Weakest area: dependencies.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 98 |
| Vulnerable dependencies (OSV) | 14 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 20 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 70 in 14 packages (critical 2, high 40, medium 24, low 4)
-
Posture checks passed: signed commits, lockfiles; missing: security policy, dependency updates
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-p6vx-979v-rg4c: [email protected] (npm) is affected by GHSA-p6vx-979v-rg4c |
package-lock.json |
| critical | osv/GHSA-23hp-3jrh-7fpw: [email protected] (npm) is affected by GHSA-23hp-3jrh-7fpw |
package-lock.json |
| high | osv/GHSA-3jxr-9vmj-r5cp: [email protected] (npm) is affected by GHSA-3jxr-9vmj-r5cp |
package-lock.json |
| high | osv/GHSA-6j4f-fj2g-mc7p: [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p |
package-lock.json |
| high | osv/GHSA-mh99-v99m-4gvg: [email protected] (npm) is affected by GHSA-mh99-v99m-4gvg |
package-lock.json |
| high | osv/GHSA-qhr7-859c-m2p7: [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 |
package-lock.json |
| high | osv/GHSA-rgw5-rvv9-x895: [email protected] (npm) is affected by GHSA-rgw5-rvv9-x895 |
package-lock.json |
| high | osv/GHSA-3jxr-9vmj-r5cp: [email protected] (npm) is affected by GHSA-3jxr-9vmj-r5cp |
package-lock.json |
| high | osv/GHSA-6j4f-fj2g-mc7p: [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p |
package-lock.json |
| high | osv/GHSA-mh99-v99m-4gvg: [email protected] (npm) is affected by GHSA-mh99-v99m-4gvg |
package-lock.json |
| high | osv/GHSA-qhr7-859c-m2p7: [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 |
package-lock.json |
| high | osv/GHSA-rgw5-rvv9-x895: [email protected] (npm) is affected by GHSA-rgw5-rvv9-x895 |
package-lock.json |
| high | osv/GHSA-73wf-gq98-2v4g: [email protected] (npm) is affected by GHSA-73wf-gq98-2v4g |
package-lock.json |
| high | osv/GHSA-c83g-rgw3-j3cx: [email protected] (npm) is affected by GHSA-c83g-rgw3-j3cx |
package-lock.json |
| high | osv/GHSA-28wg-ghj8-5hjv: [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv |
package-lock.json |
| high | osv/GHSA-2v37-7h3g-55p8: [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 |
package-lock.json |
| high | osv/GHSA-wgrm-67xf-hhpq: [email protected] (npm) is affected by GHSA-wgrm-67xf-hhpq |
package-lock.json |
| high | osv/GHSA-r28c-9q8g-f849: [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 |
package-lock.json |
| high | osv/GHSA-7rv5-mrxv-xcr9: [email protected] (npm) is affected by GHSA-7rv5-mrxv-xcr9 |
package-lock.json |
| high | osv/GHSA-97r2-qh9m-474h: [email protected] (npm) is affected by GHSA-97r2-qh9m-474h |
package-lock.json |
| high | osv/GHSA-jp82-f5mq-hwhp: [email protected] (npm) is affected by GHSA-jp82-f5mq-hwhp |
package-lock.json |
| high | osv/GHSA-wp97-x4hv-qvhp: [email protected] (npm) is affected by GHSA-wp97-x4hv-qvhp |
package-lock.json |
| high | osv/GHSA-f88m-g3jw-g9cj: [email protected] (npm) is affected by GHSA-f88m-g3jw-g9cj |
package-lock.json |
| high | osv/GHSA-rgj7-g3m4-5g8c: [email protected] (npm) is affected by GHSA-rgj7-g3m4-5g8c |
package-lock.json |
| high | osv/GHSA-wq5f-xc86-pv6w: [email protected] (npm) is affected by GHSA-wq5f-xc86-pv6w |
package-lock.json |
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,035; test lines: 0
| Language | Lines |
|---|---|
| TypeScript | 3,822 |
| JavaScript | 213 |