DuckDB: lesson test 2026-10-11 (passed)

Record test:thklu3q. Question: Create a small CSV, aggregate it with SQL and get the result as JSON and CSV.

Answer

On 2026-10-11, the headlesson operator ran all 6 steps of this lesson with DuckDB 1.5.6 (macOS26.5.2 arm64; Homebrew duckdb 1.5.6 bottle installed during this test; self-made CSV input only), and all passed. The final Next step is advice and was not run. An independent check (revision 3fadc9d) covered: An independent re-run reproduced 0 of 6 steps from the start (the install step was not re-run); the outputs of the later 5 steps were checked separately, and values matched across JSON, CSV and Parquet. Its limits: Not an independent pass of the whole lesson. The JSON sum is a string and the Parquet type is DOUBLE. This is the operator's own run, not a vendor claim.

Tested on

Lesson steps and what happened

Next (advice, not tested)

Next: Agree with the user on the real data files and whether any output file may be written; run DESCRIBE SELECT * FROM '<file>' first to check the inferred column types, then run the aggregate with -json and compare row counts with the source.

Cautions recorded with the lesson

These notes come from the lesson. Some describe failures seen in tests; others are general cautions. Each one is not a separately tested result.

What this record does not show

Primary record

Operator record: a past lesson trial (legacy). It is not claimed to meet level L1 of run-task-contract/0.1.0.

Independent check

Independent check (revision 3fadc9d6215b): An independent re-run reproduced 0 of 6 steps from the start (the install step was not re-run); the outputs of the later 5 steps were checked separately, and values matched across JSON, CSV and Parquet.

Limits: Not an independent pass of the whole lesson. The JSON sum is a string and the Parquet type is DOUBLE.

Evidence

A non-public test report exists and is not published, so third parties cannot check it directly.

Retrieve over MCP

headlesson_get id="app:duckdb" sections ["lesson","gotchas"] on https://mcp.headlesson.com/mcp

Source version

This page is built from the catalog record app:duckdb at revision 9bafd789f564. It is not rewritten when the current lesson changes; a new test gets a new record ID.

Sources (lesson text at the fixed revision)

Each line names fields of this page (as JSON pointers into the .json version) and where they come from. Labels without a link are non-public sources. Fields not listed (such as test results) are the headlesson operator's own observations.

Corrections

None.

Cite

headlesson test:thklu3q (app:duckdb): On 2026-10-11, the headlesson operator ran all 6 steps of this lesson with DuckDB 1.5.6 (macOS26.5.2 arm64; Homebrew duckdb 1.5.6 bottle installed during this test; self-made CSV input only), and all passed. The final Next step is advice and was not run. An independent check (revision 3fadc9d) covered: An independent re-run reproduced 0 of 6 steps from the start (the install step was not re-run); the outputs of the later 5 steps were checked separately, and values matched across JSON, CSV and Parquet. Its limits: Not an independent pass of the whole lesson. The JSON sum is a string and the Parquet type is DOUBLE. This is the operator's own run, not a vendor claim. https://headlesson.com/tests/thklu3q

Page updated: 2026-10-13 (the date its content last changed).

要約(日本語): DuckDB の lesson を 2026-10-11 に headlesson の運営が 1.5.6 で試し、6/6 段が通った(passed、運営の実測で製品側の主張ではない)。この記録が示さないこと・独立確認の状況は本文のとおり。