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-327"
],
"filename": "crypto.py",
"index": 0,
"language": "python",
"options": [
"CWE-113",
"CWE-918",
"CWE-326",
"CWE-1333",
"CWE-327",
"CWE-295"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_pa... |
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-327",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-327"
],
"filename": "crypto.py",
"index": 1,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/djangoless_signing/crypto.py",
"source_repo": "FKLC/djangoless-signing",
"split": ... |
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": [
"salted_hmac"
],
"cwe": "CWE-327",
"cwes_present": [],
"filename": "crypto.py",
"index": 2,
"language": "python",
"options": [
"constant_time_compare",
"salted_hmac"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/djangoless_signing/crypto... |
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": [
"get_inform"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "__init__.py",
"index": 16,
"language": "python",
"options": [
"say_hello",
"get_inform",
"say_next_step",
"say_get_name_ident"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"sourc... |
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": "get_inform",
"style": "rule"
} | {
"all_acceptable": [
"get_inform"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "__init__.py",
"index": 17,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/supplementary_lessons/B_Group/hasurr/Customer_manage_last/cms/view/__init... |
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-295"
],
"filename": "mdid.py",
"index": 22,
"language": "python",
"options": [
"CWE-295",
"CWE-113",
"CWE-116",
"CWE-74",
"CWE-1004",
"CWE-312"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path... |
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": "make_request",
"style": "rule"
} | {
"all_acceptable": [
"make_request"
],
"cwe": "CWE-295",
"cwes_present": [],
"filename": "mdid.py",
"index": 25,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/mdid.py",
"source_repo": "leightonshank/mdid-install-stats",
"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": "D",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-79"
],
"filename": "NewsFeedView.py",
"index": 32,
"language": "python",
"options": [
"CWE-295",
"CWE-643",
"CWE-377",
"CWE-79",
"CWE-117",
"CWE-215"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"sourc... |
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-116"
],
"filename": "old_regex_implementation.py",
"index": 36,
"language": "python",
"options": [
"CWE-312",
"CWE-215",
"CWE-116",
"CWE-377",
"CWE-113",
"CWE-79"
],
"source_dataset": "OctoReasoner/codeql1_aggressi... |
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": [
"create_user"
],
"cwe": "CWE-327",
"cwes_present": [],
"filename": "store.py",
"index": 42,
"language": "python",
"options": [
"login",
"create_user",
"get_all_activities",
"close"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/gr... |
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": "create_user",
"style": "rule"
} | {
"all_acceptable": [
"create_user"
],
"cwe": "CWE-327",
"cwes_present": [],
"filename": "store.py",
"index": 43,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/granule/granular/store.py",
"source_repo": "mr-robot/granule",
"split":... |
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": "unzip_pkg",
"style": "rule"
} | {
"all_acceptable": [
"unzip_pkg"
],
"cwe": "CWE-22",
"cwes_present": [],
"filename": "pypi.py",
"index": 47,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/emptool/pypi.py",
"source_repo": "EasyMicroPython/EMP-TOOL",
"split": "trai... |
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-312"
],
"filename": "nalanda_downloader.py",
"index": 48,
"language": "python",
"options": [
"CWE-312",
"CWE-215",
"CWE-327",
"CWE-326",
"CWE-601",
"CWE-78"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
... |
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": "A",
"style": "rule"
} | {
"all_acceptable": [
"prints"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "nalanda_downloader.py",
"index": 50,
"language": "python",
"options": [
"prints",
"representsInt",
"is_folder",
"get_filename_from_cd"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"s... |
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-312"
],
"filename": "connect.py",
"index": 52,
"language": "python",
"options": [
"CWE-312",
"CWE-730",
"CWE-377",
"CWE-89",
"CWE-918",
"CWE-22"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_pat... |
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": [
"__init__"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "zotero.py",
"index": 58,
"language": "python",
"options": [
"Zotero",
"__init__",
"fetch",
"pull"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/utils/zotero.py",
... |
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-312",
"cwes_present": [],
"filename": "zotero.py",
"index": 59,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/utils/zotero.py",
"source_repo": "gpcarlos/zotero-reMarkable-sync",
"spli... |
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": [
"check_password"
],
"cwe": "CWE-327",
"cwes_present": [],
"filename": "webapp.py",
"index": 62,
"language": "python",
"options": [
"download",
"welcome",
"check_password",
"delete_entry"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path"... |
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": "B",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-312"
],
"filename": "api.py",
"index": 64,
"language": "python",
"options": [
"CWE-22",
"CWE-312",
"CWE-78",
"CWE-89",
"CWE-113",
"CWE-215"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "... |
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": "F",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-312"
],
"filename": "main.py",
"index": 70,
"language": "python",
"options": [
"CWE-116",
"CWE-117",
"CWE-326",
"CWE-943",
"CWE-89",
"CWE-312"
],
"source_dataset": "OctoReasoner/codeql1_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": [
"auth"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "main.py",
"index": 72,
"language": "python",
"options": [
"BitBucketApp",
"prepare_to_run_command",
"initialize_app",
"auth"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path":... |
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-117"
],
"filename": "camera.py",
"index": 74,
"language": "python",
"options": [
"CWE-117",
"CWE-918",
"CWE-209",
"CWE-79",
"CWE-327",
"CWE-113"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_pat... |
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": "A",
"style": "rule"
} | {
"all_acceptable": [
"get"
],
"cwe": "CWE-117",
"cwes_present": [],
"filename": "camera.py",
"index": 76,
"language": "python",
"options": [
"get",
"__init__",
"CameraHeatmapPage",
"CameraHeatmapAPI"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/cont... |
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": "get",
"style": "rule"
} | {
"all_acceptable": [
"get"
],
"cwe": "CWE-117",
"cwes_present": [],
"filename": "camera.py",
"index": 77,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/controller/visualization/src/camera.py",
"source_repo": "hirotaka001/ogc-poc1",
... |
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": "B",
"style": "rule"
} | {
"all_acceptable": [],
"cwe": "",
"cwes_present": [
"CWE-312"
],
"filename": "GooglePlaces.py",
"index": 78,
"language": "python",
"options": [
"CWE-601",
"CWE-312",
"CWE-614",
"CWE-326",
"CWE-1333",
"CWE-643"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"so... |
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": "A",
"style": "rule"
} | {
"all_acceptable": [
"getMesonetTimeseries"
],
"cwe": "CWE-312",
"cwes_present": [],
"filename": "internetwx.py",
"index": 88,
"language": "python",
"options": [
"getMesonetTimeseries",
"getWUobservation",
"getWeatherObservation",
"getMesonetObservation"
],
"source_dataset": "Oc... |
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": [
"main"
],
"cwe": "CWE-117",
"cwes_present": [],
"filename": "__init__.py",
"index": 92,
"language": "python",
"options": [
"try_find_init_phrase",
"get_session",
"main",
"home"
],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/AliceH... |
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-117",
"cwes_present": [],
"filename": "__init__.py",
"index": 93,
"language": "python",
"options": [],
"source_dataset": "OctoReasoner/codeql1_aggressive",
"source_path": "/AliceHealthKit/__init__.py",
"source_repo": "gr8mao/alice-health-kit",
"spl... |
End of preview. Expand in Data Studio
verl_codeql1_aggressive_filtered
Curriculum-filtered subset of OctoReasoner/verl_codeql1_aggressive.
CoT variant. Models were 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. 5591 rows kept. Pure verl schema.
- Downloads last month
- 10