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
|
|---|---|---|---|---|---|---|---|---|
huggingface__datasets__5353490e__6
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
from_spec
|
src/nlp/arrow_reader.py
| 469
| 490
|
[
{
"decorator_line": 329,
"file_path": "src/nlp/arrow_reader.py",
"line_end": 341,
"line_start": 329,
"name": "_str_to_relative_instruction",
"type": "function"
}
] | 1
|
huggingface__datasets__5353490e__7
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
load_dataset
|
src/nlp/load.py
| 440
| 525
|
[
{
"decorator_line": 187,
"file_path": "src/nlp/load.py",
"line_end": 392,
"line_start": 187,
"name": "prepare_module",
"type": "function"
},
{
"decorator_line": 50,
"file_path": "src/nlp/load.py",
"line_end": 72,
"line_start": 50,
"name": "import_main_class",
"type": "function"
}
] | 2
|
huggingface__datasets__5353490e__8
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
load_builder_class
|
tests/test_dataset_common.py
| 46
| 55
|
[
{
"decorator_line": 187,
"file_path": "src/nlp/load.py",
"line_end": 392,
"line_start": 187,
"name": "prepare_module",
"type": "function"
},
{
"decorator_line": 136,
"file_path": "src/nlp/utils/file_utils.py",
"line_end": 159,
"line_start": 137,
"name": "DownloadConfig",
"type": "class"
},
{
"decorator_line": 50,
"file_path": "src/nlp/load.py",
"line_end": 72,
"line_start": 50,
"name": "import_main_class",
"type": "function"
}
] | 3
|
huggingface__datasets__5353490e__9
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
get_path
|
datasets/wmt16/wmt_utils.py
| 119
| 120
|
[
{
"decorator_line": 96,
"file_path": "datasets/wmt16/wmt_utils.py",
"line_end": 111,
"line_start": 96,
"name": "_inject_language",
"type": "function"
}
] | 1
|
huggingface__datasets__5353490e__10
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
test_load_dataset
|
tests/test_dataset_common.py
| 149
| 151
|
[
{
"decorator_line": 57,
"file_path": "tests/test_dataset_common.py",
"line_end": 64,
"line_start": 57,
"name": "load_all_configs",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "tests/test_dataset_common.py",
"line_end": 133,
"line_start": 66,
"name": "check_load_dataset",
"type": "function"
}
] | 2
|
huggingface__datasets__5353490e__11
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
run
|
src/nlp/commands/env.py
| 18
| 53
|
[
{
"decorator_line": 91,
"file_path": "src/nlp/utils/file_utils.py",
"line_end": 92,
"line_start": 91,
"name": "is_torch_available",
"type": "function"
},
{
"decorator_line": 95,
"file_path": "src/nlp/utils/file_utils.py",
"line_end": 96,
"line_start": 95,
"name": "is_tf_available",
"type": "function"
},
{
"decorator_line": 55,
"file_path": "src/nlp/commands/env.py",
"line_end": 57,
"line_start": 56,
"name": "format_dict",
"type": "function"
}
] | 3
|
huggingface__datasets__5353490e__12
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
update
|
src/nlp/utils/tqdm_utils.py
| 120
| 124
|
[
{
"decorator_line": 126,
"file_path": "src/nlp/utils/tqdm_utils.py",
"line_end": 129,
"line_start": 126,
"name": "refresh",
"type": "function"
}
] | 1
|
huggingface__datasets__5353490e__13
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
get_entities
|
metrics/seqeval/seqeval.py
| 102
| 131
|
[
{
"decorator_line": 61,
"file_path": "metrics/seqeval/seqeval.py",
"line_end": 79,
"line_start": 61,
"name": "end_of_chunk",
"type": "function"
},
{
"decorator_line": 82,
"file_path": "metrics/seqeval/seqeval.py",
"line_end": 100,
"line_start": 82,
"name": "start_of_chunk",
"type": "function"
}
] | 2
|
huggingface__datasets__5353490e__14
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
run
|
src/nlp/commands/user.py
| 95
| 118
|
[
{
"decorator_line": 109,
"file_path": "src/nlp/hf_api.py",
"line_end": 123,
"line_start": 109,
"name": "login",
"type": "function"
},
{
"decorator_line": 83,
"file_path": "src/nlp/commands/user.py",
"line_end": 85,
"line_start": 84,
"name": "red",
"type": "function"
},
{
"decorator_line": 272,
"file_path": "src/nlp/hf_api.py",
"line_end": 279,
"line_start": 273,
"name": "save_token",
"type": "function"
}
] | 3
|
huggingface__datasets__5353490e__15
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
dump
|
src/nlp/utils/py_utils.py
| 249
| 252
|
[
{
"decorator_line": 243,
"file_path": "src/nlp/utils/py_utils.py",
"line_end": 246,
"line_start": 243,
"name": "Pickler",
"type": "class"
}
] | 1
|
huggingface__datasets__5353490e__16
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
add
|
src/nlp/metric.py
| 210
| 216
|
[
{
"decorator_line": 218,
"file_path": "src/nlp/metric.py",
"line_end": 228,
"line_start": 218,
"name": "_init_writer",
"type": "function"
},
{
"decorator_line": 131,
"file_path": "src/nlp/arrow_writer.py",
"line_end": 144,
"line_start": 131,
"name": "write",
"type": "function"
}
] | 2
|
huggingface__datasets__5353490e__17
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
run
|
src/nlp/commands/dummy_data.py
| 31
| 126
|
[
{
"decorator_line": 187,
"file_path": "src/nlp/load.py",
"line_end": 392,
"line_start": 187,
"name": "prepare_module",
"type": "function"
},
{
"decorator_line": 50,
"file_path": "src/nlp/load.py",
"line_end": 72,
"line_start": 50,
"name": "import_main_class",
"type": "function"
},
{
"decorator_line": 28,
"file_path": "src/nlp/utils/mock_download_manager.py",
"line_end": 138,
"line_start": 28,
"name": "MockDownloadManager",
"type": "class"
}
] | 3
|
huggingface__datasets__5353490e__18
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
dummy_file
|
src/nlp/utils/mock_download_manager.py
| 45
| 48
|
[
{
"decorator_line": 62,
"file_path": "src/nlp/utils/mock_download_manager.py",
"line_end": 71,
"line_start": 62,
"name": "download_dummy_data",
"type": "function"
}
] | 1
|
huggingface__datasets__5353490e__19
|
huggingface/datasets
|
5353490e9bceb25b662a2c5c407c087baca37028
|
test_load_real_dataset
|
tests/test_dataset_common.py
| 173
| 182
|
[
{
"decorator_line": 136,
"file_path": "src/nlp/utils/file_utils.py",
"line_end": 159,
"line_start": 137,
"name": "DownloadConfig",
"type": "class"
},
{
"decorator_line": 440,
"file_path": "src/nlp/load.py",
"line_end": 525,
"line_start": 440,
"name": "load_dataset",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__0
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
new_spawner
|
jupyterhub/tests/test_spawner.py
| 34
| 41
|
[
{
"decorator_line": 173,
"file_path": "jupyterhub/spawner.py",
"line_end": 319,
"line_start": 173,
"name": "LocalProcessSpawner",
"type": "class"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__1
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_proxy
|
jupyterhub/tests/test_orm.py
| 27
| 43
|
[
{
"decorator_line": 113,
"file_path": "jupyterhub/orm.py",
"line_end": 181,
"line_start": 113,
"name": "Proxy",
"type": "class"
},
{
"decorator_line": 62,
"file_path": "jupyterhub/orm.py",
"line_end": 109,
"line_start": 62,
"name": "Server",
"type": "class"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__2
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
get
|
jupyterhub/handlers/login.py
| 29
| 40
|
[
{
"decorator_line": 93,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 98,
"line_start": 93,
"name": "get_current_user",
"type": "function"
},
{
"decorator_line": 122,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 143,
"line_start": 122,
"name": "set_login_cookie",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "jupyterhub/handlers/login.py",
"line_end": 27,
"line_start": 22,
"name": "_render",
"type": "function"
}
] | 3
|
jupyterhub__jupyterhub__cf64828d__3
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
run
|
setup.py
| 134
| 137
|
[
{
"decorator_line": 54,
"file_path": "setup.py",
"line_end": 65,
"line_start": 54,
"name": "get_data_files",
"type": "function"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__4
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_stop_spawner_stop_now
|
jupyterhub/tests/test_spawner.py
| 80
| 89
|
[
{
"decorator_line": 34,
"file_path": "jupyterhub/tests/test_spawner.py",
"line_end": 41,
"line_start": 34,
"name": "new_spawner",
"type": "function"
},
{
"decorator_line": 277,
"file_path": "jupyterhub/spawner.py",
"line_end": 319,
"line_start": 278,
"name": "stop",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__5
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
init_proxy
|
jupyterhub/app.py
| 326
| 341
|
[
{
"decorator_line": 113,
"file_path": "jupyterhub/orm.py",
"line_end": 181,
"line_start": 113,
"name": "Proxy",
"type": "class"
},
{
"decorator_line": 62,
"file_path": "jupyterhub/orm.py",
"line_end": 109,
"line_start": 62,
"name": "Server",
"type": "class"
},
{
"decorator_line": 28,
"file_path": "jupyterhub/orm.py",
"line_end": 33,
"line_start": 28,
"name": "new_token",
"type": "function"
}
] | 3
|
jupyterhub__jupyterhub__cf64828d__6
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
authenticate
|
jupyterhub/tests/mocking.py
| 48
| 50
|
[
{
"decorator_line": 42,
"file_path": "jupyterhub/auth.py",
"line_end": 56,
"line_start": 43,
"name": "authenticate",
"type": "function"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__7
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
get_current_user
|
jupyterhub/handlers/base.py
| 93
| 98
|
[
{
"decorator_line": 68,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 79,
"line_start": 68,
"name": "get_current_user_token",
"type": "function"
},
{
"decorator_line": 81,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 91,
"line_start": 81,
"name": "get_current_user_cookie",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__8
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
spawn
|
jupyterhub/orm.py
| 265
| 294
|
[
{
"decorator_line": 62,
"file_path": "jupyterhub/orm.py",
"line_end": 109,
"line_start": 62,
"name": "Server",
"type": "class"
},
{
"decorator_line": 256,
"file_path": "jupyterhub/orm.py",
"line_end": 258,
"line_start": 256,
"name": "new_api_token",
"type": "function"
},
{
"decorator_line": 94,
"file_path": "jupyterhub/orm.py",
"line_end": 97,
"line_start": 95,
"name": "wait_up",
"type": "function"
}
] | 3
|
jupyterhub__jupyterhub__cf64828d__9
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
clear_login_cookie
|
jupyterhub/handlers/base.py
| 116
| 120
|
[
{
"decorator_line": 93,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 98,
"line_start": 93,
"name": "get_current_user",
"type": "function"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__10
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
decorated
|
jupyterhub/utils.py
| 53
| 55
|
[
{
"decorator_line": 46,
"file_path": "jupyterhub/utils.py",
"line_end": 62,
"line_start": 46,
"name": "auth_decorator",
"type": "function"
},
{
"decorator_line": 52,
"file_path": "jupyterhub/utils.py",
"line_end": 58,
"line_start": 52,
"name": "decorator",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__11
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
delete
|
jupyterhub/apihandlers/users.py
| 97
| 114
|
[
{
"decorator_line": 100,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 105,
"line_start": 100,
"name": "find_user",
"type": "function"
},
{
"decorator_line": 93,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 98,
"line_start": 93,
"name": "get_current_user",
"type": "function"
},
{
"decorator_line": 174,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 177,
"line_start": 175,
"name": "stop_single_user",
"type": "function"
}
] | 3
|
jupyterhub__jupyterhub__cf64828d__12
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
new_cookie_token
|
jupyterhub/orm.py
| 260
| 262
|
[
{
"decorator_line": 252,
"file_path": "jupyterhub/orm.py",
"line_end": 254,
"line_start": 252,
"name": "_new_token",
"type": "function"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__13
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_add_admin
|
jupyterhub/tests/test_api.py
| 104
| 114
|
[
{
"decorator_line": 30,
"file_path": "jupyterhub/tests/test_api.py",
"line_end": 41,
"line_start": 30,
"name": "api_request",
"type": "function"
},
{
"decorator_line": 9,
"file_path": "jupyterhub/tests/test_api.py",
"line_end": 10,
"line_start": 9,
"name": "find_user",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__14
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_tokens
|
jupyterhub/tests/test_orm.py
| 74
| 87
|
[
{
"decorator_line": 211,
"file_path": "jupyterhub/orm.py",
"line_end": 306,
"line_start": 211,
"name": "User",
"type": "class"
},
{
"decorator_line": 260,
"file_path": "jupyterhub/orm.py",
"line_end": 262,
"line_start": 260,
"name": "new_cookie_token",
"type": "function"
},
{
"decorator_line": 256,
"file_path": "jupyterhub/orm.py",
"line_end": 258,
"line_start": 256,
"name": "new_api_token",
"type": "function"
}
] | 3
|
jupyterhub__jupyterhub__cf64828d__15
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_preexec_switch
|
jupyterhub/tests/test_spawner.py
| 56
| 62
|
[
{
"decorator_line": 34,
"file_path": "jupyterhub/tests/test_spawner.py",
"line_end": 41,
"line_start": 34,
"name": "new_spawner",
"type": "function"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__16
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
get
|
jupyterhub/apihandlers/users.py
| 69
| 71
|
[
{
"decorator_line": 100,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 105,
"line_start": 100,
"name": "find_user",
"type": "function"
},
{
"decorator_line": 20,
"file_path": "jupyterhub/apihandlers/users.py",
"line_end": 25,
"line_start": 20,
"name": "user_model",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__17
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
test_server
|
jupyterhub/tests/test_orm.py
| 14
| 24
|
[
{
"decorator_line": 62,
"file_path": "jupyterhub/orm.py",
"line_end": 109,
"line_start": 62,
"name": "Server",
"type": "class"
}
] | 1
|
jupyterhub__jupyterhub__cf64828d__18
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
app
|
jupyterhub/tests/conftest.py
| 46
| 50
|
[
{
"decorator_line": 52,
"file_path": "jupyterhub/tests/mocking.py",
"line_end": 87,
"line_start": 52,
"name": "MockHubApp",
"type": "class"
},
{
"decorator_line": 67,
"file_path": "jupyterhub/tests/mocking.py",
"line_end": 83,
"line_start": 67,
"name": "start",
"type": "function"
}
] | 2
|
jupyterhub__jupyterhub__cf64828d__19
|
jupyterhub/jupyterhub
|
cf64828d32507411da95ab666e43e191ead189fe
|
render_template
|
jupyterhub/handlers/base.py
| 187
| 190
|
[
{
"decorator_line": 183,
"file_path": "jupyterhub/handlers/base.py",
"line_end": 185,
"line_start": 183,
"name": "get_template",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__0
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
upload
|
dummyserver/handlers.py
| 91
| 113
|
[
{
"decorator_line": 19,
"file_path": "dummyserver/handlers.py",
"line_end": 30,
"line_start": 19,
"name": "Response",
"type": "class"
}
] | 1
|
urllib3__urllib3__4059daae__1
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
get_host
|
urllib3/util.py
| 100
| 152
|
[
{
"decorator_line": 74,
"file_path": "urllib3/util.py",
"line_end": 97,
"line_start": 74,
"name": "split_first",
"type": "function"
},
{
"decorator_line": 59,
"file_path": "urllib3/exceptions.py",
"line_end": 66,
"line_start": 59,
"name": "LocationParseError",
"type": "class"
}
] | 2
|
urllib3__urllib3__4059daae__2
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
connection_from_url
|
urllib3/connectionpool.py
| 500
| 524
|
[
{
"decorator_line": 100,
"file_path": "urllib3/util.py",
"line_end": 152,
"line_start": 100,
"name": "get_host",
"type": "function"
},
{
"decorator_line": 450,
"file_path": "urllib3/connectionpool.py",
"line_end": 497,
"line_start": 450,
"name": "HTTPSConnectionPool",
"type": "class"
},
{
"decorator_line": 124,
"file_path": "urllib3/connectionpool.py",
"line_end": 447,
"line_start": 124,
"name": "HTTPConnectionPool",
"type": "class"
}
] | 3
|
urllib3__urllib3__4059daae__3
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
keepalive
|
dummyserver/handlers.py
| 121
| 127
|
[
{
"decorator_line": 19,
"file_path": "dummyserver/handlers.py",
"line_end": 30,
"line_start": 19,
"name": "Response",
"type": "class"
}
] | 1
|
urllib3__urllib3__4059daae__4
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
request_encode_body
|
urllib3/request.py
| 81
| 127
|
[
{
"decorator_line": 41,
"file_path": "urllib3/filepost.py",
"line_end": 90,
"line_start": 41,
"name": "encode_multipart_formdata",
"type": "function"
},
{
"decorator_line": 44,
"file_path": "urllib3/request.py",
"line_end": 48,
"line_start": 44,
"name": "urlopen",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__5
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
run
|
dummyserver/server.py
| 88
| 91
|
[
{
"decorator_line": 76,
"file_path": "dummyserver/server.py",
"line_end": 86,
"line_start": 76,
"name": "_start_server",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__6
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
match_hostname
|
urllib3/packages/ssl_match_hostname/__init__.py
| 22
| 60
|
[
{
"decorator_line": 9,
"file_path": "urllib3/packages/ssl_match_hostname/__init__.py",
"line_end": 20,
"line_start": 9,
"name": "_dnsname_to_pat",
"type": "function"
},
{
"decorator_line": 6,
"file_path": "urllib3/packages/ssl_match_hostname/__init__.py",
"line_end": 7,
"line_start": 6,
"name": "CertificateError",
"type": "class"
}
] | 2
|
urllib3__urllib3__4059daae__7
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
test_recovery_when_server_closes_connection
|
test/with_dummyserver/test_socketlevel.py
| 31
| 67
|
[
{
"decorator_line": 22,
"file_path": "dummyserver/testcase.py",
"line_end": 32,
"line_start": 23,
"name": "_start_server",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__8
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
connection_from_url
|
urllib3/poolmanager.py
| 79
| 92
|
[
{
"decorator_line": 100,
"file_path": "urllib3/util.py",
"line_end": 152,
"line_start": 100,
"name": "get_host",
"type": "function"
},
{
"decorator_line": 56,
"file_path": "urllib3/poolmanager.py",
"line_end": 77,
"line_start": 56,
"name": "connection_from_host",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__9
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
setUpClass
|
dummyserver/testcase.py
| 58
| 59
|
[
{
"decorator_line": 42,
"file_path": "dummyserver/testcase.py",
"line_end": 51,
"line_start": 43,
"name": "_start_server",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__10
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
request
|
urllib3/request.py
| 50
| 70
|
[
{
"decorator_line": 72,
"file_path": "urllib3/request.py",
"line_end": 79,
"line_start": 72,
"name": "request_encode_url",
"type": "function"
},
{
"decorator_line": 81,
"file_path": "urllib3/request.py",
"line_end": 127,
"line_start": 81,
"name": "request_encode_body",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__11
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
is_same_host
|
urllib3/connectionpool.py
| 274
| 287
|
[
{
"decorator_line": 100,
"file_path": "urllib3/util.py",
"line_end": 152,
"line_start": 100,
"name": "get_host",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__12
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
read
|
urllib3/response.py
| 111
| 161
|
[
{
"decorator_line": 9,
"file_path": "urllib3/exceptions.py",
"line_end": 11,
"line_start": 9,
"name": "HTTPError",
"type": "class"
},
{
"decorator_line": 95,
"file_path": "urllib3/response.py",
"line_end": 100,
"line_start": 95,
"name": "release_conn",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__13
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
test_simple
|
test/with_dummyserver/test_socketlevel.py
| 73
| 100
|
[
{
"decorator_line": 22,
"file_path": "dummyserver/testcase.py",
"line_end": 32,
"line_start": 23,
"name": "_start_server",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__14
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
urlopen
|
urllib3/poolmanager.py
| 94
| 107
|
[
{
"decorator_line": 79,
"file_path": "urllib3/poolmanager.py",
"line_end": 92,
"line_start": 79,
"name": "connection_from_url",
"type": "function"
},
{
"decorator_line": 289,
"file_path": "urllib3/connectionpool.py",
"line_end": 447,
"line_start": 289,
"name": "urlopen",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__15
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
specific_method
|
dummyserver/handlers.py
| 80
| 89
|
[
{
"decorator_line": 19,
"file_path": "dummyserver/handlers.py",
"line_end": 30,
"line_start": 19,
"name": "Response",
"type": "class"
}
] | 1
|
urllib3__urllib3__4059daae__16
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
proxy_from_url
|
urllib3/poolmanager.py
| 135
| 137
|
[
{
"decorator_line": 500,
"file_path": "urllib3/connectionpool.py",
"line_end": 524,
"line_start": 500,
"name": "connection_from_url",
"type": "function"
},
{
"decorator_line": 110,
"file_path": "urllib3/poolmanager.py",
"line_end": 132,
"line_start": 110,
"name": "ProxyManager",
"type": "class"
}
] | 2
|
urllib3__urllib3__4059daae__17
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
tearDownClass
|
dummyserver/testcase.py
| 62
| 63
|
[
{
"decorator_line": 53,
"file_path": "dummyserver/testcase.py",
"line_end": 55,
"line_start": 54,
"name": "_stop_server",
"type": "function"
}
] | 1
|
urllib3__urllib3__4059daae__18
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
urlopen
|
urllib3/poolmanager.py
| 128
| 132
|
[
{
"decorator_line": 119,
"file_path": "urllib3/poolmanager.py",
"line_end": 126,
"line_start": 119,
"name": "_set_proxy_headers",
"type": "function"
},
{
"decorator_line": 289,
"file_path": "urllib3/connectionpool.py",
"line_end": 447,
"line_start": 289,
"name": "urlopen",
"type": "function"
}
] | 2
|
urllib3__urllib3__4059daae__19
|
urllib3/urllib3
|
4059daae19a943834a3dd995c277448713483734
|
sleep
|
dummyserver/handlers.py
| 129
| 133
|
[
{
"decorator_line": 19,
"file_path": "dummyserver/handlers.py",
"line_end": 30,
"line_start": 19,
"name": "Response",
"type": "class"
}
] | 1
|
aws__aws-sam-cli__28eacbdd__0
|
aws/aws-sam-cli
|
28eacbdd299917b2cceeb9444fe22bd57d33d97d
|
post
|
test/templates/sam-official-samples/encryption_proxy/encryption.py
| 31
| 52
|
[
{
"decorator_line": 15,
"file_path": "test/templates/sam-official-samples/encryption_proxy/encryption.py",
"line_end": 28,
"line_start": 15,
"name": "encrypt",
"type": "function"
}
] | 1
|
aws__aws-sam-cli__28eacbdd__1
|
aws/aws-sam-cli
|
28eacbdd299917b2cceeb9444fe22bd57d33d97d
|
post
|
vendor/github.com/awslabs/goformation/test-resources/sam/encryption_proxy/encryption.py
| 31
| 52
|
[
{
"decorator_line": 15,
"file_path": "vendor/github.com/awslabs/goformation/test-resources/sam/encryption_proxy/encryption.py",
"line_end": 28,
"line_start": 15,
"name": "encrypt",
"type": "function"
}
] | 1
|
aws__aws-sam-cli__28eacbdd__2
|
aws/aws-sam-cli
|
28eacbdd299917b2cceeb9444fe22bd57d33d97d
|
post
|
test/templates/sam-official-samples/encryption_proxy/decryption.py
| 31
| 48
|
[
{
"decorator_line": 14,
"file_path": "test/templates/sam-official-samples/encryption_proxy/decryption.py",
"line_end": 28,
"line_start": 14,
"name": "decrypt",
"type": "function"
}
] | 1
|
aws__aws-sam-cli__28eacbdd__3
|
aws/aws-sam-cli
|
28eacbdd299917b2cceeb9444fe22bd57d33d97d
|
post
|
vendor/github.com/awslabs/goformation/test-resources/sam/encryption_proxy/decryption.py
| 31
| 48
|
[
{
"decorator_line": 14,
"file_path": "vendor/github.com/awslabs/goformation/test-resources/sam/encryption_proxy/decryption.py",
"line_end": 28,
"line_start": 14,
"name": "decrypt",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__0
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
remove_filename_from_pth
|
pip/commands/zip.py
| 209
| 229
|
[
{
"decorator_line": 250,
"file_path": "pip/commands/zip.py",
"line_end": 256,
"line_start": 250,
"name": "pth_files",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__1
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
scraped_rel_links
|
pip/index.py
| 533
| 545
|
[
{
"decorator_line": 549,
"file_path": "pip/index.py",
"line_end": 554,
"line_start": 549,
"name": "clean_link",
"type": "function"
},
{
"decorator_line": 557,
"file_path": "pip/index.py",
"line_end": 620,
"line_start": 557,
"name": "Link",
"type": "class"
}
] | 2
|
pypa__pip__1da5a985__2
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
remove
|
pip/req.py
| 1,364
| 1,396
|
[
{
"decorator_line": 1322,
"file_path": "pip/req.py",
"line_end": 1327,
"line_start": 1322,
"name": "_can_uninstall",
"type": "function"
},
{
"decorator_line": 1347,
"file_path": "pip/req.py",
"line_end": 1358,
"line_start": 1347,
"name": "compact",
"type": "function"
},
{
"decorator_line": 1360,
"file_path": "pip/req.py",
"line_end": 1362,
"line_start": 1360,
"name": "_stash",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__3
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
get_env
|
tests/test_pip.py
| 501
| 504
|
[
{
"decorator_line": 108,
"file_path": "tests/test_pip.py",
"line_end": 115,
"line_start": 108,
"name": "reset_env",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__4
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
rel_links
|
pip/index.py
| 511
| 515
|
[
{
"decorator_line": 517,
"file_path": "pip/index.py",
"line_end": 531,
"line_start": 517,
"name": "explicit_rel_links",
"type": "function"
},
{
"decorator_line": 533,
"file_path": "pip/index.py",
"line_end": 545,
"line_start": 533,
"name": "scraped_rel_links",
"type": "function"
}
] | 2
|
pypa__pip__1da5a985__5
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
run
|
pip/commands/zip.py
| 87
| 113
|
[
{
"decorator_line": 258,
"file_path": "pip/commands/zip.py",
"line_end": 275,
"line_start": 258,
"name": "find_package",
"type": "function"
},
{
"decorator_line": 115,
"file_path": "pip/commands/zip.py",
"line_end": 163,
"line_start": 115,
"name": "unzip_package",
"type": "function"
},
{
"decorator_line": 165,
"file_path": "pip/commands/zip.py",
"line_end": 207,
"line_start": 165,
"name": "zip_package",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__6
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
cleanup_files
|
pip/req.py
| 1,028
| 1,048
|
[
{
"decorator_line": 1050,
"file_path": "pip/req.py",
"line_end": 1052,
"line_start": 1050,
"name": "_pip_has_created_build_dir",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__7
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
local_checkout
|
tests/local_repos.py
| 67
| 70
|
[
{
"decorator_line": 29,
"file_path": "tests/local_repos.py",
"line_end": 33,
"line_start": 29,
"name": "_create_svn_repository_for_initools",
"type": "function"
},
{
"decorator_line": 43,
"file_path": "tests/local_repos.py",
"line_end": 64,
"line_start": 43,
"name": "_get_vcs_and_checkout_url",
"type": "function"
}
] | 2
|
pypa__pip__1da5a985__8
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
get_src_requirement
|
pip/vcs/bazaar.py
| 104
| 119
|
[
{
"decorator_line": 73,
"file_path": "pip/vcs/bazaar.py",
"line_end": 85,
"line_start": 73,
"name": "get_url",
"type": "function"
},
{
"decorator_line": 87,
"file_path": "pip/vcs/bazaar.py",
"line_end": 90,
"line_start": 87,
"name": "get_revision",
"type": "function"
},
{
"decorator_line": 92,
"file_path": "pip/vcs/bazaar.py",
"line_end": 102,
"line_start": 92,
"name": "get_tag_revs",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__9
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
export
|
pip/vcs/subversion.py
| 53
| 67
|
[
{
"decorator_line": 153,
"file_path": "pip/vcs/subversion.py",
"line_end": 158,
"line_start": 153,
"name": "get_url_rev",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__10
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
load_all_commands
|
pip/basecommand.py
| 196
| 198
|
[
{
"decorator_line": 201,
"file_path": "pip/basecommand.py",
"line_end": 203,
"line_start": 201,
"name": "command_names",
"type": "function"
},
{
"decorator_line": 186,
"file_path": "pip/basecommand.py",
"line_end": 193,
"line_start": 186,
"name": "load_command",
"type": "function"
}
] | 2
|
pypa__pip__1da5a985__11
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
check_destination
|
pip/vcs/__init__.py
| 173
| 222
|
[
{
"decorator_line": 140,
"file_path": "pip/vcs/__init__.py",
"line_end": 144,
"line_start": 140,
"name": "compare_urls",
"type": "function"
},
{
"decorator_line": 167,
"file_path": "pip/vcs/__init__.py",
"line_end": 171,
"line_start": 167,
"name": "update",
"type": "function"
},
{
"decorator_line": 161,
"file_path": "pip/vcs/__init__.py",
"line_end": 165,
"line_start": 161,
"name": "switch",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__12
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
highest_version
|
pip/commands/search.py
| 111
| 112
|
[
{
"decorator_line": 103,
"file_path": "pip/commands/search.py",
"line_end": 108,
"line_start": 103,
"name": "compare_versions",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__13
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
main
|
tests/test_all_pip.py
| 20
| 42
|
[
{
"decorator_line": 14,
"file_path": "tests/test_all_pip.py",
"line_end": 17,
"line_start": 14,
"name": "all_projects",
"type": "function"
},
{
"decorator_line": 45,
"file_path": "tests/test_all_pip.py",
"line_end": 80,
"line_start": 45,
"name": "_test_packages",
"type": "function"
}
] | 2
|
pypa__pip__1da5a985__14
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
obtain
|
pip/vcs/git.py
| 96
| 111
|
[
{
"decorator_line": 174,
"file_path": "pip/vcs/git.py",
"line_end": 189,
"line_start": 174,
"name": "get_url_rev",
"type": "function"
},
{
"decorator_line": 62,
"file_path": "pip/vcs/git.py",
"line_end": 80,
"line_start": 62,
"name": "check_rev_options",
"type": "function"
},
{
"decorator_line": 119,
"file_path": "pip/vcs/git.py",
"line_end": 122,
"line_start": 119,
"name": "get_revision",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__15
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
realpath
|
tests/path.py
| 107
| 109
|
[
{
"decorator_line": 17,
"file_path": "tests/path.py",
"line_end": 205,
"line_start": 17,
"name": "Path",
"type": "class"
}
] | 1
|
pypa__pip__1da5a985__16
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
end_progress
|
pip/log.py
| 94
| 109
|
[
{
"decorator_line": 77,
"file_path": "pip/log.py",
"line_end": 79,
"line_start": 77,
"name": "_show_progress",
"type": "function"
},
{
"decorator_line": 111,
"file_path": "pip/log.py",
"line_end": 125,
"line_start": 111,
"name": "show_progress",
"type": "function"
}
] | 2
|
pypa__pip__1da5a985__17
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
get_source
|
pip/_pkgutil.py
| 289
| 306
|
[
{
"decorator_line": 260,
"file_path": "pip/_pkgutil.py",
"line_end": 266,
"line_start": 260,
"name": "_fix_name",
"type": "function"
},
{
"decorator_line": 252,
"file_path": "pip/_pkgutil.py",
"line_end": 258,
"line_start": 252,
"name": "_reopen",
"type": "function"
},
{
"decorator_line": 308,
"file_path": "pip/_pkgutil.py",
"line_end": 309,
"line_start": 308,
"name": "_get_delegate",
"type": "function"
}
] | 3
|
pypa__pip__1da5a985__18
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
test_freeze_with_local_option
|
tests/test_freeze.py
| 174
| 202
|
[
{
"decorator_line": 11,
"file_path": "tests/test_freeze.py",
"line_end": 32,
"line_start": 11,
"name": "_check_output",
"type": "function"
}
] | 1
|
pypa__pip__1da5a985__19
|
pypa/pip
|
1da5a985b181694225ca8971083512aa4ba58808
|
untar_file
|
pip/util.py
| 389
| 439
|
[
{
"decorator_line": 179,
"file_path": "pip/util.py",
"line_end": 191,
"line_start": 179,
"name": "has_leading_dir",
"type": "function"
},
{
"decorator_line": 167,
"file_path": "pip/util.py",
"line_end": 176,
"line_start": 167,
"name": "split_leading_dir",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__0
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_dense_diff_pool
|
test/nn/dense/test_diff_pool.py
| 4
| 15
|
[
{
"decorator_line": 5,
"file_path": "torch_geometric/nn/dense/diff_pool.py",
"line_end": 64,
"line_start": 5,
"name": "dense_diff_pool",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__1
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
download
|
torch_geometric/datasets/tosca.py
| 78
| 81
|
[
{
"decorator_line": 8,
"file_path": "torch_geometric/data/download.py",
"line_end": 35,
"line_start": 8,
"name": "download_url",
"type": "function"
},
{
"decorator_line": 29,
"file_path": "torch_geometric/data/extract.py",
"line_end": 40,
"line_start": 29,
"name": "extract_zip",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__2
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_distance
|
test/transforms/test_distance.py
| 5
| 24
|
[
{
"decorator_line": 37,
"file_path": "torch_geometric/transforms/distance.py",
"line_end": 39,
"line_start": 37,
"name": "__repr__",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "torch_geometric/transforms/distance.py",
"line_end": 39,
"line_start": 3,
"name": "Distance",
"type": "class"
},
{
"decorator_line": 29,
"file_path": "torch_geometric/data/data.py",
"line_end": 361,
"line_start": 29,
"name": "Data",
"type": "class"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__3
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
degree
|
torch_geometric/utils/degree.py
| 5
| 20
|
[
{
"decorator_line": 0,
"file_path": "torch_geometric/utils/num_nodes.py",
"line_end": 1,
"line_start": 0,
"name": "maybe_num_nodes",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__4
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_edge_conv_conv
|
test/nn/conv/test_edge_conv.py
| 5
| 19
|
[
{
"decorator_line": 7,
"file_path": "torch_geometric/nn/conv/edge_conv.py",
"line_end": 49,
"line_start": 7,
"name": "EdgeConv",
"type": "class"
},
{
"decorator_line": 48,
"file_path": "torch_geometric/nn/conv/edge_conv.py",
"line_end": 49,
"line_start": 48,
"name": "__repr__",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__5
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_target_indegree
|
test/transforms/test_local_degree_profile.py
| 5
| 21
|
[
{
"decorator_line": 43,
"file_path": "torch_geometric/transforms/local_degree_profile.py",
"line_end": 44,
"line_start": 43,
"name": "__repr__",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "torch_geometric/transforms/local_degree_profile.py",
"line_end": 44,
"line_start": 5,
"name": "LocalDegreeProfile",
"type": "class"
},
{
"decorator_line": 29,
"file_path": "torch_geometric/data/data.py",
"line_end": 361,
"line_start": 29,
"name": "Data",
"type": "class"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__6
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_dropout_adj
|
test/utils/test_dropout.py
| 4
| 20
|
[
{
"decorator_line": 10,
"file_path": "torch_geometric/utils/dropout.py",
"line_end": 62,
"line_start": 10,
"name": "dropout_adj",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__7
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_subgraph_convert
|
test/utils/test_convert.py
| 70
| 78
|
[
{
"decorator_line": 75,
"file_path": "torch_geometric/utils/convert.py",
"line_end": 106,
"line_start": 75,
"name": "from_networkx",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "torch_geometric/utils/subgraph.py",
"line_end": 52,
"line_start": 5,
"name": "subgraph",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__8
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
loss
|
torch_geometric/nn/models/signed_gcn.py
| 211
| 222
|
[
{
"decorator_line": 159,
"file_path": "torch_geometric/nn/models/signed_gcn.py",
"line_end": 183,
"line_start": 159,
"name": "nll_loss",
"type": "function"
},
{
"decorator_line": 185,
"file_path": "torch_geometric/nn/models/signed_gcn.py",
"line_end": 196,
"line_start": 185,
"name": "pos_embedding_loss",
"type": "function"
},
{
"decorator_line": 198,
"file_path": "torch_geometric/nn/models/signed_gcn.py",
"line_end": 209,
"line_start": 198,
"name": "neg_embedding_loss",
"type": "function"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__9
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
reset_parameters
|
benchmark/kernel/sort_pool.py
| 17
| 22
|
[
{
"decorator_line": 47,
"file_path": "torch_geometric/nn/conv/sage_conv.py",
"line_end": 49,
"line_start": 47,
"name": "reset_parameters",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__10
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
dropout_adj
|
torch_geometric/utils/dropout.py
| 10
| 62
|
[
{
"decorator_line": 0,
"file_path": "torch_geometric/utils/num_nodes.py",
"line_end": 1,
"line_start": 0,
"name": "maybe_num_nodes",
"type": "function"
},
{
"decorator_line": 6,
"file_path": "torch_geometric/utils/dropout.py",
"line_end": 7,
"line_start": 6,
"name": "filter_adj",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__11
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_point_pair_features
|
test/transforms/test_point_pair_features.py
| 7
| 35
|
[
{
"decorator_line": 44,
"file_path": "torch_geometric/transforms/point_pair_features.py",
"line_end": 45,
"line_start": 44,
"name": "__repr__",
"type": "function"
},
{
"decorator_line": 4,
"file_path": "torch_geometric/transforms/point_pair_features.py",
"line_end": 45,
"line_start": 4,
"name": "PointPairFeatures",
"type": "class"
},
{
"decorator_line": 29,
"file_path": "torch_geometric/data/data.py",
"line_end": 361,
"line_start": 29,
"name": "Data",
"type": "class"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__12
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
forward
|
benchmark/kernel/gcn.py
| 23
| 32
|
[
{
"decorator_line": 26,
"file_path": "torch_geometric/nn/glob/glob.py",
"line_end": 46,
"line_start": 26,
"name": "global_mean_pool",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__13
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
scatter
|
torch_geometric/nn/data_parallel.py
| 63
| 81
|
[
{
"decorator_line": 269,
"file_path": "torch_geometric/data/data.py",
"line_end": 274,
"line_start": 269,
"name": "to",
"type": "function"
},
{
"decorator_line": 20,
"file_path": "torch_geometric/data/batch.py",
"line_end": 88,
"line_start": 21,
"name": "from_data_list",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__14
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_sampler
|
test/data/test_sampler.py
| 15
| 47
|
[
{
"decorator_line": 29,
"file_path": "torch_geometric/data/data.py",
"line_end": 361,
"line_start": 29,
"name": "Data",
"type": "class"
},
{
"decorator_line": 5,
"file_path": "torch_geometric/utils/random.py",
"line_end": 33,
"line_start": 5,
"name": "erdos_renyi_graph",
"type": "function"
},
{
"decorator_line": 69,
"file_path": "torch_geometric/data/sampler.py",
"line_end": 264,
"line_start": 69,
"name": "NeighborSampler",
"type": "class"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__15
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
message
|
torch_geometric/nn/conv/agnn_conv.py
| 57
| 63
|
[
{
"decorator_line": 5,
"file_path": "torch_geometric/utils/softmax.py",
"line_end": 27,
"line_start": 5,
"name": "softmax",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__16
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_hypergraph_conv
|
test/nn/conv/test_hypergraph_conv.py
| 4
| 34
|
[
{
"decorator_line": 10,
"file_path": "torch_geometric/nn/conv/hypergraph_conv.py",
"line_end": 155,
"line_start": 10,
"name": "HypergraphConv",
"type": "class"
},
{
"decorator_line": 153,
"file_path": "torch_geometric/nn/conv/hypergraph_conv.py",
"line_end": 155,
"line_start": 153,
"name": "__repr__",
"type": "function"
}
] | 2
|
pyg-team__pytorch_geometric__5ea66a21__17
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
forward
|
torch_geometric/nn/conv/agnn_conv.py
| 47
| 55
|
[
{
"decorator_line": 19,
"file_path": "torch_geometric/utils/loop.py",
"line_end": 35,
"line_start": 19,
"name": "remove_self_loops",
"type": "function"
},
{
"decorator_line": 61,
"file_path": "torch_geometric/utils/loop.py",
"line_end": 92,
"line_start": 61,
"name": "add_self_loops",
"type": "function"
},
{
"decorator_line": 58,
"file_path": "torch_geometric/nn/conv/message_passing.py",
"line_end": 126,
"line_start": 58,
"name": "propagate",
"type": "function"
}
] | 3
|
pyg-team__pytorch_geometric__5ea66a21__18
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_topk
|
test/nn/pool/test_topk_pool.py
| 6
| 14
|
[
{
"decorator_line": 9,
"file_path": "torch_geometric/nn/pool/topk_pool.py",
"line_end": 45,
"line_start": 9,
"name": "topk",
"type": "function"
}
] | 1
|
pyg-team__pytorch_geometric__5ea66a21__19
|
pyg-team/pytorch_geometric
|
5ea66a21c3e1f16a3deee8bfe46b40b1123691da
|
test_jumping_knowledge
|
test/nn/models/test_jumping_knowledge.py
| 4
| 18
|
[
{
"decorator_line": 4,
"file_path": "torch_geometric/nn/models/jumping_knowledge.py",
"line_end": 82,
"line_start": 4,
"name": "JumpingKnowledge",
"type": "class"
},
{
"decorator_line": 81,
"file_path": "torch_geometric/nn/models/jumping_knowledge.py",
"line_end": 82,
"line_start": 81,
"name": "__repr__",
"type": "function"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__0
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
symbolic_testfunc_default
|
tests/test_core/test_symbolic_register.py
| 105
| 106
|
[
{
"decorator_line": 38,
"file_path": "mmdeploy/core/rewriters/symbolic_rewriter.py",
"line_end": 70,
"line_start": 38,
"name": "register_symbolic",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__1
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_roi_align
|
tests/test_ops/test_ops.py
| 21
| 56
|
[
{
"decorator_line": 109,
"file_path": "mmdeploy/utils/test.py",
"line_end": 135,
"line_start": 109,
"name": "WrapFunction",
"type": "class"
},
{
"decorator_line": 60,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 108,
"line_start": 60,
"name": "RewriterContext",
"type": "class"
}
] | 2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.