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 |
|---|---|---|---|---|---|---|---|---|
biolab__orange3__eb3989d5__8 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_universal_table | Orange/tests/sql/test_sql_table.py | 170 | 189 | [
{
"decorator_line": 191,
"file_path": "Orange/tests/sql/test_sql_table.py",
"line_end": 197,
"line_start": 191,
"name": "construct_universal_table",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "Orange/data/sql/table.py",
"line_end": 660,
"line_start": 22,
... | 3 |
biolab__orange3__eb3989d5__9 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | setContinuousPalettes | Orange/widgets/utils/colorpalette.py | 907 | 913 | [
{
"decorator_line": 794,
"file_path": "Orange/widgets/utils/colorpalette.py",
"line_end": 807,
"line_start": 794,
"name": "createExContPalettePixmap",
"type": "function"
}
] | 1 |
biolab__orange3__eb3989d5__10 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | setup_plot | Orange/widgets/visualize/owheatmap.py | 600 | 631 | [
{
"decorator_line": 633,
"file_path": "Orange/widgets/visualize/owheatmap.py",
"line_end": 656,
"line_start": 633,
"name": "get_root",
"type": "function"
},
{
"decorator_line": 661,
"file_path": "Orange/widgets/visualize/owheatmap.py",
"line_end": 700,
"line_start": 661,
... | 2 |
biolab__orange3__eb3989d5__11 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | open_context | Orange/widgets/settings.py | 460 | 468 | [
{
"decorator_line": 482,
"file_path": "Orange/widgets/settings.py",
"line_end": 499,
"line_start": 482,
"name": "find_or_create_context",
"type": "function"
},
{
"decorator_line": 553,
"file_path": "Orange/widgets/settings.py",
"line_end": 567,
"line_start": 553,
"nam... | 3 |
biolab__orange3__eb3989d5__12 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | plot_curves | Orange/widgets/evaluate/owliftcurve.py | 169 | 190 | [
{
"decorator_line": 35,
"file_path": "Orange/widgets/evaluate/owliftcurve.py",
"line_end": 40,
"line_start": 35,
"name": "LiftCurve_from_results",
"type": "function"
}
] | 1 |
biolab__orange3__eb3989d5__13 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_cur_projection | Orange/tests/test_cur.py | 9 | 13 | [
{
"decorator_line": 143,
"file_path": "Orange/data/table.py",
"line_end": 1318,
"line_start": 143,
"name": "Table",
"type": "class"
},
{
"decorator_line": 15,
"file_path": "Orange/tests/test_cur.py",
"line_end": 20,
"line_start": 15,
"name": "__projection_test_helper"... | 2 |
biolab__orange3__eb3989d5__14 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_filter_string_between_case_insensitive_value | Orange/tests/sql/test_filter.py | 562 | 572 | [
{
"decorator_line": 179,
"file_path": "Orange/data/filter.py",
"line_end": 222,
"line_start": 179,
"name": "Values",
"type": "class"
},
{
"decorator_line": 385,
"file_path": "Orange/data/filter.py",
"line_end": 474,
"line_start": 385,
"name": "FilterString",
"type... | 3 |
biolab__orange3__eb3989d5__15 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_multi_ignore_class | Orange/tests/test_continuize.py | 119 | 128 | [
{
"decorator_line": 8,
"file_path": "Orange/preprocess/continuize.py",
"line_end": 96,
"line_start": 8,
"name": "DomainContinuizer",
"type": "class"
}
] | 1 |
biolab__orange3__eb3989d5__16 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_reuse_variables | Orange/tests/test_tab_reader.py | 76 | 87 | [
{
"decorator_line": 217,
"file_path": "Orange/data/io.py",
"line_end": 226,
"line_start": 217,
"name": "_read_file",
"type": "function"
},
{
"decorator_line": 54,
"file_path": "Orange/data/io.py",
"line_end": 288,
"line_start": 55,
"name": "TabDelimFormat",
"type"... | 2 |
biolab__orange3__eb3989d5__17 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | test_store_data | Orange/tests/test_evaluation_testing.py | 68 | 83 | [
{
"decorator_line": 12,
"file_path": "Orange/tests/test_evaluation_testing.py",
"line_end": 19,
"line_start": 12,
"name": "random_data",
"type": "function"
},
{
"decorator_line": 10,
"file_path": "Orange/classification/naive_bayes.py",
"line_end": 36,
"line_start": 10,
... | 3 |
biolab__orange3__eb3989d5__18 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | setSelected | Orange/canvas/canvas/items/nodeitem.py | 244 | 253 | [
{
"decorator_line": 228,
"file_path": "Orange/canvas/canvas/items/nodeitem.py",
"line_end": 239,
"line_start": 228,
"name": "__updateBrush",
"type": "function"
}
] | 1 |
biolab__orange3__eb3989d5__19 | biolab/orange3 | eb3989d5f726b1b70a527fd9b7a882bf26935071 | update_shapes | Orange/widgets/visualize/owscatterplotgraph.py | 741 | 745 | [
{
"decorator_line": 731,
"file_path": "Orange/widgets/visualize/owscatterplotgraph.py",
"line_end": 739,
"line_start": 731,
"name": "compute_symbols",
"type": "function"
},
{
"decorator_line": 773,
"file_path": "Orange/widgets/visualize/owscatterplotgraph.py",
"line_end": 777... | 2 |
ludwig-ai__ludwig__ee4d5daf__0 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | feature_data | ludwig/features/sequence_feature.py | 93 | 107 | [
{
"decorator_line": 158,
"file_path": "ludwig/utils/strings_utils.py",
"line_end": 203,
"line_start": 158,
"name": "build_sequence_matrix",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__1 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | build_input | ludwig/features/sequence_feature.py | 147 | 163 | [
{
"decorator_line": 139,
"file_path": "ludwig/features/sequence_feature.py",
"line_end": 145,
"line_start": 139,
"name": "_get_input_placeholder",
"type": "function"
},
{
"decorator_line": 165,
"file_path": "ludwig/features/sequence_feature.py",
"line_end": 188,
"line_sta... | 2 |
ludwig-ai__ludwig__ee4d5daf__2 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | frequency_vs_f1_cli | ludwig/visualize.py | 653 | 663 | [
{
"decorator_line": 63,
"file_path": "ludwig/visualize.py",
"line_end": 91,
"line_start": 63,
"name": "load_data_for_viz",
"type": "function"
},
{
"decorator_line": 73,
"file_path": "ludwig/utils/data_utils.py",
"line_end": 77,
"line_start": 73,
"name": "load_json",
... | 3 |
ludwig-ai__ludwig__ee4d5daf__3 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | recall | ludwig/utils/metrics_utils.py | 142 | 143 | [
{
"decorator_line": 87,
"file_path": "ludwig/utils/metrics_utils.py",
"line_end": 93,
"line_start": 87,
"name": "true_positive_rate",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__4 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_compare_classifiers_predictions_vis_api | tests/integration_tests/test_visualization_api.py | 307 | 330 | [
{
"decorator_line": 49,
"file_path": "tests/integration_tests/test_visualization_api.py",
"line_end": 104,
"line_start": 49,
"name": "Experiment",
"type": "class"
},
{
"decorator_line": 1303,
"file_path": "ludwig/visualize.py",
"line_end": 1430,
"line_start": 1303,
"n... | 2 |
ludwig-ai__ludwig__ee4d5daf__5 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | build_sequence_matrix | ludwig/utils/strings_utils.py | 158 | 203 | [
{
"decorator_line": 123,
"file_path": "ludwig/utils/misc.py",
"line_end": 133,
"line_start": 123,
"name": "get_from_registry",
"type": "function"
},
{
"decorator_line": 26,
"file_path": "ludwig/utils/math_utils.py",
"line_end": 34,
"line_start": 26,
"name": "int_type"... | 3 |
ludwig-ai__ludwig__ee4d5daf__6 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | reduce_sequence | ludwig/models/modules/reduction_modules.py | 81 | 86 | [
{
"decorator_line": 123,
"file_path": "ludwig/utils/misc.py",
"line_end": 133,
"line_start": 123,
"name": "get_from_registry",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__7 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_visualisation_compare_classifiers_from_prob_npy_output_saved | tests/integration_tests/test_visualization.py | 320 | 384 | [
{
"decorator_line": 39,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 73,
"line_start": 39,
"name": "run_experiment",
"type": "function"
},
{
"decorator_line": 76,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 89,
"l... | 2 |
ludwig-ai__ludwig__ee4d5daf__8 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | next_batch | ludwig/utils/batcher.py | 41 | 60 | [
{
"decorator_line": 62,
"file_path": "ludwig/utils/batcher.py",
"line_end": 65,
"line_start": 62,
"name": "last_batch",
"type": "function"
},
{
"decorator_line": 238,
"file_path": "ludwig/utils/data_utils.py",
"line_end": 251,
"line_start": 238,
"name": "shuffle_dict_... | 3 |
ludwig-ai__ludwig__ee4d5daf__9 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | false_discovery_rate | ludwig/utils/metrics_utils.py | 125 | 126 | [
{
"decorator_line": 103,
"file_path": "ludwig/utils/metrics_utils.py",
"line_end": 109,
"line_start": 103,
"name": "positive_predictive_value",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__10 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test | ludwig/contribs/comet.py | 171 | 181 | [
{
"decorator_line": 195,
"file_path": "ludwig/contribs/comet.py",
"line_end": 197,
"line_start": 195,
"name": "_make_command_line",
"type": "function"
},
{
"decorator_line": 188,
"file_path": "ludwig/contribs/comet.py",
"line_end": 193,
"line_start": 188,
"name": "_lo... | 2 |
ludwig-ai__ludwig__ee4d5daf__11 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | calculate_overall_stats | ludwig/features/text_feature.py | 400 | 419 | [
{
"decorator_line": 31,
"file_path": "ludwig/utils/metrics_utils.py",
"line_end": 263,
"line_start": 31,
"name": "ConfusionMatrix",
"type": "class"
},
{
"decorator_line": 250,
"file_path": "ludwig/utils/metrics_utils.py",
"line_end": 263,
"line_start": 250,
"name": "s... | 3 |
ludwig-ai__ludwig__ee4d5daf__12 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | predict | ludwig/api.py | 802 | 869 | [
{
"decorator_line": 703,
"file_path": "ludwig/api.py",
"line_end": 800,
"line_start": 703,
"name": "_predict",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__13 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_learning_curves_vis_api | tests/integration_tests/test_visualization_api.py | 126 | 145 | [
{
"decorator_line": 49,
"file_path": "tests/integration_tests/test_visualization_api.py",
"line_end": 104,
"line_start": 49,
"name": "Experiment",
"type": "class"
},
{
"decorator_line": 666,
"file_path": "ludwig/visualize.py",
"line_end": 717,
"line_start": 666,
"name... | 2 |
ludwig-ai__ludwig__ee4d5daf__14 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_image_encoders_resnet | tests/ludwig/models/modules/test_encoder.py | 111 | 150 | [
{
"decorator_line": 45,
"file_path": "tests/ludwig/models/modules/test_encoder.py",
"line_end": 46,
"line_start": 45,
"name": "generate_images",
"type": "function"
},
{
"decorator_line": 36,
"file_path": "tests/ludwig/models/modules/test_encoder.py",
"line_end": 38,
"line... | 3 |
ludwig-ai__ludwig__ee4d5daf__15 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | get_image_encoder | ludwig/features/image_feature.py | 291 | 295 | [
{
"decorator_line": 123,
"file_path": "ludwig/utils/misc.py",
"line_end": 133,
"line_start": 123,
"name": "get_from_registry",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__16 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_visualisation_compare_classifiers_from_pred_npy_output_saved | tests/integration_tests/test_visualization.py | 386 | 452 | [
{
"decorator_line": 39,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 73,
"line_start": 39,
"name": "run_experiment",
"type": "function"
},
{
"decorator_line": 76,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 89,
"l... | 2 |
ludwig-ai__ludwig__ee4d5daf__17 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | roc_curves_from_test_statistics | ludwig/visualize.py | 2,386 | 2,426 | [
{
"decorator_line": 94,
"file_path": "ludwig/visualize.py",
"line_end": 100,
"line_start": 94,
"name": "convert_to_list",
"type": "function"
},
{
"decorator_line": 146,
"file_path": "ludwig/visualize.py",
"line_end": 159,
"line_start": 146,
"name": "generate_filename_... | 3 |
ludwig-ai__ludwig__ee4d5daf__18 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | build_vocab | ludwig/data/dataset_synthesyzer.py | 76 | 80 | [
{
"decorator_line": 69,
"file_path": "ludwig/data/dataset_synthesyzer.py",
"line_end": 73,
"line_start": 69,
"name": "generate_string",
"type": "function"
}
] | 1 |
ludwig-ai__ludwig__ee4d5daf__19 | ludwig-ai/ludwig | ee4d5daf07fda2168c4e89dd962b151506d17f9a | test_visualisation_compare_classifiers_predictions_npy_output_saved | tests/integration_tests/test_visualization.py | 712 | 775 | [
{
"decorator_line": 39,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 73,
"line_start": 39,
"name": "run_experiment",
"type": "function"
},
{
"decorator_line": 76,
"file_path": "tests/integration_tests/test_visualization.py",
"line_end": 89,
"l... | 2 |
pyca__cryptography__e16bdfda__0 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | digest | cryptography/primitives/hashes.py | 33 | 35 | [
{
"decorator_line": 40,
"file_path": "cryptography/primitives/hashes.py",
"line_end": 41,
"line_start": 40,
"name": "_copy_ctx",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__1 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_nist_vectors_from_file_decrypt | tests/test_utils.py | 181 | 228 | [
{
"decorator_line": 53,
"file_path": "tests/utils.py",
"line_end": 58,
"line_start": 53,
"name": "load_nist_vectors_from_file",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__2 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | hexdigest | cryptography/primitives/hashes.py | 37 | 38 | [
{
"decorator_line": 33,
"file_path": "cryptography/primitives/hashes.py",
"line_end": 35,
"line_start": 33,
"name": "digest",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__3 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_skips_if_only_if_returns_false | tests/primitives/test_utils.py | 7 | 14 | [
{
"decorator_line": 28,
"file_path": "tests/primitives/utils.py",
"line_end": 41,
"line_start": 28,
"name": "encrypt_test",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__4 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_cryptrec_vectors | tests/test_utils.py | 231 | 268 | [
{
"decorator_line": 69,
"file_path": "tests/utils.py",
"line_end": 92,
"line_start": 69,
"name": "load_cryptrec_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__5 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_skips_if_only_if_returns_false | tests/primitives/test_utils.py | 40 | 47 | [
{
"decorator_line": 114,
"file_path": "tests/primitives/utils.py",
"line_end": 119,
"line_start": 114,
"name": "long_string_hash_test",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__6 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_nist_vectors_from_file_encrypt | tests/test_utils.py | 131 | 178 | [
{
"decorator_line": 53,
"file_path": "tests/utils.py",
"line_end": 58,
"line_start": 53,
"name": "load_nist_vectors_from_file",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__7 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_cryptrec_vectors_from_file_encrypt | tests/test_utils.py | 271 | 282 | [
{
"decorator_line": 61,
"file_path": "tests/utils.py",
"line_end": 66,
"line_start": 61,
"name": "load_cryptrec_vectors_from_file",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__8 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_openssl_vectors_from_file | tests/test_utils.py | 336 | 364 | [
{
"decorator_line": 95,
"file_path": "tests/utils.py",
"line_end": 100,
"line_start": 95,
"name": "load_openssl_vectors_from_file",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__9 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | copy | cryptography/primitives/hashes.py | 30 | 31 | [
{
"decorator_line": 40,
"file_path": "cryptography/primitives/hashes.py",
"line_end": 41,
"line_start": 40,
"name": "_copy_ctx",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__10 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | load_hash_vectors_from_file | tests/utils.py | 150 | 155 | [
{
"decorator_line": 123,
"file_path": "tests/utils.py",
"line_end": 147,
"line_start": 123,
"name": "load_hash_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__11 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_nist_vectors_decrypt | tests/test_utils.py | 77 | 128 | [
{
"decorator_line": 16,
"file_path": "tests/utils.py",
"line_end": 50,
"line_start": 16,
"name": "load_nist_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__12 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_openssl_vectors | tests/test_utils.py | 285 | 333 | [
{
"decorator_line": 103,
"file_path": "tests/utils.py",
"line_end": 120,
"line_start": 103,
"name": "load_openssl_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__13 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_hash_vectors_from_file | tests/test_utils.py | 409 | 417 | [
{
"decorator_line": 150,
"file_path": "tests/utils.py",
"line_end": 155,
"line_start": 150,
"name": "load_hash_vectors_from_file",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__14 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | load_openssl_vectors_from_file | tests/utils.py | 95 | 100 | [
{
"decorator_line": 103,
"file_path": "tests/utils.py",
"line_end": 120,
"line_start": 103,
"name": "load_openssl_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__15 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | load_cryptrec_vectors_from_file | tests/utils.py | 61 | 66 | [
{
"decorator_line": 69,
"file_path": "tests/utils.py",
"line_end": 92,
"line_start": 69,
"name": "load_cryptrec_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__16 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_hash_vectors_bad_data | tests/test_utils.py | 397 | 406 | [
{
"decorator_line": 123,
"file_path": "tests/utils.py",
"line_end": 147,
"line_start": 123,
"name": "load_hash_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__17 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_load_hash_vectors | tests/test_utils.py | 367 | 394 | [
{
"decorator_line": 123,
"file_path": "tests/utils.py",
"line_end": 147,
"line_start": 123,
"name": "load_hash_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__18 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | load_nist_vectors_from_file | tests/utils.py | 53 | 58 | [
{
"decorator_line": 16,
"file_path": "tests/utils.py",
"line_end": 50,
"line_start": 16,
"name": "load_nist_vectors",
"type": "function"
}
] | 1 |
pyca__cryptography__e16bdfda__19 | pyca/cryptography | e16bdfda6b2eadec0bde399f408a179379c31d9d | test_skips_if_only_if_returns_false | tests/primitives/test_utils.py | 18 | 25 | [
{
"decorator_line": 61,
"file_path": "tests/primitives/utils.py",
"line_end": 68,
"line_start": 61,
"name": "hash_test",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__0 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | clean_fields | scripts/helper.py | 44 | 73 | [
{
"decorator_line": 76,
"file_path": "scripts/helper.py",
"line_end": 86,
"line_start": 76,
"name": "clean_string_field",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__1 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | page_field_details | scripts/generators/asciidoc_fields.py | 44 | 48 | [
{
"decorator_line": 22,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 35,
"line_start": 22,
"name": "dict_sorted_by_keys",
"type": "function"
},
{
"decorator_line": 51,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 66,
"line_start": 51,... | 2 |
elastic__ecs__4c6af7a5__2 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | generate | scripts/generators/beats.py | 6 | 27 | [
{
"decorator_line": 30,
"file_path": "scripts/generators/beats.py",
"line_end": 40,
"line_start": 30,
"name": "fieldset_field_array",
"type": "function"
},
{
"decorator_line": 8,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 13,
"line_start": 8,
"name"... | 3 |
elastic__ecs__4c6af7a5__3 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_set_default_values_defaults | scripts/tests/test_schema_reader.py | 44 | 47 | [
{
"decorator_line": 58,
"file_path": "scripts/schema_reader.py",
"line_end": 63,
"line_start": 58,
"name": "schema_set_default_values",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__4 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | generate | scripts/generators/csv_generator.py | 4 | 6 | [
{
"decorator_line": 9,
"file_path": "scripts/generators/csv_generator.py",
"line_end": 17,
"line_start": 9,
"name": "base_first",
"type": "function"
},
{
"decorator_line": 20,
"file_path": "scripts/generators/csv_generator.py",
"line_end": 39,
"line_start": 20,
"name"... | 2 |
elastic__ecs__4c6af7a5__5 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | generate | scripts/generators/asciidoc_fields.py | 5 | 7 | [
{
"decorator_line": 12,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 17,
"line_start": 12,
"name": "save_asciidoc",
"type": "function"
},
{
"decorator_line": 25,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 31,
"line_start": 25,
... | 3 |
elastic__ecs__4c6af7a5__6 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_merge_dicts | scripts/tests/test_ecs_helpers.py | 58 | 72 | [
{
"decorator_line": 38,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 46,
"line_start": 38,
"name": "safe_merge_dicts",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__7 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | render_field_details_row | scripts/generators/asciidoc_fields.py | 74 | 85 | [
{
"decorator_line": 211,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 223,
"line_start": 211,
"name": "field_details_row",
"type": "function"
},
{
"decorator_line": 69,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 71,
"line_start"... | 2 |
elastic__ecs__4c6af7a5__8 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | field_cleanup_values | scripts/schema_reader.py | 84 | 87 | [
{
"decorator_line": 33,
"file_path": "scripts/schema_reader.py",
"line_end": 38,
"line_start": 33,
"name": "dict_clean_string_values",
"type": "function"
},
{
"decorator_line": 90,
"file_path": "scripts/schema_reader.py",
"line_end": 91,
"line_start": 90,
"name": "fie... | 3 |
elastic__ecs__4c6af7a5__9 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_set_default_values_no_overwrite | scripts/tests/test_schema_reader.py | 49 | 52 | [
{
"decorator_line": 58,
"file_path": "scripts/schema_reader.py",
"line_end": 63,
"line_start": 58,
"name": "schema_set_default_values",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__10 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | write_beats_yaml | scripts/generators/beats.py | 45 | 47 | [
{
"decorator_line": 53,
"file_path": "scripts/generators/beats.py",
"line_end": 59,
"line_start": 53,
"name": "file_header",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 70,
"line_start": 66,
"name": "yaml... | 2 |
elastic__ecs__4c6af7a5__11 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | finalize_schemas | scripts/schema_reader.py | 154 | 170 | [
{
"decorator_line": 51,
"file_path": "scripts/schema_reader.py",
"line_end": 55,
"line_start": 51,
"name": "schema_cleanup_values",
"type": "function"
},
{
"decorator_line": 84,
"file_path": "scripts/schema_reader.py",
"line_end": 87,
"line_start": 84,
"name": "field_... | 3 |
elastic__ecs__4c6af7a5__12 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | render_nesting_row | scripts/generators/asciidoc_fields.py | 132 | 138 | [
{
"decorator_line": 253,
"file_path": "scripts/generators/asciidoc_fields.py",
"line_end": 260,
"line_start": 253,
"name": "nestings_row",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__13 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | load_schemas | scripts/schema_reader.py | 173 | 178 | [
{
"decorator_line": 23,
"file_path": "scripts/schema_reader.py",
"line_end": 28,
"line_start": 23,
"name": "load_schema_files",
"type": "function"
},
{
"decorator_line": 154,
"file_path": "scripts/schema_reader.py",
"line_end": 170,
"line_start": 154,
"name": "finaliz... | 2 |
elastic__ecs__4c6af7a5__14 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | load_schema_files | scripts/schema_reader.py | 23 | 28 | [
{
"decorator_line": 13,
"file_path": "scripts/schema_reader.py",
"line_end": 20,
"line_start": 13,
"name": "read_schema_file",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__15 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | field_set_defaults | scripts/schema_reader.py | 94 | 110 | [
{
"decorator_line": 41,
"file_path": "scripts/schema_reader.py",
"line_end": 43,
"line_start": 41,
"name": "dict_set_default",
"type": "function"
},
{
"decorator_line": 113,
"file_path": "scripts/schema_reader.py",
"line_end": 117,
"line_start": 113,
"name": "field_se... | 2 |
elastic__ecs__4c6af7a5__16 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_field_set_flat_name_root | scripts/tests/test_schema_reader.py | 66 | 69 | [
{
"decorator_line": 90,
"file_path": "scripts/schema_reader.py",
"line_end": 91,
"line_start": 90,
"name": "field_set_flat_name",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__17 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_dict_copy_existing_keys_overwrites | scripts/tests/test_ecs_helpers.py | 18 | 22 | [
{
"decorator_line": 16,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 19,
"line_start": 16,
"name": "dict_copy_existing_keys",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__18 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | schema_set_default_values | scripts/schema_reader.py | 58 | 63 | [
{
"decorator_line": 41,
"file_path": "scripts/schema_reader.py",
"line_end": 43,
"line_start": 41,
"name": "dict_set_default",
"type": "function"
}
] | 1 |
elastic__ecs__4c6af7a5__19 | elastic/ecs | 4c6af7a55a1639f1372e6ac13f5ce73cd217334a | test_sorted_by_one_key | scripts/tests/test_ecs_helpers.py | 26 | 42 | [
{
"decorator_line": 22,
"file_path": "scripts/generators/ecs_helpers.py",
"line_end": 35,
"line_start": 22,
"name": "dict_sorted_by_keys",
"type": "function"
}
] | 1 |
sublimelsp__LSP__e26bfa70__0 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | update_count_in_status_bar | plugin/diagnostics.py | 198 | 200 | [
{
"decorator_line": 171,
"file_path": "plugin/diagnostics.py",
"line_end": 195,
"line_start": 171,
"name": "update_diagnostics_in_status_bar",
"type": "function"
}
] | 1 |
sublimelsp__LSP__e26bfa70__1 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | update | plugin/core/settings.py | 79 | 82 | [
{
"decorator_line": 29,
"file_path": "plugin/core/settings.py",
"line_end": 34,
"line_start": 29,
"name": "read_dict_setting",
"type": "function"
},
{
"decorator_line": 87,
"file_path": "plugin/core/settings.py",
"line_end": 102,
"line_start": 87,
"name": "update_conf... | 2 |
sublimelsp__LSP__e26bfa70__2 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | get_document_position | plugin/core/documents.py | 21 | 31 | [
{
"decorator_line": 7,
"file_path": "plugin/core/url.py",
"line_end": 8,
"line_start": 7,
"name": "filename_to_uri",
"type": "function"
},
{
"decorator_line": 217,
"file_path": "plugin/core/protocol.py",
"line_end": 221,
"line_start": 217,
"name": "to_lsp",
"type"... | 3 |
sublimelsp__LSP__e26bfa70__3 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | didChangeConfiguration | plugin/core/protocol.py | 184 | 185 | [
{
"decorator_line": 157,
"file_path": "plugin/core/protocol.py",
"line_end": 202,
"line_start": 157,
"name": "Notification",
"type": "class"
}
] | 1 |
sublimelsp__LSP__e26bfa70__4 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | on_activated_async | plugin/core/documents.py | 80 | 82 | [
{
"decorator_line": 50,
"file_path": "plugin/core/documents.py",
"line_end": 57,
"line_start": 50,
"name": "is_transient_view",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "plugin/core/events.py",
"line_end": 25,
"line_start": 22,
"name": "publish",
... | 2 |
sublimelsp__LSP__e26bfa70__5 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | handle_response | plugin/definition.py | 33 | 44 | [
{
"decorator_line": 11,
"file_path": "plugin/core/url.py",
"line_end": 16,
"line_start": 11,
"name": "uri_to_filename",
"type": "function"
},
{
"decorator_line": 213,
"file_path": "plugin/core/protocol.py",
"line_end": 215,
"line_start": 214,
"name": "from_lsp",
"... | 3 |
sublimelsp__LSP__e26bfa70__6 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | handle_view_opened | plugin/core/test_windows.py | 190 | 193 | [
{
"decorator_line": 74,
"file_path": "plugin/core/types.py",
"line_end": 75,
"line_start": 74,
"name": "file_name",
"type": "function"
}
] | 1 |
sublimelsp__LSP__e26bfa70__7 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | detach_view | plugin/core/windows.py | 175 | 177 | [
{
"decorator_line": 86,
"file_path": "plugin/core/types.py",
"line_end": 87,
"line_start": 86,
"name": "settings",
"type": "function"
},
{
"decorator_line": 92,
"file_path": "plugin/core/types.py",
"line_end": 93,
"line_start": 92,
"name": "set_status",
"type": "f... | 2 |
sublimelsp__LSP__e26bfa70__8 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | on_selection_modified_async | plugin/diagnostics.py | 228 | 236 | [
{
"decorator_line": 89,
"file_path": "plugin/core/diagnostics.py",
"line_end": 95,
"line_start": 89,
"name": "get_line_diagnostics",
"type": "function"
},
{
"decorator_line": 238,
"file_path": "plugin/diagnostics.py",
"line_end": 240,
"line_start": 238,
"name": "show_... | 3 |
sublimelsp__LSP__e26bfa70__9 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | from_lsp | plugin/core/protocol.py | 214 | 215 | [
{
"decorator_line": 205,
"file_path": "plugin/core/protocol.py",
"line_end": 221,
"line_start": 205,
"name": "Point",
"type": "class"
}
] | 1 |
sublimelsp__LSP__e26bfa70__10 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | from_lsp | plugin/core/protocol.py | 253 | 262 | [
{
"decorator_line": 243,
"file_path": "plugin/core/protocol.py",
"line_end": 265,
"line_start": 243,
"name": "Diagnostic",
"type": "class"
},
{
"decorator_line": 232,
"file_path": "plugin/core/protocol.py",
"line_end": 234,
"line_start": 233,
"name": "from_lsp",
"... | 2 |
sublimelsp__LSP__e26bfa70__11 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | get_active_views | plugin/core/windows.py | 69 | 79 | [
{
"decorator_line": 109,
"file_path": "plugin/core/types.py",
"line_end": 110,
"line_start": 109,
"name": "num_groups",
"type": "function"
},
{
"decorator_line": 115,
"file_path": "plugin/core/types.py",
"line_end": 116,
"line_start": 115,
"name": "active_view_in_grou... | 3 |
sublimelsp__LSP__e26bfa70__12 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | for_window | plugin/core/test_windows.py | 200 | 201 | [
{
"decorator_line": 179,
"file_path": "plugin/core/test_windows.py",
"line_end": 196,
"line_start": 179,
"name": "TestDocuments",
"type": "class"
}
] | 1 |
sublimelsp__LSP__e26bfa70__13 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | syntax_supported | plugin/core/configurations.py | 119 | 123 | [
{
"decorator_line": 86,
"file_path": "plugin/core/types.py",
"line_end": 87,
"line_start": 86,
"name": "settings",
"type": "function"
},
{
"decorator_line": 85,
"file_path": "plugin/core/configurations.py",
"line_end": 89,
"line_start": 85,
"name": "config_supports_sy... | 2 |
sublimelsp__LSP__e26bfa70__14 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | on_modified | plugin/completion.py | 77 | 88 | [
{
"decorator_line": 46,
"file_path": "plugin/completion.py",
"line_end": 49,
"line_start": 46,
"name": "committed_at",
"type": "function"
},
{
"decorator_line": 33,
"file_path": "plugin/completion.py",
"line_end": 35,
"line_start": 33,
"name": "find_completion_item",
... | 3 |
sublimelsp__LSP__e26bfa70__15 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | is_applicable | plugin/core/documents.py | 65 | 69 | [
{
"decorator_line": 77,
"file_path": "plugin/core/configurations.py",
"line_end": 82,
"line_start": 77,
"name": "is_supported_syntax",
"type": "function"
}
] | 1 |
sublimelsp__LSP__e26bfa70__16 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | test_lsp_conversion | plugin/core/test_protocol.py | 49 | 54 | [
{
"decorator_line": 252,
"file_path": "plugin/core/protocol.py",
"line_end": 262,
"line_start": 253,
"name": "from_lsp",
"type": "function"
},
{
"decorator_line": 264,
"file_path": "plugin/core/protocol.py",
"line_end": 265,
"line_start": 264,
"name": "to_lsp",
"t... | 2 |
sublimelsp__LSP__e26bfa70__17 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | notification_handler | plugin/core/rpc.py | 200 | 217 | [
{
"decorator_line": 16,
"file_path": "plugin/core/logging.py",
"line_end": 19,
"line_start": 16,
"name": "debug",
"type": "function"
},
{
"decorator_line": 29,
"file_path": "plugin/core/logging.py",
"line_end": 30,
"line_start": 29,
"name": "server_log",
"type": "... | 3 |
sublimelsp__LSP__e26bfa70__18 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | shutdown | plugin/core/protocol.py | 139 | 140 | [
{
"decorator_line": 76,
"file_path": "plugin/core/protocol.py",
"line_end": 154,
"line_start": 76,
"name": "Request",
"type": "class"
}
] | 1 |
sublimelsp__LSP__e26bfa70__19 | sublimelsp/LSP | e26bfa7031429728d4ed13269dad28c45771aafe | run | plugin/configuration.py | 170 | 202 | [
{
"decorator_line": 46,
"file_path": "plugin/core/configurations.py",
"line_end": 47,
"line_start": 46,
"name": "get_global_client_config",
"type": "function"
},
{
"decorator_line": 33,
"file_path": "plugin/configuration.py",
"line_end": 34,
"line_start": 33,
"name": ... | 2 |
MongoEngine__mongoengine__8df9ff90__0 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | set_password | mongoengine/django/auth.py | 91 | 98 | [
{
"decorator_line": 28,
"file_path": "mongoengine/django/auth.py",
"line_end": 33,
"line_start": 28,
"name": "make_password",
"type": "function"
}
] | 1 |
MongoEngine__mongoengine__8df9ff90__1 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | delete | mongoengine/django/storage.py | 28 | 35 | [
{
"decorator_line": 37,
"file_path": "mongoengine/django/storage.py",
"line_end": 46,
"line_start": 37,
"name": "exists",
"type": "function"
},
{
"decorator_line": 74,
"file_path": "mongoengine/django/storage.py",
"line_end": 82,
"line_start": 74,
"name": "_get_doc_wi... | 2 |
MongoEngine__mongoengine__8df9ff90__2 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | update_nested | tests/test_queryset.py | 403 | 407 | [
{
"decorator_line": 369,
"file_path": "tests/test_queryset.py",
"line_end": 370,
"line_start": 369,
"name": "Simple",
"type": "class"
}
] | 1 |
MongoEngine__mongoengine__8df9ff90__3 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | get_user | mongoengine/django/auth.py | 172 | 179 | [
{
"decorator_line": 168,
"file_path": "mongoengine/django/auth.py",
"line_end": 169,
"line_start": 168,
"name": "get_user",
"type": "function"
},
{
"decorator_line": 153,
"file_path": "mongoengine/django/auth.py",
"line_end": 169,
"line_start": 153,
"name": "MongoEngi... | 2 |
MongoEngine__mongoengine__8df9ff90__4 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | load | mongoengine/django/sessions.py | 42 | 52 | [
{
"decorator_line": 57,
"file_path": "mongoengine/django/sessions.py",
"line_end": 66,
"line_start": 57,
"name": "create",
"type": "function"
}
] | 1 |
MongoEngine__mongoengine__8df9ff90__5 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | get_document_or_404 | mongoengine/django/shortcuts.py | 11 | 29 | [
{
"decorator_line": 4,
"file_path": "mongoengine/django/shortcuts.py",
"line_end": 9,
"line_start": 4,
"name": "_get_queryset",
"type": "function"
}
] | 1 |
MongoEngine__mongoengine__8df9ff90__6 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | create | mongoengine/django/sessions.py | 57 | 66 | [
{
"decorator_line": 68,
"file_path": "mongoengine/django/sessions.py",
"line_end": 82,
"line_start": 68,
"name": "save",
"type": "function"
}
] | 1 |
MongoEngine__mongoengine__8df9ff90__7 | MongoEngine/mongoengine | 8df9ff90cb90aebc21b82fd90d2dabd084097d6e | test_generic_reference | tests/test_dereference.py | 369 | 458 | [
{
"decorator_line": 3,
"file_path": "mongoengine/tests.py",
"line_end": 58,
"line_start": 3,
"name": "query_counter",
"type": "class"
}
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.