Problem Solving — Practice Sequence

AnkiWeb addon 1882366109

Turns 1–200 Easy→Medium→Hard problems per note into an SRS-independent practice workflow with repeat/move-on/defer controls, self-evaluation, analytics, quests, and a skill tree.
AI-generated summary; may contain mistakes.

review-flowstatisticsprogress-trackinggamificationcard-templatesmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-11-29
Anki versions
26.05~
License
AGPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-29 (2 days before the snapshot).
  • Test files: 25.
  • GitHub Actions workflows: 3.
  • Commits in the last year: 3.
  • Issues: 0 open, 0 closed.
  • Pull requests: 3 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
24.0626.05+2026-11-29
History across monthly snapshots

Loading…

Similar addons

Minimalistic Drawing Panel

Adds a lightweight drawing and handwriting scratchpad to card review, supporting mouse, touch, stylus and pen input, colours, thickness levels, erasers, Surface Pen erasing, and auto-clearing between cards.

review-flow

2 votes 34% approval 👍 2 · 👎 0 ⭐ 0 Anki 25.07~ Updated 2026-07-02
Minimalistic Typing Panel

Adds a customizable floating typing panel and scratchpad for Anki review, letting users type answers or notes before revealing cards, with auto-clear and shortcut forwarding.

review-flowshortcutsappearancequiz

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Anki 25.07.1~ Updated 2026-09-07

Description

Problem Solving — Practice Sequence

Turn structured Easy → Medium → Hard problem-solving practice into a deliberate, repeatable workflow inside Anki Desktop—without breaking Anki's spaced-repetition scheduling.

Why Use This Instead of Isolated Flashcards?

True fluency in algorithms, data structures, systems, and mathematics comes from practicing connected problem sequences in ascending difficulty:

  • One sequence per Anki note: Store 1–200 related problems (Easy → Medium → Hard) with learning objectives, expected time/space complexity, optional problem URLs (or offline problem books), hints, and solution notes.
  • SRS-independent progression: During review, use ↻ Repeat, → Move on, and ⏸ Mark for later to advance cleanly from Problem 1 of N → 2 of N without touching Anki's due, ivl, factor, or reps SRS intervals.
  • Interactive self-evaluation: Reflect using 6 reasoning criteria (independence, explanation clarity, edge cases, time complexity, space complexity, pattern transfer) and 3 attempt outcomes (Solved independently, Solved with hints, Struggled).
  • Integrated Learning Platform (Tools → Problem Solving):
    • Insights Dashboard: Your Next Step prioritization, 6 KPI summary cards, difficulty SVG donut, attempt breakdown, checklist habit depth, and time-window filtering (All Time / 30d / 7d).
    • My Sequences & Interactive Problem Workspace: Search/filter directory with color-coded lifecycle states (Not started, Active, Expanded, Deferred, Completed), live Study Plan drawer, 2-pane Problem Workspace, Sequence Editor (Sort Easy → Hard, Focus, Undo), and two-column Card Preview.
    • My Journey: Multi-year career ranks (L1 Beginner through L12 Fellow at 24,000 XP + continuous Fellow II+), anti-farming XP rules (0 XP for bare repeats), Daily/Weekly/Pattern quests, and a Yearly | Monthly Practice Activity calendar.
    • Skill Tree & Achievements: Interactive pan-and-zoom QGraphicsView DAG across 29 DSA/pattern concepts (Graph | List), conservative 5-stage evidence scoring without artificial topic locks, 6 Personal Records, and 20 Achievements.
    • Main Screen Bar: Compact optional PSS status widget on Anki's Deck Browser.

Screenshots

Deck Browser Status Bar & Sequence Directory

Deck Browser Bar

My Sequences Directory

Interactive Problem Workspace & Split Reviewer

Problem Workspace

Split Reviewer Workspace

Insights Dashboard, Multi-Year Journey & Skill Dependency Graph

Insights Dashboard

My Journey Profile

Skill Dependency Graph

Installation & Quick Start

  1. Requires Anki Desktop 24.06 or newer (Qt6).
  2. Install via Tools → Add-ons → Get Add-ons… using the AnkiWeb add-on code on this page, or Install from file… with a .ankiaddon release package, then restart Anki.
  3. Open Tools → Problem Solving → New Sequence, add 2–4 problems (Easy → Medium → Hard), click Save, and study your deck as usual.
  4. On the card back, optionally select your self-evaluation criteria/outcome and choose ↻ Repeat, → Move on, or ⏸ Mark for later before pressing Anki's normal SRS buttons.

Compatibility & Honest Limitations

  • Anki Desktop (24.06+, Qt6): Full feature set. Verified live on Anki 26.05 (Linux, Qt6); targeted via standard cross-platform aqt / PyQt6 APIs on Windows and macOS (not locally executed on Windows/macOS).
  • AnkiMobile (iOS/iPadOS), AnkiDroid (Android) & AnkiWeb:
    • Reviewing sequence cards on mobile/web safely displays the active problem cleanly across narrow screens (320px+), supports Context & Up Next / Hints / Notes tabs, saves local reflection drafts (localStorage), and offers a Copy Study Summary helper without blocking popups.
    • Because mobile clients and AnkiWeb cannot run Desktop Python add-on code to rewrite SequenceState JSON safely, sequence creation, editing, advancing (SequenceState updates), Analytics Hub, and Skill Tree require Anki Desktop.
  • AnkiWeb Collection Sync & Backups:
    • Sequences sync via standard Anki notes (Problem Solving — Practice Sequence). Practice history, quest/achievement metadata, and portable settings sync between Desktop machines via hidden suspended PSS Internal Data notes (queue == -1, never shown in reviews).
    • Full portable JSON backup export/import is available in Settings → Sync & Data (tested across local two-profile SQLite collection sync simulations).

Privacy & License

  • Zero Telemetry / Zero External Requests: All data lives in your local Anki collection and syncs only when you use standard AnkiWeb sync. No analytics beacons or external servers.
  • License: GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later)
  • Source Code, User Guide & Issue Tracker: https://github.com/Abdo-1337/problem-solving-practice-sequence

README

Problem Solving — Practice Sequence

Version: 1.0.0 · Minimum Anki: Desktop 24.06+ (Qt6, verified live on 26.05 Linux) · License: AGPL-3.0-or-later

An Anki Desktop add-on for structured Easy → Medium → Hard algorithmic and technical problem-solving progression inside single Anki notes—combining SRS-independent sequence workflows, optional 6-criterion self-evaluation, a local & AnkiWeb-synced journey/skill/analytics platform, and cross-device responsive review templates.


Why This Add-on Exists

Standard Anki flashcards optimize isolated memorization. Real problem-solving fluency in algorithms, data structures, systems, and mathematics requires working deliberately across related problems ordered from foundational to hard:

  • Keep each topic sequence in one clean Anki note instead of scattering unrelated cards across decks.
  • Separate problem-solving progression (↻ Repeat, → Move on, ⏸ Mark for later) cleanly from Anki's SRS intervals (due, ivl, factor, reps).
  • Reflect with 6 evidence-based reasoning criteria and track long-term consistency without artificial streaks or XP farming.

How It Differs from Ordinary Flashcards

Aspect Ordinary Anki Card Problem Solving — Practice Sequence
Scope per note Single prompt/answer pair Ordered sequence of 1–200 related problems (Easy → Medium → Hard)
Progression state Rating buttons only Explicit Repeat, Move on, Mark for later, Resume, Expand
SRS relationship Scheduling = state Progression updates SequenceState without altering SRS scheduling
Reflection Text-only notes Interactive 6-criterion rubric + 3 attempt outcomes + historical log
Cross-machine state Single card fields Sequences + sharded suspended PSS Internal Data notes (queue == -1)

Key Features

  • Unified Platform Hub (Insights Dashboard, My Sequences, My Journey, Skill Tree, Achievements): Cohesive Rawdah Light & Dark interface fitting narrow (985px+) and full Desktop windows cleanly.
  • Directory, Study Plan & Interactive Problem Workspace: Distinct color-coded lifecycle state pills (Not started, Active, Expanded, Deferred, Completed), live filtering/sorting, interactive 2-pane Problem Workspace, Sequence Editor, and two-column Console Card Preview.
  • Native Split Reviewer (data-pss-layout="14", data-pss-crossdev="16"): Compact above-fold desktop workspace (Hints/Notes tabs, 6 checklist criteria, outcome selector, Repeat / Move on / Mark for later) plus safe .tappable responsive mobile/Web companion fallback.
  • Multi-Year Career Ranks & LeetCode Activity Calendar: Permanent ranks (L1 Beginner through L12 Fellow at 24,000 XP plus continuous Fellow II+ steps), anti-farming XP rules, realistic quests, SVG donut charts, and a Yearly | Monthly Practice Activity calendar.
  • Interactive Pan & Zoom Skill Dependency Graph: Native QGraphicsView DAG across 29 canonical DSA/pattern concepts (Graph | List toggle) with conservative 5-stage evidence scoring and gap diagnostics without locking any topic.
  • Sharded AnkiWeb Sync, Backup & Integrity Hardening: Per-device append-only event shards (MAX_EVENTS_PER_SHARD=300), CRDT quest/achievement union merge, LWW portable settings, SHA-256 checksums, atomic backup import validation, and reset/restore epochs.

Visual Overview

Deck Browser Bar (Light) Sequence Directory (State Color Pills)
DeckBrowser Widget Light My Sequences Directory Light
Problem Workspace (Light) Split Reviewer (Light)
Problem Workspace Light Reviewer Back Light
My Journey & Activity Calendar (Dark) Interactive Skill Dependency Graph (Dark)
My Journey Dark Skill Dependency Graph Dark
Phone Companion (320px Light) Tablet Portrait (768px Light)
Mobile 320px Card Tablet 768px Card

Installation & Quick Start

  1. Verify you run Anki Desktop 24.06+ (tested live on 26.05).
  2. Download dist/problem_solving_sequence.ankiaddon (or build from source via bash scripts/package_addon.sh).
  3. In Anki Desktop, open Tools → Add-ons → Install from file…, select the .ankiaddon file, and restart Anki.
  4. Open Tools → Problem Solving → New Sequence to create your first sequence:
    • Enter a Sequence title and Topic (e.g., Sliding Window Patterns, Sliding Window).
    • Add 2–4 problems ordered Easy → Medium → Hard (Title, Difficulty, Platform, Learning goal, optional URL, Hints, Notes, Expected Complexity).
    • Click Save and study the deck normally.

See docs/INSTALLATION.md and docs/USER_GUIDE.md for complete setup details.


How Progression & Self-Evaluation Work

On the back of a sequence card (or inside My Sequences → Open Problem Workspace):

  • ↻ Repeat: Logs another deliberate attempt and keeps the current problem active (0 click XP).
  • → Move on: Marks the current problem complete and advances to the next incomplete problem (+25 XP solo or +10 XP standard/assisted, once per problem; +20 XP one-time solo comeback).
  • ⏸ Mark for later: Flags the current problem as deferred (Deferred pill) without rescheduling or burying Anki SRS cards; restore via Resume when ready.

Optional 6 Self-Evaluation Criteria (+5 XP once per (problem_id, criterion_id) when submitted with an attempt):

  1. I solved the problem independently. (covered by solo outcome credit)
  2. I can explain why my solution works. (+5 XP)
  3. I tested important edge cases. (+5 XP)
  4. I understand the time complexity. (+5 XP)
  5. I understand the space complexity. (+5 XP)
  6. I can recognize when to apply this pattern to another problem. (+5 XP)

Analytics, Gamification, Data & Sync

  • Analytics (Insights Dashboard): Your Next Step prioritization, 6 KPI summary cards, SVG difficulty donut, attempt outcome breakdown, self-evaluation depth habits, topic mastery, and time-window filtering (All Time, Last 30 Days, Last 7 Days).
  • Collection Sync (sync_store.py): Sequence notes sync via Anki's Problem Solving — Practice Sequence note type. Practice event logs, quest/achievement metadata, custom topics, and portable settings sync inside suspended PSS Internal Data notes (queue == -1) using sharded JSON (evlog:<device_id>:<shard>, SHA-256 verified) with CRDT union and LWW conflict resolution.
  • Privacy: Zero third-party telemetry or network requests. See docs/DATA_AND_PRIVACY.md.
  • Backup & Recovery: Use Tools → Problem Solving → Settings → Sync & Data → Export Full Backup… / Import Backup… (export_format_version: 1) or Tools → Problem Solving → Repair Sequence…. See docs/TROUBLESHOOTING.md.

Supported Platforms & Compatibility

Platform Card Viewing & Hints/Notes Progression (SequenceState edits) Hub, Analytics, Editor Sync Participation Status
Anki Desktop — Linux (26.05) Full HTML/JS Full (pycmd) Full PyQt6 Hub Reads & writes synced records Verified (Live)
Anki Desktop — Windows / macOS (24.06+) Full HTML/JS Full (pycmd) Full PyQt6 Hub Reads & writes synced records Targeted (Not live-tested)
AnkiDroid (Android) Responsive (320px+) + .tappable + local draft Desktop only (local reflection draft) Desktop only Syncs collection notes Partially verified
AnkiMobile (iPhone / iPad) Responsive WebKit + .tappable + local draft Desktop only (local reflection draft) Desktop only Syncs collection notes Partially verified (emulated)
AnkiWeb (Browser) Responsive card view + local draft Desktop only (local reflection draft) Desktop only Hosts synced collection Partially verified (emulated)

See docs/COMPATIBILITY.md and docs/LIMITATIONS.md.


Known Limitations & Roadmap

  • Current Limitations: Sequence creation, editing, full analytics/skill tree UI, and SequenceState JSON progression updates require Anki Desktop (24.06+); mobile/browser clients cannot safely rewrite multi-problem JSON notes cross-platform and instead provide non-blocking reflection drafts & clipboard study summaries. Remote live push/pull against sync.ankiweb.net requires user credentials and has been tested via two-profile local SQLite database simulations rather than live AnkiWeb cloud servers.
  • Roadmap: Automated multi-OS Desktop CI packaging matrices (Windows/macOS runners), optional AnkiWeb Shared Add-ons publication (docs/ANKI_SHARED_ADDONS_READINESS.md), and real hardware verification logs on AnkiDroid/AnkiMobile.

Contributing, License & Credits