Sign In

Activity v1

Streaming JSON Repair & Buffer Playground

Visualise incomplete stream buffering, UTF-8 sequence cuts, and token-repair delimiters.

completion
beginner
seed 11

Streaming JSON Repair & Buffer Playground: Baseline

Explore the core controls with stable inputs and visible assumptions.

Assumptions

The simulation is deterministic and intentionally simplifies provider and hardware behavior.

Failure injection

Stable baseline with no injected production fault.

Streaming JSON Repair Visualizer

Buffer index: 0 / 176 bytes0% complete

1. Raw Input Buffer

Uint8Array
waiting for stream...

2. UTF-8 Byte sequences

UTF-8 Aligned
No bytes decoded

3. Token-Repair State Machine

Syntactically Incomplete
Open bracket stack
Stack empty
Auto-closed repaired payload
waiting...

4. Parsed JSON Tree View

60Hz UI render
Waiting for first valid repair tick...
0 saved attempts

Expected outcomes

  • Align UTF-8 code-point byte chunks
  • Repair unclosed JSON string delimiters
Free Guided Course
Free · Verifiable Credential

FS-102LLM Systems Foundations

Build a connected mental model from tokens through retrieval evaluation security and operations.

24 concepts~18h self-paced
Start Free Course
Weekly Engineering Dispatch

Get the weekly systems teardown

One technical note per week covering inference bottlenecks, retrieval harnesses, and commit-pinned teardowns.