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
qutebrowser__qutebrowser__7d4e6dfd__11
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
init
qutebrowser/config/config.py
218
222
[ { "decorator_line": 115, "file_path": "qutebrowser/config/config.py", "line_end": 150, "line_start": 115, "name": "_init_main_config", "type": "function" }, { "decorator_line": 153, "file_path": "qutebrowser/config/config.py", "line_end": 176, "line_start": 153, "name...
3
qutebrowser__qutebrowser__7d4e6dfd__12
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
setup
tests/browser/test_webelem.py
148
150
[ { "decorator_line": 74, "file_path": "tests/stubs.py", "line_end": 90, "line_start": 74, "name": "FakeWebFrame", "type": "class" } ]
1
qutebrowser__qutebrowser__7d4e6dfd__13
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
open_editor
qutebrowser/browser/commands.py
1,023
1,050
[ { "decorator_line": 104, "file_path": "qutebrowser/browser/commands.py", "line_end": 109, "line_start": 104, "name": "_current_widget", "type": "function" }, { "decorator_line": 66, "file_path": "qutebrowser/browser/commands.py", "line_end": 79, "line_start": 66, "nam...
2
qutebrowser__qutebrowser__7d4e6dfd__14
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
tab_clone
qutebrowser/browser/commands.py
376
404
[ { "decorator_line": 66, "file_path": "qutebrowser/browser/commands.py", "line_end": 79, "line_start": 66, "name": "_tabbed_browser", "type": "function" }, { "decorator_line": 104, "file_path": "qutebrowser/browser/commands.py", "line_end": 109, "line_start": 104, "nam...
3
qutebrowser__qutebrowser__7d4e6dfd__15
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
print_col
scripts/utils.py
67
74
[ { "decorator_line": 62, "file_path": "scripts/utils.py", "line_end": 64, "line_start": 62, "name": "_esc", "type": "function" } ]
1
qutebrowser__qutebrowser__7d4e6dfd__16
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
run
qutebrowser/commands/command.py
472
502
[ { "decorator_line": 426, "file_path": "qutebrowser/commands/command.py", "line_end": 470, "line_start": 426, "name": "_get_call_args", "type": "function" }, { "decorator_line": 105, "file_path": "qutebrowser/commands/command.py", "line_end": 130, "line_start": 105, "n...
2
qutebrowser__qutebrowser__7d4e6dfd__17
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
dump_objects
qutebrowser/utils/objreg.py
254
273
[ { "decorator_line": 129, "file_path": "qutebrowser/utils/objreg.py", "line_end": 134, "line_start": 129, "name": "dump_objects", "type": "function" }, { "decorator_line": 192, "file_path": "qutebrowser/utils/objreg.py", "line_end": 205, "line_start": 192, "name": "_ge...
3
qutebrowser__qutebrowser__7d4e6dfd__18
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
on_config_changed
qutebrowser/mainwindow/mainwindow.py
139
142
[ { "decorator_line": 261, "file_path": "qutebrowser/mainwindow/mainwindow.py", "line_end": 293, "line_start": 262, "name": "resize_completion", "type": "function" } ]
1
qutebrowser__qutebrowser__7d4e6dfd__19
qutebrowser/qutebrowser
7d4e6dfd67b493f7e4a3c45f4bb652b35eb6605e
download
qutebrowser/browser/commands.py
936
951
[ { "decorator_line": 104, "file_path": "qutebrowser/browser/commands.py", "line_end": 109, "line_start": 104, "name": "_current_widget", "type": "function" }, { "decorator_line": 93, "file_path": "qutebrowser/browser/commands.py", "line_end": 102, "line_start": 93, "na...
2
strawberry-graphql__strawberry__fc0e5423__0
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_nested_types
tests/test_schema.py
38
60
[ { "decorator_line": 6, "file_path": "strawberry/schema.py", "line_end": 11, "line_start": 6, "name": "Schema", "type": "class" } ]
1
strawberry-graphql__strawberry__fc0e5423__1
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
type
strawberry/type.py
25
61
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" }, { "decorator_line": 10, "file_path": "strawberry/type.py", "line_end": 22, "line_start": 10, "name":...
2
strawberry-graphql__strawberry__fc0e5423__2
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
handle_graphql
strawberry/contrib/starlette/app.py
59
119
[ { "decorator_line": 130, "file_path": "strawberry/contrib/starlette/app.py", "line_end": 133, "line_start": 130, "name": "handle_playground", "type": "function" }, { "decorator_line": 43, "file_path": "strawberry/contrib/starlette/app.py", "line_end": 57, "line_start": 43...
3
strawberry-graphql__strawberry__fc0e5423__3
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
user
tests/test_schema.py
46
49
[ { "decorator_line": 39, "file_path": "tests/test_schema.py", "line_end": 41, "line_start": 40, "name": "User", "type": "class" } ]
1
strawberry-graphql__strawberry__fc0e5423__4
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
wrap
strawberry/type.py
26
59
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" }, { "decorator_line": 10, "file_path": "strawberry/type.py", "line_end": 22, "line_start": 10, "name":...
2
strawberry-graphql__strawberry__fc0e5423__5
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_union
tests/test_type_converter.py
27
43
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__6
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_list_of_object_types
tests/test_type_converter.py
79
95
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__7
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_simple_type
tests/test_schema.py
4
16
[ { "decorator_line": 6, "file_path": "strawberry/schema.py", "line_end": 11, "line_start": 6, "name": "Schema", "type": "class" } ]
1
strawberry-graphql__strawberry__fc0e5423__8
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
handle_playground
strawberry/contrib/starlette/app.py
130
133
[ { "decorator_line": 20, "file_path": "strawberry/contrib/starlette/app.py", "line_end": 27, "line_start": 20, "name": "_get_playground_template", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__9
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
server
strawberry/cli/__init__.py
24
38
[ { "decorator_line": 30, "file_path": "strawberry/contrib/starlette/app.py", "line_end": 133, "line_start": 30, "name": "GraphQLApp", "type": "class" } ]
1
strawberry-graphql__strawberry__fc0e5423__10
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
asgi
strawberry/contrib/starlette/app.py
38
41
[ { "decorator_line": 59, "file_path": "strawberry/contrib/starlette/app.py", "line_end": 119, "line_start": 59, "name": "handle_graphql", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__11
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_scalar
tests/test_type_converter.py
19
24
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__12
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_optional_scalar
tests/test_type_converter.py
46
50
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__13
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_optional_object_type
tests/test_type_converter.py
53
61
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
strawberry-graphql__strawberry__fc0e5423__14
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_resolver
tests/test_schema.py
19
35
[ { "decorator_line": 6, "file_path": "strawberry/schema.py", "line_end": 11, "line_start": 6, "name": "Schema", "type": "class" } ]
1
strawberry-graphql__strawberry__fc0e5423__15
strawberry-graphql/strawberry
fc0e5423a2b9c11326f79db7c330a087913bea05
test_list_of_scalar
tests/test_type_converter.py
64
76
[ { "decorator_line": 26, "file_path": "strawberry/type_converter.py", "line_end": 76, "line_start": 26, "name": "get_graphql_type_for_annotation", "type": "function" } ]
1
mozilla__kitsune__75e95d82__0
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_links
kitsune/wiki/tests/test_parser.py
800
814
[ { "decorator_line": 21, "file_path": "kitsune/wiki/tests/test_parser.py", "line_end": 22, "line_start": 21, "name": "doc_rev_parser", "type": "function" } ]
1
mozilla__kitsune__75e95d82__1
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_source
kitsune/wiki/tests/test_views.py
675
687
[ { "decorator_line": 68, "file_path": "kitsune/wiki/tests/__init__.py", "line_end": 85, "line_start": 68, "name": "RevisionFactory", "type": "class" }, { "decorator_line": 22, "file_path": "kitsune/sumo/urlresolvers.py", "line_end": 54, "line_start": 22, "name": "rever...
2
mozilla__kitsune__75e95d82__2
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_filter_involved
kitsune/questions/tests/test_api.py
629
640
[ { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "QuestionFactory", "type": "class" }, { "decorator_line": 73, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 80, "line_start": 73, "n...
3
mozilla__kitsune__75e95d82__3
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
process_response
kitsune/sumo/middleware.py
75
82
[ { "decorator_line": 12, "file_path": "kitsune/sumo/urlresolvers.py", "line_end": 14, "line_start": 12, "name": "set_url_prefixer", "type": "function" } ]
1
mozilla__kitsune__75e95d82__4
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
contrib_email_flags_forwards
kitsune/users/migrations/0005_set_initial_contrib_email_flag.py
17
40
[ { "decorator_line": 4, "file_path": "kitsune/sumo/migrations/__init__.py", "line_end": 31, "line_start": 4, "name": "MigrationStatusPrinter", "type": "class" }, { "decorator_line": 23, "file_path": "kitsune/sumo/migrations/__init__.py", "line_end": 31, "line_start": 23, ...
2
mozilla__kitsune__75e95d82__5
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_unapproved_template
kitsune/wiki/tests/test_parser.py
299
304
[ { "decorator_line": 63, "file_path": "kitsune/wiki/tests/__init__.py", "line_end": 65, "line_start": 63, "name": "TemplateDocumentFactory", "type": "class" }, { "decorator_line": 329, "file_path": "kitsune/wiki/parser.py", "line_end": 438, "line_start": 329, "name": "...
3
mozilla__kitsune__75e95d82__6
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
forums
kitsune/forums/views.py
27
36
[ { "decorator_line": 19, "file_path": "kitsune/sumo/utils.py", "line_end": 37, "line_start": 19, "name": "paginate", "type": "function" } ]
1
mozilla__kitsune__75e95d82__7
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_tasks_squashed
kitsune/search/tests/test_es.py
81
97
[ { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "QuestionFactory", "type": "class" }, { "decorator_line": 272, "file_path": "kitsune/search/models.py", "line_end": 285, "line_start": 272, "name": "g...
2
mozilla__kitsune__75e95d82__8
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_is_not_taken_expired
kitsune/questions/tests/test_api.py
742
747
[ { "decorator_line": 15, "file_path": "kitsune/users/tests/__init__.py", "line_end": 31, "line_start": 15, "name": "UserFactory", "type": "class" }, { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "Q...
3
mozilla__kitsune__75e95d82__9
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
delete_avatar
kitsune/groups/views.py
108
122
[ { "decorator_line": 231, "file_path": "kitsune/groups/views.py", "line_end": 234, "line_start": 231, "name": "_user_can_edit", "type": "function" } ]
1
mozilla__kitsune__75e95d82__10
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
remove_expired_registration_profiles
kitsune/users/cron.py
15
18
[ { "decorator_line": 531, "file_path": "kitsune/users/models.py", "line_end": 547, "line_start": 531, "name": "delete_expired_users", "type": "function" }, { "decorator_line": 272, "file_path": "kitsune/search/models.py", "line_end": 285, "line_start": 272, "name": "ge...
2
mozilla__kitsune__75e95d82__11
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_follow
kitsune/questions/tests/test_api.py
404
412
[ { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "QuestionFactory", "type": "class" }, { "decorator_line": 15, "file_path": "kitsune/users/tests/__init__.py", "line_end": 31, "line_start": 15, "name"...
3
mozilla__kitsune__75e95d82__12
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_edit_thread_creator
kitsune/forums/tests/test_views.py
165
174
[ { "decorator_line": 36, "file_path": "kitsune/forums/tests/__init__.py", "line_end": 63, "line_start": 36, "name": "ThreadFactory", "type": "class" } ]
1
mozilla__kitsune__75e95d82__13
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_gallery_locale
kitsune/gallery/tests/test_templates.py
30
46
[ { "decorator_line": 7, "file_path": "kitsune/gallery/tests/__init__.py", "line_end": 14, "line_start": 7, "name": "ImageFactory", "type": "class" }, { "decorator_line": 22, "file_path": "kitsune/sumo/urlresolvers.py", "line_end": 54, "line_start": 22, "name": "reverse...
2
mozilla__kitsune__75e95d82__14
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_translate_with_parent_slug_while_trans_article_not_available
kitsune/wiki/tests/test_views.py
401
417
[ { "decorator_line": 24, "file_path": "kitsune/wiki/tests/__init__.py", "line_end": 60, "line_start": 24, "name": "DocumentFactory", "type": "class" }, { "decorator_line": 68, "file_path": "kitsune/wiki/tests/__init__.py", "line_end": 85, "line_start": 68, "name": "Rev...
3
mozilla__kitsune__75e95d82__15
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_update_search_ctr
kitsune/kpi/tests/test_cron.py
254
268
[ { "decorator_line": 8, "file_path": "kitsune/kpi/tests/__init__.py", "line_end": 12, "line_start": 8, "name": "MetricKindFactory", "type": "class" } ]
1
mozilla__kitsune__75e95d82__16
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_product_with_image_works
kitsune/products/tests/test_api.py
16
21
[ { "decorator_line": 11, "file_path": "kitsune/products/tests/__init__.py", "line_end": 24, "line_start": 11, "name": "ProductFactory", "type": "class" }, { "decorator_line": 11, "file_path": "kitsune/products/api.py", "line_end": 20, "line_start": 11, "name": "Product...
2
mozilla__kitsune__75e95d82__17
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
setUp
kitsune/questions/tests/test_views.py
326
336
[ { "decorator_line": 15, "file_path": "kitsune/users/tests/__init__.py", "line_end": 31, "line_start": 15, "name": "UserFactory", "type": "class" }, { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "Q...
3
mozilla__kitsune__75e95d82__18
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
get_documents
kitsune/products/api.py
54
57
[ { "decorator_line": 12, "file_path": "kitsune/wiki/api.py", "line_end": 15, "line_start": 12, "name": "DocumentShortSerializer", "type": "class" } ]
1
mozilla__kitsune__75e95d82__19
mozilla/kitsune
75e95d82855ba3be372d98154d299c7929b7766e
test_notification_created
kitsune/questions/tests/test_models.py
296
302
[ { "decorator_line": 15, "file_path": "kitsune/users/tests/__init__.py", "line_end": 31, "line_start": 15, "name": "UserFactory", "type": "class" }, { "decorator_line": 21, "file_path": "kitsune/questions/tests/__init__.py", "line_end": 46, "line_start": 21, "name": "Q...
2
mosaicml__composer__524d10a3__0
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_engine_lifo_last_out
tests/test_engine.py
78
83
[ { "decorator_line": 27, "file_path": "tests/test_engine.py", "line_end": 29, "line_start": 27, "name": "run_event", "type": "function" } ]
1
mosaicml__composer__524d10a3__1
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_invalid_drop_warmup
tests/algorithms/test_stochastic_depth.py
241
246
[ { "decorator_line": 61, "file_path": "composer/algorithms/stochastic_depth/stochastic_depth.py", "line_end": 88, "line_start": 62, "name": "StochasticDepthHparams", "type": "class" }, { "decorator_line": 82, "file_path": "composer/algorithms/stochastic_depth/stochastic_depth.py",...
2
mosaicml__composer__524d10a3__2
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_stochastic_depth_bottleneck_replacement
tests/algorithms/test_stochastic_depth.py
42
55
[ { "decorator_line": 112, "file_path": "composer/core/surgery.py", "line_end": 135, "line_start": 112, "name": "count_module_instances", "type": "function" }, { "decorator_line": 170, "file_path": "composer/algorithms/stochastic_depth/stochastic_depth.py", "line_end": 275, ...
3
mosaicml__composer__524d10a3__3
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
metric_microbatch
composer/core/logging/logger.py
110
112
[ { "decorator_line": 73, "file_path": "composer/core/logging/logger.py", "line_end": 96, "line_start": 73, "name": "metric", "type": "function" } ]
1
mosaicml__composer__524d10a3__4
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_epochs_validate_zero_epochs
tests/algorithms/test_scale_schedule.py
104
109
[ { "decorator_line": 86, "file_path": "composer/algorithms/scale_schedule/scale_schedule.py", "line_end": 165, "line_start": 86, "name": "ScaleSchedule", "type": "class" }, { "decorator_line": 135, "file_path": "composer/algorithms/scale_schedule/scale_schedule.py", "line_end"...
2
mosaicml__composer__524d10a3__5
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
log_metric
composer/core/logging/base_backend.py
138
150
[ { "decorator_line": 18, "file_path": "composer/utils/ddp.py", "line_end": 23, "line_start": 18, "name": "is_rank_set", "type": "function" }, { "decorator_line": 14, "file_path": "composer/utils/ddp.py", "line_end": 15, "line_start": 14, "name": "is_rank_zero", "ty...
3
mosaicml__composer__524d10a3__6
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
batch_start
composer/callbacks/profiler.py
133
136
[ { "decorator_line": 106, "file_path": "composer/core/logging/logger.py", "line_end": 108, "line_start": 106, "name": "metric_batch", "type": "function" } ]
1
mosaicml__composer__524d10a3__7
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
apply
composer/algorithms/scale_schedule/scale_schedule.py
135
165
[ { "decorator_line": 28, "file_path": "composer/utils/iter_helpers.py", "line_end": 35, "line_start": 28, "name": "ensure_tuple", "type": "function" }, { "decorator_line": 21, "file_path": "composer/algorithms/scale_schedule/scale_schedule.py", "line_end": 68, "line_start"...
2
mosaicml__composer__524d10a3__8
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_composed_linear2
tests/trainer/test_scheduler.py
135
146
[ { "decorator_line": 9, "file_path": "composer/optim/pytorch_future.py", "line_end": 123, "line_start": 9, "name": "WarmUpLR", "type": "class" }, { "decorator_line": 350, "file_path": "composer/optim/scheduler.py", "line_end": 491, "line_start": 350, "name": "ComposedS...
3
mosaicml__composer__524d10a3__9
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
global_rank
composer/core/state.py
151
152
[ { "decorator_line": 7, "file_path": "composer/utils/ddp.py", "line_end": 11, "line_start": 7, "name": "get_global_rank", "type": "function" } ]
1
mosaicml__composer__524d10a3__10
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_single_image_tensor_drop_size
tests/algorithms/test_colout.py
131
135
[ { "decorator_line": 66, "file_path": "composer/algorithms/colout/colout.py", "line_end": 88, "line_start": 66, "name": "ColOutTransform", "type": "class" }, { "decorator_line": 27, "file_path": "tests/algorithms/test_colout.py", "line_end": 34, "line_start": 27, "name...
2
mosaicml__composer__524d10a3__11
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
step
composer/algorithms/sam/sam.py
79
98
[ { "decorator_line": 57, "file_path": "composer/algorithms/sam/sam.py", "line_end": 67, "line_start": 58, "name": "first_step", "type": "function" }, { "decorator_line": 69, "file_path": "composer/algorithms/sam/sam.py", "line_end": 76, "line_start": 70, "name": "secon...
3
mosaicml__composer__524d10a3__12
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
fit
composer/trainer/trainer.py
362
364
[ { "decorator_line": 156, "file_path": "composer/trainer/ddp.py", "line_end": 235, "line_start": 156, "name": "launch", "type": "function" } ]
1
mosaicml__composer__524d10a3__13
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_validate_compose_multistep
tests/trainer/test_scheduler.py
170
179
[ { "decorator_line": 9, "file_path": "composer/optim/pytorch_future.py", "line_end": 123, "line_start": 9, "name": "WarmUpLR", "type": "class" }, { "decorator_line": 350, "file_path": "composer/optim/scheduler.py", "line_end": 491, "line_start": 350, "name": "ComposedS...
2
mosaicml__composer__524d10a3__14
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_composed
tests/trainer/test_scheduler.py
112
121
[ { "decorator_line": 9, "file_path": "composer/optim/pytorch_future.py", "line_end": 123, "line_start": 9, "name": "WarmUpLR", "type": "class" }, { "decorator_line": 350, "file_path": "composer/optim/scheduler.py", "line_end": 491, "line_start": 350, "name": "ComposedS...
3
mosaicml__composer__524d10a3__15
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_memory_monitor_cpu
tests/callbacks/test_memory_monitor.py
43
53
[ { "decorator_line": 13, "file_path": "tests/callbacks/test_memory_monitor.py", "line_end": 39, "line_start": 13, "name": "_do_trainer_fit", "type": "function" } ]
1
mosaicml__composer__524d10a3__16
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
test_scale_schedule_multistep_lr
tests/algorithms/test_scale_schedule.py
50
58
[ { "decorator_line": 23, "file_path": "tests/algorithms/test_scale_schedule.py", "line_end": 24, "line_start": 23, "name": "flatten", "type": "function" }, { "decorator_line": 30, "file_path": "tests/algorithms/test_scale_schedule.py", "line_end": 38, "line_start": 31, ...
2
mosaicml__composer__524d10a3__17
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
apply_alibi
composer/algorithms/alibi/alibi.py
58
105
[ { "decorator_line": 205, "file_path": "composer/algorithms/alibi/alibi.py", "line_end": 219, "line_start": 205, "name": "zero_and_freeze_expand_position_embeddings", "type": "function" }, { "decorator_line": 222, "file_path": "composer/algorithms/alibi/alibi.py", "line_end": ...
3
mosaicml__composer__524d10a3__18
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
load_state_dict
composer/callbacks/profiler.py
88
89
[ { "decorator_line": 41, "file_path": "composer/callbacks/profiler.py", "line_end": 44, "line_start": 42, "name": "TorchProfilerState", "type": "class" } ]
1
mosaicml__composer__524d10a3__19
mosaicml/composer
524d10a3ca74911323f9b23db3cc361f5efa15ab
sharpness_original
composer/utils/augmentation_primitives.py
154
156
[ { "decorator_line": 25, "file_path": "composer/utils/augmentation_primitives.py", "line_end": 34, "line_start": 25, "name": "float_parameter", "type": "function" }, { "decorator_line": 37, "file_path": "composer/utils/augmentation_primitives.py", "line_end": 39, "line_sta...
2
conan-io__conan-center-index__fc25b0f7__0
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package_info
recipes/freetype/all/conanfile.py
111
119
[ { "decorator_line": 106, "file_path": "recipes/freetype/all/conanfile.py", "line_end": 109, "line_start": 107, "name": "_chmod_plus_x", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__1
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libjpeg/all/conanfile.py
78
82
[ { "decorator_line": 34, "file_path": "recipes/libjpeg/all/conanfile.py", "line_end": 49, "line_start": 34, "name": "build_nmake", "type": "function" }, { "decorator_line": 51, "file_path": "recipes/libjpeg/all/conanfile.py", "line_end": 76, "line_start": 51, "name": "...
2
conan-io__conan-center-index__fc25b0f7__2
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/icu/all/conanfile.py
75
124
[ { "decorator_line": 55, "file_path": "recipes/icu/all/conanfile.py", "line_end": 64, "line_start": 55, "name": "_replace_pythonpath", "type": "function" }, { "decorator_line": 66, "file_path": "recipes/icu/all/conanfile.py", "line_end": 73, "line_start": 66, "name": "...
3
conan-io__conan-center-index__fc25b0f7__3
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/flatbuffers/all/conanfile.py
55
67
[ { "decorator_line": 41, "file_path": "recipes/flatbuffers/all/conanfile.py", "line_end": 49, "line_start": 41, "name": "_configure_cmake", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__4
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/poco/all/conanfile.py
138
141
[ { "decorator_line": 106, "file_path": "recipes/poco/all/conanfile.py", "line_end": 120, "line_start": 106, "name": "_patch", "type": "function" }, { "decorator_line": 122, "file_path": "recipes/poco/all/conanfile.py", "line_end": 136, "line_start": 122, "name": "_conf...
2
conan-io__conan-center-index__fc25b0f7__5
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libffi/all/conanfile.py
207
236
[ { "decorator_line": 30, "file_path": "recipes/libffi/all/conanfile.py", "line_end": 152, "line_start": 30, "name": "_patch_files", "type": "function" }, { "decorator_line": 170, "file_path": "recipes/libffi/all/conanfile.py", "line_end": 171, "line_start": 170, "name"...
3
conan-io__conan-center-index__fc25b0f7__6
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/amqp-cpp/all/conanfile.py
56
63
[ { "decorator_line": 41, "file_path": "recipes/amqp-cpp/all/conanfile.py", "line_end": 49, "line_start": 41, "name": "_configure_cmake", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__7
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/libffi/all/conanfile.py
238
254
[ { "decorator_line": 170, "file_path": "recipes/libffi/all/conanfile.py", "line_end": 171, "line_start": 170, "name": "_get_auto_tools", "type": "function" }, { "decorator_line": 173, "file_path": "recipes/libffi/all/conanfile.py", "line_end": 205, "line_start": 174, "...
2
conan-io__conan-center-index__fc25b0f7__8
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libxml2/all/conanfile.py
61
67
[ { "decorator_line": 69, "file_path": "recipes/libxml2/all/conanfile.py", "line_end": 112, "line_start": 69, "name": "_build_windows", "type": "function" }, { "decorator_line": 114, "file_path": "recipes/libxml2/all/conanfile.py", "line_end": 134, "line_start": 114, "n...
3
conan-io__conan-center-index__fc25b0f7__9
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libmount/all/conanfile.py
40
43
[ { "decorator_line": 29, "file_path": "recipes/libmount/all/conanfile.py", "line_end": 38, "line_start": 29, "name": "_configure_autotools", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__10
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/jsoncpp/all/conanfile.py
54
57
[ { "decorator_line": 28, "file_path": "recipes/jsoncpp/all/conanfile.py", "line_end": 43, "line_start": 28, "name": "_patch_sources", "type": "function" }, { "decorator_line": 45, "file_path": "recipes/jsoncpp/all/conanfile.py", "line_end": 52, "line_start": 45, "name"...
2
conan-io__conan-center-index__fc25b0f7__11
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/sqlite3/all/conanfile.py
92
100
[ { "decorator_line": 61, "file_path": "recipes/sqlite3/all/conanfile.py", "line_end": 86, "line_start": 61, "name": "_configure_cmake", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__12
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libnghttp2/all/conanfile.py
124
129
[ { "decorator_line": 57, "file_path": "recipes/libnghttp2/all/conanfile.py", "line_end": 81, "line_start": 57, "name": "_configure_cmake", "type": "function" }, { "decorator_line": 83, "file_path": "recipes/libnghttp2/all/conanfile.py", "line_end": 122, "line_start": 83, ...
2
conan-io__conan-center-index__fc25b0f7__13
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/libmysqlclient/all/conanfile.py
88
100
[ { "decorator_line": 61, "file_path": "recipes/libmysqlclient/all/conanfile.py", "line_end": 81, "line_start": 61, "name": "_configure_cmake", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__14
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/zlib/1.2.11/conanfile.py
43
46
[ { "decorator_line": 80, "file_path": "recipes/zlib/1.2.11/conanfile.py", "line_end": 103, "line_start": 80, "name": "_build_zlib", "type": "function" }, { "decorator_line": 105, "file_path": "recipes/zlib/1.2.11/conanfile.py", "line_end": 112, "line_start": 105, "name...
2
conan-io__conan-center-index__fc25b0f7__15
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/jsoncpp/all/conanfile.py
59
62
[ { "decorator_line": 45, "file_path": "recipes/jsoncpp/all/conanfile.py", "line_end": 52, "line_start": 45, "name": "_configure_cmake", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__16
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/spdlog/1.4.x/conanfile.py
73
78
[ { "decorator_line": 70, "file_path": "recipes/spdlog/1.4.x/conanfile.py", "line_end": 71, "line_start": 70, "name": "_disable_werror", "type": "function" }, { "decorator_line": 54, "file_path": "recipes/spdlog/1.4.x/conanfile.py", "line_end": 68, "line_start": 54, "na...
2
conan-io__conan-center-index__fc25b0f7__17
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/gmp/all/conanfile.py
57
62
[ { "decorator_line": 37, "file_path": "recipes/gmp/all/conanfile.py", "line_end": 55, "line_start": 37, "name": "_configure_autotools", "type": "function" } ]
1
conan-io__conan-center-index__fc25b0f7__18
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
build
recipes/libpng/all/conanfile.py
71
74
[ { "decorator_line": 34, "file_path": "recipes/libpng/all/conanfile.py", "line_end": 53, "line_start": 34, "name": "_patch", "type": "function" }, { "decorator_line": 55, "file_path": "recipes/libpng/all/conanfile.py", "line_end": 69, "line_start": 55, "name": "_config...
2
conan-io__conan-center-index__fc25b0f7__19
conan-io/conan-center-index
fc25b0f7314293a6b23155aca725c148c29fc4b7
package
recipes/gtest/all/conanfile.py
61
68
[ { "decorator_line": 42, "file_path": "recipes/gtest/all/conanfile.py", "line_end": 54, "line_start": 42, "name": "_configure_cmake", "type": "function" } ]
1
joke2k__faker__835173cf__0
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
year
faker/providers/date_time.py
365
366
[ { "decorator_line": 254, "file_path": "faker/providers/date_time.py", "line_end": 261, "line_start": 255, "name": "date", "type": "function" } ]
1
joke2k__faker__835173cf__1
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
opera
faker/providers/user_agent.py
91
102
[ { "decorator_line": 117, "file_path": "faker/providers/user_agent.py", "line_end": 119, "line_start": 118, "name": "linux_platform_token", "type": "function" }, { "decorator_line": 113, "file_path": "faker/providers/user_agent.py", "line_end": 115, "line_start": 114, ...
2
joke2k__faker__835173cf__2
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
text
faker/providers/lorem.py
120
166
[ { "decorator_line": 45, "file_path": "faker/providers/lorem.py", "line_end": 50, "line_start": 46, "name": "word", "type": "function" }, { "decorator_line": 61, "file_path": "faker/providers/lorem.py", "line_end": 79, "line_start": 62, "name": "sentence", "type": ...
3
joke2k__faker__835173cf__3
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
strftime
faker/utils/datetime_safe.py
22
23
[ { "decorator_line": 64, "file_path": "faker/utils/datetime_safe.py", "line_end": 96, "line_start": 64, "name": "strftime", "type": "function" } ]
1
joke2k__faker__835173cf__4
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
first_name
faker/providers/cs_CZ/person.py
51
52
[ { "decorator_line": 58, "file_path": "faker/providers/cs_CZ/person.py", "line_end": 60, "line_start": 59, "name": "first_name_male", "type": "function" }, { "decorator_line": 62, "file_path": "faker/providers/cs_CZ/person.py", "line_end": 64, "line_start": 63, "name":...
2
joke2k__faker__835173cf__5
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
create
faker/factory.py
11
32
[ { "decorator_line": 5, "file_path": "faker/generator.py", "line_end": 75, "line_start": 5, "name": "Generator", "type": "class" }, { "decorator_line": 10, "file_path": "faker/generator.py", "line_end": 26, "line_start": 10, "name": "add_provider", "type": "functio...
3
joke2k__faker__835173cf__6
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
day_of_month
faker/providers/date_time.py
349
350
[ { "decorator_line": 254, "file_path": "faker/providers/date_time.py", "line_end": 261, "line_start": 255, "name": "date", "type": "function" } ]
1
joke2k__faker__835173cf__7
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
locale
faker/providers/misc.py
55
56
[ { "decorator_line": 62, "file_path": "faker/providers/misc.py", "line_end": 64, "line_start": 63, "name": "language_code", "type": "function" }, { "decorator_line": 58, "file_path": "faker/providers/misc.py", "line_end": 60, "line_start": 59, "name": "country_code", ...
2
joke2k__faker__835173cf__8
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
setUp
faker/tests.py
20
23
[ { "decorator_line": 5, "file_path": "faker/generator.py", "line_end": 75, "line_start": 5, "name": "Generator", "type": "class" }, { "decorator_line": 10, "file_path": "faker/tests.py", "line_end": 15, "line_start": 10, "name": "FooProvider", "type": "class" }, ...
3
joke2k__faker__835173cf__9
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
test_parse_returns_same_string_when_it_contains_no_curly_braces
faker/tests.py
45
46
[ { "decorator_line": 60, "file_path": "faker/generator.py", "line_end": 64, "line_start": 60, "name": "parse", "type": "function" } ]
1
joke2k__faker__835173cf__10
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
first_name
faker/providers/de_DE/person.py
480
481
[ { "decorator_line": 483, "file_path": "faker/providers/de_DE/person.py", "line_end": 485, "line_start": 484, "name": "first_name_male", "type": "function" }, { "decorator_line": 487, "file_path": "faker/providers/de_DE/person.py", "line_end": 489, "line_start": 488, "...
2
joke2k__faker__835173cf__11
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
credit_card_number
faker/providers/credit_card.py
86
93
[ { "decorator_line": 120, "file_path": "faker/providers/credit_card.py", "line_end": 127, "line_start": 121, "name": "_credit_card_type", "type": "function" }, { "decorator_line": 129, "file_path": "faker/providers/credit_card.py", "line_end": 160, "line_start": 130, "...
3
joke2k__faker__835173cf__12
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
month_name
faker/providers/date_time.py
361
362
[ { "decorator_line": 254, "file_path": "faker/providers/date_time.py", "line_end": 261, "line_start": 255, "name": "date", "type": "function" } ]
1
joke2k__faker__835173cf__13
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
domain_name
faker/providers/internet.py
62
63
[ { "decorator_line": 65, "file_path": "faker/providers/internet.py", "line_end": 69, "line_start": 65, "name": "domain_word", "type": "function" }, { "decorator_line": 71, "file_path": "faker/providers/internet.py", "line_end": 72, "line_start": 71, "name": "tld", ...
2
joke2k__faker__835173cf__14
joke2k/faker
835173cf727b678d295979262db1c59f92d138e1
chrome
faker/providers/user_agent.py
36
48
[ { "decorator_line": 117, "file_path": "faker/providers/user_agent.py", "line_end": 119, "line_start": 118, "name": "linux_platform_token", "type": "function" }, { "decorator_line": 113, "file_path": "faker/providers/user_agent.py", "line_end": 115, "line_start": 114, ...
3