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.
17 of 141 puzzles
| Puzzle | Type | Difficulty | Repository | Topics |
|---|---|---|---|---|
| Interceptor running order | Architecture | Hard | axios-axiosJavaScript | Middleware and hooksRequest lifecycle |
| A request that was aborted before it started | Trace | Medium | axios-axiosJavaScript | Request lifecycleHTTP clientsErrors |
| Layers of the middleware stack | Architecture | Hard | encode-starlettePython | Middleware and hooksRequest lifecycle |
| Serving a static file conditionally | Trace | Medium | encode-starlettePython | Request lifecycle |
| When cleanup after yield runs | Architecture | Hard | fastapi-fastapiPython | Dependency injectionRequest lifecycle |
| Validating and serializing the endpoint's return value | Find | Easy | fastapi-fastapiPython | Validation and parsingRequest lifecycle |
| Request smuggling guard | Find | Easy | h3js-h3TypeScript | Auth and securityRequest lifecycle |
| From request to JSON body | Trace | Medium | h3js-h3TypeScript | Request lifecycle |
| From app.request to the middleware chain | Trace | Medium | honojs-honoTypeScript | Request lifecycleMiddleware and hooks |
| From c.redirect to the response builder | Trace | Easy | honojs-honoTypeScript | Request lifecycle |
| Who actually invokes guards, interceptors and pipes | Architecture | Medium | nestjs-nestTypeScript | Middleware and hooksRequest lifecycle |
| Order of response postprocessing | Architecture | Medium | pallets-flaskPython | Request lifecycleMiddleware and hooks |
| Running request preprocessing callbacks | Find | Easy | pallets-flaskPython | Request lifecycleMiddleware and hooks |
| Re-raising when no handler matches | Find | Medium | pallets-flaskPython | ErrorsRequest lifecycle |
| The automatic OPTIONS response | Trace | Medium | pallets-flaskPython | Request lifecycleRouting |
| Finding the handler for an aborted request | Trace | Hard | pallets-flaskPython | ErrorsRequest lifecycle |
| From flush to timeout timers | Trace | Medium | sindresorhus-gotTypeScript | Retries and timeoutsRequest lifecycle |