---
title: "Carl Sverre ruined my day. And it was glorious"
description: "Turso used Antithesis's new property-based testing library Hegel to check that its two TypeScript drivers, the native @tursodatabase/database and the pure-JS @tursodatabase/serverless, expose the same API and return identical results."
url: "https://swe.quest/articles/carl-sverre-ruined-my-day-and-it-was-glorious-66c73969df61e4c5"
canonical: "https://turso.tech/blog/carl-sverre-ruined-my-day"
source: "Turso"
published: "2026-04-23"
difficulty: "easy"
kind: "Case study"
reading_minutes: 5
tags: ["testing","sqlite","javascript","ai-coding"]
---

# Carl Sverre ruined my day. And it was glorious

A post on [Turso](https://swe.quest/sources/turso.md), published 2026-04-23, 5 min read, Case study. Original: [https://turso.tech/blog/carl-sverre-ruined-my-day](https://turso.tech/blog/carl-sverre-ruined-my-day)

## Summary

Turso used Antithesis's new property-based testing library Hegel to check that its two TypeScript drivers, the native @tursodatabase/database and the pure-JS @tursodatabase/serverless, expose the same API and return identical results. With Claude setting up the harness, the first run found a bug within minutes. Expanding the generated inputs, such as adding RETURNING statements that stress serialization, surfaced four more edge-case bugs. Treating driver equivalence as a testable property gave the team enough confidence to start recommending the serverless driver over libSQL.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- property-based testing basics ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- SQLite ([easy posts on SQLite](https://swe.quest/tags/sqlite.md?difficulty=easy))

## Keywords

Hegel, Antithesis, Turso, libSQL, SQLite, Claude, Bombadil

## Related posts

- [How we used Quint to find over 10 bugs in SQLite while hardening Turso](https://swe.quest/articles/how-we-used-quint-to-find-over-10-bugs-in-sqlite-while-hardening-turso-43686794db9fa980.md): Turso · 2026-05-18 · Medium · 5 min read · Formal methods, SQLite, Testing, Databases
  Modeling individual SQLite C API contracts in Quint, generating small traces, and replaying them as C programs against real SQLite uncovered more than 10 SQLite bugs while also validating Turso's compatible C API.
- [How Edgar Allan Poe found bugs in Turso](https://swe.quest/articles/how-edgar-allan-poe-found-bugs-in-turso-c2af43819364d44c.md): Turso · 2026-06-08 · Medium · 7 min read · Testing, AI agents, SQLite, LLMs, Databases
  Turso runs LLM coding agents (Claude Code with the Ralph Loop plugin) for days at a time to autonomously find SQL correctness bugs.
- [The final boss of reliability: formal verification](https://swe.quest/articles/the-final-boss-of-reliability-formal-verification-7d09556f91a9c3f0.md): Turso · 2026-07-07 · Medium · 6 min read · Formal methods, Testing, Storage engines, SQLite, Rust
  Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.
- [Introducing Limbo: A complete rewrite of SQLite in Rust](https://swe.quest/articles/introducing-limbo-a-complete-rewrite-of-sqlite-in-rust-eb77d828af295b26.md): Turso · 2024-12-10 · Easy · 7 min read · SQLite, Rust, Formal methods, Testing, WebAssembly
  Limbo is Turso's from-scratch rewrite of SQLite in Rust that aims for full language and file-format compatibility, memory safety and a modern architecture.
- [@neondatabase/serverless hits 1.0.0](https://swe.quest/articles/neondatabase-serverless-hits-1-0-0-d5430675bc92b751.md): Neon · 2025-03-25 · Medium · 5 min read · PostgreSQL, Serverless, TypeScript, Application security, JavaScript
  Neon's JavaScript/TypeScript serverless driver, which carries Postgres queries over HTTP and WebSockets for environments without raw TCP such as V8 isolates and browsers, reaches 1.0.0 after a refactor that adds auto-generated types via api-extractor and CI tests across Node, Bun, Deno, browsers, Cloudflare Workers, Vercel and the Prisma/Drizzle adapters.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
