Jane Street: Socratic Tutor

    Jane Street: Socratic Tutor

    Jane Street has rolled out a new internal tool they call the Socratic Tutor, a code‑review assistant that prompts developers with guided questions instead of blunt suggestions. The idea is to mirror the way a senior engineer might walk a junior through a bug, asking “what invariant does this loop rely on?” or “how does this data structure handle edge cases?” rather than simply flagging the line as wrong. By framing feedback as a dialogue, the system encourages deeper reasoning and helps coders internalize best practices.

    The Tutor is built on a large language model fine‑tuned on Jane Street’s own codebase, trading raw speed for domain‑specific accuracy. It parses a pull request, extracts the relevant context, and then generates a short series of prompts that appear directly in the review UI. Developers can answer inline, request hints, or skip the line altogether. The interaction logs are fed back into the model, allowing it to refine its questioning style over time.

    Early internal testing shows that engineers who engage with the Socratic Tutor tend to close fewer follow‑up bugs and spend less time revisiting the same logic later. The approach also surfaces hidden assumptions in the code, prompting teams to add missing invariants or clarify documentation. Because the tool doesn’t prescribe a single solution, it leaves room for creative alternatives while still nudging the reviewer toward a more rigorous thought process.

    Jane Street plans to open the Socratic Tutor to external partners later this year, positioning it as a differentiator in a market saturated with blunt linting tools. If the experiment scales, it could reshape how code reviews are conducted across the industry, turning a traditionally static checklist into an interactive learning experience for developers at every level.

    Source: Jane Street: Socratic Tutor

    Technology
    Coding
    0

    More on this topic