How damianpeaf/cert-sim works
cert-sim is a static certification-study platform backed by structured exam content. The principal workflow is to choose a practice configuration, answer a session, and review an estimated score with explanations and source links. Separate branches support filtered question-bank practice, flashcards, progress statistics, and reference resources. The README documents an agent content pipeline; its repository stages are represented, but detailed internal calls among those stages are not established by the sampled source. App relationships use excerpts or SOURCE INDEX references where available.
Main entry points: Simulator.tsx Simulator · Runner.tsx Exam runner · Browse.tsx Question browser · QuestionReview.tsx Question review
Components 27
Practice experience
- Certification hub
app/src/pages/[cert]/index.astro - Simulator
app/src/components/Simulator.tsx - Question browser
app/src/components/sim/Browse.tsx - Bank export
app/src/lib/export.ts - Study statistics
app/src/components/sim/Stats.tsx - Spaced flashcards
app/src/components/Flashcards.tsx - Study resources
app/src/components/ResourceBrowser.tsx - Source highlighting
app/src/lib/fragment.ts - English and Spanish
app/src/lib/i18n.ts
Session runtime
- Session setup
app/src/components/sim/Configure.tsx - Exam runner
app/src/components/sim/Runner.tsx - Answer controls
app/src/components/sim/AnswerInput.tsx - Session engine
app/src/lib/engine.ts - Score and review
app/src/components/sim/Results.tsx - Question review
app/src/components/sim/QuestionReview.tsx - Session navigator
app/src/components/sim/ui.tsx - Local progress
app/src/lib/storage.ts
Study content
- Certification data
certs/aws-aif-c01 - Structured exam guide
certs/aws-aif-c01/guide/guide.json - Verified questions
certs/aws-aif-c01/questions.json - Study references
certs/aws-aif-c01/resources
Content production
- Exam intelligence
certs/aws-aif-c01/research/exam-intel/summary.json - Question generation
methodology/prompts/generator.md - Independent verification
methodology/prompts/verifier.md - Bank validation tools
tools/bank.py
Other components
- Learner
- Official exam guide
Connections 35
- Learner → Certification hub: opens certification
README.md - Certification hub → Simulator: starts practice
README.md - Simulator → Session setup: renders setup
app/src/components/Simulator.tsx - Simulator → Exam runner: renders session
app/src/components/Simulator.tsx - Simulator → Score and review: renders results
app/src/components/Simulator.tsx - Simulator → Question browser: renders bank
app/src/components/Simulator.tsx - Simulator → Study statistics: renders statistics
app/src/components/Simulator.tsx - Session setup → Session engine: configures session
app/src/components/sim/Configure.tsx - Exam runner → Answer controls: renders answers
app/src/components/sim/Runner.tsx - Exam runner → Question review: renders review
app/src/components/sim/Runner.tsx - Exam runner → Session navigator: renders navigator
app/src/components/sim/Runner.tsx - Exam runner → Session engine: pauses and resumes
app/src/components/sim/Runner.tsx - Simulator → Local progress: loads and saves
app/src/components/Simulator.tsx - Simulator → Session engine: updates memory
app/src/components/Simulator.tsx - Score and review → Question review: renders explanations
app/src/components/sim/Results.tsx - Question browser → Question review: renders review
app/src/components/sim/Browse.tsx - Question browser → Bank export: exports questions
app/src/components/sim/Browse.tsx - Question browser → Local progress: persists practice
app/src/components/sim/Browse.tsx - Study statistics → Local progress: reads progress
app/src/components/sim/Stats.tsx - Spaced flashcards → Local progress: saves recall ratings
app/src/components/Flashcards.tsx - Question review → Source highlighting: links quoted sources
README.md - Certification hub → Certification data: presents certification
README.md - Simulator → Verified questions: uses practice questions
README.md - Study resources → Study references: presents study material
README.md - Spaced flashcards → Study references: uses flashcard content
README.md - Certification data → Structured exam guide: includes guide
README.md - Official exam guide → Structured exam guide: structures objectives
README.md - Structured exam guide → Exam intelligence: informs exam research
README.md - Exam intelligence → Question generation: informs generation
README.md - Question generation → Independent verification: submits questions
README.md - Independent verification → Question generation: requests corrections
README.md - Independent verification → Verified questions: approves questions
README.md - Bank validation tools → Verified questions: validates and merges
README.md - English and Spanish → Simulator: localizes interface
app/src/components/Simulator.tsx - English and Spanish → Spaced flashcards: localizes interface
app/src/components/Flashcards.tsx