IMPLEMENT WHAT YOU LEARN
Coding labs
A focused problem, a blank function, and tests that tell you what broke.
Python runs in your browser. No API key. No setup. 32 module challenges and 50 extension exercises, with hints and explained reference solutions.
82 challengesCHALLENGEDIFFICULTYTIMESTATUS
Validate and normalize a batch requestPython at the system boundary
Foundation50 minSolveImplement threshold evaluation with explicit edge casesThe mathematics of useful predictions
Foundation55 minSolveImplement one masked attention queryNeural computation from first principles
Intermediate65 minSolvePlan cache capacity for variable-length requestsInside a modern language model
Intermediate55 minSolveFold a stream without inventing completionIntegrating models without losing control
Intermediate60 minSolveReplay a bounded agent lifecycleYour first bounded agent service
Intermediate70 minSolveImplement a scoped idempotent inventory operationTool contracts that survive real requests
Intermediate60 minSolveBuild a versioned, policy-checked call envelopeMCP integration with explicit version and trust boundaries
Intermediate60 minSolveValidate and schedule an observable planObservable planning and evidence-driven revision
Intermediate65 minSolveImplement a validated strategy selectorCognitive architecture as an inspectable control system
Intermediate60 minSolveSelect current scoped memories under a budgetMemory with scope, provenance, and a lifecycle
Intermediate70 minSolveFuse filtered retrieval rankings deterministicallyRetrieval that preserves the evidence needed to answer
Intermediate60 minSolveFind a temporally coherent evidence pathAdvanced RAG with graphs, time, and evaluation
Advanced75 minSolveCompute deterministic ready batchesCollaboration with explicit dependencies
Intermediate45 minSolveSelect a unique target from a semantic snapshotBrowser agents with verifiable outcomes
Intermediate45 minSolveJoin speech intervals to screen framesDesktop perception and multimodal alignment
Intermediate45 minSolveReduce interrupted audio playback eventsChannels, webhooks, and interruptible voice
Intermediate45 minSolveAdvance a task with optimistic revision checksA2A collaboration across service boundaries
Intermediate45 minSolveApply a constrained atomic state patchGenerated interfaces and streaming interaction
Advanced50 minSolveCount distinct events in a half-open windowEvent-driven and proactive agents
Intermediate45 minSolveBuild a deadline-aware retry simulatorRecovery without duplicate actions
Advanced60 minSolveEvaluate scoped grants and exact action approvalsPermissions and containment for agent actions
Advanced70 minSolveReconcile a deduplicated token-cost ledgerAgent economics and observable performance
Advanced60 minSolveCompute an exact paired binary comparisonEvaluations that support engineering decisions
Advanced65 minSolveSelect impacted tests through reverse dependenciesCoding agents that can justify their patches
Advanced60 minSolveEnforce lease ownership with fencing tokensProduction agents as recoverable distributed services
Advanced70 minSolveBuild a group-safe dataset gateTraining data and efficient adaptation
Advanced60 minSolveAudit a logged policy with importance weightsLearning from rewards and preferences
Advanced65 minSolveImplement page-aware cache admissionInference performance and capacity engineering
Advanced60 minSolveEnforce a trusted access decisionPrivacy, adversarial evaluation, and operating boundaries
Advanced60 minSolveCompute a paired comparison with an exact sign-flip testResearch methods for agent systems
Advanced70 minSolveReduce replayed task events without duplicate accountingIntegrated agent systems and capstone evidence
Advanced75 minSolveSummarize validated run recordsPython at the system boundary
Foundation50 minSolveBound asynchronous work and preserve orderingPython at the system boundary
Intermediate65 minSolveVerify a batch gradient updateNeural computation from first principles
Intermediate65 minSolveImplement a causal attention headNeural computation from first principles
Intermediate65 minSolveApply ordered subword mergesInside a modern language model
Intermediate65 minSolveCompute masked next-token lossInside a modern language model
Foundation50 minSolveExecute only a typed arithmetic toolYour first bounded agent service
Foundation50 minSolveStop a scripted agent with evidenceYour first bounded agent service
Intermediate65 minSolveCollect an opaque-cursor tool catalogMCP integration with explicit version and trust boundaries
Intermediate65 minSolveCorrelate and classify invocation resultsMCP integration with explicit version and trust boundaries
Intermediate65 minSolveFind ready steps in a validated planObservable planning and evidence-driven revision
Intermediate65 minSolveCheck claims against fresh evidenceObservable planning and evidence-driven revision
Intermediate65 minSolveRetrieve scoped and fresh memoriesCognitive architecture as an inspectable control system
Intermediate65 minSolveChoose a feasible positive-value actionCognitive architecture as an inspectable control system
Intermediate65 minSolveSelect scoped memory recordsMemory with scope, provenance, and a lifecycle
Intermediate50 minSolveFuse candidate rankingsRetrieval that preserves the evidence needed to answer
Intermediate50 minSolveSchedule a bounded DAGCollaboration with explicit dependencies
Intermediate50 minSolveInvalidate stale checkpointsCollaboration with explicit dependencies
Intermediate50 minSolveResolve an actionable semantic targetBrowser agents with verifiable outcomes
Intermediate50 minSolveDetect evidence dependence and conflictBrowser agents with verifiable outcomes
Intermediate50 minSolveMap a screenshot targetDesktop perception and multimodal alignment
Intermediate50 minSolveApply and reverse a versioned editDesktop perception and multimodal alignment
Intermediate50 minSolveRoute verified channel eventsChannels, webhooks, and interruptible voice
Intermediate50 minSolveVerify and deduplicate signed bytesChannels, webhooks, and interruptible voice
Intermediate50 minSolveParse a strict arithmetic requestPermissions and containment for agent actions
Intermediate50 minSolveAdvance a circuit breakerRecovery without duplicate actions
Intermediate50 minSolveSelect a compatible advertised interfaceA2A collaboration across service boundaries
Intermediate65 minSolveReduce an interrupted task logA2A collaboration across service boundaries
Intermediate65 minSolveValidate a bounded UI snapshotGenerated interfaces and streaming interaction
Intermediate65 minSolveAssemble interleaved message eventsGenerated interfaces and streaming interaction
Intermediate65 minSolveSelect a route under hard constraintsAgent economics and observable performance
Intermediate65 minSolveReserve and settle a shared budgetAgent economics and observable performance
Intermediate65 minSolveApply repeated events exactly once locallyEvent-driven and proactive agents
Intermediate65 minSolveAggregate with an explicit lateness policyEvent-driven and proactive agents
Intermediate65 minSolveBuild a lexical repository symbol indexCoding agents that can justify their patches
Intermediate65 minSolveApply a bounded patch atomically in memoryCoding agents that can justify their patches
Intermediate65 minSolveReport evaluation coverage and outcomesEvaluations that support engineering decisions
Intermediate65 minSolveBootstrap a paired candidate differenceEvaluations that support engineering decisions
Intermediate65 minSolveReconcile a reconnecting task feedIntegrated agent systems and capstone evidence
Intermediate40 minSolveMeasure overlap without double countingProduction agents as recoverable distributed services
Intermediate45 minSolveCompute a milestone critical pathIntegrated agent systems and capstone evidence
Intermediate45 minSolveCompare complete paired runsResearch methods for agent systems
Intermediate45 minSolveResolve unique provenance sourcesAdvanced RAG with graphs, time, and evaluation
Intermediate45 minSolveQuery state with two time cutoffsAdvanced RAG with graphs, time, and evaluation
Intermediate45 minSolveCompute a dimension-safe LoRA forward passTraining data and efficient adaptation
Intermediate45 minSolveBuild a symmetric quantizerInference performance and capacity engineering
Intermediate40 minSolveEnforce a scoped action grantPrivacy, adversarial evaluation, and operating boundaries
Intermediate45 minSolveScore adversarial effects and benign utilityPrivacy, adversarial evaluation, and operating boundaries
Intermediate40 minSolveMeasure probability quality and calibration binsProduction agents as recoverable distributed services
Intermediate50 minSolveStandardize a comparison across case mixResearch methods for agent systems
Intermediate50 minSolveLab checks are practice feedback, not a secure certification. Run the downloadable exercises locally if your browser limits WebAssembly.