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 |
|---|---|---|---|---|---|---|---|---|
psf__black__4dfec562__5 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | test_python2 | tests/test_black.py | 201 | 206 | [
{
"decorator_line": 26,
"file_path": "tests/test_black.py",
"line_end": 45,
"line_start": 26,
"name": "read_data",
"type": "function"
},
{
"decorator_line": 51,
"file_path": "tests/test_black.py",
"line_end": 68,
"line_start": 51,
"name": "assertFormatEqual",
"typ... | 3 |
psf__black__4dfec562__6 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | append_to_line | black.py | 1,670 | 1,679 | [
{
"decorator_line": 537,
"file_path": "black.py",
"line_end": 802,
"line_start": 538,
"name": "Line",
"type": "class"
}
] | 1 |
psf__black__4dfec562__7 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | show | black.py | 406 | 412 | [
{
"decorator_line": 381,
"file_path": "black.py",
"line_end": 412,
"line_start": 382,
"name": "DebugVisitor",
"type": "class"
},
{
"decorator_line": 318,
"file_path": "black.py",
"line_end": 343,
"line_start": 318,
"name": "lib2to3_parse",
"type": "function"
}
] | 2 |
psf__black__4dfec562__8 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | delimiter_split | black.py | 1,647 | 1,706 | [
{
"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"
},
{
"decorat... | 3 |
psf__black__4dfec562__9 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | is_python36 | black.py | 1,775 | 1,797 | [
{
"decorator_line": 267,
"file_path": "blib2to3/pytree.py",
"line_end": 271,
"line_start": 267,
"name": "pre_order",
"type": "function"
}
] | 1 |
psf__black__4dfec562__10 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | test_debug_visitor | tests/test_black.py | 310 | 332 | [
{
"decorator_line": 26,
"file_path": "tests/test_black.py",
"line_end": 45,
"line_start": 26,
"name": "read_data",
"type": "function"
},
{
"decorator_line": 1972,
"file_path": "black.py",
"line_end": 1982,
"line_start": 1972,
"name": "dump_to_file",
"type": "funct... | 2 |
psf__black__4dfec562__11 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | run | blib2to3/pgen2/conv.py | 46 | 50 | [
{
"decorator_line": 52,
"file_path": "blib2to3/pgen2/conv.py",
"line_end": 81,
"line_start": 52,
"name": "parse_graminit_h",
"type": "function"
},
{
"decorator_line": 83,
"file_path": "blib2to3/pgen2/conv.py",
"line_end": 246,
"line_start": 83,
"name": "parse_graminit... | 3 |
psf__black__4dfec562__12 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | insert_child | blib2to3/pytree.py | 297 | 304 | [
{
"decorator_line": 132,
"file_path": "blib2to3/pytree.py",
"line_end": 135,
"line_start": 132,
"name": "changed",
"type": "function"
}
] | 1 |
psf__black__4dfec562__13 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | optimize | blib2to3/pytree.py | 654 | 671 | [
{
"decorator_line": 544,
"file_path": "blib2to3/pytree.py",
"line_end": 602,
"line_start": 544,
"name": "NodePattern",
"type": "class"
},
{
"decorator_line": 605,
"file_path": "blib2to3/pytree.py",
"line_end": 790,
"line_start": 605,
"name": "WildcardPattern",
"ty... | 2 |
psf__black__4dfec562__14 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | left_hand_split | black.py | 1,523 | 1,563 | [
{
"decorator_line": 537,
"file_path": "black.py",
"line_end": 802,
"line_start": 538,
"name": "Line",
"type": "class"
},
{
"decorator_line": 1757,
"file_path": "black.py",
"line_end": 1772,
"line_start": 1757,
"name": "normalize_prefix",
"type": "function"
},
... | 3 |
psf__black__4dfec562__15 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | make_first | blib2to3/pgen2/pgen.py | 51 | 58 | [
{
"decorator_line": 60,
"file_path": "blib2to3/pgen2/pgen.py",
"line_end": 104,
"line_start": 60,
"name": "make_label",
"type": "function"
}
] | 1 |
psf__black__4dfec562__16 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | lib2to3_parse | black.py | 318 | 343 | [
{
"decorator_line": 29,
"file_path": "blib2to3/pgen2/driver.py",
"line_end": 108,
"line_start": 29,
"name": "Driver",
"type": "class"
},
{
"decorator_line": 206,
"file_path": "blib2to3/pytree.py",
"line_end": 313,
"line_start": 206,
"name": "Node",
"type": "class"... | 2 |
psf__black__4dfec562__17 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | assert_stable | black.py | 1,956 | 1,969 | [
{
"decorator_line": 287,
"file_path": "black.py",
"line_end": 307,
"line_start": 287,
"name": "format_str",
"type": "function"
},
{
"decorator_line": 1972,
"file_path": "black.py",
"line_end": 1982,
"line_start": 1972,
"name": "dump_to_file",
"type": "function"
... | 3 |
psf__black__4dfec562__18 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | parse_stream | blib2to3/pgen2/driver.py | 96 | 98 | [
{
"decorator_line": 91,
"file_path": "blib2to3/pgen2/driver.py",
"line_end": 94,
"line_start": 91,
"name": "parse_stream_raw",
"type": "function"
}
] | 1 |
psf__black__4dfec562__19 | psf/black | 4dfec562ed3332212cb938d6d4da9671b503ac93 | untokenize | blib2to3/pgen2/tokenize.py | 339 | 358 | [
{
"decorator_line": 196,
"file_path": "blib2to3/pgen2/tokenize.py",
"line_end": 250,
"line_start": 196,
"name": "Untokenizer",
"type": "class"
},
{
"decorator_line": 210,
"file_path": "blib2to3/pgen2/tokenize.py",
"line_end": 222,
"line_start": 210,
"name": "untokeniz... | 2 |
mantl__mantl__4bb70e1d__0 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | parse_list | plugins/inventory/terraform.py | 114 | 115 | [
{
"decorator_line": 82,
"file_path": "plugins/inventory/terraform.py",
"line_end": 92,
"line_start": 82,
"name": "_parse_prefix",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__1 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | read_callback | roles/marathon/files/marathon-collectd-plugin.py | 44 | 56 | [
{
"decorator_line": 73,
"file_path": "roles/marathon/files/marathon-collectd-plugin.py",
"line_end": 76,
"line_start": 73,
"name": "log_verbose",
"type": "function"
},
{
"decorator_line": 59,
"file_path": "roles/marathon/files/marathon-collectd-plugin.py",
"line_end": 70,
... | 2 |
mantl__mantl__4bb70e1d__2 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | configure_callback | roles/marathon/files/marathon-collectd-plugin.py | 26 | 41 | [
{
"decorator_line": 73,
"file_path": "roles/marathon/files/marathon-collectd-plugin.py",
"line_end": 76,
"line_start": 73,
"name": "log_verbose",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__3 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | test_publicly_routable | tests/inventory/terraform/test_common.py | 29 | 40 | [
{
"decorator_line": 10,
"file_path": "tests/inventory/terraform/test_common.py",
"line_end": 14,
"line_start": 10,
"name": "mirror",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__4 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | inner | plugins/inventory/terraform.py | 64 | 77 | [
{
"decorator_line": 60,
"file_path": "plugins/inventory/terraform.py",
"line_end": 79,
"line_start": 60,
"name": "calculate_mi_vars",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__5 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | parse_attr_list | plugins/inventory/terraform.py | 95 | 107 | [
{
"decorator_line": 82,
"file_path": "plugins/inventory/terraform.py",
"line_end": 92,
"line_start": 82,
"name": "_parse_prefix",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__6 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | test_attrs | tests/inventory/terraform/test_common.py | 20 | 25 | [
{
"decorator_line": 10,
"file_path": "tests/inventory/terraform/test_common.py",
"line_end": 14,
"line_start": 10,
"name": "mirror",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__7 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | dispatch_stat | roles/marathon/files/marathon-collectd-plugin.py | 59 | 70 | [
{
"decorator_line": 73,
"file_path": "roles/marathon/files/marathon-collectd-plugin.py",
"line_end": 76,
"line_start": 73,
"name": "log_verbose",
"type": "function"
}
] | 1 |
mantl__mantl__4bb70e1d__8 | mantl/mantl | 4bb70e1d1bbe1d090d9bc3687fa2e8551fdcb39a | parse_dict | plugins/inventory/terraform.py | 110 | 111 | [
{
"decorator_line": 82,
"file_path": "plugins/inventory/terraform.py",
"line_end": 92,
"line_start": 82,
"name": "_parse_prefix",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__0 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | clear | werkzeug/datastructures.py | 182 | 183 | [
{
"decorator_line": 26,
"file_path": "werkzeug/datastructures.py",
"line_end": 27,
"line_start": 26,
"name": "is_immutable",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__1 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | test_basic | werkzeug/testsuite/datastructures.py | 33 | 57 | [
{
"decorator_line": 49,
"file_path": "werkzeug/datastructures.py",
"line_end": 64,
"line_start": 49,
"name": "native_itermethods",
"type": "function"
},
{
"decorator_line": 80,
"file_path": "werkzeug/testsuite/__init__.py",
"line_end": 81,
"line_start": 80,
"name": "a... | 2 |
pallets__werkzeug__e5e0da4b__2 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | test_redirect_path_quoting | werkzeug/testsuite/routing.py | 638 | 652 | [
{
"decorator_line": 1002,
"file_path": "werkzeug/routing.py",
"line_end": 1238,
"line_start": 1002,
"name": "Map",
"type": "class"
},
{
"decorator_line": 419,
"file_path": "werkzeug/routing.py",
"line_end": 824,
"line_start": 420,
"name": "Rule",
"type": "class"
... | 3 |
pallets__werkzeug__e5e0da4b__3 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | plaintext | werkzeug/debug/tbtools.py | 357 | 358 | [
{
"decorator_line": 345,
"file_path": "werkzeug/debug/tbtools.py",
"line_end": 355,
"line_start": 345,
"name": "generate_plaintext_traceback",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__4 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | to_header | werkzeug/datastructures.py | 2,158 | 2,164 | [
{
"decorator_line": 717,
"file_path": "werkzeug/http.py",
"line_end": 728,
"line_start": 717,
"name": "http_date",
"type": "function"
},
{
"decorator_line": 581,
"file_path": "werkzeug/http.py",
"line_end": 592,
"line_start": 581,
"name": "quote_etag",
"type": "fu... | 2 |
pallets__werkzeug__e5e0da4b__5 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | test_setlistdefault | werkzeug/testsuite/datastructures.py | 359 | 363 | [
{
"decorator_line": 80,
"file_path": "werkzeug/testsuite/__init__.py",
"line_end": 81,
"line_start": 80,
"name": "assert_equal",
"type": "function"
},
{
"decorator_line": 470,
"file_path": "werkzeug/datastructures.py",
"line_end": 492,
"line_start": 470,
"name": "setl... | 3 |
pallets__werkzeug__e5e0da4b__6 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | content_length | werkzeug/wrappers.py | 1,545 | 1,551 | [
{
"decorator_line": 156,
"file_path": "werkzeug/wsgi.py",
"line_end": 169,
"line_start": 156,
"name": "get_content_length",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__7 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | set_init_version | scripts/make-release.py | 77 | 79 | [
{
"decorator_line": 96,
"file_path": "scripts/make-release.py",
"line_end": 97,
"line_start": 96,
"name": "info",
"type": "function"
},
{
"decorator_line": 60,
"file_path": "scripts/make-release.py",
"line_end": 74,
"line_start": 60,
"name": "set_filename_version",
... | 2 |
pallets__werkzeug__e5e0da4b__8 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | test_uri_to_iri_to_uri | werkzeug/testsuite/urls.py | 291 | 294 | [
{
"decorator_line": 499,
"file_path": "werkzeug/urls.py",
"line_end": 528,
"line_start": 499,
"name": "uri_to_iri",
"type": "function"
},
{
"decorator_line": 80,
"file_path": "werkzeug/testsuite/__init__.py",
"line_end": 81,
"line_start": 80,
"name": "assert_equal",
... | 3 |
pallets__werkzeug__e5e0da4b__9 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | render_template | examples/plnt/utils.py | 65 | 69 | [
{
"decorator_line": 1798,
"file_path": "werkzeug/wrappers.py",
"line_end": 1807,
"line_start": 1798,
"name": "Response",
"type": "class"
}
] | 1 |
pallets__werkzeug__e5e0da4b__10 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | add_file | werkzeug/datastructures.py | 1,439 | 1,460 | [
{
"decorator_line": 2498,
"file_path": "werkzeug/datastructures.py",
"line_end": 2623,
"line_start": 2498,
"name": "FileStorage",
"type": "class"
},
{
"decorator_line": 402,
"file_path": "werkzeug/datastructures.py",
"line_end": 410,
"line_start": 402,
"name": "add",
... | 2 |
pallets__werkzeug__e5e0da4b__11 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | test_compat | werkzeug/testsuite/contrib/cache.py | 184 | 187 | [
{
"decorator_line": 178,
"file_path": "werkzeug/testsuite/contrib/cache.py",
"line_end": 179,
"line_start": 178,
"name": "make_cache",
"type": "function"
},
{
"decorator_line": 80,
"file_path": "werkzeug/testsuite/__init__.py",
"line_end": 81,
"line_start": 80,
"name"... | 3 |
pallets__werkzeug__e5e0da4b__12 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | injecting_start_response | werkzeug/_internal.py | 386 | 388 | [
{
"decorator_line": 385,
"file_path": "werkzeug/_internal.py",
"line_end": 410,
"line_start": 385,
"name": "easteregged",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__13 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | write | werkzeug/debug/console.py | 57 | 58 | [
{
"decorator_line": 52,
"file_path": "werkzeug/debug/console.py",
"line_end": 55,
"line_start": 52,
"name": "_write",
"type": "function"
},
{
"decorator_line": 291,
"file_path": "werkzeug/utils.py",
"line_end": 313,
"line_start": 291,
"name": "escape",
"type": "fu... | 2 |
pallets__werkzeug__e5e0da4b__14 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | run | werkzeug/script.py | 97 | 176 | [
{
"decorator_line": 185,
"file_path": "werkzeug/script.py",
"line_end": 191,
"line_start": 185,
"name": "find_actions",
"type": "function"
},
{
"decorator_line": 194,
"file_path": "werkzeug/script.py",
"line_end": 218,
"line_start": 194,
"name": "print_usage",
"ty... | 3 |
pallets__werkzeug__e5e0da4b__15 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | not_found | examples/shorty/views.py | 50 | 51 | [
{
"decorator_line": 41,
"file_path": "examples/shorty/utils.py",
"line_end": 43,
"line_start": 41,
"name": "render_template",
"type": "function"
}
] | 1 |
pallets__werkzeug__e5e0da4b__16 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | to_iri_tuple | werkzeug/urls.py | 165 | 174 | [
{
"decorator_line": 325,
"file_path": "werkzeug/urls.py",
"line_end": 370,
"line_start": 325,
"name": "url_parse",
"type": "function"
},
{
"decorator_line": 499,
"file_path": "werkzeug/urls.py",
"line_end": 528,
"line_start": 499,
"name": "uri_to_iri",
"type": "fu... | 2 |
pallets__werkzeug__e5e0da4b__17 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | handle | werkzeug/serving.py | 195 | 207 | [
{
"decorator_line": 223,
"file_path": "werkzeug/serving.py",
"line_end": 226,
"line_start": 223,
"name": "connection_dropped",
"type": "function"
},
{
"decorator_line": 352,
"file_path": "werkzeug/serving.py",
"line_end": 357,
"line_start": 352,
"name": "is_ssl_error"... | 3 |
pallets__werkzeug__e5e0da4b__18 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | make_wiki | examples/manage-simplewiki.py | 15 | 19 | [
{
"decorator_line": 26,
"file_path": "examples/simplewiki/application.py",
"line_end": 97,
"line_start": 26,
"name": "SimpleWiki",
"type": "class"
}
] | 1 |
pallets__werkzeug__e5e0da4b__19 | pallets/werkzeug | e5e0da4bbf8082521739222f0c48361a09ba497e | set_many | werkzeug/contrib/cache.py | 562 | 569 | [
{
"decorator_line": 73,
"file_path": "werkzeug/contrib/cache.py",
"line_end": 86,
"line_start": 73,
"name": "_items",
"type": "function"
},
{
"decorator_line": 515,
"file_path": "werkzeug/contrib/cache.py",
"line_end": 522,
"line_start": 515,
"name": "dump_object",
... | 2 |
spack__spack__26b3d15e__0 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | has_a_default | var/spack/mock_packages/multimethod/package.py | 93 | 94 | [
{
"decorator_line": 195,
"file_path": "lib/spack/spack/multimethod.py",
"line_end": 210,
"line_start": 195,
"name": "when",
"type": "class"
}
] | 1 |
spack__spack__26b3d15e__1 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | close | lib/spack/external/yaml/serializer.py | 35 | 40 | [
{
"decorator_line": 7,
"file_path": "lib/spack/external/yaml/serializer.py",
"line_end": 8,
"line_start": 7,
"name": "SerializerError",
"type": "class"
},
{
"decorator_line": 41,
"file_path": "lib/spack/external/yaml/events.py",
"line_end": 42,
"line_start": 41,
"name... | 2 |
spack__spack__26b3d15e__2 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | expect | lib/spack/spack/parse.py | 106 | 115 | [
{
"decorator_line": 87,
"file_path": "lib/spack/spack/parse.py",
"line_end": 93,
"line_start": 87,
"name": "accept",
"type": "function"
},
{
"decorator_line": 103,
"file_path": "lib/spack/spack/parse.py",
"line_end": 104,
"line_start": 103,
"name": "unexpected_token",... | 3 |
spack__spack__26b3d15e__3 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | represent_module | lib/spack/external/yaml/representer.py | 341 | 343 | [
{
"decorator_line": 85,
"file_path": "lib/spack/external/yaml/representer.py",
"line_end": 91,
"line_start": 85,
"name": "represent_scalar",
"type": "function"
}
] | 1 |
spack__spack__26b3d15e__4 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | install | var/spack/packages/fftw/package.py | 80 | 94 | [
{
"decorator_line": 70,
"file_path": "var/spack/packages/fftw/package.py",
"line_end": 72,
"line_start": 70,
"name": "check_fortran_availability",
"type": "function"
},
{
"decorator_line": 74,
"file_path": "var/spack/packages/fftw/package.py",
"line_end": 78,
"line_start"... | 2 |
spack__spack__26b3d15e__5 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | intersection | lib/spack/spack/version.py | 452 | 479 | [
{
"decorator_line": 407,
"file_path": "lib/spack/spack/version.py",
"line_end": 414,
"line_start": 408,
"name": "overlaps",
"type": "function"
},
{
"decorator_line": 299,
"file_path": "lib/spack/spack/version.py",
"line_end": 497,
"line_start": 300,
"name": "VersionRa... | 3 |
spack__spack__26b3d15e__6 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | different_by_architecture | var/spack/mock_packages/multimethod/package.py | 118 | 119 | [
{
"decorator_line": 195,
"file_path": "lib/spack/spack/multimethod.py",
"line_end": 210,
"line_start": 195,
"name": "when",
"type": "class"
}
] | 1 |
spack__spack__26b3d15e__7 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | parse_flow_sequence_entry_mapping_key | lib/spack/external/yaml/parser.py | 501 | 509 | [
{
"decorator_line": 266,
"file_path": "lib/spack/external/yaml/parser.py",
"line_end": 267,
"line_start": 266,
"name": "parse_flow_node",
"type": "function"
},
{
"decorator_line": 586,
"file_path": "lib/spack/external/yaml/parser.py",
"line_end": 587,
"line_start": 586,
... | 2 |
spack__spack__26b3d15e__8 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | union | lib/spack/spack/version.py | 418 | 448 | [
{
"decorator_line": 407,
"file_path": "lib/spack/spack/version.py",
"line_end": 414,
"line_start": 408,
"name": "overlaps",
"type": "function"
},
{
"decorator_line": 299,
"file_path": "lib/spack/spack/version.py",
"line_end": 497,
"line_start": 300,
"name": "VersionRa... | 3 |
spack__spack__26b3d15e__9 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | parse_stream_start | lib/spack/external/yaml/parser.py | 126 | 136 | [
{
"decorator_line": 35,
"file_path": "lib/spack/external/yaml/events.py",
"line_end": 39,
"line_start": 35,
"name": "StreamStartEvent",
"type": "class"
}
] | 1 |
spack__spack__26b3d15e__10 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | reset | lib/spack/spack/fetch_strategy.py | 537 | 540 | [
{
"decorator_line": 518,
"file_path": "lib/spack/spack/fetch_strategy.py",
"line_end": 529,
"line_start": 518,
"name": "_remove_untracked_files",
"type": "function"
},
{
"decorator_line": 492,
"file_path": "lib/spack/spack/fetch_strategy.py",
"line_end": 496,
"line_start"... | 2 |
spack__spack__26b3d15e__11 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | parse_indentless_sequence_entry | lib/spack/external/yaml/parser.py | 401 | 414 | [
{
"decorator_line": 263,
"file_path": "lib/spack/external/yaml/parser.py",
"line_end": 264,
"line_start": 263,
"name": "parse_block_node",
"type": "function"
},
{
"decorator_line": 586,
"file_path": "lib/spack/external/yaml/parser.py",
"line_end": 587,
"line_start": 586,
... | 3 |
spack__spack__26b3d15e__12 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | acquire_read | lib/spack/llnl/util/lock.py | 90 | 107 | [
{
"decorator_line": 45,
"file_path": "lib/spack/llnl/util/lock.py",
"line_end": 75,
"line_start": 45,
"name": "_lock",
"type": "function"
}
] | 1 |
spack__spack__26b3d15e__13 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | acquire_read | lib/spack/spack/test/lock.py | 74 | 78 | [
{
"decorator_line": 37,
"file_path": "lib/spack/llnl/util/lock.py",
"line_end": 169,
"line_start": 37,
"name": "Lock",
"type": "class"
},
{
"decorator_line": 90,
"file_path": "lib/spack/llnl/util/lock.py",
"line_end": 107,
"line_start": 90,
"name": "acquire_read",
... | 2 |
spack__spack__26b3d15e__14 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | graph_ascii | lib/spack/spack/graph.py | 485 | 498 | [
{
"decorator_line": 266,
"file_path": "lib/spack/llnl/util/lang.py",
"line_end": 285,
"line_start": 266,
"name": "check_kwargs",
"type": "function"
},
{
"decorator_line": 132,
"file_path": "lib/spack/spack/graph.py",
"line_end": 482,
"line_start": 132,
"name": "AsciiG... | 3 |
spack__spack__26b3d15e__15 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | parse_flow_mapping_first_key | lib/spack/external/yaml/parser.py | 536 | 539 | [
{
"decorator_line": 541,
"file_path": "lib/spack/external/yaml/parser.py",
"line_end": 566,
"line_start": 541,
"name": "parse_flow_mapping_key",
"type": "function"
}
] | 1 |
spack__spack__26b3d15e__16 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | deactivate | lib/spack/spack/cmd/deactivate.py | 45 | 91 | [
{
"decorator_line": 495,
"file_path": "lib/spack/spack/database.py",
"line_end": 506,
"line_start": 496,
"name": "installed_extensions_for",
"type": "function"
},
{
"decorator_line": 74,
"file_path": "lib/spack/spack/graph.py",
"line_end": 110,
"line_start": 74,
"name... | 2 |
spack__spack__26b3d15e__17 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | format_usage | lib/spack/external/argparse.py | 2,311 | 2,315 | [
{
"decorator_line": 2350,
"file_path": "lib/spack/external/argparse.py",
"line_end": 2351,
"line_start": 2350,
"name": "_get_formatter",
"type": "function"
},
{
"decorator_line": 290,
"file_path": "lib/spack/external/argparse.py",
"line_end": 293,
"line_start": 290,
"... | 3 |
spack__spack__26b3d15e__18 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | emit | lib/spack/external/yaml/emitter.py | 110 | 115 | [
{
"decorator_line": 119,
"file_path": "lib/spack/external/yaml/emitter.py",
"line_end": 130,
"line_start": 119,
"name": "need_more_events",
"type": "function"
}
] | 1 |
spack__spack__26b3d15e__19 | spack/spack | 26b3d15ea068b4c95b408b9820bf812729be379c | post_uninstall | lib/spack/spack/hooks/dotkit.py | 32 | 34 | [
{
"decorator_line": 189,
"file_path": "lib/spack/spack/modules.py",
"line_end": 223,
"line_start": 189,
"name": "Dotkit",
"type": "class"
},
{
"decorator_line": 183,
"file_path": "lib/spack/spack/modules.py",
"line_end": 186,
"line_start": 183,
"name": "remove",
"... | 2 |
dask__dask__97beea6c__0 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_take | dask/bag/tests/test_bag.py | 145 | 146 | [
{
"decorator_line": 324,
"file_path": "dask/bag/core.py",
"line_end": 327,
"line_start": 324,
"name": "take",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__1 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_get_stack_limit | dask/tests/test_core.py | 109 | 116 | [
{
"decorator_line": 90,
"file_path": "dask/core.py",
"line_end": 128,
"line_start": 90,
"name": "get",
"type": "function"
},
{
"decorator_line": 2,
"file_path": "dask/utils.py",
"line_end": 7,
"line_start": 2,
"name": "raises",
"type": "function"
}
] | 2 |
dask__dask__97beea6c__2 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | to_networkx | dask/dot.py | 15 | 43 | [
{
"decorator_line": 26,
"file_path": "dask/core.py",
"line_end": 40,
"line_start": 26,
"name": "istask",
"type": "function"
},
{
"decorator_line": 7,
"file_path": "dask/dot.py",
"line_end": 12,
"line_start": 7,
"name": "make_hashable",
"type": "function"
},
{
... | 3 |
dask__dask__97beea6c__3 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | resize | dask/array/into.py | 91 | 94 | [
{
"decorator_line": 96,
"file_path": "dask/array/into.py",
"line_end": 98,
"line_start": 97,
"name": "resize",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__4 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | state_to_networkx | dask/async.py | 496 | 504 | [
{
"decorator_line": 473,
"file_path": "dask/async.py",
"line_end": 493,
"line_start": 473,
"name": "color_nodes",
"type": "function"
},
{
"decorator_line": 15,
"file_path": "dask/dot.py",
"line_end": 43,
"line_start": 15,
"name": "to_networkx",
"type": "function"
... | 2 |
dask__dask__97beea6c__5 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_insert_to_ooc | dask/array/tests/test_into_array.py | 54 | 62 | [
{
"decorator_line": 56,
"file_path": "dask/array/into.py",
"line_end": 68,
"line_start": 56,
"name": "insert_to_ooc",
"type": "function"
},
{
"decorator_line": 90,
"file_path": "dask/core.py",
"line_end": 128,
"line_start": 90,
"name": "get",
"type": "function"
... | 3 |
dask__dask__97beea6c__6 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | pluck | dask/bag/core.py | 176 | 182 | [
{
"decorator_line": 77,
"file_path": "dask/bag/core.py",
"line_end": 338,
"line_start": 77,
"name": "Bag",
"type": "class"
}
] | 1 |
dask__dask__97beea6c__7 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | visualize | dask/async.py | 466 | 470 | [
{
"decorator_line": 496,
"file_path": "dask/async.py",
"line_end": 504,
"line_start": 496,
"name": "state_to_networkx",
"type": "function"
},
{
"decorator_line": 46,
"file_path": "dask/dot.py",
"line_end": 54,
"line_start": 46,
"name": "write_networkx_to_dot",
"ty... | 2 |
dask__dask__97beea6c__8 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | get | dask/core.py | 90 | 128 | [
{
"decorator_line": 8,
"file_path": "dask/core.py",
"line_end": 23,
"line_start": 8,
"name": "ishashable",
"type": "function"
},
{
"decorator_line": 26,
"file_path": "dask/core.py",
"line_end": 40,
"line_start": 26,
"name": "istask",
"type": "function"
},
{
... | 3 |
dask__dask__97beea6c__9 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_get_dependencies_nested | dask/tests/test_core.py | 89 | 93 | [
{
"decorator_line": 161,
"file_path": "dask/core.py",
"line_end": 203,
"line_start": 161,
"name": "get_dependencies",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__10 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_product | dask/bag/tests/test_bag.py | 177 | 185 | [
{
"decorator_line": 285,
"file_path": "dask/bag/core.py",
"line_end": 294,
"line_start": 285,
"name": "product",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "dask/bag/core.py",
"line_end": 156,
"line_start": 119,
"name": "from_sequence",
"type": "f... | 2 |
dask__dask__97beea6c__11 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | start_state_from_dask | dask/async.py | 114 | 170 | [
{
"decorator_line": 26,
"file_path": "dask/core.py",
"line_end": 40,
"line_start": 26,
"name": "istask",
"type": "function"
},
{
"decorator_line": 161,
"file_path": "dask/core.py",
"line_end": 203,
"line_start": 161,
"name": "get_dependencies",
"type": "function"
... | 3 |
dask__dask__97beea6c__12 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_reductions | dask/bag/tests/test_bag.py | 84 | 90 | [
{
"decorator_line": 241,
"file_path": "dask/bag/core.py",
"line_end": 242,
"line_start": 241,
"name": "count",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__13 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | functions_of | dask/optimize.py | 176 | 189 | [
{
"decorator_line": 26,
"file_path": "dask/core.py",
"line_end": 40,
"line_start": 26,
"name": "istask",
"type": "function"
},
{
"decorator_line": 192,
"file_path": "dask/optimize.py",
"line_end": 195,
"line_start": 192,
"name": "unwrap_partial",
"type": "function... | 2 |
dask__dask__97beea6c__14 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_flatten | dask/tests/test_core.py | 119 | 120 | [
{
"decorator_line": 206,
"file_path": "dask/core.py",
"line_end": 229,
"line_start": 206,
"name": "flatten",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__15 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | cull | dask/optimize.py | 4 | 29 | [
{
"decorator_line": 206,
"file_path": "dask/core.py",
"line_end": 229,
"line_start": 206,
"name": "flatten",
"type": "function"
},
{
"decorator_line": 161,
"file_path": "dask/core.py",
"line_end": 203,
"line_start": 161,
"name": "get_dependencies",
"type": "functi... | 2 |
dask__dask__97beea6c__16 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_foldby | dask/bag/tests/test_bag.py | 106 | 111 | [
{
"decorator_line": 296,
"file_path": "dask/bag/core.py",
"line_end": 322,
"line_start": 296,
"name": "foldby",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__17 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | store_Array_in_ooc_data | dask/array/into.py | 72 | 82 | [
{
"decorator_line": 56,
"file_path": "dask/array/into.py",
"line_end": 68,
"line_start": 56,
"name": "insert_to_ooc",
"type": "function"
},
{
"decorator_line": 96,
"file_path": "dask/array/into.py",
"line_end": 98,
"line_start": 97,
"name": "resize",
"type": "func... | 2 |
dask__dask__97beea6c__18 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | mean | dask/bag/core.py | 244 | 254 | [
{
"decorator_line": 218,
"file_path": "dask/bag/core.py",
"line_end": 224,
"line_start": 218,
"name": "_reduction",
"type": "function"
}
] | 1 |
dask__dask__97beea6c__19 | dask/dask | 97beea6c853e4ee05063549bd19346b6c3afaf96 | test_chunked_dot_product | dask/array/tests/test_array_core.py | 73 | 88 | [
{
"decorator_line": 90,
"file_path": "dask/core.py",
"line_end": 128,
"line_start": 90,
"name": "get",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "dask/array/tests/test_array_core.py",
"line_end": 70,
"line_start": 66,
"name": "eq",
"type": "functi... | 2 |
redis__redis-py__5633e550__0 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | sentinel_slaves | tests/test_sentinel.py | 19 | 23 | [
{
"decorator_line": 41,
"file_path": "tests/test_sentinel.py",
"line_end": 43,
"line_start": 41,
"name": "connection_error_if_down",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__1 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | test_channel_message_handler | tests/test_pubsub.py | 348 | 363 | [
{
"decorator_line": 11,
"file_path": "tests/test_pubsub.py",
"line_end": 21,
"line_start": 11,
"name": "wait_for_message",
"type": "function"
},
{
"decorator_line": 293,
"file_path": "tests/test_pubsub.py",
"line_end": 299,
"line_start": 293,
"name": "make_message",
... | 2 |
redis__redis-py__5633e550__2 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | transaction | redis/client.py | 413 | 430 | [
{
"decorator_line": 399,
"file_path": "redis/client.py",
"line_end": 411,
"line_start": 399,
"name": "pipeline",
"type": "function"
},
{
"decorator_line": 2306,
"file_path": "redis/client.py",
"line_end": 2310,
"line_start": 2306,
"name": "watch",
"type": "functio... | 3 |
redis__redis-py__5633e550__3 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | shutdown | redis/client.py | 602 | 609 | [
{
"decorator_line": 455,
"file_path": "redis/client.py",
"line_end": 468,
"line_start": 455,
"name": "execute_command",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__4 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | sdiff | redis/client.py | 1,255 | 1,258 | [
{
"decorator_line": 25,
"file_path": "redis/client.py",
"line_end": 37,
"line_start": 25,
"name": "list_or_args",
"type": "function"
},
{
"decorator_line": 455,
"file_path": "redis/client.py",
"line_end": 468,
"line_start": 455,
"name": "execute_command",
"type": ... | 2 |
redis__redis-py__5633e550__5 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | psubscribe | redis/client.py | 1,867 | 1,886 | [
{
"decorator_line": 25,
"file_path": "redis/client.py",
"line_end": 37,
"line_start": 25,
"name": "list_or_args",
"type": "function"
},
{
"decorator_line": 1813,
"file_path": "redis/client.py",
"line_end": 1822,
"line_start": 1813,
"name": "encode",
"type": "funct... | 3 |
redis__redis-py__5633e550__6 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | rpush | redis/client.py | 1,106 | 1,108 | [
{
"decorator_line": 455,
"file_path": "redis/client.py",
"line_end": 468,
"line_start": 455,
"name": "execute_command",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__7 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | test_published_message_to_pattern | tests/test_pubsub.py | 230 | 249 | [
{
"decorator_line": 11,
"file_path": "tests/test_pubsub.py",
"line_end": 21,
"line_start": 11,
"name": "wait_for_message",
"type": "function"
},
{
"decorator_line": 24,
"file_path": "tests/test_pubsub.py",
"line_end": 30,
"line_start": 24,
"name": "make_message",
... | 2 |
redis__redis-py__5633e550__8 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | read_response | redis/connection.py | 161 | 205 | [
{
"decorator_line": 101,
"file_path": "redis/connection.py",
"line_end": 112,
"line_start": 101,
"name": "readline",
"type": "function"
},
{
"decorator_line": 40,
"file_path": "redis/connection.py",
"line_end": 46,
"line_start": 40,
"name": "parse_error",
"type": ... | 3 |
redis__redis-py__5633e550__9 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | discover_slaves | redis/sentinel.py | 169 | 179 | [
{
"decorator_line": 160,
"file_path": "redis/sentinel.py",
"line_end": 167,
"line_start": 160,
"name": "filter_slaves",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__10 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | zrange | redis/client.py | 1,371 | 1,394 | [
{
"decorator_line": 1449,
"file_path": "redis/client.py",
"line_end": 1467,
"line_start": 1449,
"name": "zrevrange",
"type": "function"
},
{
"decorator_line": 455,
"file_path": "redis/client.py",
"line_end": 468,
"line_start": 455,
"name": "execute_command",
"type... | 2 |
redis__redis-py__5633e550__11 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | subscribe | redis/client.py | 1,897 | 1,916 | [
{
"decorator_line": 25,
"file_path": "redis/client.py",
"line_end": 37,
"line_start": 25,
"name": "list_or_args",
"type": "function"
},
{
"decorator_line": 1813,
"file_path": "redis/client.py",
"line_end": 1822,
"line_start": 1813,
"name": "encode",
"type": "funct... | 3 |
redis__redis-py__5633e550__12 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | test_max_connections | tests/test_connection_pool.py | 40 | 45 | [
{
"decorator_line": 21,
"file_path": "tests/test_connection_pool.py",
"line_end": 26,
"line_start": 21,
"name": "get_pool",
"type": "function"
}
] | 1 |
redis__redis-py__5633e550__13 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | get_message | redis/client.py | 1,934 | 1,939 | [
{
"decorator_line": 1860,
"file_path": "redis/client.py",
"line_end": 1865,
"line_start": 1860,
"name": "parse_response",
"type": "function"
},
{
"decorator_line": 1941,
"file_path": "redis/client.py",
"line_end": 1991,
"line_start": 1941,
"name": "handle_message",
... | 2 |
redis__redis-py__5633e550__14 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | execute_command | redis/client.py | 455 | 468 | [
{
"decorator_line": 544,
"file_path": "redis/connection.py",
"line_end": 552,
"line_start": 544,
"name": "get_connection",
"type": "function"
},
{
"decorator_line": 470,
"file_path": "redis/client.py",
"line_end": 475,
"line_start": 470,
"name": "parse_response",
... | 3 |
redis__redis-py__5633e550__15 | redis/redis-py | 5633e5506fdd218ba25cf589ffc3609bbdd0d98a | r | tests/test_encoding.py | 9 | 10 | [
{
"decorator_line": 38,
"file_path": "tests/conftest.py",
"line_end": 40,
"line_start": 39,
"name": "r",
"type": "function"
}
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.