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 |
|---|---|---|---|---|---|---|---|---|
nautobot__nautobot__7e8a8443__10 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_clean_same_object | nautobot/extras/tests/test_relationships.py | 108 | 118 | [
{
"decorator_line": 159,
"file_path": "nautobot/extras/models/relationships.py",
"line_end": 362,
"line_start": 159,
"name": "Relationship",
"type": "class"
},
{
"decorator_line": 317,
"file_path": "nautobot/extras/models/relationships.py",
"line_end": 362,
"line_start": 317,
"name": "clean",
"type": "function"
}
] | 2 |
nautobot__nautobot__7e8a8443__11 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | setUp | nautobot/dcim/tests/test_api.py | 1,565 | 1,604 | [
{
"decorator_line": 35,
"file_path": "nautobot/utilities/testing/api.py",
"line_end": 43,
"line_start": 35,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 38,
"file_path": "nautobot/dcim/models/cables.py",
"line_end": 291,
"line_start": 48,
"name": "Cable",
"type": "class"
},
{
"decorator_line": 252,
"file_path": "nautobot/dcim/models/cables.py",
"line_end": 269,
"line_start": 252,
"name": "save",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__12 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | clean | nautobot/extras/tests/dummy_plugin/custom_validators.py | 14 | 20 | [
{
"decorator_line": 360,
"file_path": "nautobot/extras/plugins/__init__.py",
"line_end": 365,
"line_start": 360,
"name": "validation_error",
"type": "function"
}
] | 1 |
nautobot__nautobot__7e8a8443__13 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_filevar | nautobot/extras/tests/test_scripts.py | 165 | 177 | [
{
"decorator_line": 553,
"file_path": "nautobot/extras/jobs.py",
"line_end": 558,
"line_start": 553,
"name": "FileVar",
"type": "class"
},
{
"decorator_line": 255,
"file_path": "nautobot/extras/jobs.py",
"line_end": 267,
"line_start": 255,
"name": "as_form",
"type": "function"
}
] | 2 |
nautobot__nautobot__7e8a8443__14 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_cable_cannot_terminate_to_a_virtual_interface | nautobot/dcim/tests/test_models.py | 568 | 575 | [
{
"decorator_line": 484,
"file_path": "nautobot/dcim/models/device_components.py",
"line_end": 645,
"line_start": 492,
"name": "Interface",
"type": "class"
},
{
"decorator_line": 38,
"file_path": "nautobot/dcim/models/cables.py",
"line_end": 291,
"line_start": 48,
"name": "Cable",
"type": "class"
},
{
"decorator_line": 151,
"file_path": "nautobot/dcim/models/cables.py",
"line_end": 250,
"line_start": 151,
"name": "clean",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__15 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_duplicate_global_unique | nautobot/ipam/tests/test_models.py | 216 | 219 | [
{
"decorator_line": 356,
"file_path": "nautobot/ipam/models.py",
"line_end": 629,
"line_start": 366,
"name": "Prefix",
"type": "class"
}
] | 1 |
nautobot__nautobot__7e8a8443__16 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | get | nautobot/core/views/generic.py | 76 | 89 | [
{
"decorator_line": 58,
"file_path": "nautobot/core/views/generic.py",
"line_end": 65,
"line_start": 58,
"name": "get_template_name",
"type": "function"
},
{
"decorator_line": 67,
"file_path": "nautobot/core/views/generic.py",
"line_end": 74,
"line_start": 67,
"name": "get_extra_context",
"type": "function"
}
] | 2 |
nautobot__nautobot__7e8a8443__17 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | run_app | nautobot/core/runner/runner.py | 162 | 270 | [
{
"decorator_line": 28,
"file_path": "nautobot/core/runner/runner.py",
"line_end": 48,
"line_start": 28,
"name": "parse_command_args",
"type": "function"
},
{
"decorator_line": 35,
"file_path": "nautobot/core/runner/settings.py",
"line_end": 46,
"line_start": 35,
"name": "create_default_settings",
"type": "function"
},
{
"decorator_line": 56,
"file_path": "nautobot/core/runner/runner.py",
"line_end": 155,
"line_start": 56,
"name": "configure_app",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__18 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | get | nautobot/ipam/views.py | 665 | 675 | [
{
"decorator_line": 907,
"file_path": "nautobot/ipam/forms.py",
"line_end": 912,
"line_start": 907,
"name": "IPAddressAssignForm",
"type": "class"
}
] | 1 |
nautobot__nautobot__7e8a8443__19 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | to_objectchange | nautobot/dcim/models/sites.py | 76 | 83 | [
{
"decorator_line": 42,
"file_path": "nautobot/extras/models/change_logging.py",
"line_end": 133,
"line_start": 42,
"name": "ObjectChange",
"type": "class"
},
{
"decorator_line": 107,
"file_path": "nautobot/utilities/utils.py",
"line_end": 140,
"line_start": 107,
"name": "serialize_object",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__0 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | decode_references | scrapy/utils/serialize.py | 58 | 72 | [
{
"decorator_line": 28,
"file_path": "scrapy/utils/serialize.py",
"line_end": 40,
"line_start": 28,
"name": "get_spider_from_reference",
"type": "function"
}
] | 1 |
scrapy__scrapy__79a8bb6b__1 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_basic | scrapy/tests/test_utils_reqser.py | 11 | 13 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 36,
"file_path": "scrapy/tests/test_utils_reqser.py",
"line_end": 39,
"line_start": 36,
"name": "_assert_serializes_ok",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__2 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | setUp | scrapy/tests/test_downloader_handlers.py | 146 | 151 | [
{
"decorator_line": 134,
"file_path": "scrapy/tests/test_downloader_handlers.py",
"line_end": 141,
"line_start": 134,
"name": "UriResource",
"type": "class"
},
{
"decorator_line": 10,
"file_path": "scrapy/core/downloader/handlers/http.py",
"line_end": 30,
"line_start": 10,
"name": "HttpDownloadHandler",
"type": "class"
},
{
"decorator_line": 3,
"file_path": "scrapy/settings/__init__.py",
"line_end": 37,
"line_start": 3,
"name": "Settings",
"type": "class"
}
] | 3 |
scrapy__scrapy__79a8bb6b__3 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | log | scrapy/spider.py | 29 | 33 | [
{
"decorator_line": 122,
"file_path": "scrapy/log.py",
"line_end": 128,
"line_start": 122,
"name": "msg",
"type": "function"
}
] | 1 |
scrapy__scrapy__79a8bb6b__4 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | process_response | scrapy/contrib/downloadermiddleware/retry.py | 49 | 55 | [
{
"decorator_line": 49,
"file_path": "scrapy/utils/response.py",
"line_end": 58,
"line_start": 49,
"name": "response_status_message",
"type": "function"
},
{
"decorator_line": 62,
"file_path": "scrapy/contrib/downloadermiddleware/retry.py",
"line_end": 75,
"line_start": 62,
"name": "_retry",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__5 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_download | scrapy/tests/test_downloader_handlers.py | 71 | 76 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 68,
"file_path": "scrapy/tests/test_downloader_handlers.py",
"line_end": 69,
"line_start": 68,
"name": "getURL",
"type": "function"
},
{
"decorator_line": 13,
"file_path": "scrapy/spider.py",
"line_end": 65,
"line_start": 13,
"name": "BaseSpider",
"type": "class"
}
] | 3 |
scrapy__scrapy__79a8bb6b__6 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | send_catch_log_deferred | scrapy/utils/signal.py | 36 | 58 | [
{
"decorator_line": 130,
"file_path": "scrapy/log.py",
"line_end": 133,
"line_start": 130,
"name": "err",
"type": "function"
}
] | 1 |
scrapy__scrapy__79a8bb6b__7 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_encode_request | scrapy/tests/test_utils_serialize.py | 117 | 121 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 85,
"file_path": "scrapy/utils/serialize.py",
"line_end": 88,
"line_start": 85,
"name": "encode",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__8 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_priority_adjust | scrapy/tests/test_downloadermiddleware_retry.py | 18 | 22 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 13,
"file_path": "scrapy/http/response/__init__.py",
"line_end": 76,
"line_start": 13,
"name": "Response",
"type": "class"
},
{
"decorator_line": 49,
"file_path": "scrapy/contrib/downloadermiddleware/retry.py",
"line_end": 55,
"line_start": 49,
"name": "process_response",
"type": "function"
}
] | 3 |
scrapy__scrapy__79a8bb6b__9 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_xmliter_iterate_namespace | scrapy/tests/test_utils_iterators.py | 100 | 127 | [
{
"decorator_line": 9,
"file_path": "scrapy/http/response/xml.py",
"line_end": 10,
"line_start": 9,
"name": "XmlResponse",
"type": "class"
}
] | 1 |
scrapy__scrapy__79a8bb6b__10 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_callback_serialization | scrapy/tests/test_utils_reqser.py | 54 | 57 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 36,
"file_path": "scrapy/tests/test_utils_reqser.py",
"line_end": 39,
"line_start": 36,
"name": "_assert_serializes_ok",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__11 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_process_spider_output | scrapy/tests/test_spidermiddleware_offsite.py | 17 | 29 | [
{
"decorator_line": 13,
"file_path": "scrapy/http/response/__init__.py",
"line_end": 76,
"line_start": 13,
"name": "Response",
"type": "class"
},
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 26,
"file_path": "scrapy/contrib/spidermiddleware/offsite.py",
"line_end": 38,
"line_start": 26,
"name": "process_spider_output",
"type": "function"
}
] | 3 |
scrapy__scrapy__79a8bb6b__12 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_private_attr | scrapy/tests/test_item.py | 58 | 64 | [
{
"decorator_line": 16,
"file_path": "scrapy/item.py",
"line_end": 17,
"line_start": 16,
"name": "Field",
"type": "class"
}
] | 1 |
scrapy__scrapy__79a8bb6b__13 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_result_failure | scrapy/tests/test_pipeline_media.py | 144 | 155 | [
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 39,
"file_path": "scrapy/contrib/pipeline/media.py",
"line_end": 44,
"line_start": 39,
"name": "process_item",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__14 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_from_response_descendants | scrapy/tests/test_http_request.py | 572 | 591 | [
{
"decorator_line": 594,
"file_path": "scrapy/tests/test_http_request.py",
"line_end": 598,
"line_start": 594,
"name": "_buildresponse",
"type": "function"
},
{
"decorator_line": 31,
"file_path": "scrapy/http/request/form.py",
"line_end": 38,
"line_start": 32,
"name": "from_response",
"type": "function"
},
{
"decorator_line": 600,
"file_path": "scrapy/tests/test_http_request.py",
"line_end": 605,
"line_start": 600,
"name": "_qs",
"type": "function"
}
] | 3 |
scrapy__scrapy__79a8bb6b__15 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | extract_links | scrapy/contrib/linkextractors/htmlparser.py | 41 | 43 | [
{
"decorator_line": 22,
"file_path": "scrapy/contrib/linkextractors/htmlparser.py",
"line_end": 39,
"line_start": 22,
"name": "_extract_links",
"type": "function"
}
] | 1 |
scrapy__scrapy__79a8bb6b__16 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_html_encoding | scrapy/tests/test_http_response.py | 260 | 285 | [
{
"decorator_line": 93,
"file_path": "scrapy/tests/test_http_response.py",
"line_end": 104,
"line_start": 93,
"name": "_assert_response_values",
"type": "function"
},
{
"decorator_line": 42,
"file_path": "scrapy/http/response/text.py",
"line_end": 44,
"line_start": 42,
"name": "replace",
"type": "function"
}
] | 2 |
scrapy__scrapy__79a8bb6b__17 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_process_response_force_recalculate_encoding | scrapy/tests/test_downloadermiddleware_httpcompression.py | 119 | 135 | [
{
"decorator_line": 9,
"file_path": "scrapy/http/response/html.py",
"line_end": 10,
"line_start": 9,
"name": "HtmlResponse",
"type": "class"
},
{
"decorator_line": 17,
"file_path": "scrapy/http/request/__init__.py",
"line_end": 103,
"line_start": 17,
"name": "Request",
"type": "class"
},
{
"decorator_line": 14,
"file_path": "scrapy/contrib/downloadermiddleware/httpcompression.py",
"line_end": 31,
"line_start": 14,
"name": "process_response",
"type": "function"
}
] | 3 |
scrapy__scrapy__79a8bb6b__18 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_externalUnicodeInterference | scrapy/tests/test_webclient.py | 68 | 82 | [
{
"decorator_line": 34,
"file_path": "scrapy/tests/test_webclient.py",
"line_end": 36,
"line_start": 34,
"name": "_parse",
"type": "function"
}
] | 1 |
scrapy__scrapy__79a8bb6b__19 | scrapy/scrapy | 79a8bb6b42f6da46693992fca370bc10e526a61b | test_len | scrapy/tests/test_utils_queue.py | 89 | 100 | [
{
"decorator_line": 56,
"file_path": "scrapy/tests/test_utils_queue.py",
"line_end": 57,
"line_start": 56,
"name": "queue",
"type": "function"
},
{
"decorator_line": 28,
"file_path": "scrapy/utils/queue.py",
"line_end": 30,
"line_start": 28,
"name": "pop",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__0 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | qutrit_ops | qutip/operators.py | 532 | 551 | [
{
"decorator_line": 103,
"file_path": "qutip/states.py",
"line_end": 112,
"line_start": 103,
"name": "qutrit_basis",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__1 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | fock_dm | qutip/states.py | 252 | 283 | [
{
"decorator_line": 43,
"file_path": "qutip/states.py",
"line_end": 100,
"line_start": 43,
"name": "basis",
"type": "function"
},
{
"decorator_line": 703,
"file_path": "qutip/qobj.py",
"line_end": 712,
"line_start": 703,
"name": "dag",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__2 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | matrix_element | qutip/qobj.py | 1,086 | 1,121 | [
{
"decorator_line": 1656,
"file_path": "qutip/qobj.py",
"line_end": 1681,
"line_start": 1656,
"name": "isoper",
"type": "function"
},
{
"decorator_line": 1629,
"file_path": "qutip/qobj.py",
"line_end": 1653,
"line_start": 1629,
"name": "isbra",
"type": "function"
},
{
"decorator_line": 1601,
"file_path": "qutip/qobj.py",
"line_end": 1626,
"line_start": 1601,
"name": "isket",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__3 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | update_rho | qutip/distributions.py | 347 | 382 | [
{
"decorator_line": 708,
"file_path": "qutip/states.py",
"line_end": 733,
"line_start": 708,
"name": "state_number_index",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__4 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | update | qutip/ipynbtools.py | 127 | 137 | [
{
"decorator_line": 63,
"file_path": "qutip/gui/progressbar.py",
"line_end": 64,
"line_start": 63,
"name": "time_elapsed",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "qutip/gui/progressbar.py",
"line_end": 76,
"line_start": 66,
"name": "time_remaining_est",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__5 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | test_partial_transpose_comparison | qutip/tests/test_partial_transpose.py | 73 | 87 | [
{
"decorator_line": 43,
"file_path": "qutip/tensor.py",
"line_end": 130,
"line_start": 43,
"name": "tensor",
"type": "function"
},
{
"decorator_line": 151,
"file_path": "qutip/random_objects.py",
"line_end": 197,
"line_start": 151,
"name": "rand_dm",
"type": "function"
},
{
"decorator_line": 43,
"file_path": "qutip/partial_transpose.py",
"line_end": 79,
"line_start": 43,
"name": "partial_transpose",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__6 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | fock | qutip/states.py | 286 | 314 | [
{
"decorator_line": 43,
"file_path": "qutip/states.py",
"line_end": 100,
"line_start": 43,
"name": "basis",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__7 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | qpt_plot_combined | qutip/tomography.py | 123 | 166 | [
{
"decorator_line": 45,
"file_path": "qutip/tomography.py",
"line_end": 68,
"line_start": 45,
"name": "_index_permutations",
"type": "function"
},
{
"decorator_line": 306,
"file_path": "qutip/visualization.py",
"line_end": 434,
"line_start": 306,
"name": "matrix_histogram_complex",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__8 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | testCase1 | qutip/tests/test_mesolve.py | 191 | 215 | [
{
"decorator_line": 43,
"file_path": "qutip/tensor.py",
"line_end": 130,
"line_start": 43,
"name": "tensor",
"type": "function"
},
{
"decorator_line": 43,
"file_path": "qutip/states.py",
"line_end": 100,
"line_start": 43,
"name": "basis",
"type": "function"
},
{
"decorator_line": 110,
"file_path": "qutip/tests/test_mesolve.py",
"line_end": 149,
"line_start": 110,
"name": "jc_integrate",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__9 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | qutrit_basis | qutip/states.py | 103 | 112 | [
{
"decorator_line": 43,
"file_path": "qutip/states.py",
"line_end": 100,
"line_start": 43,
"name": "basis",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__10 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | serial | qutip/mcsolve.py | 405 | 411 | [
{
"decorator_line": 391,
"file_path": "qutip/mcsolve.py",
"line_end": 403,
"line_start": 391,
"name": "callback",
"type": "function"
},
{
"decorator_line": 740,
"file_path": "qutip/mcsolve.py",
"line_end": 954,
"line_start": 740,
"name": "_mc_alg_evolve",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__11 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | floquet_master_equation_rates | qutip/floquet.py | 541 | 646 | [
{
"decorator_line": 173,
"file_path": "qutip/floquet.py",
"line_end": 223,
"line_start": 173,
"name": "floquet_modes_table",
"type": "function"
},
{
"decorator_line": 226,
"file_path": "qutip/floquet.py",
"line_end": 265,
"line_start": 226,
"name": "floquet_modes_t_lookup",
"type": "function"
},
{
"decorator_line": 42,
"file_path": "qutip/utilities.py",
"line_end": 76,
"line_start": 42,
"name": "n_thermal",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__12 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | create | qutip/operators.py | 249 | 282 | [
{
"decorator_line": 211,
"file_path": "qutip/operators.py",
"line_end": 242,
"line_start": 211,
"name": "destroy",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__13 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | spost | qutip/superoperator.py | 227 | 247 | [
{
"decorator_line": 1656,
"file_path": "qutip/qobj.py",
"line_end": 1681,
"line_start": 1656,
"name": "isoper",
"type": "function"
},
{
"decorator_line": 56,
"file_path": "qutip/qobj.py",
"line_end": 1368,
"line_start": 56,
"name": "Qobj",
"type": "class"
}
] | 2 |
qutip__qutip__19f0ef63__14 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | test_create | qutip/tests/test_operators.py | 108 | 119 | [
{
"decorator_line": 43,
"file_path": "qutip/states.py",
"line_end": 100,
"line_start": 43,
"name": "basis",
"type": "function"
},
{
"decorator_line": 249,
"file_path": "qutip/operators.py",
"line_end": 282,
"line_start": 249,
"name": "create",
"type": "function"
},
{
"decorator_line": 803,
"file_path": "qutip/qobj.py",
"line_end": 815,
"line_start": 803,
"name": "full",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__15 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | serial | qutip/fortran/mcsolve_f90.py | 291 | 302 | [
{
"decorator_line": 332,
"file_path": "qutip/fortran/mcsolve_f90.py",
"line_end": 399,
"line_start": 332,
"name": "evolve_serial",
"type": "function"
}
] | 1 |
qutip__qutip__19f0ef63__16 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | testRWComplexDecimal | qutip/tests/test_fileio.py | 98 | 109 | [
{
"decorator_line": 42,
"file_path": "qutip/fileio.py",
"line_end": 133,
"line_start": 42,
"name": "file_data_store",
"type": "function"
},
{
"decorator_line": 139,
"file_path": "qutip/fileio.py",
"line_end": 238,
"line_start": 139,
"name": "file_data_read",
"type": "function"
}
] | 2 |
qutip__qutip__19f0ef63__17 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | expm | qutip/qobj.py | 833 | 854 | [
{
"decorator_line": 350,
"file_path": "qutip/sparse.py",
"line_end": 374,
"line_start": 350,
"name": "_sp_expm",
"type": "function"
},
{
"decorator_line": 56,
"file_path": "qutip/qobj.py",
"line_end": 1368,
"line_start": 56,
"name": "Qobj",
"type": "class"
},
{
"decorator_line": 987,
"file_path": "qutip/qobj.py",
"line_end": 1019,
"line_start": 987,
"name": "tidyup",
"type": "function"
}
] | 3 |
qutip__qutip__19f0ef63__18 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | qeye | qutip/operators.py | 289 | 316 | [
{
"decorator_line": 56,
"file_path": "qutip/qobj.py",
"line_end": 1368,
"line_start": 56,
"name": "Qobj",
"type": "class"
}
] | 1 |
qutip__qutip__19f0ef63__19 | qutip/qutip | 19f0ef63cc4566517832663a8a86bb7f8457ddaa | testVectorMatrixIndexCompability | qutip/tests/test_superoperator.py | 87 | 97 | [
{
"decorator_line": 194,
"file_path": "qutip/superoperator.py",
"line_end": 198,
"line_start": 194,
"name": "mat2vec",
"type": "function"
},
{
"decorator_line": 209,
"file_path": "qutip/superoperator.py",
"line_end": 216,
"line_start": 209,
"name": "vec2mat_index",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__0 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | process | angr/engines/hook.py | 28 | 48 | [
{
"decorator_line": 15,
"file_path": "angr/engines/procedure.py",
"line_end": 33,
"line_start": 15,
"name": "process",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__1 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | amd64g_calculate_condition | angr/engines/vex/ccall.py | 798 | 805 | [
{
"decorator_line": 727,
"file_path": "angr/engines/vex/ccall.py",
"line_end": 776,
"line_start": 727,
"name": "pc_calculate_condition_simple",
"type": "function"
},
{
"decorator_line": 518,
"file_path": "angr/engines/vex/ccall.py",
"line_end": 634,
"line_start": 518,
"name": "pc_calculate_condition",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__2 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | test_memset | tests/test_mem_funcs.py | 23 | 28 | [
{
"decorator_line": 83,
"file_path": "angr/project.py",
"line_end": 585,
"line_start": 83,
"name": "Project",
"type": "class"
},
{
"decorator_line": 226,
"file_path": "angr/surveyors/surveyor.py",
"line_end": 258,
"line_start": 226,
"name": "run",
"type": "function"
},
{
"decorator_line": 13,
"file_path": "angr/surveyors/explorer.py",
"line_end": 268,
"line_start": 13,
"name": "Explorer",
"type": "class"
}
] | 3 |
angr__angr__f0e59e9c__3 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | pc_actions_cond_CondBE | angr/engines/vex/ccall.py | 685 | 686 | [
{
"decorator_line": 645,
"file_path": "angr/engines/vex/ccall.py",
"line_end": 646,
"line_start": 645,
"name": "_cond_flag",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__4 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | pre_test | angr/analyses/identifier/functions/based_atoi.py | 89 | 128 | [
{
"decorator_line": 1,
"file_path": "angr/analyses/identifier/func.py",
"line_end": 16,
"line_start": 1,
"name": "TestData",
"type": "class"
},
{
"decorator_line": 13,
"file_path": "angr/analyses/identifier/functions/based_atoi.py",
"line_end": 28,
"line_start": 13,
"name": "int2base",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__5 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | run | angr/procedures/libc/malloc.py | 13 | 26 | [
{
"decorator_line": 544,
"file_path": "angr/sim_type.py",
"line_end": 571,
"line_start": 544,
"name": "SimTypeLength",
"type": "class"
},
{
"decorator_line": 375,
"file_path": "angr/sim_procedure.py",
"line_end": 376,
"line_start": 375,
"name": "ty_ptr",
"type": "function"
},
{
"decorator_line": 95,
"file_path": "angr/sim_type.py",
"line_end": 107,
"line_start": 95,
"name": "SimTypeTop",
"type": "class"
}
] | 3 |
angr__angr__f0e59e9c__6 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | jump | angr/sim_procedure.py | 347 | 352 | [
{
"decorator_line": 366,
"file_path": "angr/sim_procedure.py",
"line_end": 369,
"line_start": 367,
"name": "_exit_action",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__7 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | copy | angr/analyses/cfg/cfg_fast.py | 399 | 409 | [
{
"decorator_line": 73,
"file_path": "angr/analyses/cfg/cfg_fast.py",
"line_end": 433,
"line_start": 73,
"name": "SegmentList",
"type": "class"
},
{
"decorator_line": 63,
"file_path": "angr/analyses/cfg/cfg_fast.py",
"line_end": 70,
"line_start": 63,
"name": "copy",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__8 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | store_mo | angr/storage/paged_memory.py | 69 | 80 | [
{
"decorator_line": 62,
"file_path": "angr/storage/paged_memory.py",
"line_end": 67,
"line_start": 62,
"name": "_resolve_range",
"type": "function"
},
{
"decorator_line": 108,
"file_path": "angr/storage/paged_memory.py",
"line_end": 109,
"line_start": 108,
"name": "store_overwrite",
"type": "function"
},
{
"decorator_line": 111,
"file_path": "angr/storage/paged_memory.py",
"line_end": 112,
"line_start": 111,
"name": "store_underwrite",
"type": "function"
}
] | 3 |
angr__angr__f0e59e9c__9 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | get_value | angr/calling_conventions.py | 93 | 96 | [
{
"decorator_line": 75,
"file_path": "angr/calling_conventions.py",
"line_end": 85,
"line_start": 75,
"name": "_fix_offset",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__10 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | run | angr/procedures/posix/fdopen.py | 32 | 58 | [
{
"decorator_line": 250,
"file_path": "angr/sim_procedure.py",
"line_end": 263,
"line_start": 250,
"name": "inline_call",
"type": "function"
},
{
"decorator_line": 39,
"file_path": "angr/procedures/libc/__init__.py",
"line_end": 45,
"line_start": 39,
"name": "io_file_data_for_arch",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__11 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | ret | angr/sim_procedure.py | 265 | 304 | [
{
"decorator_line": 525,
"file_path": "angr/calling_conventions.py",
"line_end": 557,
"line_start": 525,
"name": "teardown_callsite",
"type": "function"
},
{
"decorator_line": 271,
"file_path": "angr/errors.py",
"line_end": 272,
"line_start": 271,
"name": "SimProcedureError",
"type": "class"
},
{
"decorator_line": 366,
"file_path": "angr/sim_procedure.py",
"line_end": 369,
"line_start": 367,
"name": "_exit_action",
"type": "function"
}
] | 3 |
angr__angr__f0e59e9c__12 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | step | angr/path.py | 764 | 766 | [
{
"decorator_line": 12,
"file_path": "angr/errors.py",
"line_end": 13,
"line_start": 12,
"name": "AngrPathError",
"type": "class"
}
] | 1 |
angr__angr__f0e59e9c__13 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | step_state | angr/exploration_techniques/oppologist.py | 79 | 101 | [
{
"decorator_line": 62,
"file_path": "angr/exploration_techniques/oppologist.py",
"line_end": 77,
"line_start": 62,
"name": "_delayed_oppology",
"type": "function"
},
{
"decorator_line": 31,
"file_path": "angr/exploration_techniques/oppologist.py",
"line_end": 50,
"line_start": 31,
"name": "_oppologize",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__14 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | run_test_multi_open_file | tests/test_multi_open_file.py | 9 | 27 | [
{
"decorator_line": 83,
"file_path": "angr/project.py",
"line_end": 585,
"line_start": 83,
"name": "Project",
"type": "class"
},
{
"decorator_line": 200,
"file_path": "angr/factory.py",
"line_end": 201,
"line_start": 200,
"name": "simgr",
"type": "function"
},
{
"decorator_line": 887,
"file_path": "angr/manager.py",
"line_end": 915,
"line_start": 887,
"name": "explore",
"type": "function"
}
] | 3 |
angr__angr__f0e59e9c__15 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | sort_nodes | angr/analyses/forward_analysis.py | 237 | 244 | [
{
"decorator_line": 112,
"file_path": "angr/analyses/cfg/cfg_utils.py",
"line_end": 170,
"line_start": 113,
"name": "quasi_topological_sort_nodes",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__16 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | prune | angr/surveyors/surveyor.py | 396 | 413 | [
{
"decorator_line": 178,
"file_path": "angr/state_hierarchy.py",
"line_end": 179,
"line_start": 178,
"name": "unreachable_state",
"type": "function"
},
{
"decorator_line": 96,
"file_path": "angr/state_hierarchy.py",
"line_end": 100,
"line_start": 96,
"name": "simplify",
"type": "function"
}
] | 2 |
angr__angr__f0e59e9c__17 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | run | angr/procedures/libc/system.py | 9 | 16 | [
{
"decorator_line": 375,
"file_path": "angr/sim_procedure.py",
"line_end": 376,
"line_start": 375,
"name": "ty_ptr",
"type": "function"
},
{
"decorator_line": 95,
"file_path": "angr/sim_type.py",
"line_end": 107,
"line_start": 95,
"name": "SimTypeTop",
"type": "class"
},
{
"decorator_line": 194,
"file_path": "angr/sim_type.py",
"line_end": 236,
"line_start": 194,
"name": "SimTypeInt",
"type": "class"
}
] | 3 |
angr__angr__f0e59e9c__18 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | pc_actions_SUB_CondNLE | angr/engines/vex/ccall.py | 723 | 724 | [
{
"decorator_line": 645,
"file_path": "angr/engines/vex/ccall.py",
"line_end": 646,
"line_start": 645,
"name": "_cond_flag",
"type": "function"
}
] | 1 |
angr__angr__f0e59e9c__19 | angr/angr | f0e59e9cc65b0e7b1d1df0052e9ed60ba87d83f2 | get_subgraph | angr/analyses/cfg/cfg_accurate.py | 579 | 614 | [
{
"decorator_line": 87,
"file_path": "angr/errors.py",
"line_end": 88,
"line_start": 87,
"name": "AngrCFGError",
"type": "class"
},
{
"decorator_line": 280,
"file_path": "angr/analyses/cfg/cfg_accurate.py",
"line_end": 309,
"line_start": 280,
"name": "copy",
"type": "function"
}
] | 2 |
sherlock-project__sherlock__fba27cd7__0 | sherlock-project/sherlock | fba27cd709d684c0f5a4f644c8db71a3de6b10cb | print_found | sherlock.py | 81 | 86 | [
{
"decorator_line": 77,
"file_path": "sherlock.py",
"line_end": 78,
"line_start": 77,
"name": "format_response_time",
"type": "function"
}
] | 1 |
sherlock-project__sherlock__fba27cd7__1 | sherlock-project/sherlock | fba27cd709d684c0f5a4f644c8db71a3de6b10cb | username_check | tests/base.py | 64 | 106 | [
{
"decorator_line": 40,
"file_path": "tests/base.py",
"line_end": 62,
"line_start": 40,
"name": "site_data_filter",
"type": "function"
},
{
"decorator_line": 114,
"file_path": "sherlock.py",
"line_end": 329,
"line_start": 114,
"name": "sherlock",
"type": "function"
}
] | 2 |
sherlock-project__sherlock__fba27cd7__2 | sherlock-project/sherlock | fba27cd709d684c0f5a4f644c8db71a3de6b10cb | get_response | sherlock.py | 98 | 111 | [
{
"decorator_line": 69,
"file_path": "sherlock.py",
"line_end": 74,
"line_start": 69,
"name": "print_error",
"type": "function"
}
] | 1 |
sherlock-project__sherlock__fba27cd7__3 | sherlock-project/sherlock | fba27cd709d684c0f5a4f644c8db71a3de6b10cb | main | sherlock.py | 332 | 462 | [
{
"decorator_line": 114,
"file_path": "sherlock.py",
"line_end": 329,
"line_start": 114,
"name": "sherlock",
"type": "function"
}
] | 1 |
sherlock-project__sherlock__fba27cd7__4 | sherlock-project/sherlock | fba27cd709d684c0f5a4f644c8db71a3de6b10cb | print_not_found | sherlock.py | 89 | 95 | [
{
"decorator_line": 77,
"file_path": "sherlock.py",
"line_end": 78,
"line_start": 77,
"name": "format_response_time",
"type": "function"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__0 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_confirm_email_clears_unclaimed_records_and_revokes_token | tests/test_views.py | 2,118 | 2,138 | [
{
"decorator_line": 46,
"file_path": "website/util/__init__.py",
"line_end": 64,
"line_start": 46,
"name": "web_url_for",
"type": "function"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__1 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | delete_folder | website/project/views/node.py | 595 | 616 | [
{
"decorator_line": 221,
"file_path": "website/project/decorators.py",
"line_end": 259,
"line_start": 221,
"name": "must_have_permission",
"type": "function"
},
{
"decorator_line": 10,
"file_path": "framework/exceptions/__init__.py",
"line_end": 72,
"line_start": 10,
"name": "HTTPError",
"type": "class"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__2 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | get_cache_content | website/project/views/file.py | 53 | 89 | [
{
"decorator_line": 39,
"file_path": "website/project/views/file.py",
"line_end": 50,
"line_start": 39,
"name": "get_cache_path",
"type": "function"
},
{
"decorator_line": 21,
"file_path": "framework/render/tasks.py",
"line_end": 26,
"line_start": 21,
"name": "ensure_path",
"type": "function"
},
{
"decorator_line": 83,
"file_path": "framework/render/tasks.py",
"line_end": 99,
"line_start": 83,
"name": "build_rendered_html",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__3 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | get_activity_points | framework/auth/core.py | 567 | 569 | [
{
"decorator_line": 36,
"file_path": "framework/analytics/__init__.py",
"line_end": 44,
"line_start": 36,
"name": "get_total_activity_count",
"type": "function"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__4 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_download_render_mode | website/addons/osfstorage/tests/test_views.py | 788 | 809 | [
{
"decorator_line": 373,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 382,
"line_start": 373,
"name": "get_download_count",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "website/addons/osfstorage/tests/utils.py",
"line_end": 26,
"line_start": 14,
"name": "AssertDeltas",
"type": "class"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__5 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | get_upload_url | website/addons/osfstorage/utils.py | 220 | 246 | [
{
"decorator_line": 205,
"file_path": "website/addons/osfstorage/utils.py",
"line_end": 217,
"line_start": 205,
"name": "build_callback_urls",
"type": "function"
},
{
"decorator_line": 163,
"file_path": "website/addons/osfstorage/utils.py",
"line_end": 191,
"line_start": 163,
"name": "make_signed_request",
"type": "function"
},
{
"decorator_line": 147,
"file_path": "website/addons/osfstorage/utils.py",
"line_end": 148,
"line_start": 147,
"name": "choose_upload_url",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__6 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | setUp | tests/webtest_tests.py | 680 | 698 | [
{
"decorator_line": 121,
"file_path": "framework/auth/core.py",
"line_end": 151,
"line_start": 121,
"name": "Auth",
"type": "class"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__7 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | delete | website/addons/s3/model.py | 115 | 117 | [
{
"decorator_line": 98,
"file_path": "website/addons/s3/model.py",
"line_end": 113,
"line_start": 98,
"name": "deauthorize",
"type": "function"
},
{
"decorator_line": 188,
"file_path": "website/addons/base/__init__.py",
"line_end": 192,
"line_start": 188,
"name": "delete",
"type": "function"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__8 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_after_register_copies_stable_records | website/addons/osfstorage/tests/test_models.py | 88 | 106 | [
{
"decorator_line": 173,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 197,
"line_start": 174,
"name": "get_or_create",
"type": "function"
},
{
"decorator_line": 421,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 518,
"line_start": 421,
"name": "OsfStorageFileVersion",
"type": "class"
},
{
"decorator_line": 154,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 171,
"line_start": 155,
"name": "find_by_path",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__9 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_api_url_for | tests/test_utils.py | 53 | 55 | [
{
"decorator_line": 26,
"file_path": "website/util/__init__.py",
"line_end": 43,
"line_start": 26,
"name": "api_url_for",
"type": "function"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__10 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | setUp | website/addons/osfstorage/tests/test_views.py | 280 | 290 | [
{
"decorator_line": 31,
"file_path": "website/addons/osfstorage/tests/utils.py",
"line_end": 41,
"line_start": 31,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 173,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 197,
"line_start": 174,
"name": "get_or_create",
"type": "function"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__11 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | remove_contributors | website/project/model.py | 2,208 | 2,237 | [
{
"decorator_line": 2156,
"file_path": "website/project/model.py",
"line_end": 2206,
"line_start": 2156,
"name": "remove_contributor",
"type": "function"
},
{
"decorator_line": 1885,
"file_path": "website/project/model.py",
"line_end": 1907,
"line_start": 1885,
"name": "add_log",
"type": "function"
},
{
"decorator_line": 893,
"file_path": "website/project/model.py",
"line_end": 971,
"line_start": 893,
"name": "save",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__12 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_wiki_url_for_pointer_returns_200 | website/addons/wiki/tests/test_wiki.py | 48 | 54 | [
{
"decorator_line": 121,
"file_path": "framework/auth/core.py",
"line_end": 151,
"line_start": 121,
"name": "Auth",
"type": "class"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__13 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | shell | tasks.py | 133 | 153 | [
{
"decorator_line": 90,
"file_path": "tasks.py",
"line_end": 121,
"line_start": 90,
"name": "make_shell_context",
"type": "function"
},
{
"decorator_line": 124,
"file_path": "tasks.py",
"line_end": 129,
"line_start": 124,
"name": "format_context",
"type": "function"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__14 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | create_article | website/addons/figshare/api.py | 182 | 196 | [
{
"decorator_line": 85,
"file_path": "website/addons/figshare/api.py",
"line_end": 113,
"line_start": 85,
"name": "_send_with_data",
"type": "function"
},
{
"decorator_line": 252,
"file_path": "website/addons/figshare/api.py",
"line_end": 257,
"line_start": 252,
"name": "create_temp_file",
"type": "function"
},
{
"decorator_line": 172,
"file_path": "website/addons/figshare/api.py",
"line_end": 175,
"line_start": 172,
"name": "article",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__15 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | addon_requirements | tasks.py | 344 | 359 | [
{
"decorator_line": 25,
"file_path": "tasks.py",
"line_end": 28,
"line_start": 25,
"name": "bin_prefix",
"type": "function"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__16 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | to_project_root | website/util/rubeus.py | 64 | 65 | [
{
"decorator_line": 242,
"file_path": "website/util/rubeus.py",
"line_end": 244,
"line_start": 242,
"name": "get_root",
"type": "function"
},
{
"decorator_line": 145,
"file_path": "website/util/rubeus.py",
"line_end": 391,
"line_start": 145,
"name": "NodeProjectCollector",
"type": "class"
}
] | 2 |
CenterForOpenScience__osf.io__ce48dc2d__17 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_migrate_corrupt_fork_repo_deleted | scripts/osfstorage/migrate_files.py | 258 | 268 | [
{
"decorator_line": 166,
"file_path": "scripts/osfstorage/migrate_files.py",
"line_end": 175,
"line_start": 166,
"name": "main",
"type": "function"
},
{
"decorator_line": 154,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 171,
"line_start": 155,
"name": "find_by_path",
"type": "function"
},
{
"decorator_line": 218,
"file_path": "scripts/osfstorage/migrate_files.py",
"line_end": 226,
"line_start": 218,
"name": "check_record",
"type": "function"
}
] | 3 |
CenterForOpenScience__osf.io__ce48dc2d__18 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_correct_name_shows_in_contributor_list | tests/webtest_tests.py | 807 | 819 | [
{
"decorator_line": 121,
"file_path": "framework/auth/core.py",
"line_end": 151,
"line_start": 121,
"name": "Auth",
"type": "class"
}
] | 1 |
CenterForOpenScience__osf.io__ce48dc2d__19 | CenterForOpenScience/osf.io | ce48dc2dc7ef27912e5f374de1b5557c0ae4427c | test_fields | website/addons/osfstorage/tests/test_models.py | 830 | 835 | [
{
"decorator_line": 541,
"file_path": "website/addons/osfstorage/model.py",
"line_end": 568,
"line_start": 541,
"name": "OsfStorageGuidFile",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "framework/guid/model.py",
"line_end": 62,
"line_start": 59,
"name": "save",
"type": "function"
}
] | 2 |
psf__black__4dfec562__0 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | prefix | blib2to3/pytree.py | 391 | 393 | [
{
"decorator_line": 132,
"file_path": "blib2to3/pytree.py",
"line_end": 135,
"line_start": 132,
"name": "changed",
"type": "function"
}
] | 1 |
psf__black__4dfec562__1 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | split_wrapper | black.py | 1,638 | 1,641 | [
{
"decorator_line": 1631,
"file_path": "black.py",
"line_end": 1643,
"line_start": 1631,
"name": "dont_increase_indentation",
"type": "function"
},
{
"decorator_line": 1757,
"file_path": "black.py",
"line_end": 1772,
"line_start": 1757,
"name": "normalize_prefix",
"type": "function"
}
] | 2 |
psf__black__4dfec562__2 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | schedule_formatting | black.py | 175 | 218 | [
{
"decorator_line": 1821,
"file_path": "black.py",
"line_end": 1890,
"line_start": 1822,
"name": "Report",
"type": "class"
},
{
"decorator_line": 1839,
"file_path": "black.py",
"line_end": 1842,
"line_start": 1839,
"name": "failed",
"type": "function"
},
{
"decorator_line": 1829,
"file_path": "black.py",
"line_end": 1837,
"line_start": 1829,
"name": "done",
"type": "function"
}
] | 3 |
psf__black__4dfec562__3 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | bracket_split_succeeded_or_raise | black.py | 1,605 | 1,628 | [
{
"decorator_line": 58,
"file_path": "black.py",
"line_end": 63,
"line_start": 58,
"name": "CannotSplit",
"type": "class"
}
] | 1 |
psf__black__4dfec562__4 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | standalone_comment_split | black.py | 1,710 | 1,740 | [
{
"decorator_line": 58,
"file_path": "black.py",
"line_end": 63,
"line_start": 58,
"name": "CannotSplit",
"type": "class"
},
{
"decorator_line": 537,
"file_path": "black.py",
"line_end": 802,
"line_start": 538,
"name": "Line",
"type": "class"
}
] | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.