label_file stringclasses 180
values | code_file stringclasses 180
values | pid stringclasses 107
values | sid stringclasses 180
values | funname stringclasses 64
values | start int32 1 226 | end int32 21 249 | dataset stringclasses 2
values | language stringclasses 3
values | src sequencelengths 2 2 ⌀ | dst sequencelengths 2 2 ⌀ | src_transformed dict | dst_transformed dict | groundtruth bool 2
classes | task_id stringlengths 34 82 | prompt stringlengths 6.16k 21.8k | task stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
codenet_p00122_s821876806_isSafe_9_32.yaml | codenet_p00122_s821876806_isSafe_9_32.py | p00122 | s821876806 | isSafe | 9 | 32 | codenet | Python | [
"flogArea",
"19"
] | [
"dy",
"17"
] | {
"name": "flogArea",
"line": 19
} | {
"name": "dy",
"line": 17
} | true | infoflow_codenet_p00122_s821876806_isSafe_9_32_dy_17_3 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p00122_s821876806_isSafe_9_32.yaml | codenet_p00122_s821876806_isSafe_9_32.py | p00122 | s821876806 | isSafe | 9 | 32 | codenet | Python | [
"i",
"14"
] | [
"flogArea",
"25"
] | {
"name": "i",
"line": 14
} | {
"name": "flogArea",
"line": 25
} | true | infoflow_codenet_p00122_s821876806_isSafe_9_32_flogArea_25_5 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p00122_s821876806_isSafe_9_32.yaml | codenet_p00122_s821876806_isSafe_9_32.py | p00122 | s821876806 | isSafe | 9 | 32 | codenet | Python | [
"flogArea",
"19"
] | [
"dy",
"23"
] | {
"name": "flogArea",
"line": 19
} | {
"name": "dy",
"line": 23
} | true | infoflow_codenet_p00122_s821876806_isSafe_9_32_dy_23_1 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p00829_s829617336_main_16_38.yaml | codenet_p00829_s829617336_main_16_38.py | p00829 | s829617336 | main | 16 | 38 | codenet | Python | [
"iii",
"30"
] | [
"b",
"31"
] | {
"name": "iii",
"line": 30
} | {
"name": "b",
"line": 31
} | false | infoflow_codenet_p00829_s829617336_main_16_38_b_31_6 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p00829_s829617336_main_16_38.yaml | codenet_p00829_s829617336_main_16_38.py | p00829 | s829617336 | main | 16 | 38 | codenet | Python | [
"t",
"25"
] | [
"i",
"28"
] | {
"name": "t",
"line": 25
} | {
"name": "i",
"line": 28
} | false | infoflow_codenet_p00829_s829617336_main_16_38_i_28_5 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p00829_s829617336_main_16_38.yaml | codenet_p00829_s829617336_main_16_38.py | p00829 | s829617336 | main | 16 | 38 | codenet | Python | [
"ni",
"21"
] | [
"a",
"24"
] | {
"name": "ni",
"line": 21
} | {
"name": "a",
"line": 24
} | true | infoflow_codenet_p00829_s829617336_main_16_38_a_24_3 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p03053_s968817419_find_black_17_58.yaml | codenet_p03053_s968817419_find_black_17_58.py | p03053 | s968817419 | find_black | 17 | 58 | codenet | Python | [
"idx",
"28"
] | [
"path",
"44"
] | {
"name": "idx",
"line": 28
} | {
"name": "path",
"line": 44
} | false | infoflow_codenet_p03053_s968817419_find_black_17_58_path_44_8 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p03053_s968817419_find_black_17_58.yaml | codenet_p03053_s968817419_find_black_17_58.py | p03053 | s968817419 | find_black | 17 | 58 | codenet | Python | [
"done",
"41"
] | [
"s1",
"37"
] | {
"name": "done",
"line": 41
} | {
"name": "s1",
"line": 37
} | true | infoflow_codenet_p03053_s968817419_find_black_17_58_s1_37_5 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p03263_s031020529_main_7_49.yaml | codenet_p03263_s031020529_main_7_49.py | p03263 | s031020529 | main | 7 | 49 | codenet | Python | [
"A",
"27"
] | [
"A",
"28"
] | {
"name": "A",
"line": 27
} | {
"name": "A",
"line": 28
} | true | infoflow_codenet_p03263_s031020529_main_7_49_A_28_3 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p03263_s031020529_main_7_49.yaml | codenet_p03263_s031020529_main_7_49.py | p03263 | s031020529 | main | 7 | 49 | codenet | Python | [
"H",
"8"
] | [
"A",
"24"
] | {
"name": "H",
"line": 8
} | {
"name": "A",
"line": 24
} | true | infoflow_codenet_p03263_s031020529_main_7_49_A_24_2 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p02750_s264552825_solve_1_28.yaml | codenet_p02750_s264552825_solve_1_28.py | p02750 | s264552825 | solve | 1 | 28 | codenet | Python | [
"apb_list",
"6"
] | [
"ab",
"4"
] | {
"name": "apb_list",
"line": 6
} | {
"name": "ab",
"line": 4
} | false | infoflow_codenet_p02750_s264552825_solve_1_28_ab_4_6 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p02750_s264552825_solve_1_28.yaml | codenet_p02750_s264552825_solve_1_28.py | p02750 | s264552825 | solve | 1 | 28 | codenet | Python | [
"dp",
"12"
] | [
"dp",
"17"
] | {
"name": "dp",
"line": 12
} | {
"name": "dp",
"line": 17
} | true | infoflow_codenet_p02750_s264552825_solve_1_28_dp_17_5 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p02750_s264552825_solve_1_28.yaml | codenet_p02750_s264552825_solve_1_28.py | p02750 | s264552825 | solve | 1 | 28 | codenet | Python | [
"ab",
"4"
] | [
"i",
"11"
] | {
"name": "ab",
"line": 4
} | {
"name": "i",
"line": 11
} | true | infoflow_codenet_p02750_s264552825_solve_1_28_i_11_2 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p02750_s264552825_solve_1_28.yaml | codenet_p02750_s264552825_solve_1_28.py | p02750 | s264552825 | solve | 1 | 28 | codenet | Python | [
"ab",
"4"
] | [
"i",
"13"
] | {
"name": "ab",
"line": 4
} | {
"name": "i",
"line": 13
} | true | infoflow_codenet_p02750_s264552825_solve_1_28_i_13_2 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
codenet_p03260_s968234269_calc_longest_distance_60_83.yaml | codenet_p03260_s968234269_calc_longest_distance_60_83.py | p03260 | s968234269 | calc_longest_distance | 60 | 83 | codenet | Python | [
"vlist_next",
"72"
] | [
"vlist",
"76"
] | {
"name": "vlist_next",
"line": 72
} | {
"name": "vlist",
"line": 76
} | true | infoflow_codenet_p03260_s968234269_calc_longest_distance_60_83_vlist_76_4 | [INSTRUCTIONS]
You are a program-analysis assistant. Please perform a **static** analysis of “information flow” on a given code snippet, treating each branch or loop condition as potentially taking any outcome, without using semantic or symbolic execution to prune paths.
## 1. Information Flow Definition
An **inform... | source |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 3