|
1 | 1 | # Spec: Catalog |
2 | 2 |
|
3 | | -The binding manifest of every catalog item: 196 DSA problems and 102 non-DSA items (86 problems and 16 items in `tracks/`), each with its id, slug, title, patterns, difficulty, kind and [labels](content.md#labels), and for the planned rows their batch and owner stream. |
| 3 | +The binding manifest of every catalog item: 196 DSA problems and 107 non-DSA items (91 problems and 16 items in `tracks/`), each with its id, slug, title, patterns, difficulty, kind and [labels](content.md#labels), and for the planned rows their batch and owner stream. |
4 | 4 |
|
5 | 5 | | Track | Problems or items | Where | |
6 | 6 | |-------|-------------------|-------| |
7 | 7 | | `dsa` | 196 (185 planned, 11 added) | `problems/` | |
8 | | -| `practical` | 49 (6 planned, 16 added, 6 project problems added, 7 security and AI/LLM problems added, 8 backend TypeScript projects added, 6 service projects added) | `problems/` | |
| 8 | +| `practical` | 54 (6 planned, 16 added, 6 project problems added, 7 security and AI/LLM problems added, 8 backend TypeScript projects added, 11 service projects added) | `problems/` | |
9 | 9 | | `lld` | 8 | `problems/` | |
10 | 10 | | `concurrency` | 6 | `problems/` | |
11 | 11 | | `debugging` | 23 (8 planned, 8 in Go and Rust, 7 JavaScript traps in TypeScript) | `problems/` | |
12 | 12 | | `system-design` | 10 | `tracks/system-design/` | |
13 | 13 | | `code-review` | 6 | `tracks/code-review/` | |
14 | | -| **Total** | **298** (282 problems, 16 items) | | Targets, batches and the copyright policy come from [content](content.md); the file layout comes from [problem-format](problem-format.md); how to write an item is in [authoring](authoring.md). |
| 14 | +| **Total** | **303** (287 problems, 16 items) | | Targets, batches and the copyright policy come from [content](content.md); the file layout comes from [problem-format](problem-format.md); how to write an item is in [authoring](authoring.md). |
15 | 15 |
|
16 | 16 | Every row has three [labels](content.md#labels): `domains`, `job_roles` and `scope` ([S24](authoring.md#static), [ADR 0020](../decisions/0020-catalog-labels.md)). Their values repeat across hundreds of rows, so each section below states them once, with its exceptions, instead of in three columns; a table added later carries them as columns, which are binding as `kind` is. The prose column that says what a row covers is `covers`, since `scope` is a label. |
17 | 17 |
|
@@ -297,7 +297,7 @@ Each stream owns whole patterns, so one stream holds all problems of a pattern a |
297 | 297 |
|
298 | 298 | ## Non-DSA catalog |
299 | 299 |
|
300 | | -### practical (49, `problems/`) |
| 300 | +### practical (54, `problems/`) |
301 | 301 |
|
302 | 302 | Labels: `0186` to `0191` and `0248` (the 7 `progressive` rows, `domains: [backend]`, `job_roles: [backend]`, `scope: function`); `0214` to `0228` (the 15 insurance rows, `domains: [fintech]`, `job_roles: [backend]`, `scope: function`); `0249` to `0254` (the 6 project problems, `domains: [backend, fintech]`, `job_roles: [backend]`, `scope: project`). Exceptions: `banking-system` and `scheduled-transfers-bank` also have `fintech`, and `api-gateway` also has the role `platform`. `0255` to `0261` carry their labels as columns. |
303 | 303 |
|
@@ -395,6 +395,16 @@ Four more service projects, in TypeScript. `0279` receives a payment provider's |
395 | 395 | | 0281 | `ssrf-safe-webhook-dispatcher-typescript` | SSRF-Safe Webhook Dispatcher (TypeScript) | project | hard | `typescript` | `security` | `security-engineer`, `backend` | project | |
396 | 396 | | 0282 | `inventory-reservations-typescript` | Inventory Reservations (TypeScript) | project | hard | `typescript` | `backend` | `backend` | project | |
397 | 397 |
|
| 398 | +Five more service projects, in TypeScript, on the backing services. `0283` builds a job queue on Postgres, and `0284` loads CSV uploads from S3 and SQS on Moto into Postgres. `0285` caches prices and limits request rates on Valkey, the BSD-licensed fork of Redis, behind a mock pricing vendor. `0286` keeps tenants apart with row-level security, and `0287` keeps a ledger as append-only events with projections. Each has its own `tests.json`; only `0285` has a mock server. |
| 399 | + |
| 400 | +| id | slug | title | kind | difficulty | languages | domains | job_roles | scope | |
| 401 | +|----|------|-------|------|------------|-----------|---------|-----------|-------| |
| 402 | +| 0283 | `postgres-job-queue-typescript` | Postgres Job Queue (TypeScript) | project | hard | `typescript` | `backend` | `backend`, `platform` | project | |
| 403 | +| 0284 | `csv-upload-ingestion-typescript` | CSV Upload Ingestion (TypeScript) | project | hard | `typescript` | `backend` | `backend`, `platform` | project | |
| 404 | +| 0285 | `price-cache-rate-limits-typescript` | Price Cache and Rate Limits (TypeScript) | project | medium | `typescript` | `backend` | `backend`, `platform` | project | |
| 405 | +| 0286 | `multi-tenant-api-typescript` | Multi-Tenant API (TypeScript) | project | hard | `typescript` | `backend`, `security` | `backend`, `security-engineer` | project | |
| 406 | +| 0287 | `event-sourced-ledger-typescript` | Event-Sourced Ledger (TypeScript) | project | hard | `typescript` | `fintech`, `backend` | `backend` | project | |
| 407 | + |
398 | 408 | ### lld (8, owner L1, kind `design` plus `rubric.md`, `problems/`) |
399 | 409 |
|
400 | 410 | Labels: `domains: [backend]`, `job_roles: [backend]` and `scope: function` on all 8 rows, with no exceptions. |
@@ -448,7 +458,7 @@ The eight planned rows (owner B1) port one bug to the languages it exists in; 02 |
448 | 458 | | 0246 | `debug-char-boundary` | Debug: Char Boundary | Truncation by byte index, which panics inside a multi-byte character | medium | rust | |
449 | 459 | | 0247 | `debug-clone-mutation` | Debug: Clone Mutation | A clone added to satisfy the borrow checker takes the credit, so transfers credit nobody | medium | rust | |
450 | 460 |
|
451 | | -`0264` to `0271`, without `0267`, which is a project under [practical](#practical-49-problems), drill JavaScript traps in small backend code. Each lists TypeScript only, because the bug exists in JavaScript. The labels are columns here. |
| 461 | +`0264` to `0271`, without `0267`, which is a project under [practical](#practical-54-problems), drill JavaScript traps in small backend code. Each lists TypeScript only, because the bug exists in JavaScript. The labels are columns here. |
452 | 462 |
|
453 | 463 | | id | slug | title | covers | difficulty | languages | domains | job_roles | scope | |
454 | 464 | |----|------|-------|-------|------------|-----------|---------|-----------|-------| |
|
0 commit comments