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 |
|---|---|---|---|---|---|---|---|---|
falconry__falcon__b74cc79e__10 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | bench | bench/bench.py | 17 | 28 | [
{
"decorator_line": 31,
"file_path": "bench/bench.py",
"line_end": 42,
"line_start": 31,
"name": "create_bench",
"type": "function"
},
{
"decorator_line": 13,
"file_path": "bench/bench.py",
"line_end": 14,
"line_start": 13,
"name": "avg",
"type": "function"
}
] | 2 |
falconry__falcon__b74cc79e__11 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_custom_content_type | tests/test_headers.py | 155 | 161 | [
{
"decorator_line": 17,
"file_path": "tests/test_headers.py",
"line_end": 22,
"line_start": 17,
"name": "XmlResource",
"type": "class"
},
{
"decorator_line": 109,
"file_path": "falcon/api.py",
"line_end": 131,
"line_start": 109,
"name": "add_route",
"type": "function"
},
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 3 |
falconry__falcon__b74cc79e__12 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_simple | tests/test_query_params.py | 17 | 23 | [
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 1 |
falconry__falcon__b74cc79e__13 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | prepare | tests/test_query_params.py | 5 | 7 | [
{
"decorator_line": 32,
"file_path": "tests/helpers.py",
"line_end": 52,
"line_start": 32,
"name": "TestResource",
"type": "class"
},
{
"decorator_line": 109,
"file_path": "falcon/api.py",
"line_end": 131,
"line_start": 109,
"name": "add_route",
"type": "function"
}
] | 2 |
falconry__falcon__b74cc79e__14 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | prepare | tests/test_wsgi_errors.py | 21 | 27 | [
{
"decorator_line": 4,
"file_path": "tests/test_wsgi_errors.py",
"line_end": 10,
"line_start": 4,
"name": "BombResource",
"type": "class"
},
{
"decorator_line": 13,
"file_path": "tests/test_wsgi_errors.py",
"line_end": 16,
"line_start": 13,
"name": "LoggerResource",
"type": "class"
},
{
"decorator_line": 109,
"file_path": "falcon/api.py",
"line_end": 131,
"line_start": 109,
"name": "add_route",
"type": "function"
}
] | 3 |
falconry__falcon__b74cc79e__15 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_method_not_allowed | tests/test_http_method_routing.py | 83 | 97 | [
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 1 |
falconry__falcon__b74cc79e__16 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_no_vars | tests/test_uri_templates.py | 29 | 36 | [
{
"decorator_line": 109,
"file_path": "falcon/api.py",
"line_end": 131,
"line_start": 109,
"name": "add_route",
"type": "function"
},
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 2 |
falconry__falcon__b74cc79e__17 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_single_trailing_slash | tests/test_uri_templates.py | 63 | 74 | [
{
"decorator_line": 3,
"file_path": "tests/test_uri_templates.py",
"line_end": 12,
"line_start": 3,
"name": "IDResource",
"type": "class"
},
{
"decorator_line": 109,
"file_path": "falcon/api.py",
"line_end": 131,
"line_start": 109,
"name": "add_route",
"type": "function"
},
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 3 |
falconry__falcon__b74cc79e__18 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | client_accepts_json | falcon/request.py | 83 | 90 | [
{
"decorator_line": 92,
"file_path": "falcon/request.py",
"line_end": 116,
"line_start": 92,
"name": "get_header",
"type": "function"
}
] | 1 |
falconry__falcon__b74cc79e__19 | falconry/falcon | b74cc79e9754f7a6e4319a7ce5cf2835671c724d | test_read_body | tests/test_request_body.py | 27 | 45 | [
{
"decorator_line": 9,
"file_path": "tests/helpers.py",
"line_end": 13,
"line_start": 9,
"name": "rand_string",
"type": "function"
},
{
"decorator_line": 67,
"file_path": "tests/helpers.py",
"line_end": 72,
"line_start": 67,
"name": "_simulate_request",
"type": "function"
}
] | 2 |
learningequality__kolibri__00625325__0 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_get_all_prerequisites | kolibri/content/test/test_content_app.py | 179 | 192 | [
{
"decorator_line": 149,
"file_path": "kolibri/content/api.py",
"line_end": 158,
"line_start": 150,
"name": "get_all_prerequisites",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__1 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_authenticate_nonexistent_user_returns_none | kolibri/auth/test/test_backend.py | 82 | 83 | [
{
"decorator_line": 19,
"file_path": "kolibri/auth/backends.py",
"line_end": 35,
"line_start": 19,
"name": "authenticate",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "kolibri/auth/backends.py",
"line_end": 85,
"line_start": 14,
"name": "FacilityUserBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__2 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | setUp | kolibri/auth/test/test_backend.py | 54 | 62 | [
{
"decorator_line": 135,
"file_path": "kolibri/auth/models.py",
"line_end": 151,
"line_start": 135,
"name": "FacilityUser",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "kolibri/auth/models.py",
"line_end": 68,
"line_start": 59,
"name": "save",
"type": "function"
},
{
"decorator_line": 154,
"file_path": "kolibri/auth/models.py",
"line_end": 167,
"line_start": 154,
"name": "DeviceOwner",
"type": "class"
}
] | 3 |
learningequality__kolibri__00625325__3 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_update_content_copy | kolibri/content/test/test_content_app.py | 60 | 109 | [
{
"decorator_line": 208,
"file_path": "kolibri/content/api.py",
"line_end": 223,
"line_start": 208,
"name": "update_content_copy",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__4 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_device_owner_not_authenticated | kolibri/auth/test/test_backend.py | 70 | 71 | [
{
"decorator_line": 19,
"file_path": "kolibri/auth/backends.py",
"line_end": 35,
"line_start": 19,
"name": "authenticate",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "kolibri/auth/backends.py",
"line_end": 85,
"line_start": 14,
"name": "FacilityUserBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__5 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | setUp | kolibri/auth/test/test_backend.py | 10 | 18 | [
{
"decorator_line": 135,
"file_path": "kolibri/auth/models.py",
"line_end": 151,
"line_start": 135,
"name": "FacilityUser",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "kolibri/auth/models.py",
"line_end": 68,
"line_start": 59,
"name": "save",
"type": "function"
},
{
"decorator_line": 154,
"file_path": "kolibri/auth/models.py",
"line_end": 167,
"line_start": 154,
"name": "DeviceOwner",
"type": "class"
}
] | 3 |
learningequality__kolibri__00625325__6 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_set_is_related_immediate_cyclic | kolibri/content/test/test_content_app.py | 269 | 275 | [
{
"decorator_line": 183,
"file_path": "kolibri/content/api.py",
"line_end": 193,
"line_start": 184,
"name": "set_is_related",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__7 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_nonexistent_user_returns_none | kolibri/auth/test/test_backend.py | 79 | 80 | [
{
"decorator_line": 37,
"file_path": "kolibri/auth/backends.py",
"line_end": 47,
"line_start": 37,
"name": "get_user",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "kolibri/auth/backends.py",
"line_end": 85,
"line_start": 14,
"name": "FacilityUserBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__8 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | webpack_bundle_data | kolibri/plugins/base.py | 107 | 125 | [
{
"decorator_line": 127,
"file_path": "kolibri/plugins/base.py",
"line_end": 130,
"line_start": 128,
"name": "stats_file",
"type": "function"
},
{
"decorator_line": 37,
"file_path": "kolibri/plugins/base.py",
"line_end": 46,
"line_start": 38,
"name": "_module_path",
"type": "function"
},
{
"decorator_line": 132,
"file_path": "kolibri/plugins/base.py",
"line_end": 141,
"line_start": 133,
"name": "_module_file_path",
"type": "function"
}
] | 3 |
learningequality__kolibri__00625325__9 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_get_error_stats_file | kolibri/utils/test/test_webpack_utils.py | 37 | 42 | [
{
"decorator_line": 28,
"file_path": "kolibri/utils/webpack.py",
"line_end": 47,
"line_start": 28,
"name": "load_stats_file",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__10 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_get_facility_user | kolibri/auth/test/test_backend.py | 76 | 77 | [
{
"decorator_line": 37,
"file_path": "kolibri/auth/backends.py",
"line_end": 47,
"line_start": 37,
"name": "get_user",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "kolibri/auth/backends.py",
"line_end": 85,
"line_start": 14,
"name": "FacilityUserBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__11 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | get_bundle | kolibri/utils/webpack.py | 50 | 83 | [
{
"decorator_line": 51,
"file_path": "kolibri/plugins/hooks.py",
"line_end": 56,
"line_start": 51,
"name": "get_callables",
"type": "function"
},
{
"decorator_line": 28,
"file_path": "kolibri/utils/webpack.py",
"line_end": 47,
"line_start": 28,
"name": "load_stats_file",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "kolibri/utils/webpack.py",
"line_end": 23,
"line_start": 22,
"name": "NoFrontEndPlugin",
"type": "class"
}
] | 3 |
learningequality__kolibri__00625325__12 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_cli | test/test_cli.py | 39 | 43 | [
{
"decorator_line": 143,
"file_path": "kolibri/utils/cli.py",
"line_end": 183,
"line_start": 143,
"name": "main",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__13 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_incorrect_password_does_not_authenticate | kolibri/auth/test/test_backend.py | 26 | 27 | [
{
"decorator_line": 93,
"file_path": "kolibri/auth/backends.py",
"line_end": 108,
"line_start": 93,
"name": "authenticate",
"type": "function"
},
{
"decorator_line": 88,
"file_path": "kolibri/auth/backends.py",
"line_end": 141,
"line_start": 88,
"name": "DeviceOwnerBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__14 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_perms_sanity | kolibri/auth/test/test_backend.py | 35 | 43 | [
{
"decorator_line": 88,
"file_path": "kolibri/auth/backends.py",
"line_end": 141,
"line_start": 88,
"name": "DeviceOwnerBackend",
"type": "class"
},
{
"decorator_line": 125,
"file_path": "kolibri/auth/backends.py",
"line_end": 126,
"line_start": 125,
"name": "has_perm",
"type": "function"
},
{
"decorator_line": 128,
"file_path": "kolibri/auth/backends.py",
"line_end": 129,
"line_start": 128,
"name": "has_module_perms",
"type": "function"
}
] | 3 |
learningequality__kolibri__00625325__15 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_module_file_path | kolibri/plugins/test/test_base_plugins.py | 16 | 17 | [
{
"decorator_line": 132,
"file_path": "kolibri/plugins/base.py",
"line_end": 141,
"line_start": 133,
"name": "_module_file_path",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__16 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | save | kolibri/auth/models.py | 202 | 204 | [
{
"decorator_line": 206,
"file_path": "kolibri/auth/models.py",
"line_end": 211,
"line_start": 206,
"name": "_ensure_kind",
"type": "function"
},
{
"decorator_line": 59,
"file_path": "kolibri/auth/models.py",
"line_end": 68,
"line_start": 59,
"name": "save",
"type": "function"
}
] | 2 |
learningequality__kolibri__00625325__17 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_get_webpack_bundle_filter | kolibri/utils/test/test_webpack_utils.py | 65 | 69 | [
{
"decorator_line": 86,
"file_path": "kolibri/utils/webpack.py",
"line_end": 97,
"line_start": 86,
"name": "get_webpack_bundle",
"type": "function"
}
] | 1 |
learningequality__kolibri__00625325__18 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_facility_user_authentication_requires_facility | kolibri/auth/test/test_backend.py | 67 | 68 | [
{
"decorator_line": 19,
"file_path": "kolibri/auth/backends.py",
"line_end": 35,
"line_start": 19,
"name": "authenticate",
"type": "function"
},
{
"decorator_line": 14,
"file_path": "kolibri/auth/backends.py",
"line_end": 85,
"line_start": 14,
"name": "FacilityUserBackend",
"type": "class"
}
] | 2 |
learningequality__kolibri__00625325__19 | learningequality/kolibri | 0062532585001beaa36d995fb9d3d7c1138f8ad5 | test_get_actual_plugin | kolibri/utils/test/test_webpack_utils.py | 21 | 24 | [
{
"decorator_line": 50,
"file_path": "kolibri/utils/webpack.py",
"line_end": 83,
"line_start": 50,
"name": "get_bundle",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__0 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | test_zero_offset_ndim | Cython/Compiler/Tests/TestMemView.py | 29 | 30 | [
{
"decorator_line": 9,
"file_path": "Cython/Compiler/Tests/TestMemView.py",
"line_end": 10,
"line_start": 9,
"name": "parse",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__1 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | generate_cvariable_declarations | Cython/Compiler/ModuleNode.py | 866 | 912 | [
{
"decorator_line": 2150,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2203,
"line_start": 2150,
"name": "CPtrType",
"type": "class"
},
{
"decorator_line": 2169,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2174,
"line_start": 2169,
"name": "declaration_code",
"type": "function"
}
] | 2 |
cython__cython__987e27c9__2 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | test_node_path_node_predicate | Cython/Compiler/Tests/TestTreePath.py | 48 | 54 | [
{
"decorator_line": 9,
"file_path": "Cython/Compiler/Tests/TestTreePath.py",
"line_end": 18,
"line_start": 9,
"name": "_build_tree",
"type": "function"
},
{
"decorator_line": 286,
"file_path": "Cython/Compiler/TreePath.py",
"line_end": 287,
"line_start": 286,
"name": "find_all",
"type": "function"
},
{
"decorator_line": 283,
"file_path": "Cython/Compiler/TreePath.py",
"line_end": 284,
"line_start": 283,
"name": "find_first",
"type": "function"
}
] | 3 |
cython__cython__987e27c9__3 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | NoCase | Cython/Plex/Regexps.py | 515 | 520 | [
{
"decorator_line": 393,
"file_path": "Cython/Plex/Regexps.py",
"line_end": 417,
"line_start": 393,
"name": "SwitchCase",
"type": "class"
}
] | 1 |
cython__cython__987e27c9__4 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | testExceptionInExit | tests/run/withstat_py.py | 278 | 285 | [
{
"decorator_line": 209,
"file_path": "tests/run/withstat_py.py",
"line_end": 226,
"line_start": 209,
"name": "Dummy",
"type": "class"
},
{
"decorator_line": 235,
"file_path": "tests/run/withstat_py.py",
"line_end": 237,
"line_start": 235,
"name": "ExitRaises",
"type": "class"
}
] | 2 |
cython__cython__987e27c9__5 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | visit_CFuncDefNode | Cython/Compiler/AutoDocTransforms.py | 157 | 178 | [
{
"decorator_line": 71,
"file_path": "Cython/Compiler/AutoDocTransforms.py",
"line_end": 87,
"line_start": 71,
"name": "_fmt_signature",
"type": "function"
},
{
"decorator_line": 89,
"file_path": "Cython/Compiler/AutoDocTransforms.py",
"line_end": 93,
"line_start": 89,
"name": "_embed_signature",
"type": "function"
},
{
"decorator_line": 111,
"file_path": "Cython/Compiler/StringEncoding.py",
"line_end": 130,
"line_start": 111,
"name": "EncodedString",
"type": "class"
}
] | 3 |
cython__cython__987e27c9__6 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | generate_buffer_lookup_code | Cython/Compiler/MemoryView.py | 214 | 217 | [
{
"decorator_line": 219,
"file_path": "Cython/Compiler/MemoryView.py",
"line_end": 259,
"line_start": 219,
"name": "_generate_buffer_lookup_code",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__7 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | get_getbuffer_call | Cython/Compiler/Buffer.py | 330 | 340 | [
{
"decorator_line": 260,
"file_path": "Cython/Compiler/Buffer.py",
"line_end": 274,
"line_start": 260,
"name": "get_flags",
"type": "function"
},
{
"decorator_line": 667,
"file_path": "Cython/Compiler/Buffer.py",
"line_end": 754,
"line_start": 667,
"name": "get_type_information_cname",
"type": "function"
}
] | 2 |
cython__cython__987e27c9__8 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | compatible_signature_with_resolved_type | Cython/Compiler/PyrexTypes.py | 2,343 | 2,375 | [
{
"decorator_line": 212,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 213,
"line_start": 212,
"name": "same_as",
"type": "function"
},
{
"decorator_line": 221,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 222,
"line_start": 221,
"name": "subtype_of_resolved_type",
"type": "function"
},
{
"decorator_line": 2403,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2415,
"line_start": 2403,
"name": "same_calling_convention_as",
"type": "function"
}
] | 3 |
cython__cython__987e27c9__9 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | visit_ForInStatNode | Cython/Compiler/TypeInference.py | 88 | 124 | [
{
"decorator_line": 31,
"file_path": "Cython/Compiler/TypeInference.py",
"line_end": 65,
"line_start": 31,
"name": "mark_assignment",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__10 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | narrower_c_signature_than_resolved_type | Cython/Compiler/PyrexTypes.py | 2,381 | 2,401 | [
{
"decorator_line": 221,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 222,
"line_start": 221,
"name": "subtype_of_resolved_type",
"type": "function"
},
{
"decorator_line": 212,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 213,
"line_start": 212,
"name": "same_as",
"type": "function"
}
] | 2 |
cython__cython__987e27c9__11 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | old_to_new | Cython/Plex/DFA.py | 99 | 116 | [
{
"decorator_line": 139,
"file_path": "Cython/Plex/DFA.py",
"line_end": 146,
"line_start": 139,
"name": "make_key",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "Cython/Plex/DFA.py",
"line_end": 126,
"line_start": 118,
"name": "highest_priority_action",
"type": "function"
},
{
"decorator_line": 158,
"file_path": "Cython/Plex/Machines.py",
"line_end": 165,
"line_start": 158,
"name": "new_state",
"type": "function"
}
] | 3 |
cython__cython__987e27c9__12 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | binary_op | Cython/Compiler/PyrexTypes.py | 1,829 | 1,830 | [
{
"decorator_line": 1814,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 1824,
"line_start": 1814,
"name": "lookup_op",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__13 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | declaration_code | Cython/Compiler/PyrexTypes.py | 1,166 | 1,172 | [
{
"decorator_line": 256,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 260,
"line_start": 256,
"name": "public_decl",
"type": "function"
},
{
"decorator_line": 26,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 30,
"line_start": 26,
"name": "base_declaration_code",
"type": "function"
}
] | 2 |
cython__cython__987e27c9__14 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | specialize | Cython/Compiler/PyrexTypes.py | 2,486 | 2,505 | [
{
"decorator_line": 2244,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2574,
"line_start": 2244,
"name": "CFuncType",
"type": "class"
},
{
"decorator_line": 200,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 202,
"line_start": 200,
"name": "specialize",
"type": "function"
},
{
"decorator_line": 2671,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2672,
"line_start": 2671,
"name": "specialize",
"type": "function"
}
] | 3 |
cython__cython__987e27c9__15 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | test_include | Cython/Build/Tests/TestStripLiterals.py | 49 | 51 | [
{
"decorator_line": 6,
"file_path": "Cython/Build/Tests/TestStripLiterals.py",
"line_end": 11,
"line_start": 6,
"name": "t",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__16 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | handle_predicate | Cython/Compiler/TreePath.py | 195 | 219 | [
{
"decorator_line": 221,
"file_path": "Cython/Compiler/TreePath.py",
"line_end": 232,
"line_start": 221,
"name": "logical_and",
"type": "function"
},
{
"decorator_line": 33,
"file_path": "Cython/Compiler/TreePath.py",
"line_end": 42,
"line_start": 33,
"name": "_get_first_or_none",
"type": "function"
}
] | 2 |
cython__cython__987e27c9__17 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | populate_cython_scope | Cython/Compiler/CythonScope.py | 73 | 89 | [
{
"decorator_line": 2244,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2574,
"line_start": 2244,
"name": "CFuncType",
"type": "class"
},
{
"decorator_line": 2641,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 2672,
"line_start": 2641,
"name": "CFuncTypeArg",
"type": "class"
},
{
"decorator_line": 3607,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 3616,
"line_start": 3607,
"name": "c_ptr_type",
"type": "function"
}
] | 3 |
cython__cython__987e27c9__18 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | can_coerce_to_pyobject | Cython/Compiler/PyrexTypes.py | 1,098 | 1,099 | [
{
"decorator_line": 1092,
"file_path": "Cython/Compiler/PyrexTypes.py",
"line_end": 1093,
"line_start": 1092,
"name": "create_to_py_utility_code",
"type": "function"
}
] | 1 |
cython__cython__987e27c9__19 | cython/cython | 987e27c9e0291a5f701f58917a2cfa112d77d232 | addSuccess | Cython/Tests/xmlrunner.py | 154 | 157 | [
{
"decorator_line": 100,
"file_path": "Cython/Tests/xmlrunner.py",
"line_end": 120,
"line_start": 100,
"name": "_prepare_callback",
"type": "function"
},
{
"decorator_line": 47,
"file_path": "Cython/Tests/xmlrunner.py",
"line_end": 84,
"line_start": 47,
"name": "_TestInfo",
"type": "class"
}
] | 2 |
cupy__cupy__00ec8474__0 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_hypot | tests/cupy_tests/math_tests/test_trigonometric.py | 50 | 51 | [
{
"decorator_line": 16,
"file_path": "tests/cupy_tests/math_tests/test_trigonometric.py",
"line_end": 21,
"line_start": 18,
"name": "check_binary",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__1 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_half_of_trials_succeed | tests/cupy_tests/testing_tests/test_condition.py | 95 | 102 | [
{
"decorator_line": 63,
"file_path": "tests/cupy_tests/testing_tests/test_condition.py",
"line_end": 65,
"line_start": 63,
"name": "_decorate",
"type": "function"
},
{
"decorator_line": 57,
"file_path": "tests/cupy_tests/testing_tests/test_condition.py",
"line_end": 58,
"line_start": 57,
"name": "_should_pass",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__2 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | correct_failure | tests/cupy_tests/testing_tests/test_helper.py | 226 | 230 | [
{
"decorator_line": 524,
"file_path": "cupy/testing/helper.py",
"line_end": 537,
"line_start": 524,
"name": "for_unsigned_dtypes",
"type": "function"
},
{
"decorator_line": 509,
"file_path": "cupy/testing/helper.py",
"line_end": 521,
"line_start": 509,
"name": "for_signed_dtypes",
"type": "function"
},
{
"decorator_line": 121,
"file_path": "cupy/testing/helper.py",
"line_end": 165,
"line_start": 121,
"name": "numpy_cupy_allclose",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__3 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_iadd_array | tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py | 160 | 161 | [
{
"decorator_line": 149,
"file_path": "tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py",
"line_end": 154,
"line_start": 151,
"name": "check_array_array_op",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__4 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_cupy_indices_boolean_array | tests/cupy_tests/core_tests/test_ndarray_adv_indexing.py | 353 | 359 | [
{
"decorator_line": 126,
"file_path": "cupy/creation/basic.py",
"line_end": 143,
"line_start": 126,
"name": "zeros",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/creation/from_data.py",
"line_end": 25,
"line_start": 3,
"name": "array",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__5 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_goodness_of_fit_2 | tests/cupy_tests/random_tests/test_generator.py | 324 | 328 | [
{
"decorator_line": 97,
"file_path": "cupy/testing/condition.py",
"line_end": 111,
"line_start": 97,
"name": "retry",
"type": "function"
},
{
"decorator_line": 237,
"file_path": "cupy/random/generator.py",
"line_end": 300,
"line_start": 237,
"name": "choice",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/testing/hypothesis.py",
"line_end": 30,
"line_start": 3,
"name": "chi_square_test",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__6 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_typecast_float1 | tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py | 466 | 467 | [
{
"decorator_line": 425,
"file_path": "tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py",
"line_end": 437,
"line_start": 426,
"name": "check_typecast",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__7 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | check_mode | tests/cupy_tests/linalg_tests/test_decomposition.py | 45 | 56 | [
{
"decorator_line": 28,
"file_path": "cupy/creation/from_data.py",
"line_end": 45,
"line_start": 28,
"name": "asarray",
"type": "function"
},
{
"decorator_line": 69,
"file_path": "cupy/linalg/decomposition.py",
"line_end": 169,
"line_start": 69,
"name": "qr",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__8 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_scatter_add | tests/cupy_tests/ext_tests/test_scatter.py | 11 | 16 | [
{
"decorator_line": 126,
"file_path": "cupy/creation/basic.py",
"line_end": 143,
"line_start": 126,
"name": "zeros",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/creation/from_data.py",
"line_end": 25,
"line_start": 3,
"name": "array",
"type": "function"
},
{
"decorator_line": 0,
"file_path": "cupy/ext/scatter.py",
"line_end": 50,
"line_start": 0,
"name": "scatter_add",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__9 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_isinf | tests/cupy_tests/core_tests/test_fusion.py | 119 | 120 | [
{
"decorator_line": 99,
"file_path": "tests/cupy_tests/core_tests/test_fusion.py",
"line_end": 105,
"line_start": 102,
"name": "check_unary_inf",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__10 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | setUp | tests/cupy_tests/testing_tests/test_condition.py | 119 | 121 | [
{
"decorator_line": 7,
"file_path": "tests/cupy_tests/testing_tests/test_condition.py",
"line_end": 44,
"line_start": 7,
"name": "MockUnitTest",
"type": "class"
},
{
"decorator_line": 15,
"file_path": "tests/cupy_tests/testing_tests/test_condition.py",
"line_end": 21,
"line_start": 16,
"name": "clear_counter",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__11 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_goodness_of_fit | tests/cupy_tests/random_tests/test_sample.py | 151 | 157 | [
{
"decorator_line": 97,
"file_path": "cupy/testing/condition.py",
"line_end": 111,
"line_start": 97,
"name": "retry",
"type": "function"
},
{
"decorator_line": 56,
"file_path": "cupy/random/sample.py",
"line_end": 89,
"line_start": 56,
"name": "randint",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/testing/hypothesis.py",
"line_end": 30,
"line_start": 3,
"name": "chi_square_test",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__12 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | for_float_dtypes | cupy/testing/helper.py | 489 | 506 | [
{
"decorator_line": 385,
"file_path": "cupy/testing/helper.py",
"line_end": 409,
"line_start": 385,
"name": "for_dtypes",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__13 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | tile | cupy/manipulation/tiling.py | 3 | 51 | [
{
"decorator_line": 3,
"file_path": "cupy/creation/from_data.py",
"line_end": 25,
"line_start": 3,
"name": "array",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/creation/basic.py",
"line_end": 18,
"line_start": 3,
"name": "empty",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__14 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_goodness_of_fit | tests/cupy_tests/random_tests/test_generator.py | 315 | 321 | [
{
"decorator_line": 97,
"file_path": "cupy/testing/condition.py",
"line_end": 111,
"line_start": 97,
"name": "retry",
"type": "function"
},
{
"decorator_line": 237,
"file_path": "cupy/random/generator.py",
"line_end": 300,
"line_start": 237,
"name": "choice",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/testing/hypothesis.py",
"line_end": 30,
"line_start": 3,
"name": "chi_square_test",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__15 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_array_reversed_mul | tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py | 422 | 423 | [
{
"decorator_line": 409,
"file_path": "tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py",
"line_end": 414,
"line_start": 411,
"name": "check_array_reversed_op",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__16 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | vstack | cupy/manipulation/join.py | 90 | 107 | [
{
"decorator_line": 34,
"file_path": "cupy/manipulation/join.py",
"line_end": 48,
"line_start": 34,
"name": "concatenate",
"type": "function"
},
{
"decorator_line": 37,
"file_path": "cupy/manipulation/dims.py",
"line_end": 65,
"line_start": 37,
"name": "atleast_2d",
"type": "function"
}
] | 2 |
cupy__cupy__00ec8474__17 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | interval | cupy/random/generator.py | 155 | 193 | [
{
"decorator_line": 126,
"file_path": "cupy/creation/basic.py",
"line_end": 143,
"line_start": 126,
"name": "zeros",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "cupy/creation/from_data.py",
"line_end": 25,
"line_start": 3,
"name": "array",
"type": "function"
},
{
"decorator_line": 710,
"file_path": "cupy/core/fusion.py",
"line_end": 711,
"line_start": 710,
"name": "where",
"type": "function"
}
] | 3 |
cupy__cupy__00ec8474__18 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | test_rrshift_scalar | tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py | 496 | 497 | [
{
"decorator_line": 478,
"file_path": "tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py",
"line_end": 485,
"line_start": 480,
"name": "check_array_scalar_op",
"type": "function"
}
] | 1 |
cupy__cupy__00ec8474__19 | cupy/cupy | 00ec847411acd88291c3ae784ca9abf1e43becd1 | get_nvcc_path | install/build.py | 20 | 27 | [
{
"decorator_line": 14,
"file_path": "install/utils.py",
"line_end": 20,
"line_start": 14,
"name": "search_on_path",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "install/utils.py",
"line_end": 7,
"line_start": 3,
"name": "print_warning",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__0 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | configure | src/py/flwr/logger.py | 66 | 88 | [
{
"decorator_line": 36,
"file_path": "src/py/flwr/logger.py",
"line_end": 63,
"line_start": 36,
"name": "CustomHTTPHandler",
"type": "class"
}
] | 1 |
adap__flower__d71a2d8b__1 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_default_strategy_num_fit_clients_20_available | src/py/flwr/strategy/default_test.py | 20 | 31 | [
{
"decorator_line": 20,
"file_path": "src/py/flwr/strategy/default.py",
"line_end": 21,
"line_start": 20,
"name": "DefaultStrategy",
"type": "class"
},
{
"decorator_line": 62,
"file_path": "src/py/flwr/strategy/fedavg.py",
"line_end": 65,
"line_start": 62,
"name": "num_fit_clients",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__2 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | shift | src/py/flwr_experimental/baseline/dataset/dataset.py | 108 | 116 | [
{
"decorator_line": 36,
"file_path": "src/py/flwr_experimental/baseline/dataset/dataset.py",
"line_end": 39,
"line_start": 36,
"name": "sort_by_label",
"type": "function"
},
{
"decorator_line": 79,
"file_path": "src/py/flwr_experimental/baseline/dataset/dataset.py",
"line_end": 86,
"line_start": 79,
"name": "split_at_fraction",
"type": "function"
},
{
"decorator_line": 89,
"file_path": "src/py/flwr_experimental/baseline/dataset/dataset.py",
"line_end": 92,
"line_start": 89,
"name": "shuffle",
"type": "function"
}
] | 3 |
adap__flower__d71a2d8b__3 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | grad | src/py/flwr_experimental/baseline/common/common.py | 123 | 129 | [
{
"decorator_line": 114,
"file_path": "src/py/flwr_experimental/baseline/common/common.py",
"line_end": 120,
"line_start": 114,
"name": "loss",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__4 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_default_strategy_num_fit_clients_19_available | src/py/flwr/strategy/default_test.py | 34 | 45 | [
{
"decorator_line": 20,
"file_path": "src/py/flwr/strategy/default.py",
"line_end": 21,
"line_start": 20,
"name": "DefaultStrategy",
"type": "class"
},
{
"decorator_line": 62,
"file_path": "src/py/flwr/strategy/fedavg.py",
"line_end": 65,
"line_start": 62,
"name": "num_fit_clients",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__5 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | start | src/py/flwr_experimental/ops/cluster.py | 199 | 229 | [
{
"decorator_line": 138,
"file_path": "src/py/flwr_experimental/ops/cluster.py",
"line_end": 145,
"line_start": 138,
"name": "group_instances_by_specs",
"type": "function"
},
{
"decorator_line": 231,
"file_path": "src/py/flwr_experimental/ops/cluster.py",
"line_end": 233,
"line_start": 231,
"name": "terminate",
"type": "function"
},
{
"decorator_line": 52,
"file_path": "src/py/flwr_experimental/ops/cluster.py",
"line_end": 53,
"line_start": 52,
"name": "StartFailed",
"type": "class"
}
] | 3 |
adap__flower__d71a2d8b__6 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_terminate_instances | src/py/flwr_experimental/ops/compute/ec2_adapter_test.py | 113 | 121 | [
{
"decorator_line": 279,
"file_path": "src/py/flwr_experimental/ops/compute/ec2_adapter.py",
"line_end": 289,
"line_start": 279,
"name": "terminate_instances",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__7 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | create_instances | src/py/flwr_experimental/ops/compute/docker_adapter.py | 68 | 112 | [
{
"decorator_line": 32,
"file_path": "src/py/flwr_experimental/ops/compute/docker_adapter.py",
"line_end": 37,
"line_start": 32,
"name": "get_free_port",
"type": "function"
},
{
"decorator_line": 40,
"file_path": "src/py/flwr_experimental/ops/compute/docker_adapter.py",
"line_end": 47,
"line_start": 40,
"name": "_get_container_port",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__8 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | fit | src/py/flwr/grpc_server/grpc_client_proxy.py | 42 | 49 | [
{
"decorator_line": 96,
"file_path": "src/py/flwr/grpc_server/serde.py",
"line_end": 100,
"line_start": 96,
"name": "fit_ins_to_proto",
"type": "function"
},
{
"decorator_line": 107,
"file_path": "src/py/flwr/grpc_server/grpc_bridge.py",
"line_end": 133,
"line_start": 107,
"name": "request",
"type": "function"
},
{
"decorator_line": 122,
"file_path": "src/py/flwr/grpc_server/serde.py",
"line_end": 127,
"line_start": 122,
"name": "fit_res_from_proto",
"type": "function"
}
] | 3 |
adap__flower__d71a2d8b__9 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | run_client | src/py/flwr/grpc_client/connection_test.py | 84 | 103 | [
{
"decorator_line": 36,
"file_path": "src/py/flwr/grpc_client/connection.py",
"line_end": 65,
"line_start": 37,
"name": "insecure_grpc_connection",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__10 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | get_client_setting | src/py/flwr_experimental/baseline/tf_hotkey/client.py | 58 | 64 | [
{
"decorator_line": 54,
"file_path": "src/py/flwr_experimental/baseline/tf_hotkey/settings.py",
"line_end": 60,
"line_start": 54,
"name": "get_setting",
"type": "function"
},
{
"decorator_line": 35,
"file_path": "src/py/flwr_experimental/baseline/tf_hotkey/client.py",
"line_end": 36,
"line_start": 35,
"name": "ClientSettingNotFound",
"type": "class"
}
] | 2 |
adap__flower__d71a2d8b__11 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | get_parameters | src/py/flwr_example/pytorch/client.py | 47 | 52 | [
{
"decorator_line": 66,
"file_path": "src/py/flwr_example/pytorch/cifar.py",
"line_end": 68,
"line_start": 66,
"name": "get_weights",
"type": "function"
},
{
"decorator_line": 25,
"file_path": "src/py/flwr/strategy/parameter.py",
"line_end": 28,
"line_start": 25,
"name": "weights_to_parameters",
"type": "function"
},
{
"decorator_line": 33,
"file_path": "src/py/flwr/typing.py",
"line_end": 37,
"line_start": 34,
"name": "ParametersRes",
"type": "class"
}
] | 3 |
adap__flower__d71a2d8b__12 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_create_instances | src/py/flwr_experimental/ops/compute/docker_adapter_test.py | 46 | 59 | [
{
"decorator_line": 68,
"file_path": "src/py/flwr_experimental/ops/compute/docker_adapter.py",
"line_end": 112,
"line_start": 68,
"name": "create_instances",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__13 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_on_aggregate_evaluate_no_results | src/py/flwr/strategy/fault_tolerant_fedavg_test.py | 122 | 134 | [
{
"decorator_line": 27,
"file_path": "src/py/flwr/strategy/fault_tolerant_fedavg.py",
"line_end": 88,
"line_start": 27,
"name": "FaultTolerantFedAvg",
"type": "class"
},
{
"decorator_line": 74,
"file_path": "src/py/flwr/strategy/fault_tolerant_fedavg.py",
"line_end": 88,
"line_start": 74,
"name": "on_aggregate_evaluate",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__14 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | get_parameters | src/py/flwr/keras_client.py | 54 | 58 | [
{
"decorator_line": 31,
"file_path": "src/py/flwr/keras_client.py",
"line_end": 33,
"line_start": 32,
"name": "get_weights",
"type": "function"
},
{
"decorator_line": 25,
"file_path": "src/py/flwr/strategy/parameter.py",
"line_end": 28,
"line_start": 25,
"name": "weights_to_parameters",
"type": "function"
},
{
"decorator_line": 33,
"file_path": "src/py/flwr/typing.py",
"line_end": 37,
"line_start": 34,
"name": "ParametersRes",
"type": "class"
}
] | 3 |
adap__flower__d71a2d8b__15 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_load_model | src/py/flwr_example/pytorch/cifar_test.py | 28 | 40 | [
{
"decorator_line": 78,
"file_path": "src/py/flwr_example/pytorch/cifar.py",
"line_end": 80,
"line_start": 78,
"name": "load_model",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__16 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_fedavg_num_evaluation_clients_39_available | src/py/flwr/strategy/fedavg_test.py | 85 | 95 | [
{
"decorator_line": 31,
"file_path": "src/py/flwr/strategy/fedavg.py",
"line_end": 169,
"line_start": 31,
"name": "FedAvg",
"type": "class"
},
{
"decorator_line": 67,
"file_path": "src/py/flwr/strategy/fedavg.py",
"line_end": 70,
"line_start": 67,
"name": "num_evaluation_clients",
"type": "function"
}
] | 2 |
adap__flower__d71a2d8b__17 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_integration_start_and_shutdown_server | src/py/flwr/grpc_server/grpc_server_test.py | 32 | 44 | [
{
"decorator_line": 24,
"file_path": "src/py/flwr/grpc_server/grpc_server_test.py",
"line_end": 29,
"line_start": 24,
"name": "unused_tcp_port",
"type": "function"
},
{
"decorator_line": 63,
"file_path": "src/py/flwr/client_manager.py",
"line_end": 135,
"line_start": 63,
"name": "SimpleClientManager",
"type": "class"
},
{
"decorator_line": 24,
"file_path": "src/py/flwr/grpc_server/grpc_server.py",
"line_end": 50,
"line_start": 24,
"name": "start_insecure_grpc_server",
"type": "function"
}
] | 3 |
adap__flower__d71a2d8b__18 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | on_aggregate_evaluate | src/py/flwr/strategy/fault_tolerant_fedavg.py | 74 | 88 | [
{
"decorator_line": 43,
"file_path": "src/py/flwr/strategy/aggregate.py",
"line_end": 49,
"line_start": 43,
"name": "weighted_loss_avg",
"type": "function"
}
] | 1 |
adap__flower__d71a2d8b__19 | adap/flower | d71a2d8b9e1b508aaeb3d855f63b26680db87f34 | test_on_aggregate_fit_no_results | src/py/flwr/strategy/fault_tolerant_fedavg_test.py | 41 | 53 | [
{
"decorator_line": 27,
"file_path": "src/py/flwr/strategy/fault_tolerant_fedavg.py",
"line_end": 88,
"line_start": 27,
"name": "FaultTolerantFedAvg",
"type": "class"
},
{
"decorator_line": 53,
"file_path": "src/py/flwr/strategy/fault_tolerant_fedavg.py",
"line_end": 72,
"line_start": 53,
"name": "on_aggregate_fit",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__0 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | depack | kivy/input/providers/mouse.py | 32 | 38 | [
{
"decorator_line": 263,
"file_path": "kivy/input/motionevent.py",
"line_end": 273,
"line_start": 263,
"name": "depack",
"type": "function"
}
] | 1 |
kivy__kivy__19c7134f__1 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | test_anchorlayout_default | kivy/tests/test_uix_anchorlayout.py | 24 | 31 | [
{
"decorator_line": 33,
"file_path": "kivy/uix/anchorlayout.py",
"line_end": 106,
"line_start": 33,
"name": "AnchorLayout",
"type": "class"
},
{
"decorator_line": 72,
"file_path": "kivy/uix/layout.py",
"line_end": 76,
"line_start": 72,
"name": "add_widget",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__2 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_mouse_motion | kivy/input/providers/mouse.py | 152 | 165 | [
{
"decorator_line": 315,
"file_path": "kivy/input/motionevent.py",
"line_end": 325,
"line_start": 315,
"name": "move",
"type": "function"
},
{
"decorator_line": 43,
"file_path": "kivy/input/providers/mouse.py",
"line_end": 61,
"line_start": 43,
"name": "update_graphics",
"type": "function"
},
{
"decorator_line": 132,
"file_path": "kivy/input/providers/mouse.py",
"line_end": 142,
"line_start": 132,
"name": "create_touch",
"type": "function"
}
] | 3 |
kivy__kivy__19c7134f__3 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | connect_to_server | examples/frameworks/twisted/echo_client_app.py | 52 | 53 | [
{
"decorator_line": 15,
"file_path": "examples/frameworks/twisted/echo_client_app.py",
"line_end": 24,
"line_start": 15,
"name": "EchoFactory",
"type": "class"
}
] | 1 |
kivy__kivy__19c7134f__4 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | test_boxlayout_padding_spacing | kivy/tests/test_uix_boxlayout.py | 78 | 93 | [
{
"decorator_line": 55,
"file_path": "kivy/uix/boxlayout.py",
"line_end": 148,
"line_start": 55,
"name": "BoxLayout",
"type": "class"
},
{
"decorator_line": 72,
"file_path": "kivy/uix/layout.py",
"line_end": 76,
"line_start": 72,
"name": "add_widget",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__5 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | normalize_stroke | kivy/gesture.py | 167 | 211 | [
{
"decorator_line": 153,
"file_path": "kivy/gesture.py",
"line_end": 165,
"line_start": 153,
"name": "stroke_length",
"type": "function"
},
{
"decorator_line": 144,
"file_path": "kivy/gesture.py",
"line_end": 151,
"line_start": 144,
"name": "points_distance",
"type": "function"
},
{
"decorator_line": 79,
"file_path": "kivy/gesture.py",
"line_end": 93,
"line_start": 79,
"name": "GesturePoint",
"type": "class"
}
] | 3 |
kivy__kivy__19c7134f__6 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | load | examples/RST_Editor/main.py | 38 | 42 | [
{
"decorator_line": 25,
"file_path": "examples/RST_Editor/main.py",
"line_end": 26,
"line_start": 25,
"name": "dismiss_popup",
"type": "function"
}
] | 1 |
kivy__kivy__19c7134f__7 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_touch_move | examples/canvas/bezier.py | 67 | 76 | [
{
"decorator_line": 122,
"file_path": "kivy/uix/widget.py",
"line_end": 138,
"line_start": 122,
"name": "collide_point",
"type": "function"
},
{
"decorator_line": 187,
"file_path": "kivy/uix/widget.py",
"line_end": 194,
"line_start": 187,
"name": "on_touch_move",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__8 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | load | kivy/core/video/video_pyglet.py | 41 | 60 | [
{
"decorator_line": 36,
"file_path": "kivy/core/video/video_pyglet.py",
"line_end": 39,
"line_start": 36,
"name": "unload",
"type": "function"
},
{
"decorator_line": 78,
"file_path": "kivy/core/video/video_pyglet.py",
"line_end": 80,
"line_start": 78,
"name": "play",
"type": "function"
},
{
"decorator_line": 74,
"file_path": "kivy/core/video/video_pyglet.py",
"line_end": 76,
"line_start": 74,
"name": "stop",
"type": "function"
}
] | 3 |
kivy__kivy__19c7134f__9 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | put | kivy/core/clipboard/clipboard_pygame.py | 33 | 35 | [
{
"decorator_line": 23,
"file_path": "kivy/core/clipboard/clipboard_pygame.py",
"line_end": 27,
"line_start": 23,
"name": "init",
"type": "function"
}
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.