You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 496d52c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ One build wants an exact JDK: `tools/ide-launcher/build.sh`, which rebuilds the
68
68
69
69
Problem statements, tests, hints and solutions must be original ([ADR 0004](docs/decisions/0004-original-problem-wording.md)); a LeetCode problem appears only as a link in `references.leetcode`.
70
70
71
-
1. Scaffold the problem in the checkout: `uv run cstudy new <slug> --from-template array|tree|design|progressive|concurrent`.
71
+
1. Scaffold the problem in the checkout: `uv run cstudy new <slug> --from-template array|tree|design|progressive|concurrent`. Run from a development checkout, `cstudy new` writes into the repository's `problems/`, not into the workspace named by `CSTUDY_WORKSPACE` (a follow-up to know about when you test with a scratch workspace).
72
72
2. Follow the [authoring workflow](docs/specs/authoring.md#workflow): the statement in `problem.md`, the signature in `meta.yaml`, the cases in `tests.json`, a brute-force Python oracle, `generator.py`, the optimal approaches in Python, TypeScript, Java, and Kotlin, and `solutions/explanation.md`. The [problem format](docs/specs/problem-format.md) defines every file.
73
73
3. Set `status: ready` once the problem passes the ready gate:
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,8 @@ All problem statements, tests and solutions are original ([ADR 0004](docs/decisi
135
135
136
136
| Track | Items | Graded by | Format |
137
137
|-------|------:|-----------|--------|
138
-
|`dsa`|196| Tests, in all 6 languages | Functions and data-structure designs across 23 patterns |
139
-
|`practical`|70| Tests, level by level where a problem has levels | One class whose API grows over 4 levels, a business task with money and dates, a security or AI/LLM task in Python and TypeScript, a small service to extend, or a service project in Docker with mock servers and backing services |
138
+
|`dsa`|198| Tests, in all 6 languages | Functions and data-structure designs across 23 patterns |
139
+
|`practical`|73| Tests, level by level where a problem has levels | One class whose API grows over 4 levels, a business task with money and dates, a security or AI/LLM task in Python and TypeScript, a small service to extend, or a service project in Docker with mock servers and backing services |
140
140
|`lld`| 8 | Tests, then a design rubric | Object-oriented design |
Copy file name to clipboardExpand all lines: docs/decisions/0020-catalog-labels.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
|-------|-------|
5
5
| Status | Phases 1 and 2 implemented. Phase 3 is planned, and nothing of it is built. The owner took R1 to R7 under [Open to confirm](#open-to-confirm) as recommended on 2026-11-06 |
6
6
| Date | 2026-11-05 |
7
-
| Spec |[content](../specs/content.md#labels), [catalog](../specs/catalog.md), [problem-format](../specs/problem-format.md#metayaml), [authoring](../specs/authoring.md#static) (S24), [cli](../specs/cli.md#cstudy-list) and [web-ui](../specs/web-ui.md#problems-view) describe phase 1. [catalog](../specs/catalog.md#practical-70-problems) lists the first wave, and [S13](../specs/authoring.md#static) holds the language rule of phase 2 |
7
+
| Spec |[content](../specs/content.md#labels), [catalog](../specs/catalog.md), [problem-format](../specs/problem-format.md#metayaml), [authoring](../specs/authoring.md#static) (S24), [cli](../specs/cli.md#cstudy-list) and [web-ui](../specs/web-ui.md#problems-view) describe phase 1. [catalog](../specs/catalog.md#practical-73-problems) lists the first wave, and [S13](../specs/authoring.md#static) holds the language rule of phase 2 |
8
8
| Amends |[PRD](../prd.md) (FR-3, its description and persona), [ADR 0012](0012-go-and-rust.md) (every language on every problem, by the [language rule](#rule-changes)) |
9
9
| Builds on |[ADR 0001](0001-data-driven-tests.md), [ADR 0004](0004-original-problem-wording.md), [ADR 0014](0014-project-problems.md), [ADR 0019](0019-service-projects.md). Reviewed items are [ADR 0021](0021-ai-reviewed-problems.md)|
10
10
@@ -109,7 +109,7 @@ One pass over the 270, in one commit: a throwaway script writes the three fields
0214 to 0228 are insurance tasks: [catalog](../specs/catalog.md#practical-70-problems) calls them that, and their titles agree (premium rating, unearned premium, coverage gaps, loss ratio).
112
+
0214 to 0228 are insurance tasks: [catalog](../specs/catalog.md#practical-73-problems) calls them that, and their titles agree (premium rating, unearned premium, coverage gaps, loss ratio).
Copy file name to clipboardExpand all lines: docs/roadmap.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,10 +200,10 @@ The pilots are written with the next project problems.
200
200
-[x] P8: the first problem in Python, `0278-coworking-availability-python`, graded by the same cases and mock servers as `0277`. The catalog then had 294 entries.
201
201
-[x] P9: code intelligence and Web UI. Built: TypeScript and Python [language servers](specs/service-projects.md#language-servers) in a sidecar, a calm state while Docker cannot run them, and on the page Run tests, Submit and Cancel, a dev stack panel with its scenario picker, the dependency list and Docker's states ([Web UI](specs/service-projects.md#web-ui)). The leftovers are built too: your own IDE's generated files (R29), a `devcontainer.json` that `cstudy dev` writes, and the dev flags of P3 to P6.
202
202
-[x] P10: data-driven problems. Built: [backing services](specs/service-projects.md#backing-services), with a Postgres and Redis fixture, `grade_setup` on them, Moto measured, and [grader reach](specs/service-projects.md#grader-reach) for PP3's identity provider. [Parallel cases](specs/service-projects.md#parallel-cases) are built too. Still planned: D7 for them, and contract tables (R9). The data-driven problems are PP5 to PP10 below, and all six are built.
203
-
-[x] P11: mock server extensions, multi-step cases, project-size security and AI problems. Built: [multi-step cases](specs/service-projects.md#multi-step-cases) with flows, cookie jars and captures, the app output check, log assertions on form fields and headers, and the mock server's [pass-through](specs/service-projects.md#pass-through) with token tampering, which reach P10's services through `grader_reach`. R33 is done: SSE streaming with drops and stalls, matching on request bodies, log assertions on JSON bodies, run-time values and an example mock LLM provider, with a [first-byte check](specs/service-projects.md#hidden-http-case), `first_byte_ms_max`, added so that a case can tell a stream from an answer held back until it is whole. PP3 is built as `0280`, and the AI and security problems as PP11, PP12, PP13 and PP15 below; PP14 is on hold.
203
+
-[x] P11: mock server extensions, multi-step cases, project-size security and AI problems. Built: [multi-step cases](specs/service-projects.md#multi-step-cases) with flows, cookie jars and captures, the app output check, log assertions on form fields and headers, and the mock server's [pass-through](specs/service-projects.md#pass-through) with token tampering, which reach P10's services through `grader_reach`. R33 is done: SSE streaming with drops and stalls, matching on request bodies, log assertions on JSON bodies, run-time values and an example mock LLM provider, with a [first-byte check](specs/service-projects.md#hidden-http-case), `first_byte_ms_max`, added so that a case can tell a stream from an answer held back until it is whole. PP3 is built as `0280`, and the AI and security problems as PP11, PP12, PP13 and PP15 below; PP14 is built as `0307`, below.
204
204
-[x] Engine gaps closed after PP7: a binary request body (`body_base64`), a sleep step, pausing, stopping and starting one backing service mid-case, and `restart: "app"`, which keeps the app's data between cases. `0284` now restarts with it. The other [known limits](specs/service-projects.md#known-limits) still hold.
205
205
-[x] P12: Kotlin and Java. Built: one Gradle image with JDK 25 for both, Gradle's user home in the project's install cache with every build after `install` offline, Gradle's verification file as the lock, the `project-java-service` and `project-kotlin-service` templates, a Java fixture on a real engine, and `0305-coworking-availability-java` and `0306-coworking-availability-kotlin`, graded by the same cases and mock servers as `0277` ([spec](specs/service-projects.md#templates-per-language)).
206
-
-[ ] P13 and P14: Go, Rust (maybe).
206
+
-[ ] P13 and P14: Go, then Rust (maybe), the next Phase 12 steps.
207
207
208
208
## Phase 13: Catalog labels and new catalogs
209
209
@@ -219,6 +219,7 @@ The pilots are written with the next project problems.
219
219
-[x] Backend reliability on the same engine: `0272` to `0276`, five TypeScript projects on an idempotent at-least-once consumer, a transactional outbox, retries on the virtual clock, optimistic locking, and reviewing an AI extraction, where the model proposes, code validates and a person decides. The catalog then had 292 entries.
220
220
-[x] Memory and retrieval practice: `0293` to `0303`, eleven function-size AI/LLM problems in Python and TypeScript, from memory stores and context packing to cosine top k, chunking and retrieval metrics. The catalog then had 318 entries.
221
221
-[x] Search box practice: `0304`, a search box with keyboard navigation, matching, stale responses and selection, in all six languages, as a plain class on an explicit clock. A browser-graded version waits for Phase 16. The catalog then had 319 entries.
222
+
-[x] P12 problems and two DSA additions: `0305` and `0306`, the Java and Kotlin versions of `0277`, `0307`, the built PP14, and `0308` and `0309`, two DSA problems (all grid paths on backtracking, and finding every missing and duplicate number, with a cyclic-sort optimum) that take the next free ids outside the stream plan, listed under [later DSA additions](specs/catalog.md#later-dsa-additions). The catalog then had 324 entries.
222
223
-[ ] Step 3: later waves: project-size problems need Phase 12, and system-size ones need later design.
223
224
224
225
### Planned project problems
@@ -257,7 +258,7 @@ PP3 waited for P10's backing services and grader reach and for P11's multi-step
257
258
| PP14 | Fix the vulnerable service | security · security-engineer | A working app with broken authentication, IDOR, mass assignment and path traversal, graded by attack cases that must fail and normal cases that must keep passing | hard |
258
259
| PP15 | Secure file upload | security, backend · backend, security-engineer | Size limits, content sniffing, path traversal, a mock malware-scan vendor that fails | medium |
259
260
260
-
Suggested order: PP1 to PP13 and PP15 are built, and PP14 is on hold. P9, code intelligence and the Web UI, is built. P12 brought the service problems to the JVM, Kotlin and Java, and P13 and P14 are next: Go, and Rust (maybe). D7 and contract tables (R9) come in when a problem needs them.
261
+
Suggested order: PP1 to PP15 are built. P9, code intelligence and the Web UI, is built. P12 brought the service problems to the JVM, Kotlin and Java. Next is P13, Go, then P14, Rust (maybe), then Phase 16, the frontend problems. D7 and contract tables (R9) come in when a problem needs them.
@@ -273,7 +274,7 @@ Suggested order: PP1 to PP13 and PP15 are built, and PP14 is on hold. P9, code i
273
274
-[x] PP11: `0290-llm-gateway-typescript`, on two mock LLM providers, with a hidden case that times the first byte of a slow stream.
274
275
-[x] PP12: `0291-rag-citations-typescript`, on pgvector with mock embeddings and chat APIs.
275
276
-[x] PP13: `0292-tool-calling-agent-loop-typescript`, on a mock model and mock tool APIs. The catalog now has 307 entries.
276
-
-[] PP14: on hold: deliberately vulnerable starter content was stopped by a safety check; the owner decides whether to drop it.
277
+
-[x] PP14: `0307-fix-the-flaws-typescript`, in four levels: notes that belong to someone else, names and fields taken from the request, text that becomes a query, and logs and errors. The learner receives a working service with the flaws described as review findings and closes them, graded by attack cases that must fail and normal cases that must keep passing.
0 commit comments