CertFS Quiz

approvedunreviewed

by Karam Guliyev

AI exam prep from your notes: practice questions for any certification or test (PMP, CSM, AWS, CompTIA, university). Mistakes re-quizzed.

โ†“ 33 downloadsUpdated 20d agoMIT

๐Ÿง  CertFS Quiz

An Obsidian plugin. It quizzes you on a note, a selection, several notes or a folder, in exam style. It also re-quizzes your errors with new versions until you master them.

  • ๐Ÿค– Questions come from an OpenRouter model (free ones work).
  • ๐Ÿ“š Subjects are set in Settings: a folder + an optional question style. Nothing is hardcoded.
  • ๐Ÿƒ Presets included: CSM (Scrum Guide 2020), PMP (PMI mindset, "what FIRST?"), CPMAI.
  • โŒ Wrong answers โ†’ error notes in that subject's errors folder.
  • ๐Ÿ“Š Every answer goes to a local history โ†’ stats + no repeated questions.
  • ๐Ÿ” Shareable: copy the folder (without data.json and history.json) to any vault.

๐Ÿ“‘ Contents


๐Ÿ“ฅ Install

  • ๐Ÿ›๏ธ Community plugins: Settings โ†’ Community plugins โ†’ Browse โ†’ search CertFS Quiz โ†’ Install โ†’ Enable.
  • ๐Ÿงช Before it is listed (BRAT): install the BRAT plugin โ†’ Add beta plugin โ†’ KaramGuliyev/CertFS.
  • ๐Ÿ“ฆ Manual: download main.js, manifest.json, styles.css from the latest release into <vault>/.obsidian/plugins/certfs-quiz/ โ†’ restart Obsidian โ†’ enable CertFS Quiz.

โฌ†๏ธ Back to contents

โš™๏ธ Setup (once)

  1. ๐Ÿ”‘ Make a key at openrouter.ai โ†’ Keys.
  2. ๐Ÿ“‹ Settings โ†’ CertFS Quiz โ†’ paste the key.
  3. ๐Ÿ“ฅ Click Load free models โ†’ pick one that ends in :free.
    • ๐Ÿงน The list shows only models that can chat (no embed, TTS, rerank).
  4. ๐Ÿ’ฒ On openrouter.ai, leave the key's credit limit empty. Don't set it to $0.
  5. ๐Ÿ“š Settings โ†’ Subjects: check the list. On first run, presets whose folder exists are added.
    • โž• Add subject โ†’ name, folder, rules note (optional), question style (optional).
    • ๐Ÿ” Folder and Rules note boxes search the vault as you type โ†’ click a result.
    • ๐Ÿ“ฆ Add presets โ†’ adds CSM, PMP, CPMAI (edit their folders to match your vault).

โฌ†๏ธ Back to contents


๐ŸŽฏ Daily use

Do thisHow
๐Ÿ“– Quiz the open note๐Ÿง  ribbon icon, or Ctrl+P โ†’ Quiz this note
โœ‚๏ธ Quiz part of a noteSelect text โ†’ Ctrl+P โ†’ Quiz selected text
โš™๏ธ Pick settingsCount (1โ€“15), difficulty, optional focus, question types
๐Ÿš€ StartGenerate
๐Ÿ“š Quiz several notesCtrl+P โ†’ Quiz multiple notes โ†’ search + tick notes, or select notes in the file explorer (Ctrl/Cmd+click) โ†’ right-click โ†’ CertFS Quiz: quiz N notes
๐Ÿ“ Quiz a whole folderCtrl+P โ†’ Quiz a folder โ†’ pick it
๐Ÿ” Re-quiz errorsโ†บ ribbon icon, or Ctrl+P โ†’ Quiz my errors
๐Ÿ“ฆ Test the archiveCtrl+P โ†’ Test my archive

Folder quiz:

  • ๐Ÿ“š Uses every note in the folder and its subfolders.
  • ๐Ÿšซ Skips Errors/, Archive/, Mocks/ and files starting with _ (Settings: Folder quiz skips).
  • โš–๏ธ Each note gets a fair share of the 24,000-character limit.

Multiple notes quiz:

  • โœ… The open note is ticked to start with; search by name or path, tick more.
  • ๐Ÿ“š Same flow as a folder quiz: one request, questions spread across the notes.
  • ๐Ÿ—‚๏ธ Subject = the one most picked notes belong to (errors go there).

In the quiz:

  • ๐Ÿ’ก Hint โ†’ a small push, not the answer.
  • ๐Ÿคท Not sure โ†’ counts as a miss, so it gets reviewed.
  • โœ… Check โ†’ right/wrong, the correct answer, and why.
  • โœ‹ I was right โ†’ short answer graded wrong but you know it's right. Counts as correct, no error note.
  • โžก๏ธ Next โ†’ the next question.

At the end:

  • ๐Ÿ“Š Score % and the topics you missed.
  • ๐Ÿ‘€ Review missed โ†’ each missed question with the right answer and why. No re-test.
  • ๐Ÿ†• New questions on missed topics โ†’ fresh questions, no repeats.

โฌ†๏ธ Back to contents


๐Ÿงฉ Question types

TypeWhat you do
๐Ÿ”˜ Multiple choicePick 1 of 4
๐ŸŽญ ScenarioA situation โ†’ pick the best action (1 of 4)
โ˜‘๏ธ Multi-selectPick all correct options (exact set)
โš–๏ธ True / FalsePick one
โœ๏ธ Short answerType it. The AI grades the idea, not the wording
๐Ÿ”— MatchingMatch each term to its pair
  • ๐ŸŽ›๏ธ Turn types on/off in Settings or in the quiz setup.
  • ๐Ÿ”€ Options are shuffled every time.

โฌ†๏ธ Back to contents


๐Ÿ—‚๏ธ How it picks the subject

  • ๐Ÿ“ The note's path is matched against each subject's folder.
  • ๐ŸŽฏ Nested subjects: the deepest folder wins.
  • ๐Ÿงฉ No match โ†’ General style, and mistakes are not saved.
Subject settingUsed for
Nameexam: in error notes, the subject dropdown, stats
FolderWhich notes belong to it; errors go to <folder>/Errors/
Rules note**Rule:** โ†’ [[...]] line in error notes (empty = no line)
Question styleOptional. Empty โ†’ the AI guesses the exam from name + folder. Fill it to steer wording, traps, scenario type

Presets (default folders, edit them in Settings):

FolderStyleRules link
1 CSM/CSM (Scrum Guide 2020)Scrum Rules
2 PMP/PMP (PMI mindset)Mindset Rules
3 CPMAI/CPMAICPMAI Rules

โฌ†๏ธ Back to contents


โŒ Error notes (automatic)

  • ๐Ÿ“„ File: <subject folder>/Errors/YYYY-MM-DD <topic>.md.
  • ๐Ÿท๏ธ Errors and Archive names can be changed in Settings (old notes are not moved).
  • ๐Ÿงพ Same frontmatter as 99 Templates/Error.md.
  • ๐Ÿท๏ธ source: "CertFS Quiz (<note>)", status: new, next_review = tomorrow.
  • ๐Ÿ  So it shows up in Home under errors to redo.
  • ๐Ÿ” Same topic, same day, different question โ†’ added to the same note in full.
  • ๐Ÿ”‚ Same question again โ†’ one "wrong again" log line, and the review resets to tomorrow.
  • ๐Ÿšซ Turn off with Save mistakes as error notes in Settings.

โฌ†๏ธ Back to contents


๐Ÿ” Errors โ†’ Archive (mastery)

  • ๐Ÿ†• Quiz my errors writes a new version of each error. Same concept, new wording.
  • ๐Ÿšซ It never repeats a question: every version asked is logged in the note.
  • ๐ŸŽฏ Types used: multiple choice, scenario, multi-select, true/false.
  • ๐Ÿ“… Pick Due today or All active.
  • ๐Ÿ”ข One new question per error. The count can't go above the errors found.
AnswerWhat happens
โœ… Right, error was duestreak +1 โ†’ next check in 3 days, then 7 days (Settings: Days between checks)
โœ… Right, not due yetโš ๏ธ Warning. Default: logged, not counted. Or Count anyway (+1), or red Skip โ†’ archive (asks twice)
โœ… 3rd right (streak: 3)status: mastered, moved to Errors/Archive/ (Settings: Correct answers to master, 1โ€“10)
โŒ Wrongstreak: 0, status: new, again tomorrow
  • ๐Ÿ“ Misses are logged on the same error note. No new note.
  • โš™๏ธ Setting Count a correct answer: only on due days (default) or any time.

Test my archive:

  • ๐Ÿ†• New version of each archived error.
  • โœ… Right โ†’ ๐Ÿ—‘๏ธ Delete (to trash) or ๐Ÿ“ฆ Keep.
  • โŒ Wrong โ†’ back to active Errors/, streak: 0, again tomorrow.

โฌ†๏ธ Back to contents


๐Ÿ“Š Answer history + stats

  • ๐Ÿงพ Every answer (right or wrong) โ†’ history.json in this folder.
  • ๐Ÿ”ข Saved: date, subject, note, topic, question, right/wrong. Max 5,000 (oldest dropped).
  • ๐Ÿšซ A new quiz on the same note skips its last 40 questions.
  • ๐Ÿ“Š Ctrl+P โ†’ Show my stats โ†’ score per subject, last 7 days, 5 weakest topics.
  • ๐Ÿ“„ <subject folder>/Stats.md is rewritten when a quiz ends: score, last 7 days, errors due/active/archived, weakest topics, by quiz type.
  • โš™๏ธ Settings โ†’ Stats note = file name (empty = off). Folder quiz skips it.
  • โš ๏ธ Stats come from the history. Keep answer history off โ†’ Stats.md shows โธ๏ธ paused and stops counting. Not a bug.
  • โš™๏ธ Settings โ†’ Keep answer history (off = nothing saved) and Clear history.
  • ๐Ÿ’ก It is a history, not a question bank: questions are always new.

โฌ†๏ธ Back to contents


๐Ÿ’ธ Free limits (OpenRouter)

  • โฑ๏ธ 20 requests per minute.
  • ๐Ÿ“… 50 requests per day (1000/day after buying $10 of credits once).
  • ๐Ÿงฎ One quiz = 1 request (note, folder, errors or archive).
  • โœ๏ธ Each short-answer check = +1 request.
  • ๐Ÿ” Busy model (429/502/503) โ†’ it retries twice by itself (4s, then 8s).
  • ๐Ÿ™ˆ A failed 429 may not show in OpenRouter Logs.
  • ๐Ÿ”Ž The error message shows OpenRouter's own reason.

โฌ†๏ธ Back to contents


๐Ÿ› ๏ธ Errors and fixes

Message saysFix
Add your API keyPaste the key in Settings
Pick a modelLoad free models โ†’ pick a :free one
401Key is wrong or deleted โ†’ make a new key
402Model isn't free โ†’ pick a :free model. Key's credit limit must be empty, not $0
404Model is gone โ†’ Load free models again
429Free model busy upstream โ†’ pick another :free model. Or your limit โ†’ wait 1 min / tomorrow
Did not answer in 90 sFree model stuck โ†’ try again, or pick another :free model
Response cut offAsk for fewer questions
No usable questionsTry again, or pick another free model
Note too shortNote needs 80+ characters

โฌ†๏ธ Back to contents


๐Ÿ”’ Privacy

Network requests (only 2, both to openrouter.ai):

  • ๐ŸŒ POST https://openrouter.ai/api/v1/chat/completions: generates and grades questions. Sent only when you start a quiz (or press Check on a short answer / matching). Carries the note text, your settings for the quiz and your API key.
  • ๐ŸŒ GET https://openrouter.ai/api/v1/models: lists free models when you press Load free models in Settings. No note text.
  • ๐Ÿšซ No telemetry, no analytics, no other servers.

Vault access:

  • ๐Ÿ“‚ The file list (getMarkdownFiles) is read only on your device: to find the notes of a folder quiz, to show the note picker in Quiz multiple notes, to find error notes, and for the folder / note search in Settings. File paths are never sent anywhere.
  • โœ๏ธ Writes only inside your subject folders (error notes, archive moves, Stats.md) and history.json in the plugin folder.

Data:

  • ๐Ÿ“ค The note text (max 24,000 characters) is sent to OpenRouter and the chosen model.
  • ๐Ÿšซ Don't quiz notes with private data.
  • ๐Ÿ”‘ The key is stored in data.json in this folder, unencrypted.
  • ๐Ÿ™ˆ data.json and history.json are gitignored, so they never go to GitHub.
  • โ˜๏ธ iCloud still syncs it, so keep the key private.

โฌ†๏ธ Back to contents


๐Ÿ“ What's new

0.3.5

  • ๐Ÿ“š New: Quiz multiple notes. Pick notes with search + checkboxes, or multi-select them in the file explorer and right-click.
  • ๐Ÿ”’ README โ†’ Privacy now lists the 2 network calls and why the vault file list is read.
  • ๐Ÿ›ก๏ธ Releases now carry GitHub artifact attestations (build provenance) for main.js, manifest.json, styles.css.
  • ๐Ÿค Added CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, ACCESSIBILITY.md, issue and PR templates.

0.3.4

  • ๐Ÿค– Empty Question style โ†’ the AI infers the exam from the subject name + folder. Name + folder is enough to start.

0.3.3

  • ๐ŸŽจ Subject boxes get inner space, so their top edge is no longer cut off.

0.3.2

  • ๐ŸŽจ Settings โ†’ Subjects: the 3 boxes fill the row, and the Question style box is full width.

0.3.1

  • ๐Ÿ” Settings โ†’ Subjects: the Folder and Rules note boxes search the vault as you type.
  • ๐Ÿ†™ Needs Obsidian 1.4.10+. On older versions they stay plain text boxes.

0.3.0: generic and shareable

  • ๐Ÿ“š No hardcoded exams. Subjects (name, folder, rules note, style) are set in Settings.
  • ๐Ÿƒ On first run, the CSM, PMP and CPMAI presets are added, but only if their folder exists.
  • โš™๏ธ In Settings now: mastery count, days between checks, Errors/Archive folder names, folder-quiz skips.
  • ๐Ÿงพ Answer history in history.json. A new quiz skips the note's last 40 questions.
  • ๐Ÿ“Š Show my stats command.
  • ๐Ÿ“„ <subject>/Stats.md is rewritten after each quiz.
  • โธ๏ธ History off โ†’ Stats.md says paused. Not a bug.

0.2.x

  • ๐Ÿ‘€ Review missed replaces Retry missed. It shows the right answers and does not re-test.
  • โฑ๏ธ A request stops after 90 s, so it no longer hangs at "Generating".
  • ๐Ÿ”˜ Each question has its own option group, so a selection can't jump between questions.
  • ๐Ÿ“… Quiz my errors shows due vs active counts.
  • โš ๏ธ Not-due errors: Count anyway or red Skip โ†’ archive.
  • ๐Ÿ”ข The question count is capped at the number of errors found.
  • ๐Ÿ“ New: Quiz a folder, Quiz my errors, Test my archive, and the I was right button.

0.1

  • ๐Ÿง  First version: note or selection quiz, 6 question types, hints, auto error notes.

โฌ†๏ธ Back to contents


๐Ÿง‘โ€๐Ÿ’ป For developers

  • ๐Ÿ“ฆ No build step: main.js (CommonJS), manifest.json, styles.css.
  • ๐ŸŒ API: https://openrouter.ai/api/v1/chat/completions via Obsidian requestUrl.
  • ๐Ÿ“ Asks for JSON (response_format: json_object). On 400 it retries without it.
  • ๐Ÿงช Pure helpers are exported on module.exports._test for unit tests.
  • ๐Ÿ“š Subjects live in data.json (subjects: [{name, folder, rules, style}]). Presets are in PRESET_SUBJECTS.
  • โœ… Tested: helper unit tests (parse, normalize, grade, error notes, subjects, intervals, history) + a fake-vault flow.
  • โš ๏ธ Not auto-tested: the UI and live OpenRouter calls.

โฌ†๏ธ Back to contents

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.