Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [707], "buggy_code_start_loc": [705], "filenames": ["tensorflow/core/kernels/quantized_resize_bilinear_op.cc"], "fixing_code_end_loc": [713], "fixing_code_start_loc": [705], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer over...
0
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [707], "buggy_code_start_loc": [705], "filenames": ["tensorflow/core/kernels/quantized_resize_bilinear_op.cc"], "fixing_code_end_loc": [713], "fixing_code_start_loc": [705], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can cause a heap buffer over...
0
Determine whether the {function_name} code is vulnerable or not.
["-- H2 0.5/B -- \n-- H2 0.5/B -- \n-- H2 0.5/B -- ","\u0000\u0000\u0010\u0000\u0003\u0003\u0000\u00(...TRUNCATED)
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["-- H2 0.5/B -- \n-- H2 0.5/B -- \n-- H2 0.5/B -- ","\u0000\u0000\u0010\u0000\u0003\u0003\u0000\u00(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["FCS1\u0000\u0000\u0000O\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000\u0000\u0000$��(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["FCS1\u0000\u0000\u0000O\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0004\u0000\u0000\u0000$��(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["package com.salesmanager.shop.application.config;","import static org.springframework.http.MediaTy(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["package com.salesmanager.shop.application.config;","import static org.springframework.http.MediaTy(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["package com.salesmanager.shop.filter;","import java.io.IOException;","import javax.servlet.Filter;(...TRUNCATED)
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
Determine whether the {function_name} code is vulnerable or not.
["package com.salesmanager.shop.filter;","import java.io.IOException;","import javax.servlet.Filter;(...TRUNCATED)
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
"{\"buggy_code_end_loc\": [7069, 14226, 91, 75, 28, 145], \"buggy_code_start_loc\": [4, 8379, 81, 19(...TRUNCATED)
1
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
30