This repository is an open-source companion workflow for generating and practicing Claude Certified Architect - Foundations questions.
The point of open-sourcing it is not to publish a course dump. The point is to show a reproducible process for:
- collecting public-source material
- turning that material into scenario-aware evaluation chunks
- iterating on a question-generation prompt with rubric-driven evals
- publishing a bank-backed practice app
This repo is intended to complement Anthropic's official prep materials, not replace them, and it is not affiliated with Anthropic or Skilljar.
- a bank-backed React/Vite practice app in
accp-exam-app/ - the question-generation and evaluation code in
eval-pipeline/ - the scraper used to build a local source corpus in
scrape_accp.py - one canonical generated bank
- one smoke report and one full report showing prompt quality against the rubric
Some local materials used during development are not shipped in the public repo:
- the local scraped source corpus under
accp-study-guide/ - private or course-derived notes that informed rubric authoring
- bulky notebook exports, PDFs, and similar collateral
Those materials stay local because the public repo is meant to share the process and the tooling, not redistribute third-party prep content.
| Path | Purpose |
|---|---|
accp-exam-app/ |
Browser practice app backed by the generated study bank |
eval-pipeline/ |
Prompt, rubric, generator, eval runner, reports, and canonical bank |
scrape_accp.py |
Builds a local accp-study-guide/ corpus from public docs |
pyproject.toml |
Python dependency definition for the scraper and eval pipeline |
- canonical study bank:
eval-pipeline/banks/accp_bank_full_sonnet46.json - markdown companion bank:
eval-pipeline/banks/accp_bank_full_sonnet46.md - smoke eval report:
eval-pipeline/reports/smoke_report_sonnet46_opus46.json - full eval report:
eval-pipeline/reports/full_report_sonnet46_opus46.json
The current app is already wired to the generated bank.
The rubric and prompt were shaped around the official exam structure:
- five weighted domains
- scenario-based architectural judgment
- single-best-answer multiple choice
- explanations that distinguish the correct answer from plausible distractors
The official guide and private notes informed that framing, but are not redistributed here.
scrape_accp.py fetches public material from Anthropic docs,
Claude Code docs, the Agent SDK, MCP docs, and selected engineering posts, and
writes a local accp-study-guide/ directory.
That local corpus is treated as build input, not as public checked-in source.
eval-pipeline/build_dataset.py turns the
local source corpus into scenario-aware chunks with:
- domain
- scenario hint
- focus
- source files
- study content excerpts
eval-pipeline/run_eval.py runs the prompt
against those chunks and grades the results using the rubric in
eval-pipeline/criteria.py.
The rubric focuses on:
- source grounding
- distractor quality
- Bloom-level mix
- scenario realism
- explanation quality
- domain fit
- formatting compliance
eval-pipeline/generate_bank.py rebuilds
the local chunks, generates question batches, rejects schema failures and exact
duplicate stems, and writes the accepted bank.
accp-exam-app/ adapts the canonical bank into the quiz UI
shape and provides:
- progress tracking
- per-question feedback
- domain-level scoring
- retry-missed flow
cd accp-exam-app
npm install
npm run dev- Install Python dependencies:
uv sync- Create a local env file at
eval-pipeline/.env:
ANTHROPIC_API_KEY=your_key_here
ACCP_GENERATOR_MODEL=claude-sonnet-4-6
ACCP_JUDGE_MODEL=claude-opus-4-6- Build your local source corpus:
uv run python scrape_accp.py- Run a smoke eval:
uv run python eval-pipeline/run_eval.py \
--dataset-kind smoke \
--study-guide-root ./accp-study-guide \
--output eval-pipeline/reports/smoke_report_local.json- Generate a bank:
uv run python eval-pipeline/generate_bank.py \
--study-guide-root ./accp-study-guide \
--dataset-kind full \
--variants-per-chunk 2- The public repo does not include the local scraped corpus or private prep notes.
- Some public docs pages are still awkward to scrape because they are heavily SPA-rendered.
- The generated bank is a study aid, not a claim about the exact live exam wording or distribution.
The useful part of this project is the workflow:
- source-grounded generation instead of generic quiz spam
- explicit eval criteria instead of vibe-based prompt tweaking
- inspectable artifacts instead of black-box output
- a bank-backed app rather than a pile of raw JSON
If that workflow helps other people build better certification prep or documentation-grounded evaluation loops, then the repo is doing its job.