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 |
|---|---|---|---|---|---|---|---|---|
redis__redis-py__5633e550__16 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | read_response | redis/connection.py | 430 | 439 | [
{
"decorator_line": 161,
"file_path": "redis/connection.py",
"line_end": 205,
"line_start": 161,
"name": "read_response",
"type": "function"
},
{
"decorator_line": 387,
"file_path": "redis/connection.py",
"line_end": 397,
"line_start": 387,
"name": "disconnect",
"... | 2 |
redis__redis-py__5633e550__17 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | on_connect | redis/connection.py | 371 | 385 | [
{
"decorator_line": 220,
"file_path": "redis/connection.py",
"line_end": 229,
"line_start": 220,
"name": "on_connect",
"type": "function"
},
{
"decorator_line": 418,
"file_path": "redis/connection.py",
"line_end": 420,
"line_start": 418,
"name": "send_command",
"t... | 3 |
redis__redis-py__5633e550__18 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | zrevrange | redis/client.py | 1,449 | 1,467 | [
{
"decorator_line": 455,
"file_path": "redis/client.py",
"line_end": 468,
"line_start": 455,
"name": "execute_command",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__19 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | execute | redis/client.py | 2,268 | 2,304 | [
{
"decorator_line": 2257,
"file_path": "redis/client.py",
"line_end": 2266,
"line_start": 2257,
"name": "load_scripts",
"type": "function"
},
{
"decorator_line": 2071,
"file_path": "redis/client.py",
"line_end": 2092,
"line_start": 2071,
"name": "reset",
"type": "... | 2 |
OctoPrint__OctoPrint__58f73f3e__0 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | find_and_wrap_literal_block | docs/sphinxext/codeblockext.py | 64 | 83 | [
{
"decorator_line": 88,
"file_path": "docs/sphinxext/codeblockext.py",
"line_end": 91,
"line_start": 88,
"name": "_wrap_literal_block",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__1 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_double_fork_failed_first | tests/test_daemon.py | 58 | 73 | [
{
"decorator_line": 8,
"file_path": "tests/test_daemon.py",
"line_end": 9,
"line_start": 8,
"name": "ExpectedExit",
"type": "class"
},
{
"decorator_line": 33,
"file_path": "src/octoprint/daemon.py",
"line_end": 56,
"line_start": 33,
"name": "_double_fork",
"type":... | 2 |
OctoPrint__OctoPrint__58f73f3e__2 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | decorated_view | src/octoprint/server/util/flask.py | 1,151 | 1,156 | [
{
"decorator_line": 51,
"file_path": "src/octoprint/settings.py",
"line_end": 84,
"line_start": 51,
"name": "settings",
"type": "function"
},
{
"decorator_line": 401,
"file_path": "src/octoprint/users.py",
"line_end": 402,
"line_start": 401,
"name": "hasBeenCustomized... | 3 |
OctoPrint__OctoPrint__58f73f3e__3 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | has_analysis | src/octoprint/filemanager/storage.py | 845 | 847 | [
{
"decorator_line": 849,
"file_path": "src/octoprint/filemanager/storage.py",
"line_end": 851,
"line_start": 849,
"name": "get_metadata",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__4 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_add_folder_with_display | tests/filemanager/test_localstorage.py | 267 | 271 | [
{
"decorator_line": 676,
"file_path": "tests/filemanager/test_localstorage.py",
"line_end": 680,
"line_start": 676,
"name": "_add_and_verify_folder",
"type": "function"
},
{
"decorator_line": 849,
"file_path": "src/octoprint/filemanager/storage.py",
"line_end": 851,
"line... | 2 |
OctoPrint__OctoPrint__58f73f3e__5 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | printerProfilesDelete | src/octoprint/server/api/printer_profiles.py | 110 | 120 | [
{
"decorator_line": 388,
"file_path": "src/octoprint/printer/profile.py",
"line_end": 389,
"line_start": 388,
"name": "get_current",
"type": "function"
},
{
"decorator_line": 363,
"file_path": "src/octoprint/printer/profile.py",
"line_end": 372,
"line_start": 363,
"na... | 3 |
OctoPrint__OctoPrint__58f73f3e__6 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_get_pi_model | tests/plugins/test_octopi_support.py | 85 | 88 | [
{
"decorator_line": 77,
"file_path": "src/octoprint/plugins/octopi_support/__init__.py",
"line_end": 85,
"line_start": 77,
"name": "get_pi_model",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__7 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | log_detected_environment | src/octoprint/environment.py | 126 | 137 | [
{
"decorator_line": 5,
"file_path": "src/octoprint/logging/__init__.py",
"line_end": 43,
"line_start": 5,
"name": "log_to_handler",
"type": "function"
},
{
"decorator_line": 139,
"file_path": "src/octoprint/environment.py",
"line_end": 153,
"line_start": 139,
"name": ... | 2 |
OctoPrint__OctoPrint__58f73f3e__8 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | get_user_for_authorization_header | src/octoprint/server/util/__init__.py | 204 | 231 | [
{
"decorator_line": 51,
"file_path": "src/octoprint/settings.py",
"line_end": 84,
"line_start": 51,
"name": "settings",
"type": "function"
},
{
"decorator_line": 378,
"file_path": "src/octoprint/users.py",
"line_end": 396,
"line_start": 378,
"name": "findUser",
"t... | 3 |
OctoPrint__OctoPrint__58f73f3e__9 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_tempdir_parameters_mkdtemp | tests/util/test_file_helpers.py | 287 | 300 | [
{
"decorator_line": 866,
"file_path": "src/octoprint/util/__init__.py",
"line_end": 875,
"line_start": 867,
"name": "tempdir",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__10 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_save | tests/settings/test_settings.py | 522 | 541 | [
{
"decorator_line": 538,
"file_path": "src/octoprint/settings.py",
"line_end": 1701,
"line_start": 538,
"name": "Settings",
"type": "class"
},
{
"decorator_line": 1294,
"file_path": "src/octoprint/settings.py",
"line_end": 1308,
"line_start": 1294,
"name": "save",
... | 2 |
OctoPrint__OctoPrint__58f73f3e__11 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | removeUser | src/octoprint/users.py | 368 | 376 | [
{
"decorator_line": 170,
"file_path": "src/octoprint/users.py",
"line_end": 176,
"line_start": 170,
"name": "removeUser",
"type": "function"
},
{
"decorator_line": 410,
"file_path": "src/octoprint/users.py",
"line_end": 412,
"line_start": 410,
"name": "UnknownUser",
... | 3 |
OctoPrint__OctoPrint__58f73f3e__12 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | decorated_function | src/octoprint/server/util/flask.py | 918 | 931 | [
{
"decorator_line": 916,
"file_path": "src/octoprint/server/util/flask.py",
"line_end": 932,
"line_start": 916,
"name": "decorator",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__13 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | firstrun_only_access | src/octoprint/server/util/flask.py | 1,144 | 1,158 | [
{
"decorator_line": 51,
"file_path": "src/octoprint/settings.py",
"line_end": 84,
"line_start": 51,
"name": "settings",
"type": "function"
},
{
"decorator_line": 401,
"file_path": "src/octoprint/users.py",
"line_end": 402,
"line_start": 401,
"name": "hasBeenCustomized... | 2 |
OctoPrint__OctoPrint__58f73f3e__14 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | test_copy_from_extra_e | tests/util/test_comm_helpers.py | 367 | 376 | [
{
"decorator_line": 395,
"file_path": "tests/util/test_comm_helpers.py",
"line_end": 397,
"line_start": 395,
"name": "_create_position",
"type": "function"
},
{
"decorator_line": 303,
"file_path": "src/octoprint/util/comm.py",
"line_end": 312,
"line_start": 303,
"name... | 3 |
OctoPrint__OctoPrint__58f73f3e__15 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | unload | src/octoprint/plugin/core.py | 438 | 446 | [
{
"decorator_line": 470,
"file_path": "src/octoprint/plugin/core.py",
"line_end": 484,
"line_start": 470,
"name": "_get_instance_attribute",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__16 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | delete_log | src/octoprint/plugins/logging/__init__.py | 57 | 64 | [
{
"decorator_line": 1272,
"file_path": "src/octoprint/plugin/types.py",
"line_end": 1292,
"line_start": 1273,
"name": "route",
"type": "function"
},
{
"decorator_line": 51,
"file_path": "src/octoprint/settings.py",
"line_end": 84,
"line_start": 51,
"name": "settings",... | 2 |
OctoPrint__OctoPrint__58f73f3e__17 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | get_finished_timelapses | src/octoprint/timelapse.py | 85 | 97 | [
{
"decorator_line": 51,
"file_path": "src/octoprint/settings.py",
"line_end": 84,
"line_start": 51,
"name": "settings",
"type": "function"
},
{
"decorator_line": 102,
"file_path": "src/octoprint/util/__init__.py",
"line_end": 120,
"line_start": 102,
"name": "get_forma... | 3 |
OctoPrint__OctoPrint__58f73f3e__18 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | get_id | src/octoprint/users.py | 504 | 505 | [
{
"decorator_line": 507,
"file_path": "src/octoprint/users.py",
"line_end": 508,
"line_start": 507,
"name": "get_name",
"type": "function"
}
] | 1 |
OctoPrint__OctoPrint__58f73f3e__19 | OctoPrint/OctoPrint | 58f73f3ed9542a5f2090fa088c56148429530afa | unselectFile | src/octoprint/util/comm.py | 1,135 | 1,140 | [
{
"decorator_line": 728,
"file_path": "src/octoprint/util/comm.py",
"line_end": 729,
"line_start": 728,
"name": "isBusy",
"type": "function"
},
{
"decorator_line": 3373,
"file_path": "src/octoprint/util/comm.py",
"line_end": 3374,
"line_start": 3373,
"name": "on_comm_... | 2 |
fossasia__open-event-server__960e39a2__0 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | test_update_version_method_called_after_create_microlocation | tests/test_helper.py | 33 | 36 | [
{
"decorator_line": 22,
"file_path": "tests/test_helper.py",
"line_end": 27,
"line_start": 22,
"name": "_create_microlocation",
"type": "function"
}
] | 1 |
fossasia__open-event-server__960e39a2__1 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | index | open_event/views/admin/models_views/api.py | 8 | 12 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 21,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 25,
"line_start": 22,
"nam... | 2 |
fossasia__open-event-server__960e39a2__2 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event_language_new | open_event/views/admin/models_views/event.py | 590 | 606 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "open_event/forms/admin/language_form.py",
"line_end": 9,
"line_start": 5,
"... | 3 |
fossasia__open-event-server__960e39a2__3 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | test_delete_from_db_method_called_after_delete_object | tests/test_helper.py | 45 | 50 | [
{
"decorator_line": 29,
"file_path": "tests/test_helper.py",
"line_end": 30,
"line_start": 29,
"name": "_delete_object_from_db",
"type": "function"
}
] | 1 |
fossasia__open-event-server__960e39a2__4 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | create_view | open_event/views/admin/models_views/event.py | 82 | 100 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 9,
"file_path": "open_event/forms/admin/event_form.py",
"line_end": 23,
"line_start": 9,
"na... | 2 |
fossasia__open-event-server__960e39a2__5 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | create_app | open_event/__init__.py | 25 | 62 | [
{
"decorator_line": 12,
"file_path": "open_event/views/admin/admin.py",
"line_end": 39,
"line_start": 12,
"name": "AdminView",
"type": "class"
},
{
"decorator_line": 17,
"file_path": "open_event/views/admin/admin.py",
"line_end": 20,
"line_start": 17,
"name": "init",
... | 3 |
fossasia__open-event-server__960e39a2__6 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | delete_user_permission | open_event/views/admin/models_views/event.py | 690 | 695 | [
{
"decorator_line": 175,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 180,
"line_start": 176,
"name": "get_association_by_event_and_user",
"type": "function"
}
] | 1 |
fossasia__open-event-server__960e39a2__7 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | roles_manager | open_event/views/admin/home.py | 118 | 124 | [
{
"decorator_line": 156,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 161,
"line_start": 157,
"name": "get_all_users",
"type": "function"
},
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"n... | 2 |
fossasia__open-event-server__960e39a2__8 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event_format_new | open_event/views/admin/models_views/event.py | 530 | 546 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "open_event/forms/admin/format_form.py",
"line_end": 8,
"line_start": 5,
"na... | 3 |
fossasia__open-event-server__960e39a2__9 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | get_levels | open_event/views/views.py | 152 | 155 | [
{
"decorator_line": 11,
"file_path": "open_event/helpers/object_formatter.py",
"line_end": 32,
"line_start": 12,
"name": "get_json",
"type": "function"
}
] | 1 |
fossasia__open-event-server__960e39a2__10 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | test_track_at_session_form | tests/test_session_form.py | 32 | 43 | [
{
"decorator_line": 20,
"file_path": "tests/test_session_form.py",
"line_end": 26,
"line_start": 21,
"name": "_create_track",
"type": "function"
},
{
"decorator_line": 28,
"file_path": "tests/test_session_form.py",
"line_end": 30,
"line_start": 29,
"name": "_delete_tr... | 2 |
fossasia__open-event-server__960e39a2__11 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event_speaker_new | open_event/views/admin/models_views/event.py | 255 | 271 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "open_event/forms/admin/speaker_form.py",
"line_end": 32,
"line_start": 14,
... | 3 |
fossasia__open-event-server__960e39a2__12 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | test_save_to_db_called_db_session_commit | tests/test_helper.py | 73 | 76 | [
{
"decorator_line": 22,
"file_path": "tests/test_helper.py",
"line_end": 27,
"line_start": 22,
"name": "_create_microlocation",
"type": "function"
}
] | 1 |
fossasia__open-event-server__960e39a2__13 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | get_json | open_event/helpers/object_formatter.py | 12 | 32 | [
{
"decorator_line": 9,
"file_path": "open_event/helpers/query_filter.py",
"line_end": 21,
"line_start": 9,
"name": "get_filtered_data",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "open_event/helpers/query_filter.py",
"line_end": 29,
"line_start": 3,
"na... | 2 |
fossasia__open-event-server__960e39a2__14 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event_sessions | open_event/views/admin/models_views/event.py | 148 | 159 | [
{
"decorator_line": 50,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 59,
"line_start": 51,
"name": "get_sessions",
"type": "function"
},
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name"... | 3 |
fossasia__open-event-server__960e39a2__15 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | get_microlocation | tests/object_mother.py | 31 | 34 | [
{
"decorator_line": 4,
"file_path": "open_event/models/microlocation.py",
"line_end": 53,
"line_start": 4,
"name": "Microlocation",
"type": "class"
}
] | 1 |
fossasia__open-event-server__960e39a2__16 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event_levels | open_event/views/admin/models_views/event.py | 460 | 468 | [
{
"decorator_line": 93,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 98,
"line_start": 94,
"name": "get_levels",
"type": "function"
},
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": ... | 2 |
fossasia__open-event-server__960e39a2__17 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | user_permissions | open_event/views/admin/models_views/event.py | 639 | 652 | [
{
"decorator_line": 156,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 161,
"line_start": 157,
"name": "get_all_users",
"type": "function"
},
{
"decorator_line": 182,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 184,
"line_start": 183,
... | 3 |
fossasia__open-event-server__960e39a2__18 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | get_user | tests/object_mother.py | 45 | 49 | [
{
"decorator_line": 7,
"file_path": "open_event/models/user.py",
"line_end": 45,
"line_start": 7,
"name": "User",
"type": "class"
}
] | 1 |
fossasia__open-event-server__960e39a2__19 | fossasia/open-event-server | 960e39a25e915fc9a53b9b5f5e6dae44be3fe3c8 | event | open_event/views/admin/models_views/event.py | 138 | 145 | [
{
"decorator_line": 16,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 19,
"line_start": 17,
"name": "get_all_events",
"type": "function"
},
{
"decorator_line": 122,
"file_path": "open_event/helpers/data_getter.py",
"line_end": 129,
"line_start": 123,
"... | 2 |
beetbox__beets__165c28e9__0 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_write_genre_list | test/test_mediafile.py | 401 | 407 | [
{
"decorator_line": 974,
"file_path": "beets/mediafile.py",
"line_end": 1523,
"line_start": 974,
"name": "MediaFile",
"type": "class"
}
] | 1 |
beetbox__beets__165c28e9__1 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | send | beets/util/bluelet.py | 436 | 442 | [
{
"decorator_line": 377,
"file_path": "beets/util/bluelet.py",
"line_end": 378,
"line_start": 377,
"name": "SocketClosedError",
"type": "class"
},
{
"decorator_line": 498,
"file_path": "beets/util/bluelet.py",
"line_end": 514,
"line_start": 498,
"name": "SendEvent",
... | 2 |
beetbox__beets__165c28e9__2 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_v23_on_non_mp3_is_noop | test/test_mediafile_edge.py | 276 | 282 | [
{
"decorator_line": 245,
"file_path": "test/test_mediafile_edge.py",
"line_end": 249,
"line_start": 245,
"name": "_make_test",
"type": "function"
},
{
"decorator_line": 1053,
"file_path": "beets/mediafile.py",
"line_end": 1067,
"line_start": 1053,
"name": "save",
... | 3 |
beetbox__beets__165c28e9__3 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | set | beets/mediafile.py | 459 | 460 | [
{
"decorator_line": 462,
"file_path": "beets/mediafile.py",
"line_end": 463,
"line_start": 462,
"name": "set_list",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__4 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | extract_func | beetsplug/embedart.py | 95 | 97 | [
{
"decorator_line": 140,
"file_path": "beetsplug/embedart.py",
"line_end": 174,
"line_start": 140,
"name": "extract",
"type": "function"
},
{
"decorator_line": 90,
"file_path": "beets/ui/__init__.py",
"line_end": 94,
"line_start": 90,
"name": "decargs",
"type": "f... | 2 |
beetbox__beets__165c28e9__5 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_add_model | test/test_dbcore.py | 155 | 159 | [
{
"decorator_line": 27,
"file_path": "test/test_dbcore.py",
"line_end": 40,
"line_start": 27,
"name": "TestModel1",
"type": "class"
},
{
"decorator_line": 320,
"file_path": "beets/dbcore/db.py",
"line_end": 343,
"line_start": 320,
"name": "add",
"type": "function"... | 3 |
beetbox__beets__165c28e9__6 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_not_subtitute_func_with_no_args | test/test_template.py | 251 | 252 | [
{
"decorator_line": 206,
"file_path": "test/test_template.py",
"line_end": 215,
"line_start": 206,
"name": "_eval",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__7 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | getoutput | test/_common.py | 219 | 222 | [
{
"decorator_line": 190,
"file_path": "test/_common.py",
"line_end": 191,
"line_start": 190,
"name": "get",
"type": "function"
},
{
"decorator_line": 192,
"file_path": "test/_common.py",
"line_end": 193,
"line_start": 192,
"name": "clear",
"type": "function"
}
] | 2 |
beetbox__beets__165c28e9__8 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | recv | beets/util/bluelet.py | 423 | 434 | [
{
"decorator_line": 377,
"file_path": "beets/util/bluelet.py",
"line_end": 378,
"line_start": 377,
"name": "SocketClosedError",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "beets/util/bluelet.py",
"line_end": 62,
"line_start": 59,
"name": "ValueEvent",
... | 3 |
beetbox__beets__165c28e9__9 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_titles_applied | test/test_autotag.py | 744 | 747 | [
{
"decorator_line": 697,
"file_path": "test/test_autotag.py",
"line_end": 703,
"line_start": 697,
"name": "_apply",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__10 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_main_interface_returns_none_for_missing_asin_and_path | test/test_art.py | 112 | 115 | [
{
"decorator_line": 241,
"file_path": "test/_common.py",
"line_end": 250,
"line_start": 241,
"name": "Bag",
"type": "class"
},
{
"decorator_line": 171,
"file_path": "beetsplug/fetchart.py",
"line_end": 202,
"line_start": 171,
"name": "art_for_album",
"type": "func... | 2 |
beetbox__beets__165c28e9__11 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_does_not_duplicate_album | test/test_importer.py | 593 | 599 | [
{
"decorator_line": 309,
"file_path": "beets/importer.py",
"line_end": 351,
"line_start": 309,
"name": "run",
"type": "function"
},
{
"decorator_line": 972,
"file_path": "beets/library.py",
"line_end": 979,
"line_start": 972,
"name": "albums",
"type": "function"
... | 3 |
beetbox__beets__165c28e9__12 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | colordiff | beets/ui/__init__.py | 433 | 440 | [
{
"decorator_line": 383,
"file_path": "beets/ui/__init__.py",
"line_end": 430,
"line_start": 383,
"name": "_colordiff",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__13 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | item_lookup | beets/importer.py | 956 | 968 | [
{
"decorator_line": 361,
"file_path": "beets/plugins.py",
"line_end": 372,
"line_start": 361,
"name": "send",
"type": "function"
},
{
"decorator_line": 408,
"file_path": "beets/autotag/match.py",
"line_end": 455,
"line_start": 408,
"name": "tag_item",
"type": "fun... | 2 |
beetbox__beets__165c28e9__14 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_no_restriction | test/test_query.py | 82 | 85 | [
{
"decorator_line": 264,
"file_path": "beets/dbcore/query.py",
"line_end": 286,
"line_start": 264,
"name": "AnyFieldQuery",
"type": "class"
},
{
"decorator_line": 509,
"file_path": "beets/dbcore/db.py",
"line_end": 517,
"line_start": 509,
"name": "get",
"type": "f... | 3 |
beetbox__beets__165c28e9__15 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | add | beets/util/confit.py | 430 | 431 | [
{
"decorator_line": 121,
"file_path": "beets/util/confit.py",
"line_end": 132,
"line_start": 122,
"name": "of",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__16 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | func | beetsplug/fetchart.py | 293 | 295 | [
{
"decorator_line": 207,
"file_path": "beetsplug/fetchart.py",
"line_end": 229,
"line_start": 207,
"name": "batch_fetch_art",
"type": "function"
},
{
"decorator_line": 90,
"file_path": "beets/ui/__init__.py",
"line_end": 94,
"line_start": 90,
"name": "decargs",
"t... | 2 |
beetbox__beets__165c28e9__17 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_parse_recording_artist | test/test_mb.py | 295 | 302 | [
{
"decorator_line": 90,
"file_path": "test/test_mb.py",
"line_end": 108,
"line_start": 90,
"name": "_make_track",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "test/test_mb.py",
"line_end": 88,
"line_start": 22,
"name": "_make_release",
"type": "func... | 3 |
beetbox__beets__165c28e9__18 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_mb_albumid_and_artistid_applied | test/test_autotag.py | 793 | 799 | [
{
"decorator_line": 697,
"file_path": "test/test_autotag.py",
"line_end": 703,
"line_start": 697,
"name": "_apply",
"type": "function"
}
] | 1 |
beetbox__beets__165c28e9__19 | beetbox/beets | 165c28e967d58e6ff23a882689c953954a7b588d | test_current_metadata_artist_consensus | test/test_autotag.py | 63 | 70 | [
{
"decorator_line": 286,
"file_path": "beets/library.py",
"line_end": 583,
"line_start": 286,
"name": "Item",
"type": "class"
},
{
"decorator_line": 45,
"file_path": "beets/autotag/match.py",
"line_end": 67,
"line_start": 45,
"name": "current_metadata",
"type": "f... | 2 |
locustio__locust__6f05bfbf__0 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | stats_printer | locust/stats.py | 651 | 655 | [
{
"decorator_line": 603,
"file_path": "locust/stats.py",
"line_end": 623,
"line_start": 603,
"name": "print_stats",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__1 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | get_stripped_report | locust/stats.py | 376 | 382 | [
{
"decorator_line": 342,
"file_path": "locust/stats.py",
"line_end": 356,
"line_start": 342,
"name": "serialize",
"type": "function"
},
{
"decorator_line": 212,
"file_path": "locust/stats.py",
"line_end": 225,
"line_start": 212,
"name": "reset",
"type": "function"... | 2 |
locustio__locust__6f05bfbf__2 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_interrupt_taskset_in_main_taskset | locust/test/test_locust_class.py | 237 | 273 | [
{
"decorator_line": 9,
"file_path": "locust/exception.py",
"line_end": 19,
"line_start": 9,
"name": "InterruptTaskSet",
"type": "class"
},
{
"decorator_line": 338,
"file_path": "locust/core.py",
"line_end": 349,
"line_start": 338,
"name": "interrupt",
"type": "fun... | 3 |
locustio__locust__6f05bfbf__3 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | stop | locust/test/test_locust_class.py | 306 | 307 | [
{
"decorator_line": 21,
"file_path": "locust/exception.py",
"line_end": 22,
"line_start": 21,
"name": "StopLocust",
"type": "class"
}
] | 1 |
locustio__locust__6f05bfbf__4 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_on_start | locust/test/test_locust_class.py | 60 | 79 | [
{
"decorator_line": 9,
"file_path": "locust/exception.py",
"line_end": 19,
"line_start": 9,
"name": "InterruptTaskSet",
"type": "class"
},
{
"decorator_line": 248,
"file_path": "locust/core.py",
"line_end": 292,
"line_start": 248,
"name": "run",
"type": "function"... | 2 |
locustio__locust__6f05bfbf__5 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_reset | locust/test/test_stats.py | 57 | 67 | [
{
"decorator_line": 212,
"file_path": "locust/stats.py",
"line_end": 225,
"line_start": 212,
"name": "reset",
"type": "function"
},
{
"decorator_line": 227,
"file_path": "locust/stats.py",
"line_end": 240,
"line_start": 227,
"name": "log",
"type": "function"
},
... | 3 |
locustio__locust__6f05bfbf__6 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | assertLessEqual | locust/test/testcases.py | 162 | 166 | [
{
"decorator_line": 18,
"file_path": "locust/test/testcases.py",
"line_end": 30,
"line_start": 18,
"name": "safe_repr",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__7 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | spawn_locusts | locust/runners.py | 86 | 124 | [
{
"decorator_line": 63,
"file_path": "locust/runners.py",
"line_end": 84,
"line_start": 63,
"name": "weight_locusts",
"type": "function"
},
{
"decorator_line": 24,
"file_path": "locust/events.py",
"line_end": 26,
"line_start": 24,
"name": "fire",
"type": "function... | 2 |
locustio__locust__6f05bfbf__8 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | log | locust/stats.py | 227 | 240 | [
{
"decorator_line": 466,
"file_path": "locust/stats.py",
"line_end": 482,
"line_start": 466,
"name": "_cache_response_times",
"type": "function"
},
{
"decorator_line": 242,
"file_path": "locust/stats.py",
"line_end": 244,
"line_start": 242,
"name": "_log_time_of_reque... | 3 |
locustio__locust__6f05bfbf__9 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | t1 | locust/test/test_locust_class.py | 426 | 428 | [
{
"decorator_line": 338,
"file_path": "locust/core.py",
"line_end": 349,
"line_start": 338,
"name": "interrupt",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__10 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_aggregation_with_rounding | locust/test/test_stats.py | 101 | 116 | [
{
"decorator_line": 142,
"file_path": "locust/stats.py",
"line_end": 482,
"line_start": 142,
"name": "StatsEntry",
"type": "class"
},
{
"decorator_line": 227,
"file_path": "locust/stats.py",
"line_end": 240,
"line_start": 227,
"name": "log",
"type": "function"
}... | 2 |
locustio__locust__6f05bfbf__11 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_slow_redirect | locust/test/test_client.py | 53 | 59 | [
{
"decorator_line": 26,
"file_path": "locust/clients.py",
"line_end": 165,
"line_start": 26,
"name": "HttpSession",
"type": "class"
},
{
"decorator_line": 107,
"file_path": "locust/stats.py",
"line_end": 115,
"line_start": 107,
"name": "get",
"type": "function"
... | 3 |
locustio__locust__6f05bfbf__12 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_exceptions | locust/test/test_web.py | 104 | 117 | [
{
"decorator_line": 146,
"file_path": "locust/test/testcases.py",
"line_end": 154,
"line_start": 146,
"name": "assertIn",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__13 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_error_grouping_errors_with_memory_addresses | locust/test/test_stats.py | 145 | 152 | [
{
"decorator_line": 72,
"file_path": "locust/stats.py",
"line_end": 139,
"line_start": 72,
"name": "RequestStats",
"type": "class"
},
{
"decorator_line": 95,
"file_path": "locust/stats.py",
"line_end": 105,
"line_start": 95,
"name": "log_error",
"type": "function"... | 2 |
locustio__locust__6f05bfbf__14 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | stop | locust/runners.py | 305 | 308 | [
{
"decorator_line": 7,
"file_path": "locust/rpc/zmqrpc.py",
"line_end": 8,
"line_start": 7,
"name": "send",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "locust/rpc/protocol.py",
"line_end": 15,
"line_start": 3,
"name": "Message",
"type": "class"
},... | 3 |
locustio__locust__6f05bfbf__15 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | on_start | locust/test/test_locust_class.py | 65 | 66 | [
{
"decorator_line": 68,
"file_path": "locust/test/test_locust_class.py",
"line_end": 69,
"line_start": 68,
"name": "t1",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__16 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_log_request_name_argument | locust/test/test_locust_class.py | 405 | 421 | [
{
"decorator_line": 25,
"file_path": "locust/core.py",
"line_end": 56,
"line_start": 25,
"name": "task",
"type": "function"
},
{
"decorator_line": 107,
"file_path": "locust/stats.py",
"line_end": 115,
"line_start": 107,
"name": "get",
"type": "function"
}
] | 2 |
locustio__locust__6f05bfbf__17 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_percentile_rounded_down | locust/test/test_stats.py | 118 | 122 | [
{
"decorator_line": 142,
"file_path": "locust/stats.py",
"line_end": 482,
"line_start": 142,
"name": "StatsEntry",
"type": "class"
},
{
"decorator_line": 227,
"file_path": "locust/stats.py",
"line_end": 240,
"line_start": 227,
"name": "log",
"type": "function"
}... | 3 |
locustio__locust__6f05bfbf__18 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | test_is_locust | locust/test/test_main.py | 7 | 28 | [
{
"decorator_line": 309,
"file_path": "locust/main.py",
"line_end": 320,
"line_start": 309,
"name": "is_locust",
"type": "function"
}
] | 1 |
locustio__locust__6f05bfbf__19 | locustio/locust | 6f05bfbffc2a4c605d0de570e9e1e07a168300f2 | a_task | locust/test/test_locust_class.py | 219 | 222 | [
{
"decorator_line": 25,
"file_path": "locust/core.py",
"line_end": 56,
"line_start": 25,
"name": "task",
"type": "function"
},
{
"decorator_line": 338,
"file_path": "locust/core.py",
"line_end": 349,
"line_start": 338,
"name": "interrupt",
"type": "function"
}
] | 2 |
lutris__lutris__7dde45df__0 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | popup_contextual_menu | lutris/gui/gameviews.py | 268 | 285 | [
{
"decorator_line": 197,
"file_path": "lutris/gui/gameviews.py",
"line_end": 206,
"line_start": 197,
"name": "get_row_by_id",
"type": "function"
}
] | 1 |
lutris__lutris__7dde45df__1 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | play | lutris/runners/snes9x.py | 69 | 76 | [
{
"decorator_line": 55,
"file_path": "lutris/runners/snes9x.py",
"line_end": 67,
"line_start": 55,
"name": "set_option",
"type": "function"
},
{
"decorator_line": 139,
"file_path": "lutris/runners/runner.py",
"line_end": 146,
"line_start": 139,
"name": "get_executable... | 2 |
lutris__lutris__7dde45df__2 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | download_runtime | lutris/runtime.py | 76 | 93 | [
{
"decorator_line": 32,
"file_path": "lutris/runtime.py",
"line_end": 36,
"line_start": 32,
"name": "get_created_at",
"type": "function"
},
{
"decorator_line": 8,
"file_path": "lutris/downloader.py",
"line_end": 179,
"line_start": 8,
"name": "Downloader",
"type": ... | 3 |
lutris__lutris__7dde45df__3 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | pgrp | lutris/util/process.py | 91 | 95 | [
{
"decorator_line": 25,
"file_path": "lutris/util/process.py",
"line_end": 37,
"line_start": 25,
"name": "get_stat",
"type": "function"
}
] | 1 |
lutris__lutris__7dde45df__4 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | db_delete | lutris/util/sql.py | 77 | 81 | [
{
"decorator_line": 8,
"file_path": "lutris/util/sql.py",
"line_end": 19,
"line_start": 8,
"name": "db_cursor",
"type": "class"
},
{
"decorator_line": 22,
"file_path": "lutris/util/sql.py",
"line_end": 39,
"line_start": 22,
"name": "cursor_execute",
"type": "funct... | 2 |
lutris__lutris__7dde45df__5 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | is_installed | lutris/runners/winesteam.py | 273 | 284 | [
{
"decorator_line": 270,
"file_path": "lutris/runners/winesteam.py",
"line_end": 271,
"line_start": 270,
"name": "is_wine_installed",
"type": "function"
},
{
"decorator_line": 218,
"file_path": "lutris/runners/winesteam.py",
"line_end": 247,
"line_start": 218,
"name":... | 3 |
lutris__lutris__7dde45df__6 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | get_lutris_action | lutris/gui/application.py | 278 | 293 | [
{
"decorator_line": 96,
"file_path": "lutris/util/resources.py",
"line_end": 132,
"line_start": 96,
"name": "parse_installer_url",
"type": "function"
}
] | 1 |
lutris__lutris__7dde45df__7 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | run_winecfg | lutris/runners/wine.py | 750 | 752 | [
{
"decorator_line": 219,
"file_path": "lutris/runners/wine.py",
"line_end": 230,
"line_start": 219,
"name": "winecfg",
"type": "function"
},
{
"decorator_line": 702,
"file_path": "lutris/runners/wine.py",
"line_end": 720,
"line_start": 702,
"name": "get_executable",
... | 2 |
lutris__lutris__7dde45df__8 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | get_controller_mappings | lutris/util/joypad.py | 49 | 60 | [
{
"decorator_line": 11,
"file_path": "lutris/util/joypad.py",
"line_end": 15,
"line_start": 11,
"name": "get_devices",
"type": "function"
},
{
"decorator_line": 34,
"file_path": "lutris/util/gamecontrollerdb.py",
"line_end": 56,
"line_start": 34,
"name": "GameControll... | 3 |
lutris__lutris__7dde45df__9 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | create_table | tests/test_pga.py | 104 | 105 | [
{
"decorator_line": 48,
"file_path": "lutris/pga.py",
"line_end": 54,
"line_start": 48,
"name": "create_table",
"type": "function"
}
] | 1 |
lutris__lutris__7dde45df__10 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | test_can_set_value_to_a_new_key | tests/test_registry.py | 75 | 78 | [
{
"decorator_line": 145,
"file_path": "lutris/util/wineregistry.py",
"line_end": 148,
"line_start": 145,
"name": "query",
"type": "function"
},
{
"decorator_line": 150,
"file_path": "lutris/util/wineregistry.py",
"line_end": 155,
"line_start": 150,
"name": "set_value"... | 2 |
lutris__lutris__7dde45df__11 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | eject_wine_disc | lutris/installer/interpreter.py | 626 | 629 | [
{
"decorator_line": 310,
"file_path": "lutris/runners/wine.py",
"line_end": 315,
"line_start": 310,
"name": "get_wine_version_exe",
"type": "function"
},
{
"decorator_line": 24,
"file_path": "lutris/installer/commands.py",
"line_end": 28,
"line_start": 24,
"name": "_g... | 3 |
lutris__lutris__7dde45df__12 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | save | lutris/util/wineregistry.py | 136 | 143 | [
{
"decorator_line": 126,
"file_path": "lutris/util/wineregistry.py",
"line_end": 134,
"line_start": 126,
"name": "render",
"type": "function"
}
] | 1 |
lutris__lutris__7dde45df__13 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | get_store | lutris/gui/runnerinstalldialog.py | 82 | 98 | [
{
"decorator_line": 100,
"file_path": "lutris/gui/runnerinstalldialog.py",
"line_end": 101,
"line_start": 100,
"name": "get_versions",
"type": "function"
},
{
"decorator_line": 103,
"file_path": "lutris/gui/runnerinstalldialog.py",
"line_end": 105,
"line_start": 103,
... | 2 |
lutris__lutris__7dde45df__14 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | setUp | tests/test_dialogs.py | 29 | 33 | [
{
"decorator_line": 37,
"file_path": "lutris/config.py",
"line_end": 58,
"line_start": 37,
"name": "check_config",
"type": "function"
},
{
"decorator_line": 44,
"file_path": "lutris/gui/application.py",
"line_end": 360,
"line_start": 44,
"name": "Application",
"ty... | 3 |
lutris__lutris__7dde45df__15 | lutris/lutris | 7dde45df60df855e6e822078eb20be3a2cd5133a | play | lutris/runners/dosbox.py | 144 | 177 | [
{
"decorator_line": 139,
"file_path": "lutris/runners/runner.py",
"line_end": 146,
"line_start": 139,
"name": "get_executable",
"type": "function"
}
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.