Skip to content

About

Tool for memorizing climbing grade conversion between YDS ↔ French and V-grade ↔ Font systems.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

⛰️ Grade Trainer

A spaced-repetition web app for memorizing climbing grade conversions:

  • Sport: YDS ⇄ French
  • Boulder: V-scale ⇄ Font

No build step, no server. Progress is saved locally in your browser. Two small libraries are vendored locally (in vendor/) so the app still works fully offline:

Run it

Just open index.html in a browser:

open index.html            # macOS

Or serve it (optional, e.g. if your browser is strict about file://):

python3 -m http.server 8000
# then visit http://localhost:8000

How it works

Spaced repetition (the memorization engine)

Every conversion — each grade, in both directions, in both disciplines (97 cards total) — is scheduled with a SuperMemo-2 (SM-2) variant. Cards you get right graduate to progressively longer intervals (days apart); cards you miss come back within the same session. This resurfaces each card right before you'd forget it, which is the most effective known method for durable recall. Do short sessions regularly rather than cramming.

Mixed answer formats

Questions alternate between multiple choice (recognition — favored for brand-new cards) and typed input (free recall — favored once you know a card). Typed answers are case/whitespace-insensitive. For systems with a fixed prefix (YDS 5., V-scale V), that prefix is shown affixed inside the input so you only type the variable part (e.g. type 12d for 5.12d) — typing the prefix anyway still works.

Ranges shown on every answer

Grade systems don't map 1:1, so conversions are treated as ranges. After you answer, the app shows the full accepted range. For example, answering 5.12d → 7c+ reveals:

✓ Correct! 5.12d (YDS) = 7c+ (French) 7c+ ⇄ 5.12d–5.13a (YDS)

Any answer within the accepted band counts as correct.

Feedback & juice

Correct answers fire a confetti burst and a pop; wrong answers shake the card. Misses are graded by how far off you were — "Very close!" (1 grade), "Not quite" (≤3), "Incorrect" (≤5), "Way off!" (beyond) — and the feedback box shifts color to match, from greenish-yellow through yellow and orange to red. On multiple-choice, the correct option turns green and a wrong pick turns red. A miss also draws a grade ladder — a vertical scale with YDS/V-scale on the left and French/Font on the right, a green dot on the correct grade and a red dot on your answer, extending one grade past each so you can see the gap at a glance. All motion respects prefers-reduced-motion.

Progress tab

Every review is logged (timestamp, correctness, and grade gap — how many grade-steps your answer was from correct). The Progress tab charts:

  • Accuracy & grade gap over time — a dual-axis line chart: accuracy (green, left axis, %) and average grade gap (orange, right axis, grade-steps) over the same daily / weekly / monthly buckets. Higher accuracy and lower gap are both better, and the two lines make the trade-off obvious.
  • Accuracy per grade — a bar per grade, colored red→green by accuracy, so you can see at a glance whether you're nailing the low grades but missing the hard ones. Switch between YDS / French / V-scale / Font.
  • Average grade gap per grade — the same breakdown by grade, but showing how far off you are (lower/greener is better), driven by the same selector.

Project layout

index.html        markup + script/style includes
css/styles.css    dark climbing-themed styling + animations
vendor/           locally-vendored canvas-confetti and Chart.js
js/grades.js      conversion data (band tables) + lookup/gap/normalize helpers
js/srs.js         SM-2 scheduler, deck generation, review-history log, persistence
js/progress.js    Progress tab: history aggregation + Chart.js charts
js/app.js         UI controller: study, feedback, juice, reference chart, settings

A note on accuracy

Grade equivalence is approximate and genuinely debated — no single chart is authoritative. This app uses a widely-cited common mapping and models known overlaps (e.g. French 7c+ ↔ YDS 5.12d–5.13a; V3 ↔ Font 6A–6A+). Use the Chart tab to review the full tables.

About

Tool for memorizing climbing grade conversion between YDS ↔ French and V-grade ↔ Font systems.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages