Loading puzzles…
Loading puzzles…
Each puzzle is set in a real open-source repository. Read the code, find the answer, and select it in the editor.
New to reading code? Start with Learn: short lessons on values, branches, calls and tracing, then puzzles to try next.
Anyone can read the puzzles. Sign in to submit answers and keep track of what you've solved.
18 of 141 puzzles
| Puzzle | Type | Difficulty | Repository | Topics |
|---|---|---|---|---|
| Block nodes in the code generator | Architecture | Easy | ajv-validator-ajvTypeScript | Compilers and code generationCode structure |
| Compiling the same schema twice | Architecture | Medium | ajv-validator-ajvTypeScript | Compilers and code generationCaching and storage |
| Per-type coercion rules | Find | Medium | ajv-validator-ajvTypeScript | Validation and parsingCompilers and code generation |
| Source text becomes a function |
| Find |
| Medium |
| ajv-validator-ajvTypeScript |
| Compilers and code generation |
| Counting characters for maxLength | Find | Easy | ajv-validator-ajvTypeScript | Compilers and code generationValidation and parsing |
| From validate to code generation | Trace | Medium | ajv-validator-ajvTypeScript | Compilers and code generation |
| Folding a closed object with a catchall object | Architecture | Hard | colinhacks-zodTypeScript | Validation and parsingCompilers and code generation |
| When a folded intersection is closed | Find | Easy | colinhacks-zodTypeScript | Validation and parsingCompilers and code generation |
| From emit to merging intersection members | Trace | Hard | colinhacks-zodTypeScript | Validation and parsingCompilers and code generation |
| How the sandbox sees attribute access | Architecture | Hard | pallets-jinjaPython | Auth and securityCompilers and code generationExtension points |
| Stripping whitespace before a tag | Find | Medium | pallets-jinjaPython | Compilers and code generation |
| From get_template to the parser | Trace | Hard | pallets-jinjaPython | Compilers and code generation |
| Methods compiled in one pass | Architecture | Medium | python-attrs-attrsPython | Compilers and code generation |
| From @define to compiled methods | Trace | Hard | python-attrs-attrsPython | Compilers and code generationCode structure |
| Tags that are never closed | Find | Medium | textualize-richPython | Compilers and code generation |
| Directive transforms in the base compiler preset | Architecture | Easy | vuejs-coreTypeScript | Compilers and code generation |
| Registry of DOM-only directive transforms | Architecture | Medium | vuejs-coreTypeScript | Compilers and code generationExtension points |
| From baseCompile into the AST walk | Trace | Medium | vuejs-coreTypeScript | Compilers and code generation |