Skip to content

DDIR: examples cut to one session and six idioms - #1107

Closed
frankmcsherry wants to merge 1 commit into
master-nextfrom
ddir-examples
Closed

frankmcsherry wants to merge 1 commit into
master-nextfrom
ddir-examples

Conversation

@frankmcsherry

@frankmcsherry frankmcsherry commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

interactive/examples/ goes from 1,253 lines to 217, not counting aoc2023.

  • access.ddp and access.txt: the session the README walks through.
  • top_k, retention, upsert, components, shortest_paths, triangles: one idiom each, explained in the program's comments. LANGUAGE.md links to them where it mentions the idiom.
  • README.md: a short index.

Removed:

  • the recipes' sessions, transcripts and their test;
  • the unchecked server sessions;
  • the sum and left_join recipes, which LANGUAGE.md already covers.

The batch programs in examples/programs/ move to tests/programs/, as fixtures for the corgi backend test. The plan pairs no longer cover the examples. The multiworker trim test writes its two programs inline.

cargo test --release -p interactive -p ddir-server passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H6wB4Gjwwivtq59LaFYbF5

examples/ now holds the access-control session the README walks through, and six programs that each show one idiom in their comments.
Its README is a short index.

The recipes' sessions, transcripts and test go, as do the server sessions and the sum and left_join recipes; LANGUAGE.md already covers both.
The batch programs from examples/programs move to tests/programs, where the corgi backend test already read its other fixtures.
The plan pairs no longer cover the examples, and the multiworker trim test writes its two programs inline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H6wB4Gjwwivtq59LaFYbF5
@frankmcsherry frankmcsherry changed the title DDIR: examples as server sessions, one per setting DDIR: examples cut to one session and six idioms Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant