Team Ai
Datasetpublic

NDe2V/methods2test_small_static

methods2test_small (cleaned) + static method-level context Static context for unit-test generation, computed with tree-sitter from each row's source only (no repository checkout; target is never read). Configs default: train / validation / test from NDe2V/methods2test_small_cleaned @ 3d6a2f2061736202832b7ac2bb4e84e1c70668e8 methods2test_runnable: test from andstor/methods2test_runnable (fm+fc+c+m+f+t+tc) @ ed8cded666b2f7d101ba04a7a8d121b6249d8c39… See the full description on the dataset page: https://huggingface.co/datasets/NDe2V/methods2test_small_static.

sourceHugging Faceupdated 17d agoView on Hugging Face
0likes202downloads
Dataset Card

methods2test_small (cleaned) + static method-level context

Static context for unit-test generation, computed with tree-sitter from each row's source only (no repository checkout; target is never read).

Configs

Added columns

columnmeaning
static_contextJSON string: focal, classinfo, ast, cfg, dfg, cdg, paths, calls, types, fields, exceptions, metrics, testcase, testhints, contexttext
context_textfull text summary
prompt_contextcompact Java comment actually used in the prompt ("" if dropped)
source_ctxprompt_context + source: ready-to-use prompt for Salesforce/codegen-350M-multi within 2048 tokens
ctx_includedwhether context fit the token budget
static_statusok / partial / error
python
import json
from datasets import load_dataset
ds = load_dataset("NDe2V/methods2test_small_static", "default", split="train")
sc = json.loads(ds[0]["static_context"])   # nested AST/CFG/DFG/...