Datasets:
Upload README.md with huggingface_hub
Browse files18 unmodified lines192021222324252627282930313233343522 unmodified lines585960616263646566676869707117 unmodified lines8990919293949543 unmodified lines1391401411421431441457 unmodified lines15315415515615715815916016116216316416516616716816917017117217317417517 unmodified lines1931941951961971981992002012022032042055 unmodified lines21121221321421521621718 unmodified linesdefault: truedata_files:- split: bigcodebenchpath: human/final/flags/bigcodebench-flags.tsv- split: champpath: human/final/flags/champ-flags.tsv- split: logicbenchpath: human/final/flags/logicbench-flags.tsv- split: medcalcbenchpath: human/final/flags/medcalcbench-flags.tsv- split: theoremqapath: human/final/flags/theoremqa-flags.tsv- split: skill_usagepath: human/final/flags/skill_usage-flags.tsv- config_name: queriesdata_files:- split: bigcodebench22 unmodified lines[WeihangSu/SRA-Bench](https://huggingface.co/datasets/WeihangSu/SRA-Bench) and[Shiyu-Lab/Skill-Usage](https://huggingface.co/datasets/Shiyu-Lab/Skill-Usage).**Paper:** TODO · **Code:** TODO (GitHub) · **Agent runs:** TODO (Hugging Face)| | SRA-Bench | Skill-Usage ||---|---|---|| Tasks | 50 (10 per dataset) | 25 || Judged task–skill pairs | 1,525 | 750 || Skills in the corpus | 26,262 | 34,396 || Utility models | Llama-3.1-8B-Instruct, GLM-4.5-Air-FP8, Qwen3.6-27B-FP8 | GLM-4.5-Air-FP8, Qwen3.6-27B-FP8 |SRA-Bench's tasks come from five datasets: BigCodeBench, CHAMP, LogicBench, MedCalc-Bench and TheoremQA.Report the two benchmarks separately.17 unmodified linesdef download(repo, path):return hf_hub_download(repo, path, repo_type="dataset")qrels = pd.concat(pt.io.read_qrels(download(LABELS, f"human/final/qrels/{ds}-relevance.qrels")) for ds in DATASETS)queries = pd.concat(pd.read_json(download(LABELS, f"queries/{ds}.jsonl"), lines=True) for ds in DATASETS)queries = queries.rename(columns={"query_id": "qid"})skills = json.load(open(download("WeihangSu/SRA-Bench", "corpus/corpus.json")))43 unmodified linesfrom ir_measures import nDCG, P, R, Judgedqrels = list(ir_measures.read_trec_qrels(hf_hub_download("jdh235/beyond-reference-skills", "human/final/qrels/skill_usage-relevance.qrels", repo_type="dataset")))run = list(ir_measures.read_trec_run("my_run.trec"))print(ir_measures.calc_aggregate([nDCG@5, P(rel=2)@5, R(rel=2)@5, Judged@5], qrels, run))```7 unmodified linestask's pool was judged: measure at depth 5 and report `Judged@5`, the share of the top 5 with a label.Unjudged skills count as non-relevant.## Beyond retrievalThe labels also support studying whether skills help the agents that use them:- **End-to-end utility.** `utility/{benchmark}/{model}/{dataset}-utility.json` gives, per task, a model'srewards over three runs with no skill, and with each judged skill injected on its own. Relate the grades towhether a skill actually helps, or compare reference skills with the others.- **Skill selection.** The agent runs (TODO link) record which offered skills agents chose to open underprogressive disclosure, and how they did. Join them with the grades to study how agents select skills.- **Skill quality.** The flags mark skills that are malicious, contain incorrect information or are notactionable in the task's environment. They cover only the judged skills, so an unflagged skill is not knownto be safe.- **LLM judges.** `llm_judge/gpt-oss-120b/` has the judge's grade and flags for every pair, to compare withthe human labels or to benchmark another judge against.- **Annotator agreement.** `human/first_round/` has each annotator's grades and flags, and`human/reannotation/` the second round.## Queries`queries/{dataset}.jsonl` has the exact query every retriever was given, one `{"query_id", "query"}` per line.17 unmodified lines| Path | Contents ||---|---|| `human/final/qrels/{dataset}-relevance.qrels` | Final grade per pair: `query_id 0 skill_id grade` (0–3) || `human/final/flags/{dataset}-flags.tsv` | Final grade and consensus quality flags per pair (tab-separated, header row; flag 1 = flagged). The dataset viewer shows these as the `labels` config || `human/first_round/task_subset_{1,2,3}/` | Each annotator's first-round grades (`{dataset}-annotation.json`) and flags (`flags.json`) || `human/reannotation/` | Second-round grades for re-annotated pairs, and second-round flags (`flags/round2/`) || `queries/{dataset}.jsonl` | The query for each annotated task (see [Queries](#queries)); the `queries` config in the viewer || `llm_judge/gpt-oss-120b/{dataset}.jsonl` | One line per pair: the judge's full trajectory, sampling settings, and its answer in `content` (`rating`, `malicious`, `incorrect_info`, `not_actionable`, `reasoning`) || `utility/{sra_bench,skill_usage}/{model}/{dataset}-utility.json` | Per task: the baseline's rewards over three runs, and each judged skill's rewards with that skill injected |## How the labels were made5 unmodified lines**Final flags.** Flags are given per skill, so a skill's flags repeat on each of its pairs. A flag anyannotator marked in the first round was re-annotated by all three, and is final if two of the threesecond-round answers mark it; any other flag is final as not flagged.## Licence18 unmodified lines192021222324252627282930313233343522 unmodified lines5859606162636465666768697017 unmodified lines8889909192939443 unmodified lines1381391401411421431447 unmodified lines15215315415515615717 unmodified lines1751761771781791801811821835 unmodified lines18919019119219319419519618 unmodified linesdefault: truedata_files:- split: bigcodebenchpath: flags/bigcodebench-flags.tsv- split: champpath: flags/champ-flags.tsv- split: logicbenchpath: flags/logicbench-flags.tsv- split: medcalcbenchpath: flags/medcalcbench-flags.tsv- split: theoremqapath: flags/theoremqa-flags.tsv- split: skill_usagepath: flags/skill_usage-flags.tsv- config_name: queriesdata_files:- split: bigcodebench22 unmodified lines[WeihangSu/SRA-Bench](https://huggingface.co/datasets/WeihangSu/SRA-Bench) and[Shiyu-Lab/Skill-Usage](https://huggingface.co/datasets/Shiyu-Lab/Skill-Usage).**Paper:** TODO · **Code:** TODO (GitHub)| | SRA-Bench | Skill-Usage ||---|---|---|| Tasks | 50 (10 per dataset) | 25 || Judged task–skill pairs | 1,525 | 750 || Skills in the corpus | 26,262 | 34,396 |SRA-Bench's tasks come from five datasets: BigCodeBench, CHAMP, LogicBench, MedCalc-Bench and TheoremQA.Report the two benchmarks separately.17 unmodified linesdef download(repo, path):return hf_hub_download(repo, path, repo_type="dataset")qrels = pd.concat(pt.io.read_qrels(download(LABELS, f"qrels/{ds}-relevance.qrels")) for ds in DATASETS)queries = pd.concat(pd.read_json(download(LABELS, f"queries/{ds}.jsonl"), lines=True) for ds in DATASETS)queries = queries.rename(columns={"query_id": "qid"})skills = json.load(open(download("WeihangSu/SRA-Bench", "corpus/corpus.json")))43 unmodified linesfrom ir_measures import nDCG, P, R, Judgedqrels = list(ir_measures.read_trec_qrels(hf_hub_download("jdh235/beyond-reference-skills", "qrels/skill_usage-relevance.qrels", repo_type="dataset")))run = list(ir_measures.read_trec_run("my_run.trec"))print(ir_measures.calc_aggregate([nDCG@5, P(rel=2)@5, R(rel=2)@5, Judged@5], qrels, run))```7 unmodified linestask's pool was judged: measure at depth 5 and report `Judged@5`, the share of the top 5 with a label.Unjudged skills count as non-relevant.## Queries`queries/{dataset}.jsonl` has the exact query every retriever was given, one `{"query_id", "query"}` per line.17 unmodified lines| Path | Contents ||---|---|| `qrels/{dataset}-relevance.qrels` | Final grade per pair: `query_id 0 skill_id grade` (0–3) || `flags/{dataset}-flags.tsv` | Final grade and quality flags per pair (tab-separated, header row; flag 1 = flagged). The dataset viewer shows these as the `labels` config || `queries/{dataset}.jsonl` | The query for each task (see [Queries](#queries)); the `queries` config in the viewer |## How the labels were made5 unmodified lines**Final flags.** Flags are given per skill, so a skill's flags repeat on each of its pairs. A flag anyannotator marked in the first round was re-annotated by all three, and is final if two of the threesecond-round answers mark it; any other flag is final as not flagged. The flags cover only the judged skills,so an unflagged skill is not known to be safe.## Licence
README.md+14-35