Turn Board, memory or GitHub records into a quiz fact deck whose every answer is quoted from the record. Use before installing or refreshing the quiz-questions / quiz-grader Lane packages.
Resources
1Install
npx skillscat add jeong-sik/masc/quiz-deck Install via the SkillsCat registry.
Quiz deck from records
The quiz asks only about what a record says. You choose the facts; the script
refuses any fact whose answer is not in words the record actually contains.
Steps
- Read the records with the tools you already have (
masc_board_post_get,keeper_memory_search,gh issue view). Save each one as a text file under
one directory, exactly as the tool returned it. Do not retype or summarise. - Write
candidates.json: a list of{"id","field","subject","answer","quote","record":{"uri","file"}}.fieldmust be one ofauthor,claimant,status,merged_commit,cause,decision(the questioner has no template for anything else).quoteis copied from the saved file;answeris copied fromquote.urinames the record (e.g.masc://board/<post>#<comment>),fileis the saved text.- Give each field at least two facts with different answers, or no question is asked.
- Run
python3 scripts/build_deck.py candidates.json <record-dir> <deck-id> deck.json.
Exit 1 lists rejected facts; fix the quote or drop the fact, never the check. - Point both installations'
snapshot_fileat the samedeck.jsonwith the samesource_id(deck). A newdeck-idmakes old questions ungradable on purpose.
What this does not prove
The record hash is of your saved copy, not of the Board's stored bytes. The
check establishes that the answer is a whole word of the quote and the quote is
in the saved record. It does not catch a negation elsewhere in the quote
("원인은 unmerged 가 아니라 merged"), and it does not show you picked the
important facts. Quiz scores split by the answerer's own label, not by the
authenticated requester.