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
dask__distributed__14593b5a__17
dask/distributed
14593b5a1bc32f1cc262406ff1aecca5a60133c7
f
distributed/tests/test_core.py
56
65
[ { "decorator_line": 25, "file_path": "distributed/core.py", "line_end": 112, "line_start": 25, "name": "Server", "type": "class" }, { "decorator_line": 50, "file_path": "distributed/tests/test_core.py", "line_end": 53, "line_start": 51, "name": "g", "type": "funct...
3
dask__distributed__14593b5a__18
dask/distributed
14593b5a1bc32f1cc262406ff1aecca5a60133c7
as_completed
distributed/executor.py
414
429
[ { "decorator_line": 399, "file_path": "distributed/executor.py", "line_end": 410, "line_start": 400, "name": "_as_completed", "type": "function" } ]
1
dask__distributed__14593b5a__19
dask/distributed
14593b5a1bc32f1cc262406ff1aecca5a60133c7
submit
distributed/executor.py
207
250
[ { "decorator_line": 8, "file_path": "distributed/utils.py", "line_end": 15, "line_start": 8, "name": "funcname", "type": "function" }, { "decorator_line": 32, "file_path": "distributed/executor.py", "line_end": 74, "line_start": 32, "name": "Future", "type": "clas...
2
explosion__spaCy__3dded56a__0
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
count_freqs
bin/get_freqs.py
27
42
[ { "decorator_line": 21, "file_path": "bin/get_freqs.py", "line_end": 24, "line_start": 21, "name": "iter_comments", "type": "function" } ]
1
explosion__spaCy__3dded56a__1
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_serialize_after_adding_entity
spacy/tests/serialize/test_serialization.py
101
115
[ { "decorator_line": 42, "file_path": "spacy/language.py", "line_end": 54, "line_start": 43, "name": "create_vocab", "type": "function" }, { "decorator_line": 108, "file_path": "spacy/language.py", "line_end": 117, "line_start": 109, "name": "create_entity", "type"...
2
explosion__spaCy__3dded56a__2
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
read_wsj_with_source
bin/prepare_treebank.py
134
151
[ { "decorator_line": 37, "file_path": "bin/prepare_treebank.py", "line_end": 40, "line_start": 37, "name": "_iter_raw_files", "type": "function" }, { "decorator_line": 119, "file_path": "bin/prepare_treebank.py", "line_end": 124, "line_start": 119, "name": "read_file",...
3
explosion__spaCy__3dded56a__3
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
en_nlp
spacy/tests/spans/conftest.py
6
7
[ { "decorator_line": 13, "file_path": "spacy/en/__init__.py", "line_end": 30, "line_start": 13, "name": "English", "type": "class" } ]
1
explosion__spaCy__3dded56a__4
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_TT_sim
spacy/tests/vectors/test_similarity.py
68
79
[ { "decorator_line": 14, "file_path": "spacy/tests/vectors/test_similarity.py", "line_end": 15, "line_start": 14, "name": "get_cosine", "type": "function" }, { "decorator_line": 10, "file_path": "spacy/tests/vectors/test_similarity.py", "line_end": 11, "line_start": 10, ...
2
explosion__spaCy__3dded56a__5
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
do_web
spacy/munge/align_raw.py
199
215
[ { "decorator_line": 13, "file_path": "spacy/munge/read_ontonotes.py", "line_end": 34, "line_start": 13, "name": "sgml_extract", "type": "function" }, { "decorator_line": 5, "file_path": "spacy/munge/read_ptb.py", "line_end": 34, "line_start": 5, "name": "parse", "...
3
explosion__spaCy__3dded56a__6
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_space_attachment_leading_space
spacy/tests/parser/test_space_attachment.py
32
42
[ { "decorator_line": 6, "file_path": "spacy/tests/parser/test_space_attachment.py", "line_end": 10, "line_start": 6, "name": "make_doc", "type": "function" } ]
1
explosion__spaCy__3dded56a__7
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_LL_sim
spacy/tests/vectors/test_similarity.py
54
65
[ { "decorator_line": 14, "file_path": "spacy/tests/vectors/test_similarity.py", "line_end": 15, "line_start": 14, "name": "get_cosine", "type": "function" }, { "decorator_line": 10, "file_path": "spacy/tests/vectors/test_similarity.py", "line_end": 11, "line_start": 10, ...
2
explosion__spaCy__3dded56a__8
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
main
examples/deep_learning_keras.py
177
204
[ { "decorator_line": 151, "file_path": "examples/deep_learning_keras.py", "line_end": 161, "line_start": 151, "name": "read_data", "type": "function" }, { "decorator_line": 132, "file_path": "examples/deep_learning_keras.py", "line_end": 148, "line_start": 132, "name":...
3
explosion__spaCy__3dded56a__9
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_serialize_tokens_parse
spacy/tests/serialize/test_serialization.py
44
48
[ { "decorator_line": 8, "file_path": "spacy/tests/serialize/test_serialization.py", "line_end": 25, "line_start": 8, "name": "equal", "type": "function" } ]
1
explosion__spaCy__3dded56a__10
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
load
spacy/lemmatizer.py
11
29
[ { "decorator_line": 94, "file_path": "spacy/lemmatizer.py", "line_end": 103, "line_start": 94, "name": "read_index", "type": "function" }, { "decorator_line": 106, "file_path": "spacy/lemmatizer.py", "line_end": 113, "line_start": 106, "name": "read_exc", "type": ...
2
explosion__spaCy__3dded56a__11
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
vocab
spacy/tests/serialize/test_packer.py
23
36
[ { "decorator_line": 55, "file_path": "spacy/util.py", "line_end": 67, "line_start": 55, "name": "match_best_version", "type": "function" }, { "decorator_line": 34, "file_path": "spacy/util.py", "line_end": 35, "line_start": 34, "name": "get_data_path", "type": "fu...
3
explosion__spaCy__3dded56a__12
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test1
spacy/tests/serialize/test_huffman.py
31
49
[ { "decorator_line": 14, "file_path": "spacy/tests/serialize/test_huffman.py", "line_end": 28, "line_start": 14, "name": "py_encode", "type": "function" } ]
1
explosion__spaCy__3dded56a__13
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
process
examples/paddle/sentiment_bilstm/dataprovider.py
39
45
[ { "decorator_line": 12, "file_path": "examples/paddle/sentiment_bilstm/dataprovider.py", "line_end": 17, "line_start": 12, "name": "read_data", "type": "function" }, { "decorator_line": 5, "file_path": "examples/paddle/sentiment_bilstm/dataprovider.py", "line_end": 9, "li...
2
explosion__spaCy__3dded56a__14
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
main
examples/parallel_parse.py
60
68
[ { "decorator_line": 22, "file_path": "examples/parallel_parse.py", "line_end": 25, "line_start": 22, "name": "iter_comments", "type": "function" }, { "decorator_line": 16, "file_path": "examples/parallel_parse.py", "line_end": 19, "line_start": 16, "name": "paralleliz...
3
explosion__spaCy__3dded56a__15
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
main
examples/training/train_tagger.py
47
72
[ { "decorator_line": 42, "file_path": "examples/training/train_tagger.py", "line_end": 44, "line_start": 42, "name": "ensure_dir", "type": "function" } ]
1
explosion__spaCy__3dded56a__16
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
generate_specials
lang_data/en/generate_specials.py
380
415
[ { "decorator_line": 347, "file_path": "lang_data/en/generate_specials.py", "line_end": 360, "line_start": 347, "name": "get_double_contractions", "type": "function" }, { "decorator_line": 372, "file_path": "lang_data/en/generate_specials.py", "line_end": 378, "line_start"...
2
explosion__spaCy__3dded56a__17
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
parse
spacy/munge/read_ner.py
12
40
[ { "decorator_line": 44, "file_path": "spacy/munge/read_ner.py", "line_end": 52, "line_start": 44, "name": "_fix_inner_entities", "type": "function" }, { "decorator_line": 70, "file_path": "spacy/munge/read_ner.py", "line_end": 75, "line_start": 70, "name": "_get_text"...
3
explosion__spaCy__3dded56a__18
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
test_serialize_tokens
spacy/tests/serialize/test_serialization.py
29
33
[ { "decorator_line": 8, "file_path": "spacy/tests/serialize/test_serialization.py", "line_end": 25, "line_start": 8, "name": "equal", "type": "function" } ]
1
explosion__spaCy__3dded56a__19
explosion/spaCy
3dded56ae18951213b107da8abfb8cf36af4193c
main
bin/munge_ewtb.py
62
84
[ { "decorator_line": 21, "file_path": "bin/munge_ewtb.py", "line_end": 28, "line_start": 21, "name": "read_parses", "type": "function" }, { "decorator_line": 40, "file_path": "bin/munge_ewtb.py", "line_end": 41, "line_start": 40, "name": "_fmt_doc", "type": "functi...
2
pylint-dev__pylint__07e56cdc__0
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
append_stream
pylint/checkers/similar.py
41
54
[ { "decorator_line": 165, "file_path": "pylint/checkers/similar.py", "line_end": 215, "line_start": 165, "name": "LineSet", "type": "class" } ]
1
pylint-dev__pylint__07e56cdc__1
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
visit_excepthandler
pylint/checkers/python3.py
509
512
[ { "decorator_line": 294, "file_path": "pylint/checkers/utils.py", "line_end": 300, "line_start": 294, "name": "check_messages", "type": "function" }, { "decorator_line": 97, "file_path": "pylint/checkers/__init__.py", "line_end": 99, "line_start": 97, "name": "add_mes...
2
pylint-dev__pylint__07e56cdc__2
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_deprecated_no_qname_on_unexpected_nodes
pylint/test/unittest_checker_stdlib.py
38
59
[ { "decorator_line": 26, "file_path": "pylint/test/unittest_checker_stdlib.py", "line_end": 32, "line_start": 27, "name": "_add_transform", "type": "function" }, { "decorator_line": 200, "file_path": "pylint/testutils.py", "line_end": 204, "line_start": 201, "name": "a...
3
pylint-dev__pylint__07e56cdc__3
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
diff_string
pylint/reporters/__init__.py
30
36
[ { "decorator_line": 27, "file_path": "pylint/reporters/__init__.py", "line_end": 28, "line_start": 27, "name": "cmp", "type": "function" } ]
1
pylint-dev__pylint__07e56cdc__4
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
dispatch
pylint/test/functional/mapping_context.py
61
63
[ { "decorator_line": 55, "file_path": "pylint/test/functional/mapping_context.py", "line_end": 56, "line_start": 55, "name": "get_kwargs", "type": "function" }, { "decorator_line": 58, "file_path": "pylint/test/functional/mapping_context.py", "line_end": 59, "line_start": ...
2
pylint-dev__pylint__07e56cdc__5
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_no_member_in_getattr
pylint/test/unittest_checker_typecheck.py
12
25
[ { "decorator_line": 206, "file_path": "pylint/testutils.py", "line_end": 219, "line_start": 207, "name": "assertAddsMessages", "type": "function" }, { "decorator_line": 136, "file_path": "pylint/testutils.py", "line_end": 139, "line_start": 136, "name": "Message", ...
3
pylint-dev__pylint__07e56cdc__6
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
func
pylint/test/functional/arguments.py
105
110
[ { "decorator_line": 101, "file_path": "pylint/test/functional/arguments.py", "line_end": 103, "line_start": 102, "name": "test", "type": "function" } ]
1
pylint-dev__pylint__07e56cdc__7
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
as_iterable_in_listcomp_test
pylint/test/unittest_checker_python3.py
90
94
[ { "decorator_line": 200, "file_path": "pylint/testutils.py", "line_end": 204, "line_start": 201, "name": "assertNoMessages", "type": "function" }, { "decorator_line": 221, "file_path": "pylint/testutils.py", "line_end": 225, "line_start": 221, "name": "walk", "typ...
2
pylint-dev__pylint__07e56cdc__8
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
report_raw_stats
pylint/checkers/raw_metrics.py
34
53
[ { "decorator_line": 44, "file_path": "pylint/utils.py", "line_end": 45, "line_start": 44, "name": "EmptyReport", "type": "class" }, { "decorator_line": 30, "file_path": "pylint/reporters/__init__.py", "line_end": 36, "line_start": 30, "name": "diff_string", "type"...
3
pylint-dev__pylint__07e56cdc__9
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
load_tests
pylint/test/test_func.py
72
73
[ { "decorator_line": 67, "file_path": "pylint/test/test_func.py", "line_end": 69, "line_start": 67, "name": "suite", "type": "function" } ]
1
pylint-dev__pylint__07e56cdc__10
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
as_argument_to_callable_constructor_test
pylint/test/unittest_checker_python3.py
119
122
[ { "decorator_line": 200, "file_path": "pylint/testutils.py", "line_end": 204, "line_start": 201, "name": "assertNoMessages", "type": "function" }, { "decorator_line": 221, "file_path": "pylint/testutils.py", "line_end": 225, "line_start": 221, "name": "walk", "typ...
2
pylint-dev__pylint__07e56cdc__11
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_analyze_explicit_script
pylint/test/unittest_lint.py
478
483
[ { "decorator_line": 503, "file_path": "pylint/lint.py", "line_end": 506, "line_start": 503, "name": "set_reporter", "type": "function" }, { "decorator_line": 91, "file_path": "pylint/testutils.py", "line_end": 133, "line_start": 91, "name": "TestReporter", "type":...
3
pylint-dev__pylint__07e56cdc__12
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
add_relationship
pylint/pyreverse/diagrams.py
65
70
[ { "decorator_line": 27, "file_path": "pylint/pyreverse/diagrams.py", "line_end": 35, "line_start": 27, "name": "Relationship", "type": "class" } ]
1
pylint-dev__pylint__07e56cdc__13
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
as_iterable_in_unpacking
pylint/test/unittest_checker_python3.py
141
146
[ { "decorator_line": 200, "file_path": "pylint/testutils.py", "line_end": 204, "line_start": 201, "name": "assertNoMessages", "type": "function" }, { "decorator_line": 473, "file_path": "pylint/checkers/python3.py", "line_end": 493, "line_start": 473, "name": "visit_ca...
2
pylint-dev__pylint__07e56cdc__14
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_missing_func_params_in_google_docstring
pylint/test/extensions/test_check_docs.py
52
78
[ { "decorator_line": 206, "file_path": "pylint/testutils.py", "line_end": 219, "line_start": 207, "name": "assertAddsMessages", "type": "function" }, { "decorator_line": 136, "file_path": "pylint/testutils.py", "line_end": 139, "line_start": 136, "name": "Message", ...
3
pylint-dev__pylint__07e56cdc__15
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_no_out_encoding
pylint/test/test_self.py
191
203
[ { "decorator_line": 79, "file_path": "pylint/test/test_self.py", "line_end": 92, "line_start": 79, "name": "_runtest", "type": "function" } ]
1
pylint-dev__pylint__07e56cdc__16
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_absolute_import
pylint/test/unittest_checker_python3.py
251
258
[ { "decorator_line": 200, "file_path": "pylint/testutils.py", "line_end": 204, "line_start": 201, "name": "assertNoMessages", "type": "function" }, { "decorator_line": 221, "file_path": "pylint/testutils.py", "line_end": 225, "line_start": 221, "name": "walk", "typ...
2
pylint-dev__pylint__07e56cdc__17
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
test_missing_docstring_module
pylint/test/unittest_checker_base.py
14
18
[ { "decorator_line": 136, "file_path": "pylint/testutils.py", "line_end": 139, "line_start": 136, "name": "Message", "type": "class" }, { "decorator_line": 206, "file_path": "pylint/testutils.py", "line_end": 219, "line_start": 207, "name": "assertAddsMessages", "t...
3
pylint-dev__pylint__07e56cdc__18
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
visit_assignname
pylint/checkers/variables.py
743
745
[ { "decorator_line": 871, "file_path": "pylint/checkers/variables.py", "line_end": 989, "line_start": 872, "name": "visit_name", "type": "function" } ]
1
pylint-dev__pylint__07e56cdc__19
pylint-dev/pylint
07e56cdc9635b7e36f2055ba6dbb5719162310f9
setUp
pylint/test/unittest_lint.py
616
628
[ { "decorator_line": 633, "file_path": "pylint/utils.py", "line_end": 733, "line_start": 633, "name": "MessagesStore", "type": "class" }, { "decorator_line": 665, "file_path": "pylint/utils.py", "line_end": 690, "line_start": 665, "name": "register_messages", "type...
2
microsoft__nni__a922f9f0__0
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
validate_search_space_content
tools/nni_cmd/launcher_utils.py
97
109
[ { "decorator_line": 35, "file_path": "tools/nni_cmd/common_utils.py", "line_end": 37, "line_start": 35, "name": "print_error", "type": "function" } ]
1
microsoft__nni__a922f9f0__1
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
test_json2parameter
src/sdk/pynni/nni/evolution_tuner/test_evolution_tuner.py
32
53
[ { "decorator_line": 17, "file_path": "src/sdk/pynni/nni/evolution_tuner/evolution_tuner.py", "line_end": 44, "line_start": 17, "name": "json2space", "type": "function" }, { "decorator_line": 46, "file_path": "src/sdk/pynni/nni/evolution_tuner/evolution_tuner.py", "line_end": ...
2
microsoft__nni__a922f9f0__2
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
conv_op
examples/trials/nas_cifar10/src/common_ops.py
39
111
[ { "decorator_line": 27, "file_path": "examples/trials/nas_cifar10/src/common_ops.py", "line_end": 30, "line_start": 27, "name": "create_weight", "type": "function" }, { "decorator_line": 167, "file_path": "examples/trials/nas_cifar10/src/common_ops.py", "line_end": 205, "...
3
microsoft__nni__a922f9f0__3
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
test_get_sequence_id
src/sdk/pynni/tests/test_trial.py
29
30
[ { "decorator_line": 85, "file_path": "src/sdk/pynni/nni/trial.py", "line_end": 96, "line_start": 85, "name": "get_sequence_id", "type": "function" } ]
1
microsoft__nni__a922f9f0__4
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
trial_end
src/sdk/pynni/nni/nas/pytorch/spos/evolution.py
195
204
[ { "decorator_line": 68, "file_path": "src/sdk/pynni/nni/nas/pytorch/spos/evolution.py", "line_end": 80, "line_start": 68, "name": "_next_round", "type": "function" }, { "decorator_line": 160, "file_path": "src/sdk/pynni/nni/nas/pytorch/spos/evolution.py", "line_end": 174, ...
2
microsoft__nni__a922f9f0__5
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
conv3_sep
examples/trials/nas_cifar10/src/cifar10/general_child.py
197
203
[ { "decorator_line": 182, "file_path": "examples/trials/nas_cifar10/src/cifar10/general_child.py", "line_end": 185, "line_start": 182, "name": "get_layer_id", "type": "function" }, { "decorator_line": 39, "file_path": "examples/trials/nas_cifar10/src/common_ops.py", "line_end"...
3
microsoft__nni__a922f9f0__6
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
skip_connection_layer_ids
src/sdk/pynni/nni/networkmorphism_tuner/graph.py
720
721
[ { "decorator_line": 703, "file_path": "src/sdk/pynni/nni/networkmorphism_tuner/graph.py", "line_end": 712, "line_start": 703, "name": "deep_layer_ids", "type": "function" } ]
1
microsoft__nni__a922f9f0__7
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
rnn
examples/trials/ga_squad/graph_to_tf.py
242
265
[ { "decorator_line": 45, "file_path": "examples/trials/weight_sharing/ga_squad/util.py", "line_end": 51, "line_start": 45, "name": "dropout", "type": "function" }, { "decorator_line": 85, "file_path": "examples/trials/weight_sharing/ga_squad/rnn.py", "line_end": 117, "line...
2
microsoft__nni__a922f9f0__8
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
generate_preds
examples/trials/kaggle-tgs-salt/train.py
205
216
[ { "decorator_line": 30, "file_path": "examples/trials/kaggle-tgs-salt/postprocessing.py", "line_end": 32, "line_start": 30, "name": "resize_image", "type": "function" }, { "decorator_line": 34, "file_path": "examples/trials/kaggle-tgs-salt/postprocessing.py", "line_end": 38, ...
3
microsoft__nni__a922f9f0__9
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
max_pool
examples/trials/mnist-nas/enas_mode/operators.py
79
85
[ { "decorator_line": 14, "file_path": "examples/trials/mnist-nas/enas_mode/operators.py", "line_end": 28, "line_start": 14, "name": "sum_op", "type": "function" } ]
1
microsoft__nni__a922f9f0__10
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
incremental_fit
src/sdk/pynni/nni/networkmorphism_tuner/bayesian.py
144
176
[ { "decorator_line": 232, "file_path": "src/sdk/pynni/nni/networkmorphism_tuner/bayesian.py", "line_end": 255, "line_start": 232, "name": "edit_distance_matrix", "type": "function" }, { "decorator_line": 265, "file_path": "src/sdk/pynni/nni/networkmorphism_tuner/bayesian.py", ...
2
microsoft__nni__a922f9f0__11
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
get_hyperparameter_configurations
src/sdk/pynni/nni/hyperband_advisor/hyperband_advisor.py
211
233
[ { "decorator_line": 40, "file_path": "src/sdk/pynni/nni/hyperband_advisor/hyperband_advisor.py", "line_end": 62, "line_start": 40, "name": "create_bracket_parameter_id", "type": "function" }, { "decorator_line": 65, "file_path": "src/sdk/pynni/nni/hyperband_advisor/hyperband_advi...
3
microsoft__nni__a922f9f0__12
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
PreActResNet18
examples/trials/cifar10_pytorch/models/preact_resnet.py
96
97
[ { "decorator_line": 64, "file_path": "examples/trials/cifar10_pytorch/models/preact_resnet.py", "line_end": 93, "line_start": 64, "name": "PreActResNet", "type": "class" } ]
1
microsoft__nni__a922f9f0__13
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
train
examples/nas/darts/retrain.py
24
67
[ { "decorator_line": 58, "file_path": "src/sdk/pynni/nni/nas/pytorch/utils.py", "line_end": 96, "line_start": 58, "name": "AverageMeter", "type": "class" }, { "decorator_line": 82, "file_path": "src/sdk/pynni/nni/nas/pytorch/utils.py", "line_end": 88, "line_start": 82, ...
2
microsoft__nni__a922f9f0__14
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
selection
src/sdk/pynni/nni/metis_tuner/Regression_GP/Selection.py
38
65
[ { "decorator_line": 16, "file_path": "src/sdk/pynni/nni/metis_tuner/lib_acquisition_function.py", "line_end": 57, "line_start": 16, "name": "next_hyperparameter_expected_improvement", "type": "function" }, { "decorator_line": 87, "file_path": "src/sdk/pynni/nni/metis_tuner/lib_ac...
3
microsoft__nni__a922f9f0__15
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
test_get_experiment_id
src/sdk/pynni/tests/test_trial.py
23
24
[ { "decorator_line": 62, "file_path": "src/sdk/pynni/nni/trial.py", "line_end": 71, "line_start": 62, "name": "get_experiment_id", "type": "function" } ]
1
microsoft__nni__a922f9f0__16
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
lovasz_softmax_flat
examples/trials/kaggle-tgs-salt/lovasz_losses.py
189
207
[ { "decorator_line": 35, "file_path": "examples/trials/kaggle-tgs-salt/lovasz_losses.py", "line_end": 47, "line_start": 35, "name": "lovasz_grad", "type": "function" }, { "decorator_line": 233, "file_path": "examples/trials/kaggle-tgs-salt/lovasz_losses.py", "line_end": 251, ...
2
microsoft__nni__a922f9f0__17
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
print_log_content
tools/nni_cmd/launcher.py
30
37
[ { "decorator_line": 24, "file_path": "tools/nni_cmd/launcher.py", "line_end": 28, "line_start": 24, "name": "get_log_path", "type": "function" }, { "decorator_line": 39, "file_path": "tools/nni_cmd/common_utils.py", "line_end": 41, "line_start": 39, "name": "print_nor...
3
microsoft__nni__a922f9f0__18
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
bar
tools/nni_annotation/testcase/annotated/non_annotation/bar.py
2
4
[ { "decorator_line": 123, "file_path": "src/sdk/pynni/nni/trial.py", "line_end": 141, "line_start": 123, "name": "report_final_result", "type": "function" } ]
1
microsoft__nni__a922f9f0__19
microsoft/nni
a922f9f03897cfc73effbda26f4d20a57c49113a
test_send_zh
src/sdk/pynni/tests/test_protocol.py
24
27
[ { "decorator_line": 10, "file_path": "src/sdk/pynni/tests/test_protocol.py", "line_end": 12, "line_start": 10, "name": "_prepare_send", "type": "function" }, { "decorator_line": 36, "file_path": "src/sdk/pynni/nni/protocol.py", "line_end": 51, "line_start": 36, "name"...
2
quantopian__zipline__c12304ce__0
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
get_non_trading_days
zipline/utils/tradingcalendar.py
34
247
[ { "decorator_line": 28, "file_path": "zipline/utils/tradingcalendar.py", "line_end": 31, "line_start": 28, "name": "canonicalize_datetime", "type": "function" } ]
1
quantopian__zipline__c12304ce__1
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
setUp
tests/test_exception_handling.py
43
48
[ { "decorator_line": 242, "file_path": "zipline/finance/slippage.py", "line_end": 258, "line_start": 242, "name": "FixedSlippage", "type": "class" }, { "decorator_line": 13, "file_path": "zipline/utils/test_utils.py", "line_end": 15, "line_start": 13, "name": "setup_lo...
2
quantopian__zipline__c12304ce__2
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_benchmark_times_match_market_close_for_minutely_data
tests/test_algorithm_gen.py
216
229
[ { "decorator_line": 42, "file_path": "zipline/utils/factory.py", "line_end": 67, "line_start": 42, "name": "create_simulation_parameters", "type": "function" }, { "decorator_line": 54, "file_path": "tests/test_algorithm_gen.py", "line_end": 83, "line_start": 54, "name...
3
quantopian__zipline__c12304ce__3
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
update_last_sale
zipline/finance/performance/period.py
315
325
[ { "decorator_line": 279, "file_path": "zipline/finance/performance/period.py", "line_end": 293, "line_start": 279, "name": "update_position", "type": "function" } ]
1
quantopian__zipline__c12304ce__4
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
handle_data
tests/test_algorithm_gen.py
68
83
[ { "decorator_line": 648, "file_path": "zipline/algorithm.py", "line_end": 656, "line_start": 649, "name": "get_datetime", "type": "function" }, { "decorator_line": 488, "file_path": "zipline/algorithm.py", "line_end": 524, "line_start": 489, "name": "order", "type...
2
quantopian__zipline__c12304ce__5
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
previous_open_and_close
zipline/finance/trading.py
224
235
[ { "decorator_line": 177, "file_path": "zipline/finance/trading.py", "line_end": 186, "line_start": 177, "name": "previous_trading_day", "type": "function" }, { "decorator_line": 69, "file_path": "zipline/finance/trading.py", "line_end": 73, "line_start": 69, "name": "...
3
quantopian__zipline__c12304ce__6
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
load_bars_from_yahoo
zipline/data/loader.py
328
374
[ { "decorator_line": 241, "file_path": "zipline/data/loader.py", "line_end": 292, "line_start": 241, "name": "_load_raw_yahoo_data", "type": "function" } ]
1
quantopian__zipline__c12304ce__7
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_calendar_vs_environment
tests/test_tradingcalendar.py
29
42
[ { "decorator_line": 76, "file_path": "zipline/finance/trading.py", "line_end": 346, "line_start": 76, "name": "TradingEnvironment", "type": "class" }, { "decorator_line": 83, "file_path": "tests/test_tradingcalendar.py", "line_end": 96, "line_start": 83, "name": "chec...
2
quantopian__zipline__c12304ce__8
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_register_post_init
tests/test_algorithm.py
870
889
[ { "decorator_line": 78, "file_path": "zipline/algorithm.py", "line_end": 920, "line_start": 78, "name": "TradingAlgorithm", "type": "class" }, { "decorator_line": 341, "file_path": "zipline/algorithm.py", "line_end": 430, "line_start": 341, "name": "run", "type": ...
3
quantopian__zipline__c12304ce__9
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
get_raw_benchmark_data
zipline/data/benchmarks.py
57
90
[ { "decorator_line": 36, "file_path": "zipline/data/benchmarks.py", "line_end": 37, "line_start": 36, "name": "BenchmarkDataNotFoundError", "type": "class" } ]
1
quantopian__zipline__c12304ce__10
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_passing_of_args
tests/test_batchtransform.py
238
260
[ { "decorator_line": 552, "file_path": "zipline/test_algorithms.py", "line_end": 713, "line_start": 552, "name": "BatchTransformAlgorithm", "type": "class" }, { "decorator_line": 341, "file_path": "zipline/algorithm.py", "line_end": 430, "line_start": 341, "name": "run...
2
quantopian__zipline__c12304ce__11
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
pay_dividends
zipline/finance/performance/period.py
189
225
[ { "decorator_line": 239, "file_path": "zipline/finance/performance/period.py", "line_end": 240, "line_start": 239, "name": "handle_cash_payment", "type": "function" }, { "decorator_line": 140, "file_path": "zipline/finance/performance/period.py", "line_end": 148, "line_st...
3
quantopian__zipline__c12304ce__12
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_order_methods
tests/test_algorithm.py
276
288
[ { "decorator_line": 341, "file_path": "zipline/algorithm.py", "line_end": 430, "line_start": 341, "name": "run", "type": "function" } ]
1
quantopian__zipline__c12304ce__13
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
set_slippage
zipline/algorithm.py
673
678
[ { "decorator_line": 40, "file_path": "zipline/errors.py", "line_end": 49, "line_start": 40, "name": "UnsupportedSlippageModel", "type": "class" }, { "decorator_line": 52, "file_path": "zipline/errors.py", "line_end": 58, "line_start": 52, "name": "OverrideSlippagePost...
2
quantopian__zipline__c12304ce__14
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
initialize
zipline/test_algorithms.py
449
454
[ { "decorator_line": 454, "file_path": "zipline/algorithm.py", "line_end": 470, "line_start": 454, "name": "add_transform", "type": "function" }, { "decorator_line": 672, "file_path": "zipline/algorithm.py", "line_end": 678, "line_start": 673, "name": "set_slippage", ...
3
quantopian__zipline__c12304ce__15
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
handle_data
tests/test_algorithm.py
130
168
[ { "decorator_line": 70, "file_path": "zipline/finance/execution.py", "line_end": 88, "line_start": 70, "name": "LimitOrder", "type": "class" } ]
1
quantopian__zipline__c12304ce__16
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
create_return_frames
zipline/history/history_container.py
255
269
[ { "decorator_line": 309, "file_path": "zipline/history/history.py", "line_end": 326, "line_start": 309, "name": "index_at_dt", "type": "function" }, { "decorator_line": 248, "file_path": "zipline/history/history_container.py", "line_end": 253, "line_start": 248, "name...
2
quantopian__zipline__c12304ce__17
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_all_sids_passed
tests/test_batchtransform.py
113
125
[ { "decorator_line": 45, "file_path": "tests/test_batchtransform.py", "line_end": 59, "line_start": 45, "name": "BatchTransformAlgorithmSetSid", "type": "class" }, { "decorator_line": 62, "file_path": "tests/test_batchtransform.py", "line_end": 102, "line_start": 62, "...
3
quantopian__zipline__c12304ce__18
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
test_defaults
tests/test_cli.py
24
27
[ { "decorator_line": 44, "file_path": "zipline/utils/cli.py", "line_end": 109, "line_start": 44, "name": "parse_args", "type": "function" } ]
1
quantopian__zipline__c12304ce__19
quantopian/zipline
c12304ce40b63d589f02fe3b30972e748119c6c9
previous_market_minute
zipline/finance/trading.py
247
255
[ { "decorator_line": 155, "file_path": "zipline/finance/trading.py", "line_end": 160, "line_start": 155, "name": "is_market_hours", "type": "function" }, { "decorator_line": 224, "file_path": "zipline/finance/trading.py", "line_end": 235, "line_start": 224, "name": "pr...
2
jupyter__docker-stacks__e014bb8e__0
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
check_import_python_package
tests/base-notebook/test_packages.py
125
129
[ { "decorator_line": 114, "file_path": "tests/base-notebook/test_packages.py", "line_end": 122, "line_start": 114, "name": "_check_import_package", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__1
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
write_manifest_file
tagging/write_manifest.py
49
66
[ { "decorator_line": 24, "file_path": "tagging/manifests.py", "line_end": 49, "line_start": 25, "name": "create_header", "type": "function" }, { "decorator_line": 55, "file_path": "tagging/manifests.py", "line_end": 57, "line_start": 56, "name": "markdown_piece", "...
2
jupyter__docker-stacks__e014bb8e__2
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
installed_packages
tests/package_helper.py
83
92
[ { "decorator_line": 110, "file_path": "tests/package_helper.py", "line_end": 133, "line_start": 111, "name": "_packages_from_json", "type": "function" }, { "decorator_line": 105, "file_path": "tests/package_helper.py", "line_end": 108, "line_start": 105, "name": "_exe...
3
jupyter__docker-stacks__e014bb8e__3
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
try_int
tests/package_helper.py
203
207
[ { "decorator_line": 196, "file_path": "tests/package_helper.py", "line_end": 201, "line_start": 196, "name": "str_ord", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__4
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
python_package_predicate
tests/base-notebook/test_packages.py
104
106
[ { "decorator_line": 98, "file_path": "tests/base-notebook/test_packages.py", "line_end": 101, "line_start": 98, "name": "excluded_package_predicate", "type": "function" }, { "decorator_line": 109, "file_path": "tests/base-notebook/test_packages.py", "line_end": 111, "line...
2
jupyter__docker-stacks__e014bb8e__5
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
requested_packages
tests/package_helper.py
94
103
[ { "decorator_line": 110, "file_path": "tests/package_helper.py", "line_end": 133, "line_start": 111, "name": "_packages_from_json", "type": "function" }, { "decorator_line": 105, "file_path": "tests/package_helper.py", "line_end": 108, "line_start": 105, "name": "_exe...
3
jupyter__docker-stacks__e014bb8e__6
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
r_package_predicate
tests/base-notebook/test_packages.py
109
111
[ { "decorator_line": 98, "file_path": "tests/base-notebook/test_packages.py", "line_end": 101, "line_start": 98, "name": "excluded_package_predicate", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__7
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
available_packages
tests/package_helper.py
135
145
[ { "decorator_line": 147, "file_path": "tests/package_helper.py", "line_end": 156, "line_start": 148, "name": "_extract_available", "type": "function" }, { "decorator_line": 105, "file_path": "tests/package_helper.py", "line_end": 108, "line_start": 105, "name": "_exec...
2
jupyter__docker-stacks__e014bb8e__8
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
run_and_wait
tests/conftest.py
105
122
[ { "decorator_line": 79, "file_path": "tests/conftest.py", "line_end": 103, "line_start": 79, "name": "run_detached", "type": "function" }, { "decorator_line": 128, "file_path": "tests/conftest.py", "line_end": 130, "line_start": 129, "name": "get_warnings", "type"...
3
jupyter__docker-stacks__e014bb8e__9
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
tag_value
tagging/taggers.py
49
50
[ { "decorator_line": 13, "file_path": "tagging/git_helper.py", "line_end": 15, "line_start": 14, "name": "commit_hash_tag", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__10
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
container
tests/conftest.py
143
155
[ { "decorator_line": 54, "file_path": "tests/conftest.py", "line_end": 139, "line_start": 54, "name": "TrackedContainer", "type": "class" }, { "decorator_line": 136, "file_path": "tests/conftest.py", "line_end": 139, "line_start": 136, "name": "remove", "type": "fu...
2
jupyter__docker-stacks__e014bb8e__11
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
create_header
tagging/manifests.py
25
49
[ { "decorator_line": 9, "file_path": "tagging/git_helper.py", "line_end": 11, "line_start": 10, "name": "commit_hash", "type": "function" }, { "decorator_line": 13, "file_path": "tagging/git_helper.py", "line_end": 15, "line_start": 14, "name": "commit_hash_tag", "...
3
jupyter__docker-stacks__e014bb8e__12
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
write_build_history_line
tagging/write_manifest.py
23
46
[ { "decorator_line": 9, "file_path": "tagging/git_helper.py", "line_end": 11, "line_start": 10, "name": "commit_hash", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__13
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
get_errors
tests/conftest.py
125
126
[ { "decorator_line": 132, "file_path": "tests/conftest.py", "line_end": 134, "line_start": 133, "name": "_lines_starting_with", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__14
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
tag_value
tagging/taggers.py
105
106
[ { "decorator_line": 10, "file_path": "tagging/taggers.py", "line_end": 11, "line_start": 10, "name": "_get_program_version", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__15
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
commit_hash_tag
tagging/git_helper.py
14
15
[ { "decorator_line": 9, "file_path": "tagging/git_helper.py", "line_end": 11, "line_start": 10, "name": "commit_hash", "type": "function" } ]
1
jupyter__docker-stacks__e014bb8e__16
jupyter/docker-stacks
e014bb8ec52406e6ae491af2a7130a96922dfa25
tag_value
tagging/taggers.py
87
88
[ { "decorator_line": 10, "file_path": "tagging/taggers.py", "line_end": 11, "line_start": 10, "name": "_get_program_version", "type": "function" } ]
1