Lost in the Middle: Long-Context Recall Curve (2D)

Long-context language models don't treat every position in a huge context window equally. This 2D companion renders the context window as a flat row of chunks — height and color encode the theoretical probability that a fact placed there would be recalled — with a needle marker you can drag to any depth to run Monte Carlo recall trials. A second panel below plots the theoretical recall curve R(d) alongside the live empirical curve building up from your trials. Tune context length and simulated model quality to watch the classic U-shaped "lost in the middle" curve sharpen or flatten, and use Auto-Sweep to build the empirical curve automatically across every depth.