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
autogluon__autogluon__9d07958b__0
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
get_built_in_dataset
autogluon/task/image_classification/dataset.py
412
463
[ { "decorator_line": 19, "file_path": "autogluon/utils/mxutils.py", "line_end": 79, "line_start": 19, "name": "get_data_rec", "type": "function" } ]
1
autogluon__autogluon__9d07958b__1
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
get_dataset
autogluon/task/object_detection/dataset/__init__.py
8
59
[ { "decorator_line": 116, "file_path": "autogluon/task/object_detection/dataset/voc.py", "line_end": 173, "line_start": 117, "name": "CustomVOCDetection", "type": "class" }, { "decorator_line": 5, "file_path": "autogluon/task/object_detection/dataset/coco.py", "line_end": 33, "line_start": 6, "name": "COCO", "type": "class" } ]
2
autogluon__autogluon__9d07958b__2
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
test_search_space
tests/unittests/test_search_space.py
50
58
[ { "decorator_line": 27, "file_path": "autogluon/scheduler/fifo.py", "line_end": 365, "line_start": 27, "name": "FIFOScheduler", "type": "class" }, { "decorator_line": 131, "file_path": "autogluon/scheduler/fifo.py", "line_end": 145, "line_start": 131, "name": "run", "type": "function" }, { "decorator_line": 174, "file_path": "autogluon/scheduler/scheduler.py", "line_end": 184, "line_start": 174, "name": "join_jobs", "type": "function" } ]
3
autogluon__autogluon__9d07958b__3
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
preprocess
autogluon/utils/tabular/ml/models/catboost/catboost_model.py
47
58
[ { "decorator_line": 117, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 120, "line_start": 117, "name": "preprocess", "type": "function" } ]
1
autogluon__autogluon__9d07958b__4
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
config_choice
examples/image_classification/kaggle_configuration.py
13
310
[ { "decorator_line": 218, "file_path": "autogluon/core/decorator.py", "line_end": 289, "line_start": 218, "name": "obj", "type": "function" }, { "decorator_line": 4, "file_path": "examples/image_classification/kaggle_configuration.py", "line_end": 11, "line_start": 4, "name": "download_shopee", "type": "function" } ]
2
autogluon__autogluon__9d07958b__5
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
cudaInit
autogluon/scheduler/resource/nvutil.py
21
40
[ { "decorator_line": 50, "file_path": "autogluon/scheduler/resource/nvutil.py", "line_end": 80, "line_start": 50, "name": "_LoadNvmlLibrary", "type": "function" }, { "decorator_line": 91, "file_path": "autogluon/scheduler/resource/nvutil.py", "line_end": 109, "line_start": 91, "name": "_cudaGetFunctionPointer", "type": "function" }, { "decorator_line": 111, "file_path": "autogluon/scheduler/resource/nvutil.py", "line_end": 114, "line_start": 111, "name": "_cudaCheckReturn", "type": "function" } ]
3
autogluon__autogluon__9d07958b__6
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
get_teacher
autogluon/task/image_classification/processing_params.py
77
83
[ { "decorator_line": 92, "file_path": "autogluon/task/image_classification/nets.py", "line_end": 97, "line_start": 92, "name": "get_network", "type": "function" } ]
1
autogluon__autogluon__9d07958b__7
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
stack_new_level_aux
autogluon/utils/tabular/ml/trainer/abstract_trainer.py
555
558
[ { "decorator_line": 662, "file_path": "autogluon/utils/tabular/ml/trainer/abstract_trainer.py", "line_end": 698, "line_start": 662, "name": "get_inputs_to_stacker", "type": "function" }, { "decorator_line": 560, "file_path": "autogluon/utils/tabular/ml/trainer/abstract_trainer.py", "line_end": 578, "line_start": 560, "name": "generate_weighted_ensemble", "type": "function" } ]
2
autogluon__autogluon__9d07958b__8
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
load
autogluon/task/image_classification/classifier.py
51
70
[ { "decorator_line": 57, "file_path": "autogluon/utils/serialization.py", "line_end": 81, "line_start": 57, "name": "load", "type": "function" }, { "decorator_line": 92, "file_path": "autogluon/task/image_classification/nets.py", "line_end": 97, "line_start": 92, "name": "get_network", "type": "function" }, { "decorator_line": 9, "file_path": "autogluon/utils/mxutils.py", "line_end": 12, "line_start": 9, "name": "update_params", "type": "function" } ]
3
autogluon__autogluon__9d07958b__9
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
get_models
autogluon/utils/tabular/ml/trainer/auto_trainer.py
19
21
[ { "decorator_line": 15, "file_path": "autogluon/utils/tabular/ml/trainer/model_presets/presets.py", "line_end": 25, "line_start": 15, "name": "get_preset_models", "type": "function" } ]
1
autogluon__autogluon__9d07958b__10
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
restore_location
autogluon/utils/serialization.py
211
215
[ { "decorator_line": 198, "file_path": "autogluon/utils/serialization.py", "line_end": 380, "line_start": 198, "name": "_load", "type": "function" }, { "decorator_line": 116, "file_path": "autogluon/utils/serialization.py", "line_end": 121, "line_start": 116, "name": "default_restore_location", "type": "function" } ]
2
autogluon__autogluon__9d07958b__11
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
fit
autogluon/utils/tabular/ml/models/tabular_nn/categorical_encoders.py
455
485
[ { "decorator_line": 404, "file_path": "autogluon/utils/tabular/ml/models/tabular_nn/categorical_encoders.py", "line_end": 416, "line_start": 404, "name": "_validate_keywords", "type": "function" }, { "decorator_line": 199, "file_path": "autogluon/utils/tabular/ml/models/tabular_nn/categorical_encoders.py", "line_end": 239, "line_start": 199, "name": "_fit", "type": "function" }, { "decorator_line": 418, "file_path": "autogluon/utils/tabular/ml/models/tabular_nn/categorical_encoders.py", "line_end": 453, "line_start": 418, "name": "_compute_drop_idx", "type": "function" } ]
3
autogluon__autogluon__9d07958b__12
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
autotune
autogluon/utils/tabular/ml/trainer/abstract_trainer.py
650
651
[ { "decorator_line": 359, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 365, "line_start": 359, "name": "feature_prune", "type": "function" } ]
1
autogluon__autogluon__9d07958b__13
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
generate_datasets
autogluon/utils/tabular/ml/models/lgb/lgb_model.py
186
209
[ { "decorator_line": 117, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 120, "line_start": 117, "name": "preprocess", "type": "function" }, { "decorator_line": 68, "file_path": "autogluon/utils/tabular/ml/utils.py", "line_end": 87, "line_start": 68, "name": "construct_dataset", "type": "function" } ]
2
autogluon__autogluon__9d07958b__14
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
test_fifo_scheduler
tests/unittests/test_scheduler.py
21
29
[ { "decorator_line": 27, "file_path": "autogluon/scheduler/fifo.py", "line_end": 365, "line_start": 27, "name": "FIFOScheduler", "type": "class" }, { "decorator_line": 131, "file_path": "autogluon/scheduler/fifo.py", "line_end": 145, "line_start": 131, "name": "run", "type": "function" }, { "decorator_line": 174, "file_path": "autogluon/scheduler/scheduler.py", "line_end": 184, "line_start": 174, "name": "join_jobs", "type": "function" } ]
3
autogluon__autogluon__9d07958b__15
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
load_state_dict
autogluon/scheduler/hyperband.py
287
296
[ { "decorator_line": 352, "file_path": "autogluon/scheduler/fifo.py", "line_end": 365, "line_start": 352, "name": "load_state_dict", "type": "function" } ]
1
autogluon__autogluon__9d07958b__16
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
transform
autogluon/utils/tabular/data/label_cleaner.py
142
145
[ { "decorator_line": 54, "file_path": "autogluon/utils/tabular/data/label_cleaner.py", "line_end": 58, "line_start": 54, "name": "transform", "type": "function" }, { "decorator_line": 126, "file_path": "autogluon/utils/tabular/data/label_cleaner.py", "line_end": 130, "line_start": 126, "name": "transform", "type": "function" } ]
2
autogluon__autogluon__9d07958b__17
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
predict_proba_model
autogluon/utils/tabular/ml/trainer/abstract_trainer.py
617
621
[ { "decorator_line": 709, "file_path": "autogluon/utils/tabular/ml/trainer/abstract_trainer.py", "line_end": 713, "line_start": 709, "name": "load_model", "type": "function" }, { "decorator_line": 623, "file_path": "autogluon/utils/tabular/ml/trainer/abstract_trainer.py", "line_end": 633, "line_start": 623, "name": "get_inputs_to_model", "type": "function" }, { "decorator_line": 132, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 150, "line_start": 132, "name": "predict_proba", "type": "function" } ]
3
autogluon__autogluon__9d07958b__18
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
set_contexts
autogluon/utils/tabular/ml/models/abstract/abstract_model.py
107
108
[ { "decorator_line": 110, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 112, "line_start": 110, "name": "create_contexts", "type": "function" } ]
1
autogluon__autogluon__9d07958b__19
autogluon/autogluon
9d07958b43d3ffad2ff8ddee10a5d5228ca09099
preprocess
autogluon/utils/tabular/ml/models/ensemble/bagged_ensemble_model.py
54
61
[ { "decorator_line": 194, "file_path": "autogluon/utils/tabular/ml/models/ensemble/bagged_ensemble_model.py", "line_end": 199, "line_start": 194, "name": "load_child", "type": "function" }, { "decorator_line": 117, "file_path": "autogluon/utils/tabular/ml/models/abstract/abstract_model.py", "line_end": 120, "line_start": 117, "name": "preprocess", "type": "function" } ]
2
blakeblackshear__frigate__a1cc9ad1__0
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
create_tensor_input
frigate/video.py
89
97
[ { "decorator_line": 72, "file_path": "frigate/util.py", "line_end": 101, "line_start": 72, "name": "yuv_region_2_rgb", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__1
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
run
frigate/events.py
139
171
[ { "decorator_line": 22, "file_path": "frigate/events.py", "line_end": 84, "line_start": 22, "name": "refresh_cache", "type": "function" }, { "decorator_line": 86, "file_path": "frigate/events.py", "line_end": 137, "line_start": 86, "name": "create_clip", "type": "function" } ]
2
blakeblackshear__frigate__a1cc9ad1__2
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
load_frames
process_clip.py
26
36
[ { "decorator_line": 150, "file_path": "frigate/util.py", "line_end": 173, "line_start": 150, "name": "EventsPerSecond", "type": "class" }, { "decorator_line": 99, "file_path": "frigate/video.py", "line_end": 115, "line_start": 99, "name": "start_or_restart_ffmpeg", "type": "function" }, { "decorator_line": 117, "file_path": "frigate/video.py", "line_end": 167, "line_start": 117, "name": "capture_frames", "type": "function" } ]
3
blakeblackshear__frigate__a1cc9ad1__3
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
get_current_frame
frigate/object_processing.py
355
356
[ { "decorator_line": 66, "file_path": "frigate/object_processing.py", "line_end": 100, "line_start": 66, "name": "get_current_frame", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__4
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
run
frigate/video.py
232
235
[ { "decorator_line": 156, "file_path": "frigate/util.py", "line_end": 157, "line_start": 156, "name": "start", "type": "function" }, { "decorator_line": 117, "file_path": "frigate/video.py", "line_end": 167, "line_start": 117, "name": "capture_frames", "type": "function" } ]
2
blakeblackshear__frigate__a1cc9ad1__5
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
detect
frigate/video.py
294
315
[ { "decorator_line": 89, "file_path": "frigate/video.py", "line_end": 97, "line_start": 89, "name": "create_tensor_input", "type": "function" }, { "decorator_line": 172, "file_path": "frigate/edgetpu.py", "line_end": 194, "line_start": 172, "name": "detect", "type": "function" }, { "decorator_line": 55, "file_path": "frigate/video.py", "line_end": 87, "line_start": 55, "name": "filtered", "type": "function" } ]
3
blakeblackshear__frigate__a1cc9ad1__6
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
latest_frame
detect_objects.py
401
418
[ { "decorator_line": 355, "file_path": "frigate/object_processing.py", "line_end": 356, "line_start": 355, "name": "get_current_frame", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__7
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
start_ffmpeg
frigate/video.py
209
214
[ { "decorator_line": 99, "file_path": "frigate/video.py", "line_end": 115, "line_start": 99, "name": "start_or_restart_ffmpeg", "type": "function" }, { "decorator_line": 216, "file_path": "frigate/video.py", "line_end": 235, "line_start": 216, "name": "CameraCapture", "type": "class" } ]
2
blakeblackshear__frigate__a1cc9ad1__8
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
match_and_update
frigate/objects.py
39
147
[ { "decorator_line": 29, "file_path": "frigate/objects.py", "line_end": 31, "line_start": 29, "name": "deregister", "type": "function" }, { "decorator_line": 20, "file_path": "frigate/objects.py", "line_end": 27, "line_start": 20, "name": "register", "type": "function" }, { "decorator_line": 33, "file_path": "frigate/objects.py", "line_end": 37, "line_start": 33, "name": "update", "type": "function" } ]
3
blakeblackshear__frigate__a1cc9ad1__9
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
capture_camera
frigate/video.py
237
241
[ { "decorator_line": 169, "file_path": "frigate/video.py", "line_end": 214, "line_start": 169, "name": "CameraWatchdog", "type": "class" } ]
1
blakeblackshear__frigate__a1cc9ad1__10
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
detect
frigate/edgetpu.py
72
86
[ { "decorator_line": 88, "file_path": "frigate/edgetpu.py", "line_end": 99, "line_start": 88, "name": "detect_raw", "type": "function" }, { "decorator_line": 159, "file_path": "frigate/util.py", "line_end": 165, "line_start": 159, "name": "update", "type": "function" } ]
2
blakeblackshear__frigate__a1cc9ad1__11
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
imagestream
detect_objects.py
420
433
[ { "decorator_line": 355, "file_path": "frigate/object_processing.py", "line_end": 356, "line_start": 355, "name": "get_current_frame", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__12
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
save_debug_frame
process_clip.py
82
102
[ { "decorator_line": 207, "file_path": "frigate/util.py", "line_end": 209, "line_start": 207, "name": "get", "type": "function" }, { "decorator_line": 14, "file_path": "frigate/util.py", "line_end": 42, "line_start": 14, "name": "draw_box_with_label", "type": "function" } ]
2
blakeblackshear__frigate__a1cc9ad1__13
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
eps
frigate/util.py
167
173
[ { "decorator_line": 156, "file_path": "frigate/util.py", "line_end": 157, "line_start": 156, "name": "start", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__14
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
run
frigate/object_processing.py
358
392
[ { "decorator_line": 122, "file_path": "frigate/object_processing.py", "line_end": 241, "line_start": 122, "name": "update", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__15
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
update
frigate/util.py
159
165
[ { "decorator_line": 156, "file_path": "frigate/util.py", "line_end": 157, "line_start": 156, "name": "start", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__16
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
create_clip
frigate/events.py
86
137
[ { "decorator_line": 22, "file_path": "frigate/events.py", "line_end": 84, "line_start": 22, "name": "refresh_cache", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__17
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
best
detect_objects.py
364
387
[ { "decorator_line": 348, "file_path": "frigate/object_processing.py", "line_end": 353, "line_start": 348, "name": "get_best", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__18
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
intersection_over_union
frigate/util.py
114
135
[ { "decorator_line": 103, "file_path": "frigate/util.py", "line_end": 109, "line_start": 103, "name": "intersection", "type": "function" } ]
1
blakeblackshear__frigate__a1cc9ad1__19
blakeblackshear/frigate
a1cc9ad1f0a3ea3e3a1c8163c5ff3c27065a9be4
run
frigate/video.py
183
207
[ { "decorator_line": 209, "file_path": "frigate/video.py", "line_end": 214, "line_start": 209, "name": "start_ffmpeg", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__0
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
POST
modules/deaddrop/files/deaddrop/source.py
24
26
[ { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/source.py", "line_end": 34, "line_start": 28, "name": "GET", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__1
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
GET
modules/deaddrop/files/deaddrop/journalist.py
52
59
[ { "decorator_line": 43, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 46, "line_start": 43, "name": "displayid", "type": "function" }, { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 32, "line_start": 28, "name": "path", "type": "function" } ]
2
freedomofpress__securedrop__229ec0c9__2
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
GET
modules/deaddrop/files/deaddrop/journalist.py
34
49
[ { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 32, "line_start": 28, "name": "path", "type": "function" }, { "decorator_line": 80, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 84, "line_start": 80, "name": "getkey", "type": "function" }, { "decorator_line": 43, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 46, "line_start": 43, "name": "displayid", "type": "function" } ]
3
freedomofpress__securedrop__229ec0c9__3
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
secureunlink
modules/deaddrop/files/deaddrop/crypto.py
127
129
[ { "decorator_line": 9, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 26, "line_start": 9, "name": "verify", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__4
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
GET
modules/deaddrop/files/deaddrop/journalist.py
16
31
[ { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 32, "line_start": 28, "name": "path", "type": "function" }, { "decorator_line": 43, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 46, "line_start": 43, "name": "displayid", "type": "function" } ]
2
freedomofpress__securedrop__229ec0c9__5
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
encrypt
modules/deaddrop/files/deaddrop/crypto.py
90
115
[ { "decorator_line": 9, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 26, "line_start": 9, "name": "verify", "type": "function" }, { "decorator_line": 86, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 87, "line_start": 86, "name": "_shquote", "type": "function" }, { "decorator_line": 23, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 23, "line_start": 23, "name": "CryptoException", "type": "class" } ]
3
freedomofpress__securedrop__229ec0c9__6
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
POST
modules/deaddrop/files/deaddrop/source.py
109
111
[ { "decorator_line": 47, "file_path": "modules/deaddrop/files/deaddrop/source.py", "line_end": 88, "line_start": 47, "name": "store_endpoint", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__7
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
POST
modules/deaddrop/files/deaddrop/journalist.py
65
74
[ { "decorator_line": 90, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 115, "line_start": 90, "name": "encrypt", "type": "function" }, { "decorator_line": 80, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 84, "line_start": 80, "name": "getkey", "type": "function" }, { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 32, "line_start": 28, "name": "path", "type": "function" } ]
3
freedomofpress__securedrop__229ec0c9__8
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
genkeypair
modules/deaddrop/files/deaddrop/crypto.py
65
78
[ { "decorator_line": 25, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 37, "line_start": 25, "name": "clean", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__9
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
log
modules/deaddrop/files/deaddrop/store.py
34
35
[ { "decorator_line": 28, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 32, "line_start": 28, "name": "path", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__10
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
GET
modules/deaddrop/files/deaddrop/source.py
28
34
[ { "decorator_line": 40, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 41, "line_start": 40, "name": "genrandomid", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__11
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
path
modules/deaddrop/files/deaddrop/store.py
28
32
[ { "decorator_line": 9, "file_path": "modules/deaddrop/files/deaddrop/store.py", "line_end": 26, "line_start": 9, "name": "verify", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__12
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
GET
modules/deaddrop/files/deaddrop/source.py
37
45
[ { "decorator_line": 40, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 41, "line_start": 40, "name": "genrandomid", "type": "function" } ]
1
freedomofpress__securedrop__229ec0c9__13
freedomofpress/securedrop
229ec0c940cf4322e4438e87f1bd91aea0e5976e
clean
modules/deaddrop/files/deaddrop/crypto.py
25
37
[ { "decorator_line": 23, "file_path": "modules/deaddrop/files/deaddrop/crypto.py", "line_end": 23, "line_start": 23, "name": "CryptoException", "type": "class" } ]
1
ros__ros_comm__c5236aa6__0
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
assertGetParamFail
tools/rosmaster/test/test_rosmaster_paramserver.py
730
734
[ { "decorator_line": 146, "file_path": "tools/rosmaster/src/rosmaster/paramserver.py", "line_end": 166, "line_start": 146, "name": "get_param", "type": "function" } ]
1
ros__ros_comm__c5236aa6__1
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
reindex
tools/rosbag/src/rosbag/bag.py
387
392
[ { "decorator_line": 870, "file_path": "tools/rosbag/src/rosbag/bag.py", "line_end": 884, "line_start": 870, "name": "_clear_index", "type": "function" }, { "decorator_line": 1681, "file_path": "tools/rosbag/src/rosbag/bag.py", "line_end": 1732, "line_start": 1681, "name": "reindex", "type": "function" } ]
2
ros__ros_comm__c5236aa6__2
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_arg_invalid
tools/roslaunch/test/unit/test_xmlloader.py
836
861
[ { "decorator_line": 48, "file_path": "tools/roslaunch/test/unit/test_xmlloader.py", "line_end": 86, "line_start": 48, "name": "RosLaunchMock", "type": "class" }, { "decorator_line": 137, "file_path": "tools/roslaunch/src/roslaunch/xmlloader.py", "line_end": 733, "line_start": 137, "name": "XmlLoader", "type": "class" }, { "decorator_line": 684, "file_path": "tools/roslaunch/src/roslaunch/xmlloader.py", "line_end": 703, "line_start": 684, "name": "load", "type": "function" } ]
3
ros__ros_comm__c5236aa6__3
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
write_members
clients/roscpp/rosbuild/scripts/msg_gen.py
354
363
[ { "decorator_line": 339, "file_path": "clients/roscpp/rosbuild/scripts/msg_gen.py", "line_end": 352, "line_start": 339, "name": "write_member", "type": "function" } ]
1
ros__ros_comm__c5236aa6__4
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
start
tools/roslaunch/src/roslaunch/server.py
526
532
[ { "decorator_line": 352, "file_path": "tools/roslaunch/src/roslaunch/server.py", "line_end": 405, "line_start": 352, "name": "start", "type": "function" }, { "decorator_line": 497, "file_path": "tools/roslaunch/src/roslaunch/server.py", "line_end": 524, "line_start": 497, "name": "_register_with_server", "type": "function" } ]
2
ros__ros_comm__c5236aa6__5
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_setParam
tools/rosgraph/test/test_rosgraph_masterapi_offline.py
389
397
[ { "decorator_line": 170, "file_path": "tools/rosgraph/src/rosgraph/masterapi.py", "line_end": 189, "line_start": 170, "name": "setParam", "type": "function" }, { "decorator_line": 145, "file_path": "tools/rosgraph/test/test_rosgraph_masterapi_offline.py", "line_end": 152, "line_start": 145, "name": "throw_failure", "type": "function" }, { "decorator_line": 154, "file_path": "tools/rosgraph/test/test_rosgraph_masterapi_offline.py", "line_end": 161, "line_start": 154, "name": "throw_error", "type": "function" } ]
3
ros__ros_comm__c5236aa6__6
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
add_client_shutdown_hook
clients/rospy/src/rospy/core.py
342
351
[ { "decorator_line": 307, "file_path": "clients/rospy/src/rospy/core.py", "line_end": 321, "line_start": 307, "name": "_add_shutdown_hook", "type": "function" } ]
1
ros__ros_comm__c5236aa6__7
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_Rate
test/test_rospy/test/rostest/test_rospy_client_online.py
212
222
[ { "decorator_line": 46, "file_path": "clients/rospy/src/rospy/timer.py", "line_end": 83, "line_start": 46, "name": "Rate", "type": "class" }, { "decorator_line": 61, "file_path": "clients/rospy/src/rospy/timer.py", "line_end": 83, "line_start": 61, "name": "sleep", "type": "function" } ]
2
ros__ros_comm__c5236aa6__8
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
load_rosparam
tools/roslaunch/src/roslaunch/loader.py
353
423
[ { "decorator_line": 159, "file_path": "tools/rosgraph/src/rosgraph/names.py", "line_end": 179, "line_start": 159, "name": "ns_join", "type": "function" }, { "decorator_line": 648, "file_path": "tools/roslaunch/src/roslaunch/core.py", "line_end": 657, "line_start": 648, "name": "RosbinExecutable", "type": "class" }, { "decorator_line": 322, "file_path": "tools/roslaunch/src/roslaunch/loader.py", "line_end": 351, "line_start": 322, "name": "add_param", "type": "function" } ]
3
ros__ros_comm__c5236aa6__9
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
run
tools/roslaunch/src/roslaunch/pmon.py
680
688
[ { "decorator_line": 655, "file_path": "tools/roslaunch/src/roslaunch/pmon.py", "line_end": 671, "line_start": 655, "name": "_kill_process", "type": "function" } ]
1
ros__ros_comm__c5236aa6__10
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
get_service_args
tools/rosservice/src/rosservice/__init__.py
485
494
[ { "decorator_line": 293, "file_path": "tools/rosgraph/src/rosgraph/names.py", "line_end": 311, "line_start": 293, "name": "script_resolve_name", "type": "function" }, { "decorator_line": 358, "file_path": "tools/rosservice/src/rosservice/__init__.py", "line_end": 391, "line_start": 358, "name": "get_service_class_by_name", "type": "function" } ]
2
ros__ros_comm__c5236aa6__11
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_TCPServer
test/test_rospy/test/unit/test_rospy_tcpros_base.py
97
112
[ { "decorator_line": 109, "file_path": "clients/rospy/src/rospy/impl/tcpros_base.py", "line_end": 202, "line_start": 109, "name": "TCPServer", "type": "class" }, { "decorator_line": 172, "file_path": "clients/rospy/src/rospy/impl/tcpros_base.py", "line_end": 179, "line_start": 172, "name": "get_full_addr", "type": "function" }, { "decorator_line": 198, "file_path": "clients/rospy/src/rospy/impl/tcpros_base.py", "line_end": 202, "line_start": 198, "name": "shutdown", "type": "function" } ]
3
ros__ros_comm__c5236aa6__12
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
delete_all
tools/rosgraph/src/rosgraph/impl/graph.py
166
179
[ { "decorator_line": 181, "file_path": "tools/rosgraph/src/rosgraph/impl/graph.py", "line_end": 190, "line_start": 181, "name": "delete", "type": "function" } ]
1
ros__ros_comm__c5236aa6__13
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_validate_master_launch
tools/roslaunch/test/unit/test_roslaunch_launch.py
45
97
[ { "decorator_line": 248, "file_path": "tools/roslaunch/src/roslaunch/core.py", "line_end": 319, "line_start": 248, "name": "Master", "type": "class" }, { "decorator_line": 66, "file_path": "tools/roslaunch/src/roslaunch/launch.py", "line_end": 115, "line_start": 66, "name": "validate_master_launch", "type": "function" } ]
2
ros__ros_comm__c5236aa6__14
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
spin
tools/roslaunch/src/roslaunch/parent.py
285
295
[ { "decorator_line": 61, "file_path": "tools/roslaunch/src/roslaunch/core.py", "line_end": 63, "line_start": 61, "name": "RLException", "type": "class" }, { "decorator_line": 573, "file_path": "tools/roslaunch/src/roslaunch/launch.py", "line_end": 591, "line_start": 573, "name": "spin", "type": "function" }, { "decorator_line": 220, "file_path": "tools/roslaunch/src/roslaunch/parent.py", "line_end": 239, "line_start": 220, "name": "_stop_infrastructure", "type": "function" } ]
3
ros__ros_comm__c5236aa6__15
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
ip_check
utilities/roswtf/src/roswtf/network.py
46
55
[ { "decorator_line": 200, "file_path": "tools/rosgraph/src/rosgraph/network.py", "line_end": 238, "line_start": 200, "name": "get_local_addresses", "type": "function" } ]
1
ros__ros_comm__c5236aa6__16
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_ROSLaunchListener
tools/roslaunch/test/unit/test_roslaunch_launch.py
175
178
[ { "decorator_line": 201, "file_path": "tools/roslaunch/src/roslaunch/launch.py", "line_end": 223, "line_start": 201, "name": "ROSLaunchListener", "type": "class" }, { "decorator_line": 211, "file_path": "tools/roslaunch/src/roslaunch/launch.py", "line_end": 223, "line_start": 211, "name": "process_died", "type": "function" } ]
2
ros__ros_comm__c5236aa6__17
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
make_caller_id
tools/rosgraph/src/rosgraph/names.py
83
92
[ { "decorator_line": 94, "file_path": "tools/rosgraph/src/rosgraph/names.py", "line_end": 111, "line_start": 94, "name": "make_global_ns", "type": "function" }, { "decorator_line": 159, "file_path": "tools/rosgraph/src/rosgraph/names.py", "line_end": 179, "line_start": 159, "name": "ns_join", "type": "function" }, { "decorator_line": 64, "file_path": "tools/rosgraph/src/rosgraph/names.py", "line_end": 81, "line_start": 64, "name": "get_ros_namespace", "type": "function" } ]
3
ros__ros_comm__c5236aa6__18
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
test_rosmsg_cmd_prototype_std_msgs_Int16
tools/rosmsg/test/test_rosmsgproto.py
82
88
[ { "decorator_line": 256, "file_path": "tools/rosmsg/src/rosmsg/__init__.py", "line_end": 356, "line_start": 256, "name": "rosmsg_cmd_prototype", "type": "function" } ]
1
ros__ros_comm__c5236aa6__19
ros/ros_comm
c5236aa6d3be30e5902768dae8c4e90f4122f69f
release_impl
clients/rospy/src/rospy/topics.py
1,203
1,235
[ { "decorator_line": 130, "file_path": "clients/rospy/src/rospy/core.py", "line_end": 132, "line_start": 130, "name": "rospyinfo", "type": "function" }, { "decorator_line": 1131, "file_path": "clients/rospy/src/rospy/topics.py", "line_end": 1149, "line_start": 1131, "name": "_remove", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__0
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_main_use_generic_container_types_standard_collections
tests/test_main.py
1,257
1,283
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__1
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_openapi_parser_parse_any
tests/parser/test_openapi.py
593
602
[ { "decorator_line": 7, "file_path": "datamodel_code_generator/parser/openapi.py", "line_end": 34, "line_start": 8, "name": "OpenAPIParser", "type": "class" }, { "decorator_line": 378, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 578, "line_start": 378, "name": "parse", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__2
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_json_schema_object_cached_ref_url_yaml
tests/parser/test_jsonschema.py
115
142
[ { "decorator_line": 226, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 1110, "line_start": 227, "name": "JsonSchemaParser", "type": "class" }, { "decorator_line": 908, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 955, "line_start": 908, "name": "parse_ref", "type": "function" }, { "decorator_line": 73, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 74, "line_start": 73, "name": "dump_templates", "type": "function" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__3
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_main_json_failed
tests/test_main.py
318
333
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__4
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
get_data_str_type
datamodel_code_generator/model/pydantic/types.py
204
217
[ { "decorator_line": 131, "file_path": "datamodel_code_generator/model/pydantic/types.py", "line_end": 136, "line_start": 131, "name": "transform_kwargs", "type": "function" }, { "decorator_line": 71, "file_path": "datamodel_code_generator/types.py", "line_end": 91, "line_start": 72, "name": "from_import", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__5
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_parse_object
tests/parser/test_jsonschema.py
234
237
[ { "decorator_line": 226, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 1110, "line_start": 227, "name": "JsonSchemaParser", "type": "class" }, { "decorator_line": 600, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 631, "line_start": 600, "name": "parse_object", "type": "function" }, { "decorator_line": 73, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 74, "line_start": 73, "name": "dump_templates", "type": "function" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__6
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_main_nested_json_pointer
tests/test_main.py
1,638
1,659
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__7
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
root_id_context
datamodel_code_generator/parser/jsonschema.py
977
992
[ { "decorator_line": 177, "file_path": "datamodel_code_generator/reference.py", "line_end": 204, "line_start": 177, "name": "resolve_ref", "type": "function" }, { "decorator_line": 887, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 890, "line_start": 887, "name": "_get_ref_body", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__8
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_json_schema_object_ref_url_json
tests/parser/test_jsonschema.py
63
88
[ { "decorator_line": 226, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 1110, "line_start": 227, "name": "JsonSchemaParser", "type": "class" }, { "decorator_line": 908, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 955, "line_start": 908, "name": "parse_ref", "type": "function" }, { "decorator_line": 73, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 74, "line_start": 73, "name": "dump_templates", "type": "function" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__9
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_validation_failed
tests/test_main.py
611
627
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__10
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_openapi_parser_parse_oneof
tests/parser/test_openapi.py
389
396
[ { "decorator_line": 7, "file_path": "datamodel_code_generator/parser/openapi.py", "line_end": 34, "line_start": 8, "name": "OpenAPIParser", "type": "class" }, { "decorator_line": 378, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 578, "line_start": 378, "name": "parse", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__11
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_custom_root_type_get_data_type
tests/model/pydantic/test_custom_root_type.py
65
66
[ { "decorator_line": 236, "file_path": "datamodel_code_generator/model/pydantic/types.py", "line_end": 251, "line_start": 236, "name": "get_data_type", "type": "function" }, { "decorator_line": 139, "file_path": "datamodel_code_generator/model/pydantic/types.py", "line_end": 251, "line_start": 139, "name": "DataTypeManager", "type": "class" }, { "decorator_line": 49, "file_path": "datamodel_code_generator/types.py", "line_end": 234, "line_start": 49, "name": "DataType", "type": "class" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__12
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
type_map_factory
datamodel_code_generator/model/pydantic/types.py
43
88
[ { "decorator_line": 71, "file_path": "datamodel_code_generator/types.py", "line_end": 91, "line_start": 72, "name": "from_import", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__13
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_template_base
tests/model/test_base.py
58
66
[ { "decorator_line": 15, "file_path": "tests/model/test_base.py", "line_end": 24, "line_start": 15, "name": "A", "type": "class" }, { "decorator_line": 140, "file_path": "datamodel_code_generator/model/base.py", "line_end": 141, "line_start": 140, "name": "_render", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__14
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_parse_default
tests/parser/test_jsonschema.py
314
317
[ { "decorator_line": 226, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 1110, "line_start": 227, "name": "JsonSchemaParser", "type": "class" }, { "decorator_line": 994, "file_path": "datamodel_code_generator/parser/jsonschema.py", "line_end": 995, "line_start": 994, "name": "parse_raw_obj", "type": "function" }, { "decorator_line": 73, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 74, "line_start": 73, "name": "dump_templates", "type": "function" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__15
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_main_use_generic_container_types
tests/test_main.py
1,231
1,254
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__16
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
is_remote_ref
datamodel_code_generator/reference.py
206
211
[ { "decorator_line": 221, "file_path": "datamodel_code_generator/reference.py", "line_end": 223, "line_start": 222, "name": "is_external_ref", "type": "function" }, { "decorator_line": 396, "file_path": "datamodel_code_generator/reference.py", "line_end": 397, "line_start": 396, "name": "is_url", "type": "function" } ]
2
koxudaxi__datamodel-code-generator__3f7975a5__17
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_get_data_int_type
tests/model/pydantic/test_types.py
71
72
[ { "decorator_line": 49, "file_path": "datamodel_code_generator/types.py", "line_end": 234, "line_start": 49, "name": "DataType", "type": "class" }, { "decorator_line": 161, "file_path": "datamodel_code_generator/model/pydantic/types.py", "line_end": 176, "line_start": 161, "name": "get_data_int_type", "type": "function" }, { "decorator_line": 139, "file_path": "datamodel_code_generator/model/pydantic/types.py", "line_end": 251, "line_start": 139, "name": "DataTypeManager", "type": "class" } ]
3
koxudaxi__datamodel-code-generator__3f7975a5__18
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_main_jsonschema_multiple_files
tests/test_main.py
244
266
[ { "decorator_line": 314, "file_path": "datamodel_code_generator/__main__.py", "line_end": 436, "line_start": 314, "name": "main", "type": "function" } ]
1
koxudaxi__datamodel-code-generator__3f7975a5__19
koxudaxi/datamodel-code-generator
3f7975a5a239f33533a12d68a01d08668ba86b1b
test_openapi_parser_parse_enum_models
tests/parser/test_openapi.py
357
366
[ { "decorator_line": 7, "file_path": "datamodel_code_generator/parser/openapi.py", "line_end": 34, "line_start": 8, "name": "OpenAPIParser", "type": "class" }, { "decorator_line": 378, "file_path": "datamodel_code_generator/parser/base.py", "line_end": 578, "line_start": 378, "name": "parse", "type": "function" } ]
2
huggingface__datasets__5353490e__0
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
find_all_best_thresh
metrics/squad_v2/evaluate.py
222
228
[ { "decorator_line": 201, "file_path": "metrics/squad_v2/evaluate.py", "line_end": 220, "line_start": 201, "name": "find_best_thresh", "type": "function" } ]
1
huggingface__datasets__5353490e__1
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
test_load_dataset_all_configs
tests/test_dataset_common.py
233
235
[ { "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__2
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
verify_checksums
src/nlp/utils/info_utils.py
25
36
[ { "decorator_line": 17, "file_path": "src/nlp/utils/info_utils.py", "line_end": 18, "line_start": 17, "name": "ExpectedMoreDownloadedFiles", "type": "class" }, { "decorator_line": 13, "file_path": "src/nlp/utils/info_utils.py", "line_end": 14, "line_start": 13, "name": "UnexpectedDownloadedFile", "type": "class" }, { "decorator_line": 21, "file_path": "src/nlp/utils/info_utils.py", "line_end": 22, "line_start": 21, "name": "NonMatchingChecksumError", "type": "class" } ]
3
huggingface__datasets__5353490e__3
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
download_and_extract
src/nlp/utils/mock_download_manager.py
92
103
[ { "decorator_line": 121, "file_path": "src/nlp/utils/mock_download_manager.py", "line_end": 138, "line_start": 121, "name": "create_dummy_data_dict", "type": "function" } ]
1
huggingface__datasets__5353490e__4
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
parquet_to_arrow
src/nlp/arrow_writer.py
285
293
[ { "decorator_line": 35, "file_path": "src/nlp/arrow_writer.py", "line_end": 193, "line_start": 35, "name": "ArrowWriter", "type": "class" }, { "decorator_line": 165, "file_path": "src/nlp/arrow_writer.py", "line_end": 179, "line_start": 165, "name": "write_table", "type": "function" } ]
2
huggingface__datasets__5353490e__5
huggingface/datasets
5353490e9bceb25b662a2c5c407c087baca37028
make_file_instructions
src/nlp/arrow_reader.py
79
99
[ { "decorator_line": 468, "file_path": "src/nlp/arrow_reader.py", "line_end": 490, "line_start": 469, "name": "from_spec", "type": "function" }, { "decorator_line": 505, "file_path": "src/nlp/arrow_reader.py", "line_end": 516, "line_start": 505, "name": "to_absolute", "type": "function" }, { "decorator_line": 102, "file_path": "src/nlp/arrow_reader.py", "line_end": 117, "line_start": 102, "name": "_make_file_instructions_from_absolutes", "type": "function" } ]
3