Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

ACCP Companion Repo

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.

What Is Public Here

  • 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

What Is Intentionally Not Distributed

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.

Repository Map

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

Current Public Artifacts

The current app is already wired to the generated bank.

Process

1. Define the exam surface

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.

2. Build a local source corpus from public docs

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.

3. Compile eval chunks

eval-pipeline/build_dataset.py turns the local source corpus into scenario-aware chunks with:

  • domain
  • scenario hint
  • focus
  • source files
  • study content excerpts

4. Evaluate the prompt

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

5. Generate a bank

eval-pipeline/generate_bank.py rebuilds the local chunks, generates question batches, rejects schema failures and exact duplicate stems, and writes the accepted bank.

6. Practice in the app

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

Quick Start

Run the practice app

cd accp-exam-app
npm install
npm run dev

Reproduce the pipeline locally

  1. Install Python dependencies:
uv sync
  1. 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
  1. Build your local source corpus:
uv run python scrape_accp.py
  1. 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
  1. Generate a bank:
uv run python eval-pipeline/generate_bank.py \
  --study-guide-root ./accp-study-guide \
  --dataset-kind full \
  --variants-per-chunk 2

Known Limits

  • 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.

Why Open Source It

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages