Leaderboard github.com
realpython/discover-flask
Full Stack Web Development with Flask.
AI provenance
0%
none-detected
- Confidence
- 65%
- 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
71/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
0% none-detected
No AI attribution or AI-consistent velocity signals detected.
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 pace0
- Coding-style index (1.0+ means possible)0.00
Lines added per month all AI-attributed share
- 2014-06271 · 0% AI
- 2014-073 · 0% AI
- 2014-08222 · 0% AI
- 2014-09241 · 0% AI
- 2014-10114 · 0% AI
- 2014-11135 · 0% AI
- 2014-12269 · 0% AI
- 2015-011 · 0% AI
- 2015-120 · 0% AI
- 2017-040 · 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
- 142
- effective_loc
- 1,256
- tools_detected
- 0
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 0
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 49.75
- measured_loc
- 1,256
- median_loc_per_hour
- 49.12
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 1,256
- work_units
- 38
Release velocityok
- flagged_releases
- 0
- max_loc_per_day
- 38.80
- releases
- 28
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 0
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 0
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 0
- lines_scanned
- 528
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 0
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Code quality
77 adequate
Code quality is adequate: test-to-source ratio 0.36, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: docs.
How the score is built
- Complexity100
- Duplication100
- Lint and smells100
- Tests and CI55
- Documentation40
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok
- complex_functions
- 0
- function_nloc
- 132
- functions
- 24
- long_functions
- 0
- many_param_functions
- 0
- mean_ccn
- 1.29
- p90_ccn
- 2
- risky_nloc_share
- 0.0%
Duplication (jscpd)ok
- compared_lines
- 334
- duplicated_lines
- 0
- duplicated_share
- 0.0%
- files
- 18
Lintok
- findings
- 0
- scanned_lines
- 528
- weighted_findings
- 0
Tests and CIok1 item
- CI config: .travis.yml
.travis.yml
- check:ci_present
- yes
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- no
- ci_files
- 1
- cochange_commits
- 44
- cochange_share
- 4.5%
- source_lines
- 528
- test_lines
- 190
- test_ratio
- 0.36
Documentationok1 item
- readme.md
readme.md
- check:changelog
- no
- check:contributing
- no
- check:license
- no
- check:readme
- yes
- readme_lines
- 49
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 0
- escapes_per_kloc
- 0
Security
71 adequate
Security posture is adequate: 34 known vulnerabilities in 6 dependencies. Weakest area: posture.
How the score is built
- Secrets100
- Static analysis (SAST)100
- Vulnerable dependencies40
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 21
- declared
- 21
- 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
- 528
- weighted_findings
- 0
Dependencies (osv-scanner)ok
- penalty
- 55
- vulnerabilities
- 34
- vulnerable_packages
- 6
- vulns_critical
- 2
- vulns_high
- 17
- vulns_low
- 1
- vulns_medium
- 13
- vulns_unknown
- 1
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
2 critical17 high14 medium1 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| critical | osv/GHSA-38fc-9xqv-7f7q |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-124, GHSA-38fc-9xqv-7f7q | Dependencies (osv-scanner) |
| critical | osv/GHSA-887w-45rq-vxgf |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-123, GHSA-887w-45rq-vxgf | Dependencies (osv-scanner) |
| high | osv/GHSA-2g68-c3qc-8985 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2043, GHSA-2g68-c3qc-8985 | Dependencies (osv-scanner) |
| high | osv/GHSA-2h4p-vjrc-8xpq |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2617, GHSA-2h4p-vjrc-8xpq | Dependencies (osv-scanner) |
| high | osv/GHSA-32pc-xphx-q4f6 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2018-55, GHSA-32pc-xphx-q4f6 | Dependencies (osv-scanner) |
| high | osv/GHSA-462w-v97r-4m45 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-217, GHSA-462w-v97r-4m45 | Dependencies (osv-scanner) |
| high | osv/GHSA-562c-5r94-xh97 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2018-66, GHSA-562c-5r94-xh97 | Dependencies (osv-scanner) |
| high | osv/GHSA-5wv5-4vpf-pj6m |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-179, GHSA-5wv5-4vpf-pj6m | Dependencies (osv-scanner) |
| high | osv/GHSA-gq9m-qvpx-68hc |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-140, GHSA-gq9m-qvpx-68hc | Dependencies (osv-scanner) |
| high | osv/GHSA-hc5x-x2vx-497g |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1433, GHSA-hc5x-x2vx-497g | Dependencies (osv-scanner) |
| high | osv/GHSA-hj2j-77xm-mc5v |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2019-220, GHSA-hj2j-77xm-mc5v | Dependencies (osv-scanner) |
| high | osv/GHSA-j544-7q9p-6xp8 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1065, GHSA-j544-7q9p-6xp8 | Dependencies (osv-scanner) |
| high | osv/GHSA-m2qf-hxjv-5gpq |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2023-62, GHSA-m2qf-hxjv-5gpq | Dependencies (osv-scanner) |
| high | osv/GHSA-q2x7-8rv6-6q7h |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1475, GHSA-q2x7-8rv6-6q7h | Dependencies (osv-scanner) |
| high | osv/GHSA-v92g-xgxw-vvmm |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-88, GHSA-v92g-xgxw-vvmm | Dependencies (osv-scanner) |
| high | osv/GHSA-v973-fxgf-6xhp |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2022-260, GHSA-v973-fxgf-6xhp | Dependencies (osv-scanner) |
| high | osv/GHSA-w3h3-4rj7-4ph4 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1434, GHSA-w3h3-4rj7-4ph4 | Dependencies (osv-scanner) |
| high | osv/GHSA-xg9f-g7g7-2323 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2023-58, GHSA-xg9f-g7g7-2323 | Dependencies (osv-scanner) |
| high | osv/PYSEC-2023-221 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2023-221 | Dependencies (osv-scanner) |
| medium | osv/GHSA-29vq-49wr-vm6x |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2320, GHSA-29vq-49wr-vm6x | Dependencies (osv-scanner) |
| medium | osv/GHSA-3p3h-qghp-hvh2 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2020-157, GHSA-3p3h-qghp-hvh2 | Dependencies (osv-scanner) |
| medium | osv/GHSA-5639-2j2p-m4mx |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-4243, GHSA-5639-2j2p-m4mx | Dependencies (osv-scanner) |
| medium | osv/GHSA-68rp-wp8r-4726 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2151, GHSA-68rp-wp8r-4726 | Dependencies (osv-scanner) |
| medium | osv/GHSA-87hc-h4r5-73f7 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2044, GHSA-87hc-h4r5-73f7 | Dependencies (osv-scanner) |
| medium | osv/GHSA-cpwx-vrp4-4pq7 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1471, GHSA-cpwx-vrp4-4pq7 | Dependencies (osv-scanner) |
| medium | osv/GHSA-f9vj-2wh5-fj8j |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2045, GHSA-f9vj-2wh5-fj8j | Dependencies (osv-scanner) |
| medium | osv/GHSA-g3rq-g295-4j3m |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2021-66, GHSA-g3rq-g295-4j3m | Dependencies (osv-scanner) |
| medium | osv/GHSA-g6x2-hccm-hh4m |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-4312, GHSA-g6x2-hccm-hh4m | Dependencies (osv-scanner) |
| medium | osv/GHSA-h2fp-xgx6-xh6f |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2017-43, GHSA-h2fp-xgx6-xh6f | Dependencies (osv-scanner) |
| medium | osv/GHSA-h5c8-rqwp-cp95 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1473, GHSA-h5c8-rqwp-cp95 | Dependencies (osv-scanner) |
| medium | osv/GHSA-h75v-3vvj-5mfj |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1474, GHSA-h75v-3vvj-5mfj | Dependencies (osv-scanner) |
| medium | osv/GHSA-hgf8-39gv-g3f2 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2046, GHSA-hgf8-39gv-g3f2 | Dependencies (osv-scanner) |
| medium | osv/PYSEC-2022-203 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2022-203 | Dependencies (osv-scanner) |
| low | osv/GHSA-px8h-6qxv-m22q |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2023-57, GHSA-px8h-6qxv-m22q | 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 | ok | prov-4 | 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 | 34 | |
| 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 | 00762e9ee9e5 | prov-5+qual-2+sec-2 | 0% | 77 | 71 |
| 2026-11-14 | 00762e9ee9e5 | prov-4+qual-2+sec-2 | 0% | 77 | 71 |
Full text report
- Repository: https://github.com/realpython/discover-flask
- Commit:
00762e9ee9e5713cb61ca8734236d05d6e424da9 - Generated: 2026-11-14T14:52:07+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 | none-detected | 65% | 100% |
| Code quality | 77 | adequate | 90% | 100% |
| Security | 71 | adequate | 85% | 100% |
AI provenance
No AI attribution or AI-consistent velocity signals detected.
- Explicitly attributed share (lower bound): 0.0%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 0.0%
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2014-06 | 271 | 0% |
| 2014-07 | 3 | 0% |
| 2014-08 | 222 | 0% |
| 2014-09 | 241 | 0% |
| 2014-10 | 114 | 0% |
| 2014-11 | 135 | 0% |
| 2014-12 | 269 | 0% |
| 2015-01 | 1 | 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.36, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: docs.
| Area | Score |
|---|---|
| Complexity (lizard) | 100 |
| Duplication | 100 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 55 |
| Documentation | 40 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 24; mean complexity 1.3, 90th percentile 2; 0 complex and 0 long functions
- Duplicated lines: 0.0% of 334 compared
- Tests: 190 test lines for 528 source lines (ratio 0.36); CI test commands: none detected; 5% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Security
Security posture is adequate: 34 known vulnerabilities in 6 dependencies. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 100 |
| Vulnerable dependencies (OSV) | 40 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 34 in 6 packages (critical 2, high 17, medium 13, low 1)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| critical | osv/GHSA-887w-45rq-vxgf: [email protected] (PyPI) is affected by PYSEC-2019-123, GHSA-887w-45rq-vxgf |
requirements.txt |
| critical | osv/GHSA-38fc-9xqv-7f7q: [email protected] (PyPI) is affected by PYSEC-2019-124, GHSA-38fc-9xqv-7f7q |
requirements.txt |
| high | osv/GHSA-562c-5r94-xh97: [email protected] (PyPI) is affected by PYSEC-2018-66, GHSA-562c-5r94-xh97 |
requirements.txt |
| high | osv/GHSA-5wv5-4vpf-pj6m: [email protected] (PyPI) is affected by PYSEC-2019-179, GHSA-5wv5-4vpf-pj6m |
requirements.txt |
| high | osv/GHSA-m2qf-hxjv-5gpq: [email protected] (PyPI) is affected by PYSEC-2023-62, GHSA-m2qf-hxjv-5gpq |
requirements.txt |
| high | osv/GHSA-462w-v97r-4m45: [email protected] (PyPI) is affected by PYSEC-2019-217, GHSA-462w-v97r-4m45 |
requirements.txt |
| high | osv/GHSA-hj2j-77xm-mc5v: [email protected] (PyPI) is affected by PYSEC-2019-220, GHSA-hj2j-77xm-mc5v |
requirements.txt |
| high | osv/GHSA-q2x7-8rv6-6q7h: [email protected] (PyPI) is affected by PYSEC-2026-1475, GHSA-q2x7-8rv6-6q7h |
requirements.txt |
| high | osv/GHSA-v973-fxgf-6xhp: [email protected] (PyPI) is affected by PYSEC-2022-260, GHSA-v973-fxgf-6xhp |
requirements.txt |
| high | osv/GHSA-2h4p-vjrc-8xpq: [email protected] (PyPI) is affected by PYSEC-2026-2617, GHSA-2h4p-vjrc-8xpq |
requirements.txt |
| high | osv/GHSA-v92g-xgxw-vvmm: [email protected] (PyPI) is affected by PYSEC-2026-88, GHSA-v92g-xgxw-vvmm |
requirements.txt |
| high | osv/GHSA-gq9m-qvpx-68hc: [email protected] (PyPI) is affected by PYSEC-2019-140, GHSA-gq9m-qvpx-68hc |
requirements.txt |
| high | osv/PYSEC-2023-221: [email protected] (PyPI) is affected by PYSEC-2023-221 |
requirements.txt |
| high | osv/GHSA-xg9f-g7g7-2323: [email protected] (PyPI) is affected by PYSEC-2023-58, GHSA-xg9f-g7g7-2323 |
requirements.txt |
| high | osv/GHSA-j544-7q9p-6xp8: [email protected] (PyPI) is affected by PYSEC-2026-1065, GHSA-j544-7q9p-6xp8 |
requirements.txt |
| high | osv/GHSA-2g68-c3qc-8985: [email protected] (PyPI) is affected by PYSEC-2026-2043, GHSA-2g68-c3qc-8985 |
requirements.txt |
| high | osv/GHSA-32pc-xphx-q4f6: [email protected] (PyPI) is affected by PYSEC-2018-55, GHSA-32pc-xphx-q4f6 |
requirements.txt |
| high | osv/GHSA-hc5x-x2vx-497g: [email protected] (PyPI) is affected by PYSEC-2026-1433, GHSA-hc5x-x2vx-497g |
requirements.txt |
| high | osv/GHSA-w3h3-4rj7-4ph4: [email protected] (PyPI) is affected by PYSEC-2026-1434, GHSA-w3h3-4rj7-4ph4 |
requirements.txt |
| medium | osv/GHSA-68rp-wp8r-4726: [email protected] (PyPI) is affected by PYSEC-2026-2151, GHSA-68rp-wp8r-4726 |
requirements.txt |
| medium | osv/GHSA-g3rq-g295-4j3m: [email protected] (PyPI) is affected by PYSEC-2021-66, GHSA-g3rq-g295-4j3m |
requirements.txt |
| medium | osv/GHSA-cpwx-vrp4-4pq7: [email protected] (PyPI) is affected by PYSEC-2026-1471, GHSA-cpwx-vrp4-4pq7 |
requirements.txt |
| medium | osv/GHSA-h5c8-rqwp-cp95: [email protected] (PyPI) is affected by PYSEC-2026-1473, GHSA-h5c8-rqwp-cp95 |
requirements.txt |
| medium | osv/GHSA-h75v-3vvj-5mfj: [email protected] (PyPI) is affected by PYSEC-2026-1474, GHSA-h75v-3vvj-5mfj |
requirements.txt |
| medium | osv/GHSA-5639-2j2p-m4mx: [email protected] (PyPI) is affected by PYSEC-2026-4243, GHSA-5639-2j2p-m4mx |
requirements.txt |
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: 528; test lines: 190
| Language | Lines |
|---|---|
| Python | 718 |