12 KiB
Course Assessments
Module 1: Foundations Quiz
-
What three components make an AI agent? a) LLM, Tools, Loop ✓ b) LLM, Database, UI c) Prompt, Context, Memory d) Model, API, Cache
-
True or False: The quality of the model matters more than the design of the harness.
- False ✓ — The harness determines cost, safety, and reliability. A good harness with a mediocre model outperforms a bad harness with the best model.
-
Scenario: You need to process 10,000 customer support emails per month, categorizing them into "billing", "technical", or "other". Each misclassification costs $0.50 in manual re-routing. Should you use an agent? a) No, write deterministic code b) Yes, full autonomy agent c) Yes, agent with human review ✓ — Volume is high (10K/mo), but failure cost is non-zero. Agent with review is the sweet spot. d) No, do it manually
-
What does the
reasoningparameter do in tool calls? a) Enables chain-of-thought in the model b) Forces the agent to explain why it's calling each tool ✓ c) Provides error messages on failure d) Logs tool execution time -
Calculate: An agent has a 2% failure rate per turn and runs 50 turns. What's the probability of at least one failure?
- P = 1 - (0.98)^50 ≈ 1 - 0.364 = 63.6%
-
Which of the following is NOT a component of the agent loop? a) Think b) Act c) Compile ✓ d) Observe
-
True or False: The harness is the product, not the model.
- True ✓
-
Scenario: Your CEO wants to use an agent for quarterly financial reporting. What's your recommendation? a) Full autonomy — agents can do anything b) Human-in-the-loop mandatory ✓ — Financial reporting is high-risk, needs human oversight c) Don't use an agent at all d) Use an agent but don't tell anyone
Module 2: Architecture Quiz
-
What are the four pillars of every agent system? a) Tools, Loop, Context, Memory ✓ b) Model, API, Database, UI c) Speed, Cost, Quality, Safety d) Planning, Building, Testing, Deploying
-
Which tool distribution channel has the HIGHEST context cost? a) CLI b) MCP Server ✓ c) File System Scripts d) Skills
-
True or False: A generalist agent with many tools outperforms specialized agents on every task.
- False ✓ — Specialized agents outperform generalists at their domain.
-
Match the agent loop variant to its description:
- Simple Prompt → Execute: Single API call, no loop
- Tool-Use Loop: while not terminal_tool_called
- Task-Completion: while not complete_task
- Sub-Agent: Main agent spawns sub-calls
-
What's the best practice for context window management? a) Keep everything forever b) Hybrid: system prompt + recent turns + summary + current results ✓ c) Summarize everything immediately d) Use the maximum context window size always
-
Which codebase architecture is best for multiple independent agent capabilities? a) Atomic/Composable b) Layered c) Vertical Slice ✓ d) Pipeline
-
What's the purpose of a mental model file? a) Store the agent's system prompt b) Let the agent accumulate domain knowledge across sessions ✓ c) Log tool call history d) Configure model parameters
-
True or False: The
reasoningparameter on tool calls reduces hallucinated tool calls.- True ✓ — Forcing the LLM to explain WHY reduces hallucinated calls by ~40%.
Module 3: Safety Quiz
-
What is the L3 marquee break? a) Agent uses rm -rf directly b) Agent writes a Python script that does the destructive work, then runs it ✓ c) Agent ignores the system prompt d) Agent escapes the sandbox
-
If an agent has a 1% per-turn failure rate, what's the probability of failure over 100 turns? a) 1% b) 10% c) ~63% ✓ d) 100%
-
Which security level should be the MINIMUM for production systems? a) L1 (skill) b) L2 (system prompt) c) L3 (blacklist hook) ✓ d) L4 (whitelist hook) — Strongly preferred
-
What are the three access levels in damage-control? a) Allow, Deny, Ask b) Zero-access, Read-only, No-delete ✓ c) Read, Write, Execute d) Public, Private, Secret
-
True or False: The Verifier agent can write files.
- False ✓ — The verifier has read-only tools by design.
-
Which hook event fires BEFORE a tool executes and CAN block the call? a) UserPromptSubmit b) PreToolUse ✓ c) PostToolUse d) Stop
-
What does the CONFIDENCE ladder measure? a) Model confidence in its answer b) Verifier's completeness + correctness of verification ✓ c) User satisfaction score d) Token efficiency
-
Scenario: Your agent needs to run npm test and git status. Which L4 approach is correct? a) Whitelist exactly
^npm test$and^git status$✓ b) Allow all bash but ask for confirmation c) Use L2 system prompt saying "be careful" d) Whitelist^uv run .*\.py$
Module 4: Orchestration Quiz
-
What are the three orchestration patterns? a) Dispatcher, Pipeline, Peer-to-Peer ✓ b) Sequential, Parallel, Random c) Single, Dual, Multi d) Local, Remote, Hybrid
-
In depth-2 delegation, what do Leads do? a) Write all the code themselves b) Synthesize and delegate, never execute ✓ c) Monitor the orchestrator d) Handle security
-
True or False: In the agent-team dispatcher pattern, the orchestrator does the actual work.
- False ✓ — The orchestrator delegates, it doesn't execute.
-
What does
$INPUTrepresent in agent-chain pipelines? a) The user's original prompt b) The output of the previous step ✓ c) Configuration variables d) Tool call results -
How are Pi-to-Pi agents different from hierarchical orchestration? a) They're faster b) They're peers, not parent-child ✓ c) They use a different API d) They only work on the same machine
-
What prevents runaway A→B→A→B loops in Pi-to-Pi communication? a) Rate limiting b) Max 5 hops ✓ c) Session timeout d) Manual review
-
How many board members does the CEO Board System use? a) 4 b) 6 c) 8 ✓ d) 10
-
True or False: In the UI Agents system, brand identity uses hardcoded CSS values.
- False ✓ — All styling uses CSS custom properties from brand.yaml. Zero hardcoded values.
Module 5: Production Quiz
-
What's the 3x rule? a) Agents are 3x faster than humans b) Production agents cost 3x your prototype estimate ✓ c) You need 3 agents minimum d) 3 retries per task maximum
-
What is a golden dataset? a) The most valuable customer data b) Curated input/behavior/output pairs for regression testing ✓ c) Training data for fine-tuning d) API benchmark results
-
True or False: Shadow deployments run agent outputs in production.
- False ✓ — Shadow deployments run identical inputs but outputs are NOT served to users.
-
What four things must be rolled back for an agent? a) Prompt, Model, Parameters, Configuration ✓ b) Code, Database, UI, Tests c) API keys, Endpoints, Models, Prompts d) Git commit, Docker image, Environment, Config
-
What is decision tracing? a) A/B test results b) Full chain of every tool call + LLM completion + decision point ✓ c) User behavior analytics d) Model training logs
-
Which metric indicates a tool loop? a) High latency b) Same tool called 5+ times with same params ✓ c) High error rate d) Low token usage
-
What's the difference between a warning and a hard stop budget policy? a) Warning logs, hard stop blocks b) Warning notifies, hard stop pauses the agent ✓ c) Warning is optional, hard stop is mandatory d) They're the same
-
True or False: CI/CD for agents is the same as CI/CD for traditional software.
- False ✓ — Agent CI/CD requires golden datasets, pass@k evaluation, and prompt versioning, not just unit tests.
Module 6: Economics Quiz
-
What's the price range (cheapest to most expensive) of LLM models in $/M tokens? a) 2x b) 10x c) 100x ✓ (Gemini Flash at $0.15 to Claude Opus at $15/$75) d) 1000x
-
What percentage of token cost is typically output tokens? a) 30% b) 50% c) 70% ✓ d) 90%
-
What is cascade routing? a) Using multiple models in parallel b) Using cheaper models for simple steps and expensive models for complex steps ✓ c) Routing tasks to different servers d) Cascading agent failures
-
What does pass@k measure? a) Percentage of tokens passed b) Probability that at least one of k attempts succeeds ✓ c) Pass rate of model benchmarks d) Password strength
-
True or False: Automated evaluation catches all agent failures.
- False ✓ — Human eval catches 2-3x more nuanced failures, especially reasoning quality and hallucination cascades.
-
What's the recommended canary deployment traffic split? a) 1% b) 5% new config, 95% current ✓ c) 50/50 d) 100% new config immediately
-
What is grinding in an agent context? a) The agent working slowly b) Re-running identical code hoping for different results ✓ c) CPU-intensive operations d) Token optimization
-
Calculate: An agent session costs $0.05 prototype. What's the estimated production cost?
- $0.05 × 3 = $0.15 (the 3x rule)
Module 7: Advanced Quiz
-
What three integrity threats did the Mythos paper find in autoresearch? a) Data leaks, slow queries, bad models b) Reward hacking, grinding, test set leakage ✓ c) Prompt injection, jailbreaking, data poisoning d) Cost overruns, latency spikes, accuracy drops
-
What's the best defense against grinding in autoresearch? a) Rate limiting b) Code hashing + comparing against median (not best) ✓ c) Manual review of every run d) Using a single model
-
What does a meta-agent do? a) Manage other agents' memory b) Build new agents from documentation ✓ c) Monitor agent costs d) Handle authentication
-
True or False: MCP is always better than CLI for tool distribution.
- False ✓ — For 1-2 agents, CLI + prime prompt is often better due to lower context cost.
-
Which approach has the LOWEST context cost for tool distribution? a) MCP Server b) CLI c) File System Scripts (progressive disclosure) ✓ d) All approaches have similar context costs
-
What is the sentinel pattern in the Mac Mini Agent? a) A security guard for file access b) A marker pattern that makes async terminal work deterministic ✓ c) A notification system d) A model selection strategy
-
True or False: Always-on agents run continuously without sleeping.
- False ✓ — They use heartbeat execution: wake, work, sleep on a schedule.
-
What's the purpose of code hashing in autoresearch? a) Version control for experiments b) Detect when identical code is being re-run (grinding) ✓ c) Cache experiment results d) Encrypt agent outputs
Capstone Evaluation Rubric
See M8-CAPSTONE.md for full rubric. Summary:
| Area | Weight | Pass | Target |
|---|---|---|---|
| Architecture | 20% | Diagram present | Clear, justified |
| Implementation | 25% | Runs on happy path | Handles errors |
| Security | 20% | L3 minimum | L4+ with verifier |
| Testing | 15% | Computed pass@k | pass@k + cost + grind detect |
| Documentation | 10% | Basic | Architecture + retrospective |
| Cost | 10% | Cascade routing | Cascade + verified savings |
Answer Key
All quiz answers are marked with ✓ in the questions above.