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
canonical__cloud-init__4f127b48__17
canonical/cloud-init
4f127b488eb5771dfff42bb3aeac688a496bc210
test_wait_for_link_up_checks_link_after_sleep
tests/unittests/sources/test_azure.py
2,975
2,989
[ { "decorator_line": 1166, "file_path": "cloudinit/distros/__init__.py", "line_end": 1175, "line_start": 1166, "name": "fetch", "type": "function" }, { "decorator_line": 287, "file_path": "cloudinit/sources/DataSourceAzure.py", "line_end": 1464, "line_start": 287, "nam...
3
canonical__cloud-init__4f127b48__18
canonical/cloud-init
4f127b488eb5771dfff42bb3aeac688a496bc210
test_maybe_install_ua_tools
tests/unittests/config/test_cc_ubuntu_advantage.py
1,225
1,247
[ { "decorator_line": 367, "file_path": "cloudinit/config/cc_ubuntu_advantage.py", "line_end": 380, "line_start": 367, "name": "maybe_install_ua_tools", "type": "function" } ]
1
canonical__cloud-init__4f127b48__19
canonical/cloud-init
4f127b488eb5771dfff42bb3aeac688a496bc210
test_schema_validation
tests/unittests/config/test_cc_runcmd.py
107
112
[ { "decorator_line": 432, "file_path": "cloudinit/config/schema.py", "line_end": 512, "line_start": 432, "name": "validate_cloudconfig_schema", "type": "function" }, { "decorator_line": 1172, "file_path": "cloudinit/config/schema.py", "line_end": 1200, "line_start": 1172, ...
2
conan-io__conan__ae64c8be__0
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
check
conans/test/model/transitive_reqs_test.py
1,203
1,219
[ { "decorator_line": 33, "file_path": "conans/model/requires.py", "line_end": 122, "line_start": 33, "name": "Requirements", "type": "class" } ]
1
conan-io__conan__ae64c8be__1
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
validate_test
conans/test/model/settings_test.py
198
225
[ { "decorator_line": 17, "file_path": "conans/model/config_dict.py", "line_end": 18, "line_start": 17, "name": "undefined_value", "type": "function" }, { "decorator_line": 173, "file_path": "conans/model/config_dict.py", "line_end": 176, "line_start": 173, "name": "val...
2
conan-io__conan__ae64c8be__2
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
test_file_upload
conans/server/test/service/service_test.py
59
71
[ { "decorator_line": 9, "file_path": "conans/server/crypto/jwt/jwt_updown_manager.py", "line_end": 15, "line_start": 9, "name": "get_token_for", "type": "function" }, { "decorator_line": 19, "file_path": "conans/server/test/service/service_test.py", "line_end": 26, "line_s...
3
conan-io__conan__ae64c8be__3
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
add_edge
conans/client/deps_builder.py
45
47
[ { "decorator_line": 11, "file_path": "conans/client/deps_builder.py", "line_end": 17, "line_start": 11, "name": "Edge", "type": "class" } ]
1
conan-io__conan__ae64c8be__4
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
basic_packages_test
conans/test/command/remove_test.py
98
103
[ { "decorator_line": 316, "file_path": "conans/test/tools.py", "line_end": 337, "line_start": 316, "name": "run", "type": "function" }, { "decorator_line": 45, "file_path": "conans/test/command/remove_test.py", "line_end": 80, "line_start": 45, "name": "assert_folders"...
2
conan-io__conan__ae64c8be__5
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
loads
conans/model/options.py
202
216
[ { "decorator_line": 130, "file_path": "conans/model/options.py", "line_end": 240, "line_start": 130, "name": "OptionsValues", "type": "class" }, { "decorator_line": 4, "file_path": "conans/model/values.py", "line_end": 153, "line_start": 4, "name": "Values", "type...
3
conan-io__conan__ae64c8be__6
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
test_properties
conans/test/remote_manager_test.py
41
46
[ { "decorator_line": 34, "file_path": "conans/client/remote_manager.py", "line_end": 41, "line_start": 34, "name": "remote_url", "type": "function" } ]
1
conan-io__conan__ae64c8be__7
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
my_test
conans/test/model/settings_test.py
253
324
[ { "decorator_line": 5, "file_path": "conans/model/config_dict.py", "line_end": 7, "line_start": 5, "name": "bad_value_msg", "type": "function" }, { "decorator_line": 10, "file_path": "conans/model/config_dict.py", "line_end": 14, "line_start": 10, "name": "undefined_f...
2
conan-io__conan__ae64c8be__8
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
test_basic_option
conans/test/model/transitive_reqs_test.py
452
467
[ { "decorator_line": 107, "file_path": "conans/test/model/transitive_reqs_test.py", "line_end": 110, "line_start": 107, "name": "root", "type": "function" }, { "decorator_line": 36, "file_path": "conans/client/deps_builder.py", "line_end": 40, "line_start": 36, "name":...
3
conan-io__conan__ae64c8be__9
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
loads
conans/model/info.py
105
106
[ { "decorator_line": 114, "file_path": "conans/model/info.py", "line_end": 116, "line_start": 115, "name": "deserialize", "type": "function" } ]
1
conan-io__conan__ae64c8be__10
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
settings_defaults
conans/client/conf/__init__.py
73
76
[ { "decorator_line": 48, "file_path": "conans/client/conf/__init__.py", "line_end": 53, "line_start": 48, "name": "get_conf", "type": "function" }, { "decorator_line": 72, "file_path": "conans/model/values.py", "line_end": 85, "line_start": 73, "name": "from_list", ...
2
conan-io__conan__ae64c8be__11
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
download
conans/client/rest/uploader_downloader.py
25
47
[ { "decorator_line": 12, "file_path": "conans/errors.py", "line_end": 16, "line_start": 12, "name": "ConanException", "type": "class" }, { "decorator_line": 79, "file_path": "conans/client/rest/uploader_downloader.py", "line_end": 80, "line_start": 79, "name": "progres...
3
conan-io__conan__ae64c8be__12
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
launch
conans/server/server_launcher.py
56
57
[ { "decorator_line": 33, "file_path": "conans/server/rest/server.py", "line_end": 38, "line_start": 33, "name": "run", "type": "function" } ]
1
conan-io__conan__ae64c8be__13
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
setUp
conans/test/integration/go_diamond_test.py
11
16
[ { "decorator_line": 143, "file_path": "conans/test/tools.py", "line_end": 178, "line_start": 143, "name": "TestServer", "type": "class" }, { "decorator_line": 234, "file_path": "conans/test/tools.py", "line_end": 346, "line_start": 234, "name": "TestClient", "type...
2
conan-io__conan__ae64c8be__14
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
remove_packages
conans/server/store/file_manager.py
103
116
[ { "decorator_line": 84, "file_path": "conans/paths.py", "line_end": 86, "line_start": 84, "name": "packages", "type": "function" }, { "decorator_line": 81, "file_path": "conans/model/ref.py", "line_end": 98, "line_start": 81, "name": "PackageReference", "type": "c...
3
conan-io__conan__ae64c8be__15
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
test_get_package_upload_urls
conans/server/test/service/service_test.py
159
171
[ { "decorator_line": 141, "file_path": "conans/server/service/service.py", "line_end": 153, "line_start": 141, "name": "get_package_upload_urls", "type": "function" } ]
1
conan-io__conan__ae64c8be__16
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
constraint4_test
conans/test/model/settings_test.py
149
156
[ { "decorator_line": 9, "file_path": "conans/model/settings.py", "line_end": 52, "line_start": 9, "name": "constraint", "type": "function" }, { "decorator_line": 5, "file_path": "conans/model/config_dict.py", "line_end": 7, "line_start": 5, "name": "bad_value_msg", ...
2
conan-io__conan__ae64c8be__17
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
remove_test
conans/test/model/settings_test.py
21
25
[ { "decorator_line": 182, "file_path": "conans/model/config_dict.py", "line_end": 187, "line_start": 182, "name": "remove", "type": "function" }, { "decorator_line": 173, "file_path": "conans/model/config_dict.py", "line_end": 176, "line_start": 173, "name": "validate"...
3
conan-io__conan__ae64c8be__18
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
writeln
conans/client/output.py
42
43
[ { "decorator_line": 45, "file_path": "conans/client/output.py", "line_end": 54, "line_start": 45, "name": "write", "type": "function" } ]
1
conan-io__conan__ae64c8be__19
conan-io/conan
ae64c8be199054417eda5224744eca776b13a6c0
constraint7_test
conans/test/model/settings_test.py
182
196
[ { "decorator_line": 9, "file_path": "conans/model/settings.py", "line_end": 52, "line_start": 9, "name": "constraint", "type": "function" }, { "decorator_line": 5, "file_path": "conans/model/config_dict.py", "line_end": 7, "line_start": 5, "name": "bad_value_msg", ...
2
praw-dev__praw__eb91d191__0
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_decode_entities
tests/test_unauthenticated_reddit.py
68
71
[ { "decorator_line": 953, "file_path": "praw/__init__.py", "line_end": 972, "line_start": 953, "name": "get_submission", "type": "function" } ]
1
praw-dev__praw__eb91d191__1
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_set_access_credentials
tests/test_oauth2_reddit.py
209
215
[ { "decorator_line": 1326, "file_path": "praw/__init__.py", "line_end": 1344, "line_start": 1326, "name": "refresh_access_information", "type": "function" }, { "decorator_line": 1382, "file_path": "praw/__init__.py", "line_end": 1406, "line_start": 1383, "name": "set_a...
2
praw-dev__praw__eb91d191__2
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_create_subreddit
tests/test_authenticated_reddit.py
39
54
[ { "decorator_line": 1284, "file_path": "praw/__init__.py", "line_end": 1324, "line_start": 1290, "name": "login", "type": "function" }, { "decorator_line": 995, "file_path": "praw/__init__.py", "line_end": 1007, "line_start": 995, "name": "get_subreddit", "type": ...
3
praw-dev__praw__eb91d191__3
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_get_mod_log_with_mod_by_redditor_object
tests/test_subreddit.py
173
178
[ { "decorator_line": 925, "file_path": "praw/__init__.py", "line_end": 932, "line_start": 925, "name": "get_redditor", "type": "function" } ]
1
praw-dev__praw__eb91d191__4
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
raise_api_exceptions
praw/decorators.py
160
199
[ { "decorator_line": 415, "file_path": "praw/errors.py", "line_end": 435, "line_start": 415, "name": "NotModified", "type": "class" }, { "decorator_line": 303, "file_path": "praw/errors.py", "line_end": 321, "line_start": 303, "name": "ExceptionList", "type": "clas...
2
praw-dev__praw__eb91d191__5
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
set_flair
praw/__init__.py
1,692
1,716
[ { "decorator_line": 252, "file_path": "praw/decorators.py", "line_end": 348, "line_start": 252, "name": "restrict_access", "type": "function" }, { "decorator_line": 551, "file_path": "praw/__init__.py", "line_end": 578, "line_start": 552, "name": "request_json", "...
3
praw-dev__praw__eb91d191__6
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_search_single_submitted_url
tests/test_unauthenticated_reddit.py
245
247
[ { "decorator_line": 1063, "file_path": "praw/__init__.py", "line_end": 1111, "line_start": 1063, "name": "search", "type": "function" } ]
1
praw-dev__praw__eb91d191__7
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
configure
tests/helper.py
36
71
[ { "decorator_line": 2462, "file_path": "praw/__init__.py", "line_end": 2471, "line_start": 2462, "name": "Reddit", "type": "class" }, { "decorator_line": 89, "file_path": "tests/helper.py", "line_end": 90, "line_start": 89, "name": "url", "type": "function" } ]
2
praw-dev__praw__eb91d191__8
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_scope_edit
tests/test_oauth2_reddit.py
75
78
[ { "decorator_line": 1326, "file_path": "praw/__init__.py", "line_end": 1344, "line_start": 1326, "name": "refresh_access_information", "type": "function" }, { "decorator_line": 936, "file_path": "praw/objects.py", "line_end": 941, "line_start": 937, "name": "from_id",...
3
praw-dev__praw__eb91d191__9
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
betamax_init
tests/test_wiki_page.py
8
9
[ { "decorator_line": 995, "file_path": "praw/__init__.py", "line_end": 1007, "line_start": 995, "name": "get_subreddit", "type": "function" } ]
1
praw-dev__praw__eb91d191__10
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
betamax_init
tests/test_submission.py
142
144
[ { "decorator_line": 1284, "file_path": "praw/__init__.py", "line_end": 1324, "line_start": 1290, "name": "login", "type": "function" }, { "decorator_line": 995, "file_path": "praw/__init__.py", "line_end": 1007, "line_start": 995, "name": "get_subreddit", "type": ...
2
praw-dev__praw__eb91d191__11
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_mark_as_read
tests/test_message.py
33
40
[ { "decorator_line": 1284, "file_path": "praw/__init__.py", "line_end": 1324, "line_start": 1290, "name": "login", "type": "function" }, { "decorator_line": 2234, "file_path": "praw/__init__.py", "line_end": 2254, "line_start": 2235, "name": "get_unread", "type": "...
3
praw-dev__praw__eb91d191__12
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
replies
praw/objects.py
615
629
[ { "decorator_line": 199, "file_path": "praw/errors.py", "line_end": 201, "line_start": 199, "name": "InvalidComment", "type": "class" } ]
1
praw-dev__praw__eb91d191__13
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
get_mod_log
praw/__init__.py
1,760
1,779
[ { "decorator_line": 252, "file_path": "praw/decorators.py", "line_end": 348, "line_start": 252, "name": "restrict_access", "type": "function" }, { "decorator_line": 451, "file_path": "praw/__init__.py", "line_end": 533, "line_start": 452, "name": "get_content", "t...
2
praw-dev__praw__eb91d191__14
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_mod_mail_send
tests/test_subreddit.py
204
207
[ { "decorator_line": 995, "file_path": "praw/__init__.py", "line_end": 1007, "line_start": 995, "name": "get_subreddit", "type": "function" }, { "decorator_line": 77, "file_path": "tests/helper.py", "line_end": 80, "line_start": 77, "name": "first", "type": "functi...
3
praw-dev__praw__eb91d191__15
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
get_popular_subreddits
praw/__init__.py
881
889
[ { "decorator_line": 451, "file_path": "praw/__init__.py", "line_end": 533, "line_start": 452, "name": "get_content", "type": "function" } ]
1
praw-dev__praw__eb91d191__16
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_spambox_comments_replies_are_none
tests/test_comments.py
75
79
[ { "decorator_line": 995, "file_path": "praw/__init__.py", "line_end": 1007, "line_start": 995, "name": "get_subreddit", "type": "function" }, { "decorator_line": 77, "file_path": "tests/helper.py", "line_end": 80, "line_start": 77, "name": "first", "type": "functi...
2
praw-dev__praw__eb91d191__17
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_scope_vote
tests/test_oauth2_reddit.py
203
206
[ { "decorator_line": 1326, "file_path": "praw/__init__.py", "line_end": 1344, "line_start": 1326, "name": "refresh_access_information", "type": "function" }, { "decorator_line": 936, "file_path": "praw/objects.py", "line_end": 941, "line_start": 937, "name": "from_id",...
3
praw-dev__praw__eb91d191__18
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
test_save_comment
tests/test_comments.py
61
72
[ { "decorator_line": 77, "file_path": "tests/helper.py", "line_end": 80, "line_start": 77, "name": "first", "type": "function" } ]
1
praw-dev__praw__eb91d191__19
praw-dev/praw
eb91d191eb09d94df144589ba6561f387a3a2922
get_my_multireddits
praw/__init__.py
2,148
2,152
[ { "decorator_line": 252, "file_path": "praw/decorators.py", "line_end": 348, "line_start": 252, "name": "restrict_access", "type": "function" }, { "decorator_line": 551, "file_path": "praw/__init__.py", "line_end": 578, "line_start": 552, "name": "request_json", "...
2
plotly__plotly.py__232b16bf__0
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
iplot_mpl
plotly/plotly/plotly.py
201
236
[ { "decorator_line": 90, "file_path": "plotly/plotly/plotly.py", "line_end": 115, "line_start": 90, "name": "iplot", "type": "function" } ]
1
plotly__plotly.py__232b16bf__1
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
test_markers
plotly/matplotlylib/mplexporter/tests/test_basic.py
46
67
[ { "decorator_line": 18, "file_path": "plotly/matplotlylib/mplexporter/tests/test_basic.py", "line_end": 20, "line_start": 18, "name": "_assert_output_equal", "type": "function" }, { "decorator_line": 11, "file_path": "plotly/matplotlylib/mplexporter/tests/test_basic.py", "lin...
2
plotly__plotly.py__232b16bf__2
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
to_graph_objs
plotly/graph_objs/graph_objs.py
1,280
1,306
[ { "decorator_line": 1450, "file_path": "plotly/graph_objs/graph_objs.py", "line_end": 1454, "line_start": 1450, "name": "XAxis", "type": "class" }, { "decorator_line": 1464, "file_path": "plotly/graph_objs/graph_objs.py", "line_end": 1468, "line_start": 1464, "name": ...
3
plotly__plotly.py__232b16bf__3
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
reset_config_file
plotly/tools.py
183
187
[ { "decorator_line": 62, "file_path": "plotly/tools.py", "line_end": 85, "line_start": 62, "name": "ensure_local_plotly_files", "type": "function" } ]
1
plotly__plotly.py__232b16bf__4
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
test_simple_line
plotly/tests/test_matplotlylib/test_lines.py
9
18
[ { "decorator_line": 58, "file_path": "plotly/tests/test_matplotlylib/nose_tools.py", "line_end": 62, "line_start": 58, "name": "run_fig", "type": "function" }, { "decorator_line": 9, "file_path": "plotly/tests/test_matplotlylib/nose_tools.py", "line_end": 34, "line_start"...
2
plotly__plotly.py__232b16bf__5
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
fig_to_vincent
plotly/matplotlylib/mplexporter/renderers/vincent_renderer.py
46
51
[ { "decorator_line": 5, "file_path": "plotly/matplotlylib/mplexporter/renderers/vincent_renderer.py", "line_end": 43, "line_start": 5, "name": "VincentRenderer", "type": "class" }, { "decorator_line": 14, "file_path": "plotly/matplotlylib/mplexporter/exporter.py", "line_end": ...
3
plotly__plotly.py__232b16bf__6
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_bar
plotly/matplotlylib/renderer.py
188
232
[ { "decorator_line": 217, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 225, "line_start": 217, "name": "get_bar_gap", "type": "function" } ]
1
plotly__plotly.py__232b16bf__7
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_text
plotly/matplotlylib/mplexporter/exporter.py
197
210
[ { "decorator_line": 50, "file_path": "plotly/matplotlylib/mplexporter/exporter.py", "line_end": 108, "line_start": 51, "name": "process_transform", "type": "function" }, { "decorator_line": 170, "file_path": "plotly/matplotlylib/mplexporter/utils.py", "line_end": 182, "li...
2
plotly__plotly.py__232b16bf__8
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_path_collection
plotly/matplotlylib/mplexporter/renderers/base.py
207
271
[ { "decorator_line": 186, "file_path": "plotly/matplotlylib/mplexporter/renderers/base.py", "line_end": 205, "line_start": 187, "name": "_iter_path_collection", "type": "function" }, { "decorator_line": 20, "file_path": "plotly/matplotlylib/mplexporter/utils.py", "line_end": 2...
3
plotly__plotly.py__232b16bf__9
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
reset_credentials_file
plotly/tools.py
125
129
[ { "decorator_line": 62, "file_path": "plotly/tools.py", "line_end": 85, "line_start": 62, "name": "ensure_local_plotly_files", "type": "function" } ]
1
plotly__plotly.py__232b16bf__10
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_marked_line
plotly/matplotlylib/renderer.py
234
312
[ { "decorator_line": 52, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 57, "line_start": 52, "name": "convert_dash", "type": "function" }, { "decorator_line": 69, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 79, "line_start": 69, "name": "c...
2
plotly__plotly.py__232b16bf__11
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_patch
plotly/matplotlylib/mplexporter/exporter.py
212
224
[ { "decorator_line": 79, "file_path": "plotly/matplotlylib/mplexporter/utils.py", "line_end": 114, "line_start": 79, "name": "SVG_path", "type": "function" }, { "decorator_line": 50, "file_path": "plotly/matplotlylib/mplexporter/exporter.py", "line_end": 108, "line_start":...
3
plotly__plotly.py__232b16bf__12
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
validate
plotly/graph_objs/graph_objs.py
725
785
[ { "decorator_line": 654, "file_path": "plotly/graph_objs/graph_objs.py", "line_end": 723, "line_start": 654, "name": "to_graph_objs", "type": "function" } ]
1
plotly__plotly.py__232b16bf__13
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
test_path_collection
plotly/matplotlylib/mplexporter/tests/test_basic.py
70
92
[ { "decorator_line": 18, "file_path": "plotly/matplotlylib/mplexporter/tests/test_basic.py", "line_end": 20, "line_start": 18, "name": "_assert_output_equal", "type": "function" }, { "decorator_line": 11, "file_path": "plotly/matplotlylib/mplexporter/tests/test_basic.py", "lin...
2
plotly__plotly.py__232b16bf__14
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
open_axes
plotly/matplotlylib/renderer.py
107
168
[ { "decorator_line": 434, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 453, "line_start": 434, "name": "prep_xy_axis", "type": "function" }, { "decorator_line": 301, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 317, "line_start": 301, "nam...
3
plotly__plotly.py__232b16bf__15
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
layout
dist/plotly-0.5.8 2/plotly/plotly.py
104
128
[ { "decorator_line": 216, "file_path": "dist/plotly-0.5.8 2/plotly/plotly.py", "line_end": 233, "line_start": 216, "name": "__makecall", "type": "function" } ]
1
plotly__plotly.py__232b16bf__16
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
test_horizontal_bar
plotly/tests/test_matplotlylib/test_bars.py
22
32
[ { "decorator_line": 58, "file_path": "plotly/tests/test_matplotlylib/nose_tools.py", "line_end": 62, "line_start": 58, "name": "run_fig", "type": "function" }, { "decorator_line": 9, "file_path": "plotly/tests/test_matplotlylib/nose_tools.py", "line_end": 34, "line_start"...
2
plotly__plotly.py__232b16bf__17
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
prep_xy_axis
plotly/matplotlylib/mpltools.py
434
453
[ { "decorator_line": 98, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 126, "line_start": 98, "name": "convert_x_domain", "type": "function" }, { "decorator_line": 366, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 431, "line_start": 366, "n...
3
plotly__plotly.py__232b16bf__18
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
layout
dist/plotly-0.5.9/plotly/plotly.py
104
128
[ { "decorator_line": 216, "file_path": "dist/plotly-0.5.9/plotly/plotly.py", "line_end": 233, "line_start": 216, "name": "__makecall", "type": "function" } ]
1
plotly__plotly.py__232b16bf__19
plotly/plotly.py
232b16bfdafd9f61ecacb352ef0c19e745d5a37d
draw_path_collection
plotly/matplotlylib/renderer.py
326
374
[ { "decorator_line": 269, "file_path": "plotly/matplotlylib/mpltools.py", "line_end": 279, "line_start": 269, "name": "get_markerstyle_from_collection", "type": "function" }, { "decorator_line": 234, "file_path": "plotly/matplotlylib/renderer.py", "line_end": 312, "line_st...
2
huggingface__accelerate__25bf0bca__0
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
wait_for_everyone
src/accelerate/utils.py
167
178
[ { "decorator_line": 56, "file_path": "src/accelerate/state.py", "line_end": 114, "line_start": 56, "name": "AcceleratorState", "type": "class" } ]
1
huggingface__accelerate__25bf0bca__1
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
test_iterable_dataset_shard
tests/test_data_loader.py
206
221
[ { "decorator_line": 22, "file_path": "tests/test_data_loader.py", "line_end": 34, "line_start": 22, "name": "RandomIterableDataset", "type": "class" }, { "decorator_line": 166, "file_path": "tests/test_data_loader.py", "line_end": 204, "line_start": 166, "name": "chec...
2
huggingface__accelerate__25bf0bca__2
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
gather
src/accelerate/utils.py
148
164
[ { "decorator_line": 56, "file_path": "src/accelerate/state.py", "line_end": 114, "line_start": 56, "name": "AcceleratorState", "type": "class" }, { "decorator_line": 126, "file_path": "src/accelerate/utils.py", "line_end": 133, "line_start": 126, "name": "_tpu_gather"...
3
huggingface__accelerate__25bf0bca__3
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
is_special_block
utils/style_doc.py
337
346
[ { "decorator_line": 324, "file_path": "utils/style_doc.py", "line_end": 329, "line_start": 324, "name": "is_no_style_block", "type": "function" } ]
1
huggingface__accelerate__25bf0bca__4
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
main
src/accelerate/commands/test.py
56
59
[ { "decorator_line": 22, "file_path": "src/accelerate/commands/test.py", "line_end": 41, "line_start": 22, "name": "test_command_parser", "type": "function" }, { "decorator_line": 44, "file_path": "src/accelerate/commands/test.py", "line_end": 53, "line_start": 44, "na...
2
huggingface__accelerate__25bf0bca__5
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
style_paragraph
utils/style_doc.py
147
225
[ { "decorator_line": 101, "file_path": "utils/style_doc.py", "line_end": 104, "line_start": 101, "name": "get_indent", "type": "function" }, { "decorator_line": 75, "file_path": "utils/style_doc.py", "line_end": 98, "line_start": 75, "name": "split_text_in_lines", ...
3
huggingface__accelerate__25bf0bca__6
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
set_seed
src/accelerate/utils.py
35
48
[ { "decorator_line": 29, "file_path": "src/accelerate/state.py", "line_end": 30, "line_start": 29, "name": "is_tpu_available", "type": "function" } ]
1
huggingface__accelerate__25bf0bca__7
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
style_rst_file
utils/style_doc.py
411
427
[ { "decorator_line": 378, "file_path": "utils/style_doc.py", "line_end": 395, "line_start": 378, "name": "_add_new_lines_before_list", "type": "function" }, { "decorator_line": 227, "file_path": "utils/style_doc.py", "line_end": 318, "line_start": 227, "name": "style",...
2
huggingface__accelerate__25bf0bca__8
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
mock_training
src/accelerate/test_utils/test_script.py
110
124
[ { "decorator_line": 35, "file_path": "src/accelerate/utils.py", "line_end": 48, "line_start": 35, "name": "set_seed", "type": "function" }, { "decorator_line": 18, "file_path": "src/accelerate/test_utils/training.py", "line_end": 30, "line_start": 18, "name": "Regress...
3
huggingface__accelerate__25bf0bca__9
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
prepare_data_loader
src/accelerate/accelerator.py
204
213
[ { "decorator_line": 294, "file_path": "src/accelerate/data_loader.py", "line_end": 422, "line_start": 294, "name": "prepare_data_loader", "type": "function" } ]
1
huggingface__accelerate__25bf0bca__10
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
synchronize_rng_state
src/accelerate/utils.py
51
81
[ { "decorator_line": 29, "file_path": "src/accelerate/state.py", "line_end": 30, "line_start": 29, "name": "is_tpu_available", "type": "function" }, { "decorator_line": 56, "file_path": "src/accelerate/state.py", "line_end": 114, "line_start": 56, "name": "AcceleratorS...
2
huggingface__accelerate__25bf0bca__11
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
prepare
src/accelerate/accelerator.py
145
189
[ { "decorator_line": 303, "file_path": "src/accelerate/accelerator.py", "line_end": 318, "line_start": 303, "name": "_get_devices", "type": "function" }, { "decorator_line": 295, "file_path": "src/accelerate/accelerator.py", "line_end": 301, "line_start": 295, "name": ...
3
huggingface__accelerate__25bf0bca__12
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
training_function
examples/nlp_example.py
50
158
[ { "decorator_line": 26, "file_path": "src/accelerate/accelerator.py", "line_end": 318, "line_start": 26, "name": "Accelerator", "type": "class" } ]
1
huggingface__accelerate__25bf0bca__13
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
synchronize_rng_states
src/accelerate/utils.py
84
86
[ { "decorator_line": 51, "file_path": "src/accelerate/utils.py", "line_end": 81, "line_start": 51, "name": "synchronize_rng_state", "type": "function" }, { "decorator_line": 28, "file_path": "src/accelerate/utils.py", "line_end": 32, "line_start": 28, "name": "RNGType"...
2
huggingface__accelerate__25bf0bca__14
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
style_docstring
utils/style_doc.py
430
461
[ { "decorator_line": 398, "file_path": "utils/style_doc.py", "line_end": 408, "line_start": 398, "name": "_add_new_lines_before_doc_special_words", "type": "function" }, { "decorator_line": 378, "file_path": "utils/style_doc.py", "line_end": 395, "line_start": 378, "na...
3
huggingface__accelerate__25bf0bca__15
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
main
examples/cv_example.py
186
193
[ { "decorator_line": 74, "file_path": "examples/cv_example.py", "line_end": 183, "line_start": 74, "name": "training_function", "type": "function" } ]
1
huggingface__accelerate__25bf0bca__16
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
main
src/accelerate/commands/launch.py
203
206
[ { "decorator_line": 37, "file_path": "src/accelerate/commands/launch.py", "line_end": 98, "line_start": 37, "name": "launch_command_parser", "type": "function" }, { "decorator_line": 173, "file_path": "src/accelerate/commands/launch.py", "line_end": 200, "line_start": 173...
2
huggingface__accelerate__25bf0bca__17
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
main
src/accelerate/commands/accelerate_cli.py
23
40
[ { "decorator_line": 55, "file_path": "src/accelerate/commands/config.py", "line_end": 74, "line_start": 55, "name": "config_command_parser", "type": "function" }, { "decorator_line": 37, "file_path": "src/accelerate/commands/launch.py", "line_end": 98, "line_start": 37, ...
3
huggingface__accelerate__25bf0bca__18
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
is_comment_or_textual_block
utils/style_doc.py
331
335
[ { "decorator_line": 118, "file_path": "utils/style_doc.py", "line_end": 122, "line_start": 118, "name": "is_comment_or_textual_block", "type": "function" } ]
1
huggingface__accelerate__25bf0bca__19
huggingface/accelerate
25bf0bcafb8aecf4e6a5a90be349fbd2a8ee3f7f
config_command
src/accelerate/commands/config.py
164
173
[ { "decorator_line": 90, "file_path": "src/accelerate/commands/config.py", "line_end": 161, "line_start": 90, "name": "get_user_input", "type": "function" }, { "decorator_line": 49, "file_path": "src/accelerate/commands/config.py", "line_end": 52, "line_start": 49, "na...
2
celery__kombu__d48bc0b2__0
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
key_to_pattern
kombu/transport/virtual/exchange.py
91
96
[ { "decorator_line": 415, "file_path": "kombu/utils/__init__.py", "line_end": 419, "line_start": 415, "name": "escape_regex", "type": "function" } ]
1
celery__kombu__d48bc0b2__1
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
setUp
kombu/tests/test_log.py
65
67
[ { "decorator_line": 114, "file_path": "kombu/log.py", "line_end": 127, "line_start": 114, "name": "Log", "type": "class" }, { "decorator_line": 34, "file_path": "kombu/tests/case.py", "line_end": 40, "line_start": 34, "name": "Mock", "type": "class" } ]
2
celery__kombu__d48bc0b2__2
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
test_purge
funtests/transport.py
148
164
[ { "decorator_line": 126, "file_path": "funtests/transport.py", "line_end": 130, "line_start": 126, "name": "verify_alive", "type": "function" }, { "decorator_line": 245, "file_path": "kombu/connection.py", "line_end": 253, "line_start": 245, "name": "channel", "ty...
3
celery__kombu__d48bc0b2__3
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
restore_unacked
kombu/transport/virtual/__init__.py
183
202
[ { "decorator_line": 162, "file_path": "kombu/transport/virtual/__init__.py", "line_end": 171, "line_start": 162, "name": "_flush", "type": "function" } ]
1
celery__kombu__d48bc0b2__4
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
from_dict
kombu/entity.py
675
715
[ { "decorator_line": 25, "file_path": "kombu/entity.py", "line_end": 290, "line_start": 25, "name": "Exchange", "type": "class" }, { "decorator_line": 337, "file_path": "kombu/entity.py", "line_end": 715, "line_start": 337, "name": "Queue", "type": "class" } ]
2
celery__kombu__d48bc0b2__5
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
test_set_callbacks
kombu/tests/test_messaging.py
348
355
[ { "decorator_line": 245, "file_path": "kombu/connection.py", "line_end": 253, "line_start": 245, "name": "channel", "type": "function" }, { "decorator_line": 337, "file_path": "kombu/entity.py", "line_end": 715, "line_start": 337, "name": "Queue", "type": "class" ...
3
celery__kombu__d48bc0b2__6
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
logger
kombu/log.py
106
107
[ { "decorator_line": 94, "file_path": "kombu/log.py", "line_end": 95, "line_start": 94, "name": "get_logger", "type": "function" } ]
1
celery__kombu__d48bc0b2__7
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
setup
kombu/connection.py
1,046
1,051
[ { "decorator_line": 1043, "file_path": "kombu/connection.py", "line_end": 1044, "line_start": 1043, "name": "new", "type": "function" }, { "decorator_line": 11, "file_path": "kombu/utils/functional.py", "line_end": 58, "line_start": 11, "name": "lazy", "type": "cl...
2
celery__kombu__d48bc0b2__8
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
setUp
kombu/tests/test_pidbox.py
18
35
[ { "decorator_line": 49, "file_path": "kombu/connection.py", "line_end": 828, "line_start": 49, "name": "Connection", "type": "class" }, { "decorator_line": 245, "file_path": "kombu/connection.py", "line_end": 253, "line_start": 245, "name": "channel", "type": "fun...
3
celery__kombu__d48bc0b2__9
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
send_message
examples/simple_eventlet_send.py
29
30
[ { "decorator_line": 64, "file_path": "kombu/simple.py", "line_end": 71, "line_start": 64, "name": "put", "type": "function" } ]
1
celery__kombu__d48bc0b2__10
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
test_when_cached
kombu/tests/test_common.py
41
44
[ { "decorator_line": 34, "file_path": "kombu/tests/case.py", "line_end": 40, "line_start": 34, "name": "Mock", "type": "class" }, { "decorator_line": 79, "file_path": "kombu/common.py", "line_end": 80, "line_start": 79, "name": "declaration_cached", "type": "functi...
2
celery__kombu__d48bc0b2__11
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
wait_many
examples/simple_eventlet_receive.py
15
36
[ { "decorator_line": 49, "file_path": "kombu/connection.py", "line_end": 828, "line_start": 49, "name": "Connection", "type": "class" }, { "decorator_line": 667, "file_path": "kombu/connection.py", "line_end": 690, "line_start": 667, "name": "SimpleQueue", "type": ...
3
celery__kombu__d48bc0b2__12
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
test_iterconsume
kombu/tests/test_compat.py
11
33
[ { "decorator_line": 23, "file_path": "kombu/compat.py", "line_end": 28, "line_start": 23, "name": "_iterconsume", "type": "function" } ]
1
celery__kombu__d48bc0b2__13
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
test_register_with_event_loop
kombu/tests/transport/test_redis.py
656
675
[ { "decorator_line": 34, "file_path": "kombu/tests/case.py", "line_end": 40, "line_start": 34, "name": "Mock", "type": "class" }, { "decorator_line": 829, "file_path": "kombu/transport/redis.py", "line_end": 840, "line_start": 829, "name": "register_with_event_loop", ...
2
celery__kombu__d48bc0b2__14
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
revive
kombu/messaging.py
197
215
[ { "decorator_line": 1067, "file_path": "kombu/connection.py", "line_end": 1068, "line_start": 1067, "name": "is_connection", "type": "function" }, { "decorator_line": 396, "file_path": "kombu/utils/__init__.py", "line_end": 412, "line_start": 396, "name": "ChannelProm...
3
celery__kombu__d48bc0b2__15
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
reset
kombu/pools.py
138
146
[ { "decorator_line": 114, "file_path": "kombu/pools.py", "line_end": 115, "line_start": 114, "name": "_all_pools", "type": "function" } ]
1
celery__kombu__d48bc0b2__16
celery/kombu
d48bc0b2a6a2f3825e79353e57954670efa23dd5
on_readable
kombu/transport/zmq.py
273
274
[ { "decorator_line": 291, "file_path": "kombu/transport/zmq.py", "line_end": 298, "line_start": 291, "name": "_handle_event", "type": "function" }, { "decorator_line": 73, "file_path": "kombu/transport/zmq.py", "line_end": 75, "line_start": 73, "name": "on_readable", ...
2