Validating the DABstep adapter against canonical gold, plus a Kaggle Harbor pilot

Open
#4,438 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, python, shell, yaml

Research direction

Start with adapters/dabstep/run_adapter.py, where the hardcoded parquet URLs return HTTP 404, and with test.sh line 16, where the xargs pipeline breaks on quotes and backslashes. The gold-answer rebuild and the parity re-run are design-level work needing Adyen's canonical answers or a new reference source. Done would mean the default split runs end to end and the verifier survives quoted answers, with unit tests under adapters/dabstep.

Written by the indexing model from the issue text.

Description

Hi, Alan (@zeroasterisk) again. Same context as my scorer issue #4437: I worked with Adyen on payments topics in an earlier role and follow agent evaluation work now. This post is about what it would take to call the DABstep adapter validated, and it matters because I think Harbor is becoming a standard. If it is, the quality of its flagship adapters compounds.

Where things stand. The adapter is real work: 450 tasks packaged with instructions, a Docker environment, and a verifier, v1.0 in the legacy registry, plus published parity experiments. But I found defects that break it today:

Gold corruption. The adapter doesn't have Adyen's canonical answer set. For the 450 default tasks it downloads the public task_scores split and keeps the shortest submission marked correct per task. I audited the reconstruction: 88 of the 450 shipped answers are corrupted. All 30 scheme:fee tasks lost their fees, 16 negative-delta tasks flipped sign, 8 KV_LIST dicts collapsed to scalars, and dev tasks 70 and 49 are truncated. So "validated against reference" currently means validated against reconstructed public submissions, and 88 of those reconstructions are wrong.

Broken data source. The hardcoded parquet URLs in run_adapter.py now return HTTP 404, so run_adapter.py --split default fails out of the box.

Verifier bug. test.sh:16 pipes answers through xargs and crashes on quotes or backslashes.

Answer exposure. Current task_scores rows expose agent_answer next to score=true, and the adapter runs with NetworkMode.PUBLIC with curl and python3 in the image, so an agent could fetch accepted answers mid-run.

Test coverage. This repo ships zero unit tests for adapters/dabstep.

Parity evidence. The oracle test writes the same expected answer it checks against, so a 100% oracle pass proves plumbing, not correctness. The published 130-task comparison (37.69% vs 36.92%) is weaker than documented: the README says the Harbor side ran terminus-2, but the actual configs (parity_experiment.json, PR #629, the parity-experiments discussion #84) show Harbor ran [email protected] (claude-haiku-4-5-20251001). The upstream fork (harvenstar/DABstep) is deleted, so the upstream side can't be reproduced, trials were internally inconsistent across runs, and both sides were scored with the buggy scorer from #4437 against the corrupted gold above. I didn't rerun those trials.

Prior art: ZJUICI/tablegpt-harbor PR #11 wrapped [email protected] with no-network settings. I haven't seen the 404 breakage, gold corruption, parity misdocumentation, verifier bug, or missing test coverage reported anywhere.

Proposal, in order:

  1. Rebuild gold from a correct source, or get Adyen to validate against their canonical answers.
  2. Fix the 404 data source and pin data, scorer, and image revisions.
  3. Fix the scorer (see #4437) and decide on a legacy vs corrected track rather than mixing silently.
  4. Deny answer-bearing endpoints during runs.
  5. Add unit tests for the adapter, including the verifier's quoting path.
  6. Pilot a representative sample (hard task families, list/numeric/labelled answers, known-correct and known-wrong negatives) in Kaggle's Harbor executor.
  7. Publish versioned, keeping HF as the canonical home meanwhile.

On Kaggle: there's an official Harbor starter with a Docker-in-Docker executor pinned to Harbor 0.15.0, so a Harbor-backed benchmark is a real route there. Disclosure: I work at Google and Kaggle is Google, so read this as one concrete option among others, not a pitch. Unverified on my end: the actual onboarding and quota flow for Harbor-backed benchmarks (their docs point to [email protected]), and whether a DABstep listing already exists on Kaggle (I found none, which doesn't prove absence).

Happy to help with repro cases or a PR.

Dominant language
Python
Stars
5.6k
Forks
1.9k
Avg merge
1d 17h
Merged PRs (30d)
156

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from harbor-framework/harbor

All issues in harbor-framework/harbor

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.