Datasets:
data_source stringclasses 1
value | prompt listlengths 2 2 | ability stringclasses 1
value | reward_model dict | extra_info dict |
|---|---|---|---|---|
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "E",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "alias.py",
"index": 0,
"language": "python",
"options": [
"CWE-91",
"CWE-22",
"CWE-522",
"CWE-352",
"CWE-95",
"CWE-502"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": ... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a catalog of candidate CWE (Common Weakness Enumeration) categories with their official MITRE names. Your task is to list every distinct CWE from that catalog that is actually present in the code. The catalog... | code_security | {
"ground_truth": "CWE-95",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "alias.py",
"index": 1,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/i3py/core/features/alias.py",
"source_repo": "Exopy/i3py",
"split": "train",
"tar... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multiple-choice question listing several function or class names from that file. Your task is to identify which one contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the single letter... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [
"__init__"
],
"cwe": "CWE-95",
"cwes_present": [],
"filename": "alias.py",
"index": 2,
"language": "python",
"options": [
"post_set",
"_set",
"Alias",
"__init__"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/i3py/core/features/a... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "__init__",
"style": "rule"
} | {
"all_acceptable": [
"__init__"
],
"cwe": "CWE-95",
"cwes_present": [],
"filename": "alias.py",
"index": 3,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/i3py/core/features/alias.py",
"source_repo": "Exopy/i3py",
"split": "train"... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multiple-choice question listing several function or class names from that file. Your task is to identify which one contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the single letter... | code_security | {
"ground_truth": "B",
"style": "rule"
} | {
"all_acceptable": [
"runner"
],
"cwe": "CWE-95",
"cwes_present": [],
"filename": "losses.py",
"index": 6,
"language": "python",
"options": [
"perceptual_l1_loss",
"runner",
"dense_cross_entropy",
"heteroscedastic_double_exponential"
],
"source_dataset": "OctoReasoner/py_sgrep_a... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "A",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-502"
],
"filename": "assess.py",
"index": 8,
"language": "python",
"options": [
"CWE-502",
"CWE-614",
"CWE-798",
"CWE-89",
"CWE-1004",
"CWE-295"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_pa... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multiple-choice question listing several function or class names from that file. Your task is to identify which one contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the single letter... | code_security | {
"ground_truth": "C",
"style": "rule"
} | {
"all_acceptable": [
"simulation"
],
"cwe": "CWE-502",
"cwes_present": [],
"filename": "assess.py",
"index": 10,
"language": "python",
"options": [
"parameter_converter",
"predict_values",
"simulation",
"get_obj"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "simulation",
"style": "rule"
} | {
"all_acceptable": [
"simulation"
],
"cwe": "CWE-502",
"cwes_present": [],
"filename": "assess.py",
"index": 11,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/assess.py",
"source_repo": "kravitsjacob/phase_2_assessment",
"split":... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "A",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-611"
],
"filename": "sources.py",
"index": 12,
"language": "python",
"options": [
"CWE-611",
"CWE-78",
"CWE-73",
"CWE-918",
"CWE-704",
"CWE-89"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_pat... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "collections.py",
"index": 14,
"language": "python",
"options": [
"CWE-73",
"CWE-116",
"CWE-79",
"CWE-95",
"CWE-614",
"CWE-1236"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a catalog of candidate CWE (Common Weakness Enumeration) categories with their official MITRE names. Your task is to list every distinct CWE from that catalog that is actually present in the code. The catalog... | code_security | {
"ground_truth": "CWE-95",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "collections.py",
"index": 15,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/freestyle/collections.py",
"source_repo": "thautwarm/Stardust",
"split": "tr... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-78"
],
"filename": "btsoot.py",
"index": 16,
"language": "python",
"options": [
"CWE-502",
"CWE-522",
"CWE-553",
"CWE-78",
"CWE-91",
"CWE-89"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path"... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multiple-choice question listing several function or class names from that file. Your task is to identify which one contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the single letter... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [
"main"
],
"cwe": "CWE-78",
"cwes_present": [],
"filename": "btsoot.py",
"index": 18,
"language": "python",
"options": [
"color",
"crc",
"shouldcontinue",
"main"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/btsoot.py",
"source... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "main",
"style": "rule"
} | {
"all_acceptable": [
"main"
],
"cwe": "CWE-78",
"cwes_present": [],
"filename": "btsoot.py",
"index": 19,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/btsoot.py",
"source_repo": "bbartsch/btsoot",
"split": "train",
"target_fun... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "C",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-89"
],
"filename": "scraper_notCaught.py",
"index": 20,
"language": "python",
"options": [
"CWE-942",
"CWE-73",
"CWE-89",
"CWE-20",
"CWE-22",
"CWE-521"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"so... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a catalog of candidate CWE (Common Weakness Enumeration) categories with their official MITRE names. Your task is to list every distinct CWE from that catalog that is actually present in the code. The catalog... | code_security | {
"ground_truth": "CWE-89",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-89"
],
"filename": "scraper_notCaught.py",
"index": 21,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/Scrapper/scraper_notCaught.py",
"source_repo": "narottaman/ECE-Pokedex",... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-78"
],
"filename": "GeneSippr.py",
"index": 22,
"language": "python",
"options": [
"CWE-295",
"CWE-352",
"CWE-614",
"CWE-78",
"CWE-93",
"CWE-915"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_p... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "respond_to_issue",
"style": "rule"
} | {
"all_acceptable": [
"respond_to_issue"
],
"cwe": "CWE-78",
"cwes_present": [],
"filename": "GeneSippr.py",
"index": 25,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/GeneSippr.py",
"source_repo": "lowandrew/GeneSippr_Automator",
... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "A",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "4-最小公倍数.py",
"index": 26,
"language": "python",
"options": [
"CWE-95",
"CWE-770",
"CWE-89",
"CWE-704",
"CWE-553",
"CWE-521"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_pat... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a catalog of candidate CWE (Common Weakness Enumeration) categories with their official MITRE names. Your task is to list every distinct CWE from that catalog that is actually present in the code. The catalog... | code_security | {
"ground_truth": "CWE-95",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-95"
],
"filename": "4-最小公倍数.py",
"index": 27,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/Week 6/4-最小公倍数.py",
"source_repo": "BleShi/PythonLearning-CollegeCourse",
"split... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "A",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-78"
],
"filename": "x.py",
"index": 28,
"language": "python",
"options": [
"CWE-78",
"CWE-704",
"CWE-523",
"CWE-91",
"CWE-601",
"CWE-287"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multiple-choice question listing several function or class names from that file. Your task is to identify which one contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the single letter... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [
"main"
],
"cwe": "CWE-78",
"cwes_present": [],
"filename": "x.py",
"index": 30,
"language": "python",
"options": [
"add_wagon",
"exploit",
"remove_wagon",
"main"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/exploit/x.py",
"so... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "main",
"style": "rule"
} | {
"all_acceptable": [
"main"
],
"cwe": "CWE-78",
"cwes_present": [],
"filename": "x.py",
"index": 31,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/exploit/x.py",
"source_repo": "fausecteam/faustctf-2020-mars-express",
"split": "t... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "D",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-89"
],
"filename": "celloud_mysql.py",
"index": 32,
"language": "python",
"options": [
"CWE-96",
"CWE-1004",
"CWE-73",
"CWE-89",
"CWE-502",
"CWE-915"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"sour... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file. Your task is to name the single function or class that contains the specified CWE vulnerability.\n\nOUTPUT FORMAT: Respond with the exact function or class name (no parentheses, no qualifiers, no module prefixes), wrap... | code_security | {
"ground_truth": "getTaskId",
"style": "rule"
} | {
"all_acceptable": [
"getTaskId"
],
"cwe": "CWE-89",
"cwes_present": [],
"filename": "celloud_mysql.py",
"index": 35,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_path": "/celloud/celloud_mysql.py",
"source_repo": "sdyz5210/python",
"spl... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "E",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-502"
],
"filename": "layer_sampler.py",
"index": 36,
"language": "python",
"options": [
"CWE-942",
"CWE-611",
"CWE-704",
"CWE-73",
"CWE-502",
"CWE-601"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"so... |
sast_cwe | [
{
"content": "You are an expert security code reviewer. You will be shown a source code file along with a multi-select question listing several CWE (Common Weakness Enumeration) categories. Your task is to identify which of the listed CWEs are present in the code.\n\nOUTPUT FORMAT: Respond with the letter(s) of... | code_security | {
"ground_truth": "A",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-89"
],
"filename": "macLookup.py",
"index": 38,
"language": "python",
"options": [
"CWE-89",
"CWE-798",
"CWE-614",
"CWE-601",
"CWE-352",
"CWE-73"
],
"source_dataset": "OctoReasoner/py_sgrep_aggressive",
"source_p... |
End of preview. Expand in Data Studio
verl_py_sgrep_aggressive_filtered
Curriculum-filtered subset of the first 30,000 rows of OctoReasoner/verl_py_sgrep_aggressive.
CoT variant (models prompted to think first, then box; max_tokens=4096). Kept rows satisfy weak <= 5/8 AND strong >= 2/8, where weak/strong = number of correct rollouts (of 8, strict \boxed{} scoring) from Qwen2.5-Coder-1.5B/-32B-Instruct. 15,849 of 30,000 rows kept. Pure verl schema.
- Downloads last month
- 16