instance_id
stringlengths
22
58
repo
stringclasses
210 values
base_commit
stringclasses
210 values
target_function_name
stringlengths
1
70
target_function_file
stringlengths
7
109
target_function_line_start
int64
0
14.7k
target_function_line_end
int64
4
14.7k
dependencies
listlengths
1
3
num_dependencies
int64
1
3
python-poetry__poetry__7326ba70__0
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
relation
poetry/mixology/partial_solution.py
206
219
[ { "decorator_line": 44, "file_path": "poetry/mixology/term.py", "line_end": 106, "line_start": 44, "name": "relation", "type": "function" } ]
1
python-poetry__poetry__7326ba70__1
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
test_add_constraint_with_python
tests/console/commands/test_add.py
302
339
[ { "decorator_line": 81, "file_path": "poetry/repositories/repository.py", "line_end": 82, "line_start": 81, "name": "add_package", "type": "function" }, { "decorator_line": 18, "file_path": "poetry/utils/toml_file.py", "line_end": 23, "line_start": 18, "name": "read",...
2
python-poetry__poetry__7326ba70__2
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
create_table_header_element
poetry/toml/prettify/elements/factory.py
129
150
[ { "decorator_line": 69, "file_path": "poetry/toml/prettify/tokens/py2toml.py", "line_end": 94, "line_start": 69, "name": "create_string_token", "type": "function" }, { "decorator_line": 38, "file_path": "poetry/toml/prettify/tokens/py2toml.py", "line_end": 39, "line_start...
3
python-poetry__poetry__7326ba70__3
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
test_one_entry_array_of_tables
tests/toml/test_toml.py
255
264
[ { "decorator_line": 11, "file_path": "poetry/toml/__init__.py", "line_end": 18, "line_start": 11, "name": "loads", "type": "function" } ]
1
python-poetry__poetry__7326ba70__4
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
link_version
poetry/repositories/legacy_repository.py
107
124
[ { "decorator_line": 102, "file_path": "poetry/packages/utils/link.py", "line_end": 103, "line_start": 102, "name": "splitext", "type": "function" }, { "decorator_line": 172, "file_path": "poetry/semver/version.py", "line_end": 190, "line_start": 173, "name": "parse", ...
2
python-poetry__poetry__7326ba70__5
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
and_to_string
poetry/mixology/incompatibility.py
221
249
[ { "decorator_line": 251, "file_path": "poetry/mixology/incompatibility.py", "line_end": 295, "line_start": 251, "name": "_try_requires_both", "type": "function" }, { "decorator_line": 297, "file_path": "poetry/mixology/incompatibility.py", "line_end": 373, "line_start": 2...
3
python-poetry__poetry__7326ba70__6
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
links_for_version
poetry/repositories/legacy_repository.py
102
105
[ { "decorator_line": 107, "file_path": "poetry/repositories/legacy_repository.py", "line_end": 124, "line_start": 107, "name": "link_version", "type": "function" } ]
1
python-poetry__poetry__7326ba70__7
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
find
poetry/toml/prettify/parser/recdesc.py
15
52
[ { "decorator_line": 5, "file_path": "poetry/toml/prettify/parser/recdesc.py", "line_end": 115, "line_start": 5, "name": "Capturer", "type": "class" }, { "decorator_line": 54, "file_path": "poetry/toml/prettify/parser/recdesc.py", "line_end": 71, "line_start": 54, "nam...
2
python-poetry__poetry__7326ba70__8
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
test_accepts_fails_with_version_mismatch
tests/packages/test_dependency.py
34
38
[ { "decorator_line": 14, "file_path": "poetry/packages/dependency.py", "line_end": 309, "line_start": 14, "name": "Dependency", "type": "class" }, { "decorator_line": 24, "file_path": "poetry/packages/package.py", "line_end": 342, "line_start": 24, "name": "Package", ...
3
python-poetry__poetry__7326ba70__9
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
capture_from
poetry/toml/prettify/parser/recdesc.py
118
119
[ { "decorator_line": 5, "file_path": "poetry/toml/prettify/parser/recdesc.py", "line_end": 115, "line_start": 5, "name": "Capturer", "type": "class" } ]
1
python-poetry__poetry__7326ba70__10
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
refresh
poetry/masonry/utils/package_include.py
31
34
[ { "decorator_line": 36, "file_path": "poetry/masonry/utils/include.py", "line_end": 39, "line_start": 36, "name": "refresh", "type": "function" }, { "decorator_line": 36, "file_path": "poetry/masonry/utils/package_include.py", "line_end": 62, "line_start": 36, "name":...
2
python-poetry__poetry__7326ba70__11
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
loads
poetry/toml/__init__.py
11
18
[ { "decorator_line": 96, "file_path": "poetry/toml/prettify/lexer/__init__.py", "line_end": 141, "line_start": 96, "name": "tokenize", "type": "function" }, { "decorator_line": 11, "file_path": "poetry/toml/prettify/parser/__init__.py", "line_end": 17, "line_start": 11, ...
3
python-poetry__poetry__7326ba70__12
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
v072
tests/semver/test_version_range.py
23
24
[ { "decorator_line": 172, "file_path": "poetry/semver/version.py", "line_end": 190, "line_start": 173, "name": "parse", "type": "function" } ]
1
python-poetry__poetry__7326ba70__13
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
run_script
poetry/console/commands/run.py
23
39
[ { "decorator_line": 82, "file_path": "poetry/masonry/utils/module.py", "line_end": 83, "line_start": 82, "name": "is_in_src", "type": "function" }, { "decorator_line": 233, "file_path": "poetry/utils/venv.py", "line_end": 275, "line_start": 233, "name": "run", "ty...
2
python-poetry__poetry__7326ba70__14
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
test_backjump_to_nearer_unsatisfied_package
tests/mixology/version_solver/test_backtracking.py
90
107
[ { "decorator_line": 218, "file_path": "poetry/packages/package.py", "line_end": 298, "line_start": 218, "name": "add_dependency", "type": "function" }, { "decorator_line": 5, "file_path": "tests/mixology/helpers.py", "line_end": 14, "line_start": 5, "name": "add_to_re...
3
python-poetry__poetry__7326ba70__15
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
format_python_constraint
poetry/version/helpers.py
17
41
[ { "decorator_line": 14, "file_path": "poetry/semver/__init__.py", "line_end": 44, "line_start": 14, "name": "parse_constraint", "type": "function" } ]
1
python-poetry__poetry__7326ba70__16
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
parse
poetry/packages/constraints/generic_constraint.py
79
114
[ { "decorator_line": 116, "file_path": "poetry/packages/constraints/generic_constraint.py", "line_end": 127, "line_start": 117, "name": "_parse_constraint", "type": "function" }, { "decorator_line": 3, "file_path": "poetry/packages/constraints/multi_constraint.py", "line_end":...
2
python-poetry__poetry__7326ba70__17
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
next_breaking
poetry/semver/version.py
136
148
[ { "decorator_line": 250, "file_path": "poetry/semver/version.py", "line_end": 251, "line_start": 250, "name": "_increment_minor", "type": "function" }, { "decorator_line": 247, "file_path": "poetry/semver/version.py", "line_end": 248, "line_start": 247, "name": "_incr...
3
python-poetry__poetry__7326ba70__18
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
find_files_to_add
poetry/masonry/builders/builder.py
65
130
[ { "decorator_line": 41, "file_path": "poetry/masonry/builders/builder.py", "line_end": 63, "line_start": 41, "name": "find_excluded_files", "type": "function" } ]
1
python-poetry__poetry__7326ba70__19
python-poetry/poetry
7326ba70da891d5d6550dc2f2a684fbebe937f55
test_show_basic_with_installed_packages
tests/console/commands/test_show.py
5
57
[ { "decorator_line": 81, "file_path": "poetry/repositories/repository.py", "line_end": 82, "line_start": 81, "name": "add_package", "type": "function" }, { "decorator_line": 112, "file_path": "tests/console/conftest.py", "line_end": 115, "line_start": 112, "name": "moc...
2
cowrie__cowrie__cd480394__0
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
make_messages
src/cowrie/output/kafka.py
54
58
[ { "decorator_line": 50, "file_path": "src/cowrie/output/kafka.py", "line_end": 51, "line_start": 50, "name": "random_string", "type": "function" } ]
1
cowrie__cowrie__cd480394__1
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
call
src/cowrie/commands/base.py
90
97
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 62, "file_path": "src/cowrie/core/utils.py", "line_end": 90, "line_start": 62, "name": "uptime", "type"...
2
cowrie__cowrie__cd480394__2
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
start
src/cowrie/commands/python.py
74
114
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 127, "file_path": "src/cowrie/shell/command.py", "line_end": 147, "line_start": 127, "name": "exit", "t...
3
cowrie__cowrie__cd480394__3
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
logDispatch
src/cowrie/shell/protocol.py
67
73
[ { "decorator_line": 59, "file_path": "src/cowrie/shell/protocol.py", "line_end": 65, "line_start": 59, "name": "getProtoTransport", "type": "function" } ]
1
cowrie__cowrie__cd480394__4
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
do_help
src/cowrie/commands/apt.py
68
113
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 127, "file_path": "src/cowrie/shell/command.py", "line_end": 147, "line_start": 127, "name": "exit", "t...
2
cowrie__cowrie__cd480394__5
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
call
src/cowrie/commands/ulimit.py
23
40
[ { "decorator_line": 91, "file_path": "src/cowrie/shell/command.py", "line_end": 95, "line_start": 91, "name": "errorWrite", "type": "function" }, { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", ...
3
cowrie__cowrie__cd480394__6
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
y
src/cowrie/commands/base.py
626
631
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" } ]
1
cowrie__cowrie__cd480394__7
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
getAttrs
src/cowrie/shell/filetransfer.py
206
213
[ { "decorator_line": 154, "file_path": "src/cowrie/shell/filetransfer.py", "line_end": 156, "line_start": 154, "name": "_absPath", "type": "function" }, { "decorator_line": 166, "file_path": "src/cowrie/shell/filetransfer.py", "line_end": 174, "line_start": 166, "name"...
2
cowrie__cowrie__cd480394__8
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
showreply
src/cowrie/commands/ping.py
77
88
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 90, "file_path": "src/cowrie/commands/ping.py", "line_end": 93, "line_start": 90, "name": "printstatistics"...
3
cowrie__cowrie__cd480394__9
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
test_durationHuman
src/cowrie/test/test_utils.py
23
32
[ { "decorator_line": 12, "file_path": "src/cowrie/core/utils.py", "line_end": 40, "line_start": 12, "name": "durationHuman", "type": "function" } ]
1
cowrie__cowrie__cd480394__10
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
dojob
src/cowrie/commands/base64.py
98
108
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 91, "file_path": "src/cowrie/shell/command.py", "line_end": 95, "line_start": 91, "name": "errorWrite", ...
2
cowrie__cowrie__cd480394__11
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
lineReceived
src/cowrie/commands/yum.py
242
271
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 49, "file_path": "src/cowrie/commands/yum.py", "line_end": 54, "line_start": 49, "name": "sleep", "type...
3
cowrie__cowrie__cd480394__12
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
handle_CTRL_D
src/cowrie/commands/scp.py
191
206
[ { "decorator_line": 127, "file_path": "src/cowrie/shell/command.py", "line_end": 147, "line_start": 127, "name": "exit", "type": "function" } ]
1
cowrie__cowrie__cd480394__13
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
connectionLost
src/cowrie/proxy/endpoints.py
634
650
[ { "decorator_line": 526, "file_path": "src/cowrie/proxy/endpoints.py", "line_end": 532, "line_start": 526, "name": "loseAgentConnection", "type": "function" }, { "decorator_line": 37, "file_path": "src/cowrie/proxy/endpoints.py", "line_end": 41, "line_start": 37, "nam...
2
cowrie__cowrie__cd480394__14
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
connectionMade
src/cowrie/insults/insults.py
54
78
[ { "decorator_line": 49, "file_path": "src/cowrie/insults/insults.py", "line_end": 52, "line_start": 49, "name": "getSessionId", "type": "function" }, { "decorator_line": 19, "file_path": "src/cowrie/core/ttylog.py", "line_end": 28, "line_start": 19, "name": "ttylog_op...
3
cowrie__cowrie__cd480394__15
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
gotHeaders
src/cowrie/commands/curl.py
358
380
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" } ]
1
cowrie__cowrie__cd480394__16
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
head_get_file_contents
src/cowrie/commands/fs.py
174
179
[ { "decorator_line": 166, "file_path": "src/cowrie/commands/fs.py", "line_end": 172, "line_start": 166, "name": "head_application", "type": "function" }, { "decorator_line": 91, "file_path": "src/cowrie/shell/command.py", "line_end": 95, "line_start": 91, "name": "erro...
2
cowrie__cowrie__cd480394__17
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
checkUserPass
src/cowrie/core/checkers.py
88
116
[ { "decorator_line": 19, "file_path": "src/cowrie/core/config.py", "line_end": 22, "line_start": 19, "name": "has_option", "type": "function" }, { "decorator_line": 24, "file_path": "src/cowrie/core/config.py", "line_end": 28, "line_start": 24, "name": "get", "type...
3
cowrie__cowrie__cd480394__18
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
call
src/cowrie/commands/fs.py
286
347
[ { "decorator_line": 91, "file_path": "src/cowrie/shell/command.py", "line_end": 95, "line_start": 91, "name": "errorWrite", "type": "function" } ]
1
cowrie__cowrie__cd480394__19
cowrie/cowrie
cd480394dad66ccdec4d03d92c0931f49f36b55b
do_version
src/cowrie/commands/apt.py
52
66
[ { "decorator_line": 79, "file_path": "src/cowrie/shell/command.py", "line_end": 83, "line_start": 79, "name": "write", "type": "function" }, { "decorator_line": 127, "file_path": "src/cowrie/shell/command.py", "line_end": 147, "line_start": 127, "name": "exit", "t...
2
tensorflow__addons__8a15734c__0
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_filter_input_subsample_vocab
tensorflow_addons/text/python/skip_gram_ops_test.py
358
386
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 447, "line_start": 388, "name": "_filter_input", "type": "function" } ]
1
tensorflow__addons__8a15734c__1
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_emit_self
tensorflow_addons/text/python/skip_gram_ops_test.py
71
99
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" }, { "decorator_line": 40, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": ...
2
tensorflow__addons__8a15734c__2
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_with_text_vocab_filter_vocab
tensorflow_addons/text/python/skip_gram_ops_test.py
416
451
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": 400, "line_start": 389, "name": "_make_text_vocab_freq_file", "type": "function" }, { "decorator_line": 208, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", ...
3
tensorflow__addons__8a15734c__3
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_filter_input_filter_vocab
tensorflow_addons/text/python/skip_gram_ops_test.py
312
356
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 447, "line_start": 388, "name": "_filter_input", "type": "function" } ]
1
tensorflow__addons__8a15734c__4
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_with_text_vocab_subsample_vocab
tensorflow_addons/text/python/skip_gram_ops_test.py
498
526
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": 400, "line_start": 389, "name": "_make_text_vocab_freq_file", "type": "function" }, { "decorator_line": 453, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py"...
2
tensorflow__addons__8a15734c__5
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_random_skips_default_seed
tensorflow_addons/text/python/skip_gram_ops_test.py
199
227
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" } ]
1
tensorflow__addons__8a15734c__6
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_random_skips
tensorflow_addons/text/python/skip_gram_ops_test.py
169
197
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" }, { "decorator_line": 40, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": ...
2
tensorflow__addons__8a15734c__7
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_errors
tensorflow_addons/text/python/skip_gram_ops_test.py
252
310
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" } ]
1
tensorflow__addons__8a15734c__8
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_weight_norm_nokernel
tensorflow_addons/layers/python/wrappers_test.py
77
79
[ { "decorator_line": 105, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 140, "line_start": 105, "name": "build", "type": "function" }, { "decorator_line": 28, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 154, "line_start...
2
tensorflow__addons__8a15734c__9
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_errors_v1
tensorflow_addons/text/python/skip_gram_ops_test.py
244
250
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" } ]
1
tensorflow__addons__8a15734c__10
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
build
tensorflow_addons/layers/python/wrappers.py
105
140
[ { "decorator_line": 79, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 84, "line_start": 79, "name": "_init_norm", "type": "function" }, { "decorator_line": 72, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 77, "line_star...
2
tensorflow__addons__8a15734c__11
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
skip_gram_sample
tensorflow_addons/text/python/skip_gram_ops.py
39
205
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 447, "line_start": 388, "name": "_filter_input", "type": "function" } ]
1
tensorflow__addons__8a15734c__12
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_skips_exceed_length
tensorflow_addons/text/python/skip_gram_ops_test.py
123
137
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" }, { "decorator_line": 40, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": ...
2
tensorflow__addons__8a15734c__13
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_weight_norm_tflayers
tensorflow_addons/layers/python/wrappers_test.py
63
68
[ { "decorator_line": 28, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 154, "line_start": 28, "name": "WeightNorm", "type": "class" } ]
1
tensorflow__addons__8a15734c__14
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_with_text_vocab_errors
tensorflow_addons/text/python/skip_gram_ops_test.py
560
583
[ { "decorator_line": 388, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": 400, "line_start": 389, "name": "_make_text_vocab_freq_file", "type": "function" }, { "decorator_line": 208, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", ...
2
tensorflow__addons__8a15734c__15
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_weightnorm_conv2d
tensorflow_addons/layers/python/wrappers_test.py
48
60
[ { "decorator_line": 28, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 154, "line_start": 28, "name": "WeightNorm", "type": "class" } ]
1
tensorflow__addons__8a15734c__16
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_start_limit
tensorflow_addons/text/python/skip_gram_ops_test.py
139
152
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" }, { "decorator_line": 40, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": ...
2
tensorflow__addons__8a15734c__17
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_weightnorm_dense_train
tensorflow_addons/layers/python/wrappers_test.py
34
45
[ { "decorator_line": 28, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 154, "line_start": 28, "name": "WeightNorm", "type": "class" } ]
1
tensorflow__addons__8a15734c__18
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_skip_gram_sample_non_string_input
tensorflow_addons/text/python/skip_gram_ops_test.py
229
241
[ { "decorator_line": 39, "file_path": "tensorflow_addons/text/python/skip_gram_ops.py", "line_end": 205, "line_start": 39, "name": "skip_gram_sample", "type": "function" }, { "decorator_line": 40, "file_path": "tensorflow_addons/text/python/skip_gram_ops_test.py", "line_end": ...
2
tensorflow__addons__8a15734c__19
tensorflow/addons
8a15734c52eb3b3d410bfd228819810ce842e73f
test_weight_norm_nonlayer
tensorflow_addons/layers/python/wrappers_test.py
71
74
[ { "decorator_line": 28, "file_path": "tensorflow_addons/layers/python/wrappers.py", "line_end": 154, "line_start": 28, "name": "WeightNorm", "type": "class" } ]
1
opsdroid__opsdroid__c268280f__0
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
start_connectors
opsdroid/core.py
48
58
[ { "decorator_line": 41, "file_path": "opsdroid/core.py", "line_end": 46, "line_start": 41, "name": "critical", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__1
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_start_connectors
tests/test_core.py
62
72
[ { "decorator_line": 9, "file_path": "opsdroid/core.py", "line_end": 85, "line_start": 9, "name": "OpsDroid", "type": "class" }, { "decorator_line": 48, "file_path": "opsdroid/core.py", "line_end": 58, "line_start": 48, "name": "start_connectors", "type": "function...
2
opsdroid__opsdroid__c268280f__2
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_database_callouts
tests/test_memory.py
24
33
[ { "decorator_line": 10, "file_path": "tests/test_memory.py", "line_end": 11, "line_start": 10, "name": "setup", "type": "function" }, { "decorator_line": 24, "file_path": "opsdroid/memory.py", "line_end": 28, "line_start": 24, "name": "put", "type": "function" }...
3
opsdroid__opsdroid__c268280f__3
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_build_module_path
tests/test_loader.py
49
54
[ { "decorator_line": 36, "file_path": "opsdroid/loader.py", "line_end": 41, "line_start": 36, "name": "build_module_path", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__4
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_load_config_file
tests/test_loader.py
22
25
[ { "decorator_line": 17, "file_path": "tests/test_loader.py", "line_end": 20, "line_start": 17, "name": "setup", "type": "function" }, { "decorator_line": 61, "file_path": "opsdroid/loader.py", "line_end": 73, "line_start": 61, "name": "load_config_file", "type": "...
2
opsdroid__opsdroid__c268280f__5
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_memory
tests/test_memory.py
13
18
[ { "decorator_line": 10, "file_path": "tests/test_memory.py", "line_end": 11, "line_start": 10, "name": "setup", "type": "function" }, { "decorator_line": 24, "file_path": "opsdroid/memory.py", "line_end": 28, "line_start": 24, "name": "put", "type": "function" }...
3
opsdroid__opsdroid__c268280f__6
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_check_cache_removes
tests/test_loader.py
56
62
[ { "decorator_line": 27, "file_path": "opsdroid/loader.py", "line_end": 33, "line_start": 27, "name": "check_cache", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__7
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_start_databases
tests/test_core.py
50
60
[ { "decorator_line": 9, "file_path": "opsdroid/core.py", "line_end": 85, "line_start": 9, "name": "OpsDroid", "type": "class" }, { "decorator_line": 60, "file_path": "opsdroid/core.py", "line_end": 70, "line_start": 60, "name": "start_databases", "type": "function"...
2
opsdroid__opsdroid__c268280f__8
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
put
opsdroid/memory.py
24
28
[ { "decorator_line": 42, "file_path": "opsdroid/memory.py", "line_end": 48, "line_start": 42, "name": "_put_to_database", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__9
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_exit
tests/test_core.py
19
23
[ { "decorator_line": 9, "file_path": "opsdroid/core.py", "line_end": 85, "line_start": 9, "name": "OpsDroid", "type": "class" }, { "decorator_line": 35, "file_path": "opsdroid/core.py", "line_end": 39, "line_start": 35, "name": "exit", "type": "function" } ]
2
opsdroid__opsdroid__c268280f__10
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_core
tests/test_core.py
15
17
[ { "decorator_line": 9, "file_path": "opsdroid/core.py", "line_end": 85, "line_start": 9, "name": "OpsDroid", "type": "class" } ]
1
opsdroid__opsdroid__c268280f__11
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
load_config
opsdroid/loader.py
75
98
[ { "decorator_line": 100, "file_path": "opsdroid/loader.py", "line_end": 134, "line_start": 100, "name": "_load_modules", "type": "function" }, { "decorator_line": 136, "file_path": "opsdroid/loader.py", "line_end": 139, "line_start": 136, "name": "_setup_modules", ...
2
opsdroid__opsdroid__c268280f__12
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_git_clone
tests/test_loader.py
44
47
[ { "decorator_line": 44, "file_path": "opsdroid/loader.py", "line_end": 50, "line_start": 44, "name": "git_clone", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__13
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_multiple_opsdroids
tests/test_core.py
74
79
[ { "decorator_line": 9, "file_path": "opsdroid/core.py", "line_end": 85, "line_start": 9, "name": "OpsDroid", "type": "class" }, { "decorator_line": 35, "file_path": "opsdroid/core.py", "line_end": 39, "line_start": 35, "name": "exit", "type": "function" } ]
2
opsdroid__opsdroid__c268280f__14
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
get
opsdroid/memory.py
13
22
[ { "decorator_line": 30, "file_path": "opsdroid/memory.py", "line_end": 40, "line_start": 30, "name": "_get_from_database", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__15
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_empty_memory
tests/test_memory.py
20
22
[ { "decorator_line": 10, "file_path": "tests/test_memory.py", "line_end": 11, "line_start": 10, "name": "setup", "type": "function" }, { "decorator_line": 13, "file_path": "opsdroid/memory.py", "line_end": 22, "line_start": 13, "name": "get", "type": "function" }...
2
opsdroid__opsdroid__c268280f__16
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
parse
opsdroid/core.py
76
85
[ { "decorator_line": 27, "file_path": "opsdroid/helper.py", "line_end": 29, "line_start": 27, "name": "match", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__17
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_load_empty_config
tests/test_loader.py
105
114
[ { "decorator_line": 17, "file_path": "tests/test_loader.py", "line_end": 20, "line_start": 17, "name": "setup", "type": "function" }, { "decorator_line": 75, "file_path": "opsdroid/loader.py", "line_end": 98, "line_start": 75, "name": "load_config", "type": "funct...
2
opsdroid__opsdroid__c268280f__18
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_match
tests/test_helper.py
29
34
[ { "decorator_line": 27, "file_path": "opsdroid/helper.py", "line_end": 29, "line_start": 27, "name": "match", "type": "function" } ]
1
opsdroid__opsdroid__c268280f__19
opsdroid/opsdroid
c268280fd99b569183c60f331694ad1cdae63524
test_load_non_existant_config_file
tests/test_loader.py
27
30
[ { "decorator_line": 17, "file_path": "tests/test_loader.py", "line_end": 20, "line_start": 17, "name": "setup", "type": "function" }, { "decorator_line": 61, "file_path": "opsdroid/loader.py", "line_end": 73, "line_start": 61, "name": "load_config_file", "type": "...
2
ansible__awx__bcd2a8f2__0
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
get_setting_field
awx/conf/registry.py
122
175
[ { "decorator_line": 35, "file_path": "awx/conf/license.py", "line_end": 40, "line_start": 35, "name": "get_license", "type": "function" } ]
1
ansible__awx__bcd2a8f2__1
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
can_add
awx/main/access.py
1,573
1,579
[ { "decorator_line": 231, "file_path": "awx/main/access.py", "line_end": 280, "line_start": 231, "name": "check_related", "type": "function" }, { "decorator_line": 1567, "file_path": "awx/main/access.py", "line_end": 1570, "line_start": 1567, "name": "can_use_prompted_...
2
ansible__awx__bcd2a8f2__2
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_public_hg_project_over_https
awx/main/tests/old/projects.py
1,412
1,435
[ { "decorator_line": 492, "file_path": "awx/main/tests/old/projects.py", "line_end": 515, "line_start": 492, "name": "create_project", "type": "function" }, { "decorator_line": 1043, "file_path": "awx/main/tests/old/projects.py", "line_end": 1159, "line_start": 1043, "...
3
ansible__awx__bcd2a8f2__3
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_invalid_filter_strings
awx/main/tests/unit/utils/test_filters.py
51
54
[ { "decorator_line": 203, "file_path": "awx/main/utils/filters.py", "line_end": 236, "line_start": 204, "name": "query_from_string", "type": "function" } ]
1
ansible__awx__bcd2a8f2__4
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_superuser_sees_orphans
awx/main/tests/functional/test_rbac_job.py
55
58
[ { "decorator_line": 1324, "file_path": "awx/main/access.py", "line_end": 1507, "line_start": 1324, "name": "JobAccess", "type": "class" }, { "decorator_line": 1381, "file_path": "awx/main/access.py", "line_end": 1385, "line_start": 1382, "name": "can_read", "type"...
2
ansible__awx__bcd2a8f2__5
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_invalid_rsa_key
awx/main/tests/unit/test_validators.py
44
51
[ { "decorator_line": 149, "file_path": "awx/main/validators.py", "line_end": 153, "line_start": 149, "name": "validate_private_key", "type": "function" }, { "decorator_line": 156, "file_path": "awx/main/validators.py", "line_end": 163, "line_start": 156, "name": "valid...
3
ansible__awx__bcd2a8f2__6
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_job_capacity_and_with_inactive_node
awx/main/tests/functional/test_jobs.py
19
25
[ { "decorator_line": 91, "file_path": "awx/main/managers.py", "line_end": 94, "line_start": 91, "name": "total_capacity", "type": "function" } ]
1
ansible__awx__bcd2a8f2__7
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_private_hg_project_over_ssh
awx/main/tests/old/projects.py
1,452
1,463
[ { "decorator_line": 492, "file_path": "awx/main/tests/old/projects.py", "line_end": 515, "line_start": 492, "name": "create_project", "type": "function" }, { "decorator_line": 1043, "file_path": "awx/main/tests/old/projects.py", "line_end": 1159, "line_start": 1043, "...
2
ansible__awx__bcd2a8f2__8
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_valid_rsa_key
awx/main/tests/unit/test_validators.py
20
29
[ { "decorator_line": 149, "file_path": "awx/main/validators.py", "line_end": 153, "line_start": 149, "name": "validate_private_key", "type": "function" }, { "decorator_line": 156, "file_path": "awx/main/validators.py", "line_end": 163, "line_start": 156, "name": "valid...
3
ansible__awx__bcd2a8f2__9
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
can_read
awx/main/migrations/_old_access.py
395
396
[ { "decorator_line": 90, "file_path": "awx/main/migrations/_old_access.py", "line_end": 107, "line_start": 90, "name": "check_user_access", "type": "function" } ]
1
ansible__awx__bcd2a8f2__10
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_run_isolated_adhoc_command
awx/main/tests/unit/expect/test_expect.py
232
262
[ { "decorator_line": 23, "file_path": "awx/main/expect/isolated_manager.py", "line_end": 481, "line_start": 23, "name": "IsolatedManager", "type": "class" }, { "decorator_line": 209, "file_path": "awx/main/expect/isolated_manager.py", "line_end": 243, "line_start": 209, ...
2
ansible__awx__bcd2a8f2__11
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
handle
awx/main/management/commands/create_preload_data.py
13
53
[ { "decorator_line": 224, "file_path": "awx/main/models/projects.py", "line_end": 437, "line_start": 224, "name": "Project", "type": "class" }, { "decorator_line": 312, "file_path": "awx/main/models/projects.py", "line_end": 344, "line_start": 312, "name": "save", ...
3
ansible__awx__bcd2a8f2__12
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
can_delete
awx/main/migrations/_old_access.py
1,497
1,504
[ { "decorator_line": 90, "file_path": "awx/main/migrations/_old_access.py", "line_end": 107, "line_start": 90, "name": "check_user_access", "type": "function" } ]
1
ansible__awx__bcd2a8f2__13
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_create_default_org
awx/main/tests/old/commands/commands_monolithic.py
121
134
[ { "decorator_line": 357, "file_path": "awx/main/tests/base.py", "line_end": 373, "line_start": 357, "name": "setup_users", "type": "function" }, { "decorator_line": 82, "file_path": "awx/main/tests/old/commands/commands_monolithic.py", "line_end": 109, "line_start": 82, ...
2
ansible__awx__bcd2a8f2__14
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
yaml_inventory
awx/plugins/ansible_inventory/backport.py
283
314
[ { "decorator_line": 193, "file_path": "awx/plugins/ansible_inventory/backport.py", "line_end": 198, "line_start": 193, "name": "_get_host_variables", "type": "function" }, { "decorator_line": 207, "file_path": "awx/plugins/ansible_inventory/backport.py", "line_end": 211, ...
3
ansible__awx__bcd2a8f2__15
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
authenticate
awx/sso/backends.py
87
110
[ { "decorator_line": 52, "file_path": "awx/conf/license.py", "line_end": 58, "line_start": 53, "name": "feature_enabled", "type": "function" } ]
1
ansible__awx__bcd2a8f2__16
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_valid_rsa1_key
awx/main/tests/unit/test_validators.py
78
87
[ { "decorator_line": 166, "file_path": "awx/main/validators.py", "line_end": 172, "line_start": 166, "name": "validate_ssh_private_key", "type": "function" }, { "decorator_line": 156, "file_path": "awx/main/validators.py", "line_end": 163, "line_start": 156, "name": "v...
2
ansible__awx__bcd2a8f2__17
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
forwards
awx/main/south_migrations/0036_v148_changes.py
62
390
[ { "decorator_line": 55, "file_path": "awx/main/south_migrations/0036_v148_changes.py", "line_end": 60, "line_start": 55, "name": "_get_content_type_for_model", "type": "function" }, { "decorator_line": 22, "file_path": "awx/main/south_migrations/0036_v148_changes.py", "line_e...
3
ansible__awx__bcd2a8f2__18
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
setUp
awx/main/tests/old/jobs/jobs_monolithic.py
636
643
[ { "decorator_line": 530, "file_path": "awx/main/tests/job_base.py", "line_end": 535, "line_start": 530, "name": "setUp", "type": "function" } ]
1
ansible__awx__bcd2a8f2__19
ansible/awx
bcd2a8f2119b07f80e670f6b2d27d5efff853e3a
test_event_recomb
awx/main/tests/unit/utils/test_event_filter.py
50
64
[ { "decorator_line": 11, "file_path": "awx/main/tests/unit/utils/test_event_filter.py", "line_end": 19, "line_start": 11, "name": "write_encoded_event_data", "type": "function" }, { "decorator_line": 827, "file_path": "awx/main/utils/common.py", "line_end": 843, "line_star...
2