pith:FAL4JNNF
CodeT: Code Generation with Generated Tests
CodeT generates test cases with the same model to select correct code samples via dual execution agreement.
arxiv:2207.10397 v2 · 2022-07-21 · cs.CL · cs.AI · cs.PL · cs.SE
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{FAL4JNNFGADJ252EXPWX3ECZKQ}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
CodeT improves the pass@1 metric on HumanEval to 65.8%, an absolute improvement of 18.8% over the code-davinci-002 model and more than 20% over previous state-of-the-art results.
That agreement between independently generated code samples on independently generated tests reliably indicates functional correctness rather than shared bugs or test weaknesses.
CodeT improves code generation accuracy by using the same model to create test cases and then selecting solutions via output agreement on those tests, raising HumanEval pass@1 from 47% to 65.8%.
References
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:49.699265Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
2817c4b5a530069d7744bbed7d905954374e394adc098726acb9656241cd5447
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/FAL4JNNFGADJ252EXPWX3ECZKQ \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 2817c4b5a530069d7744bbed7d905954374e394adc098726acb9656241cd5447
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "18964b1cece2710bd0d5489f437f4f7246a382cc6eab0a23b0b624827c6804ca",
"cross_cats_sorted": [
"cs.AI",
"cs.PL",
"cs.SE"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.CL",
"submitted_at": "2022-07-21T10:18:37Z",
"title_canon_sha256": "9f454b5fd5666f3fd6b9b1f77c86081aef821f4aef5eae5e56439466fc5afe5f"
},
"schema_version": "1.0",
"source": {
"id": "2207.10397",
"kind": "arxiv",
"version": 2
}
}