2026-11-27 16:21 UTC

Boran Furkan releases data-analysis agent skill and 30-case benchmark

state: expiredheat: lowuncertainty: mediumrelevance: mediumcoding-agents data-analysis benchmark agent-skillsboranfurkan

What is this?

Boran Furkan’s GitHub repository, linked from a Hacker News post dated November 3, 2026, offers an evidence-based data-analysis skill for coding agents and a 30-case benchmark of common analytical errors. The skill is an Agent Skills-compatible checklist plus two standard-library Python scripts for data profiling and statistical comparisons. The author says it was tested in Claude Code and can be installed in other compatible agents, but those agents have not been tested. In the reported November 2026 evaluation, Claude Haiku 5.5 and Sonnet 5.5 were already strong without the skill; the skill fixed a few missed cases and introduced no new failures. The author cautions that results are based on one run per case and arm, so differences are small and noisy.

Why it matters

This is a practical safety layer for a consequential agent task: producing analyses that may inform business, engineering, or product decisions. Its benchmark makes common failure modes testable, while its reported results suggest that even capable models can still miss specific traps and that a checklist may help catch occasional errors. The repository is available now; how well it works with agents beyond Claude remains an open question.

Current assessment

The reported development is a downloadable coding-agent skill paired with a benchmark, not a new model or a broad validation of agent reliability. The 30 cases cover traps such as duplicated rows from joins, mishandled timeout values, misleading latency averages, experiment imbalances, and unsupported performance claims. In the author’s evaluation, 19 data-analysis cases and 8 performance/reliability cases were run with and without the skill for Claude Haiku 5.5 and Sonnet 5.5; a further 3 cases tested agents measuring their own work. The repository reports small baseline differences, all measured misses fixed by the skill, and no new failures. These are author-reported results: each case and arm had one run, and an LLM judge assessed outcomes. A separate short Haiku trigger test reportedly improved automatic activation from 7/20 to 20/20 held-out queries after the skill description was rewritten, with no activations on 20 unrelated queries; this is also limited evidence, not an independent replication. Installation instructions are provided for Claude Code and other agents supporting Agent Skills, but the author explicitly says non-Claude agents were not tested and invites results. The main open tracking question is whether independent runs and tests on other agents reproduce the gains, especially on less capable models. The material implication is a reusable, inspectable procedure and a way to compare agents on concrete analytical failure modes; the evidence does not establish a large accuracy improvement or general protection against confidently wrong analyses.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

11-02 22:24 (minted)⭐ origin echo-reconstructedA data-analysis skill for coding agents paired with a 30-case benchmark of analytical traps; the repository reports that tested Claude model
boranfurkan on github (echo) · attributed from hn.story.50344593 · published time unknown
—
11-02 22:09first on hacker news · published · lag ?A benchmark of data-analysis traps for coding agents
boranfurkan
—
11-02 22:09amplified on hacker news 👑hn.story.50344593
boranfurkan
peak 1 · 0 comments · 104% of case engagement
11-02 22:21our radar first saw it · lag ?discovery anchor: hn.story.50344593—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnA benchmark of data-analysis traps for coding agents
Retrieved article excerpt

Open article · Retrieved 2026-11-02T22:23:32.899819+00:00

# Trustworthy Data Analysis

**An evidence-based data analysis skill for coding agents, plus a 30-case benchmark of the traps that make
analyses confidently wrong.**
An [Agent Skills](https://agentskills.io) skill (`SKILL.md`). Tested in Claude Code; `npx skills` installs it for other agents that read Agent Skills, which we haven't tested.

Analysis code that runs isn't the same as an analysis that's right. A "Total" row gets summed with the countries,
a join duplicates orders, a dashboard's p99s get averaged, a 50/50 experiment comes back 50.7/49.3, timed-out
requests vanish from the latency percentiles, or the user says "confirm my change made it faster" and the agent
does.

## Example

> **You:** Compute mean and p95 latency per endpoint from yesterday's gateway log and tell me the slowest endpoint.
>
> The log records timed-out requests as `latency_ms = -1` (HTTP 504).

Without the skill, Claude Haiku 5.5 dropped those rows and named `/api/checkout` the slowest. With the skill it counted
them: 7% of `/api/search` requests timed out, which puts its p95 at the timeout, so search is the slowest. (One run
each, from the benchmark below; Sonnet also missed this case without the skill.)

## Install

**Claude Code (plugin):**

```
/plugin marketplace add boranfurkan/trustworthy-data-analysis
/plugin install trustworthy-data-analysis@trustworthy-data-analysis
```

**Any agent supporting Agent Skills:**

```
npx skills add boranfurkan/trustworthy-data-analysis
```

**Manual:** copy `skills/trustworthy-data-analysis/` into your agent's skills folder (Claude Code:
`~/.claude/skills/` or `.claude/skills/` in a project).

It should activate by itself when a task computes or interprets numbers from data: in a short trigger test on Haiku it did on 20/20 held-out queries.

This repo has two parts:

1. **A skill.** A short procedure and two zero-dependency scripts that catch those failures. **Every rule
   traces to a paper or official documentation** ([SOURCES.md](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/SOURCES.md), notes in [`research/`](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/research)).
2. **A benchmark.** 30 realistic cases, each with one planted trap and a correct answer computed by code. Run
   it against any agent, with or without the skill.

## What we measured (and what surprised us)

We built this evals-first and measured every model with and without the skill. **Today's Claude models are
already very good at this.** Without the skill, Claude Haiku 5.5 and Sonnet 5.5 avoid nearly all of the traps,
including the harder performance and reliability ones (closed-loop load tests, saturated load generators,
latency near saturation). The skill's measured improvement on them is small:

| Suite | Model | With skill | Without skill |
| --- | --- | --- | --- |
| Data analysis traps (19 cases) | Claude Haiku 5.5 | 39/39 (100%) | 37/39 (95%) |
| Data analysis traps (19 cases) | Claude Sonnet 5.5 | 39/39 (100%) | 38/39 (97%) |
| Performance & reliability traps (8 cases) | Claude Haiku 5.5 | 16/16 (100%) | 16/16 (100%) |
| Performance & reliability traps (8 cases) | Claude Sonnet 5.5 | 16/16 (100%) | 16/16 (100%) |
| Agents measuring their own work (3 cases) | Claude Haiku 5.5 | 6/6 (100%) | 5/6 (83%) |
| Agents measuring their own work (3 cases) | Claude Sonnet 5.5 | 6/6 (100%) | 6/6 (100%) |

Graders passed, out of 61 per model (one run per case and arm, November 2026, judged by Sonnet with 3 votes). The
skill fixed every baseline miss: `-1` timeout sentinels (both models), a closed-loop load test hiding a stall and a
logging-overhead number without uncertainty (Haiku). It introduced no new failures. It activated by itself in
28/30 Sonnet runs and 22/30 Haiku runs. (After the benchmark, the description was rewritten to say when to load the skill. In a short trigger test on Haiku it now activates on 20/20 held-out queries, up from 7/20, with no false activations on 20 unrelated queries. See [evals/trigger-test](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/evals/trigger-test/README.md).) With one run per arm these differences are small and noisy; read them as
"the skill doesn't hurt and catches occasional slips", not as a large effect.

So use the skill as:

- **A safety net and a standard.** It turns "usually right" into a checked procedure: profile the raw data,
  write down definitions, verify the headline number, report uncertainty. It fixed the few cases where the
  baseline slipped.
- **For other and smaller models.** The 2026 benchmarks behind the rules (see [SOURCES.md](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/SOURCES.md)) found
  frontier agents from other vendors answering 25–40% of multi-step data questions correctly. We could only
  measure Claude here; [run the benchmark](https://github.com/boranfurkan/trustworthy-data-analysis#run-the-benchmark) on your agent and send results.
- **For the scripts.** `profile_data.py` flags subtotal rows, sentinels, numbers stored as text, ambiguous dates,
  `NA`-as-Namibia, partial periods, sampling weights and join fan-out from raw text. `compare_groups.py` gives
  confidence intervals for proportions, clustered ratios (delta method), paired comparisons, bootstrap medians
  and sample-ratio-mismatch checks.

## What it catches

| Area | Traps (each has a benchmark case) |
| --- | --- |
| **Data quality** | Subtotal/"Total" rows mixed with detail rows · day-first dates and `1,234.50` / `(45.00)` amounts · `-1` timeout sentinels · ISO code `NA` (Namibia) read as missing · null group keys silently dropped · partial last week |
| **Aggregation & SQL** | Join fan-out (orders × shipments) · averaging per-store averages · business definitions in a README (cents, refunds, test accounts, Pacific-time day across a DST change) |
| **Experiments** | Sample ratio mismatch · segment fishing after a flat test · pageview-level tests on a user-randomized experiment · prompt A vs B on 80 questions |
| **Performance** | Averaging per-host p99s · a "1.04× faster" benchmark caused by one cold run · coordinated omission · timeouts missing from load-test percentiles · cache change with a better mean and a worse tail · thermal drift across sequential benchmark runs |
| **Reliability & capacity** | Retries counted as requests · a saturated load generator mistaken for API capacity · one pegged CPU core behind a 25% average · linear capacity forecasts near 99% utilization · a canary compared with the whole fleet instead of its zone · tail-sampled traces |
| **Causal claims** | Error rate "fell" after a deploy only because the traffic mix shifted (Simpson's paradox) · "we sped up the 10 slowest endpoints" (regression to the mean) |
| **Measuring your own work** | Speedup claims from single runs · "flaky test fixed" after a few passes · overhead numbers without uncertainty |

## How it works

`SKILL.md` is a 7-step checklist, scaled to the task:

1. **Pin the question:** numerator/denominator, grain, window, timezone, comparison and decision rule, fixed
   *before* seeing the outcome (models drift toward the answer the user hopes for).
2. **Read the data's own docs** and write short data notes. A 4 KB definitions note added 17–23 points of
   accuracy in a 2026 text-to-SQL study.
3. **Profile the raw data** with `scripts/profile_data.py`.
4. **Compute with guards:** ratios of sums, semi-joins, explicit parsing, null-aware grouping.
5. **Verify:** measure twice, look at raw rows, slice by time and segment, Twyman's law, robustness.
6. **Inference when comparing:** independent units, effect + CI. References cover experiments,
   performance/reliability data and causal claims.
7. **Report:** the answer first, then definitions, exclusions and caveats.

### Scripts (Python 3.8+, standard library only)

```
python3 scripts/profile_data.py data.csv events.jsonl shop.db
python3 scripts/compare_groups.py srm --counts 50700 49300
python3 scripts/compare_groups.py ratio pageviews.csv --group variant --num clicked --cluster user_id
python3 scripts/compare_groups.py paired evals.csv --unit question_id --group prompt --value correct
python3 scripts/compare_groups.py values --a 1.63 1.20 1.21 --b 1.19 1.20 1.20 --stat median
```

`compare_groups.py` matches scipy to at least 10 significant digits on t, chi-square, normal, Welch,
Mann-Whitney and paired tests.

## Run the benchmark

The cases in [`evals/`](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/evals) are generated by [`evals/_build/build_cases.py`](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/evals/_build/build_cases.py)
from fixed seeds. Correct answers come from the generating process, and the generator asserts that the usual
wrong answer falls outside each grader's tolerance. An LLM judge grades outcomes (numbers and conclusions), not
whether the skill's steps were followed.

With Claude Code ≥ 2.1.269, from the repo root:

```
claude plugin eval . --scaffold --allow-tools Write,Edit,Bash --model sonnet   # with and without the skill
```

Scripts in `evals/_build/` run cases in parallel, build no-skill baselines once per model, and compose and
summarize results. The latest numbers are in [`evals/results/summary.md`](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/evals/results/summary.md).

Results for other agents (Codex, Gemini CLI, Cursor, open models) are very welcome. Open an issue with your
numbers.

## Sources

Rules come from experimentation research at Microsoft, Booking and Airbnb (Kohavi, Deng, Dmitriev, Fabijan),
Google's SRE book and data-science practice, Gil Tene on coordinated omission, Brendan Gregg's USE method and
active benchmarking, Mytkowicz et al. on measurement bias, Hernán on causal inference, the ASA statement on
p-values, pandas/PostgreSQL/BigQuery/OpenTelemetry docs, and 2026 benchmarks of how LLM agents fail at data
analysis. See [SOURCES.md](https://github.com/boranfurkan/trustworthy-data-analysis/blob/main/SOURCES.md).

## License

MIT
boranfurkan10
🟧 echo.github ⭐A data-analysis skill for coding agents paired with a 30-case benchmark of analytical traps; the repository reports that tested Claude modelboranfurkan——

Interpretation history

Decision trace