hardrealtime135 min time limit

CRDT Collaborative Text Buffer

challenge crdt-collaborative-text-buffer

Real-Time Collaboration interview. Build a conflict-free replicated text buffer (RGA/LSEQ-style) where concurrent inserts and deletes converge across replicas with no central server. Senior signal: convergence under reordering/duplication, intention preservation, and disciplined tombstone handling.

  • crdt
  • collaboration
  • realtime
  • distributed

Start this challenge

Run this in your terminal. You need Node.js 20+ and git.

npx @kodwai/cli@latest challenge crdt-collaborative-text-buffer
  1. The CLI signs you in through the browser if needed and asks which agent you will use: Claude Code, Cursor, or Codex.
  2. It downloads PROBLEM.md, starter files and tests, sets up a git repo, and starts a 135-minute timer. You see the full problem statement once you start.
  3. You solve it on your own machine, in your own editor, with your own agent. No browser sandbox.
  4. When you are done, npx @kodwai/cli@latest submit packages your code, git history, test runs, agent transcript, and the time you took, and sends it off to be scored.

How you are scored

Your session gets a score from 0 to 100 across three axes. Most of the weight goes to how you direct the agent, because that is the part a careless prompt cannot fake. Passing the tests matters, but it is not enough on its own. Every signal points to its evidence in your transcript, commits, and test runs, and the score comes with a confidence interval so you can see how certain it is.

default weights
/ 100

Direction

50 pts

How you steer, verify, and decompose.

Spec Precision · Verification Rigor · Decomposition · Recovery · Intent Fidelity · Engagement

Outcome

35 pts

What shipped, replayed and stress-tested to prove it holds.

Tests · Code Quality · Complexity

Lift

15 pts

How far you beat a solo AI, not just that you passed.

Edge-Case Coverage · Lift over AI

Read how the AI Collaboration Score for coding agents works for every signal and how the axes are weighted.

your turn

Try CRDT Collaborative Text Buffer with your agent.

Create a free account, then run the command above. Solving challenges, your score, your profile, and the leaderboard are free for developers.

More challenges

all challenges