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
|
|---|---|---|---|---|---|---|---|---|
open-mmlab__mmdeploy__eed69b14__2
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
prepare_symbolics
|
tests/test_pytorch/test_pytorch_ops.py
| 14
| 34
|
[
{
"decorator_line": 60,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 108,
"line_start": 60,
"name": "RewriterContext",
"type": "class"
},
{
"decorator_line": 90,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 95,
"line_start": 90,
"name": "enter",
"type": "function"
},
{
"decorator_line": 97,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 100,
"line_start": 97,
"name": "exit",
"type": "function"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__3
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
tensor__getattribute__ncnn
|
mmdeploy/pytorch/functions/getattribute.py
| 8
| 18
|
[
{
"decorator_line": 117,
"file_path": "mmdeploy/core/rewriters/function_rewriter.py",
"line_end": 138,
"line_start": 117,
"name": "register_rewriter",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__4
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
detrhead__get_bboxes__default
|
mmdeploy/codebase/mmdet/models/dense_heads/detr_head.py
| 35
| 89
|
[
{
"decorator_line": 117,
"file_path": "mmdeploy/core/rewriters/function_rewriter.py",
"line_end": 138,
"line_start": 117,
"name": "register_rewriter",
"type": "function"
},
{
"decorator_line": 30,
"file_path": "mmdeploy/codebase/mmdet/deploy/utils.py",
"line_end": 70,
"line_start": 30,
"name": "clip_bboxes",
"type": "function"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__5
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
backend_model
|
tests/test_codebase/test_mmcls/test_classification.py
| 73
| 83
|
[
{
"decorator_line": 192,
"file_path": "mmdeploy/utils/test.py",
"line_end": 260,
"line_start": 192,
"name": "SwitchBackendWrapper",
"type": "class"
},
{
"decorator_line": 35,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 47,
"line_start": 36,
"name": "init_backend_model",
"type": "function"
},
{
"decorator_line": 252,
"file_path": "mmdeploy/utils/test.py",
"line_end": 260,
"line_start": 252,
"name": "recover",
"type": "function"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__6
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_deform_conv
|
tests/test_ops/test_ops.py
| 221
| 259
|
[
{
"decorator_line": 60,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 108,
"line_start": 60,
"name": "RewriterContext",
"type": "class"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__7
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_roi_align_rotated
|
tests/test_ops/test_ops.py
| 895
| 932
|
[
{
"decorator_line": 109,
"file_path": "mmdeploy/utils/test.py",
"line_end": 135,
"line_start": 109,
"name": "WrapFunction",
"type": "class"
},
{
"decorator_line": 60,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 108,
"line_start": 60,
"name": "RewriterContext",
"type": "class"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__8
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
setup_class
|
tests/test_codebase/test_mmocr/test_text_detection_models.py
| 23
| 47
|
[
{
"decorator_line": 192,
"file_path": "mmdeploy/utils/test.py",
"line_end": 260,
"line_start": 192,
"name": "SwitchBackendWrapper",
"type": "class"
},
{
"decorator_line": 9,
"file_path": "mmdeploy/utils/config_utils.py",
"line_end": 30,
"line_start": 9,
"name": "load_config",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "mmdeploy/codebase/mmocr/deploy/text_detection_model.py",
"line_end": 150,
"line_start": 24,
"name": "End2EndModel",
"type": "class"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__9
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_get_codebase_config_empty
|
tests/test_utils/test_util.py
| 68
| 69
|
[
{
"decorator_line": 33,
"file_path": "mmdeploy/utils/config_utils.py",
"line_end": 44,
"line_start": 33,
"name": "get_codebase_config",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__10
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_forward
|
tests/test_codebase/test_mmdet/test_object_detection_model.py
| 68
| 77
|
[
{
"decorator_line": 182,
"file_path": "mmdeploy/codebase/mmdet/deploy/object_detection_model.py",
"line_end": 260,
"line_start": 182,
"name": "forward",
"type": "function"
},
{
"decorator_line": 27,
"file_path": "tests/test_codebase/test_mmdet/test_object_detection_model.py",
"line_end": 34,
"line_start": 27,
"name": "assert_forward_results",
"type": "function"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__11
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_visualize
|
tests/test_codebase/test_mmpose/test_pose_detection.py
| 97
| 103
|
[
{
"decorator_line": 141,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 158,
"line_start": 142,
"name": "create_input",
"type": "function"
},
{
"decorator_line": 183,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 196,
"line_start": 185,
"name": "run_inference",
"type": "function"
},
{
"decorator_line": 160,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 181,
"line_start": 161,
"name": "visualize",
"type": "function"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__12
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_get_root_logger
|
tests/test_utils/test_util.py
| 447
| 450
|
[
{
"decorator_line": 49,
"file_path": "mmdeploy/utils/utils.py",
"line_end": 62,
"line_start": 49,
"name": "get_root_logger",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__13
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_adaptive_avg_pool2d
|
tests/test_pytorch/test_pytorch_functions.py
| 377
| 391
|
[
{
"decorator_line": 109,
"file_path": "mmdeploy/utils/test.py",
"line_end": 135,
"line_start": 109,
"name": "WrapFunction",
"type": "class"
},
{
"decorator_line": 556,
"file_path": "mmdeploy/utils/test.py",
"line_end": 595,
"line_start": 556,
"name": "get_rewrite_outputs",
"type": "function"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__14
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_forward_of_base_detector
|
tests/test_codebase/test_mmrotate/test_mmrotate_models.py
| 80
| 115
|
[
{
"decorator_line": 69,
"file_path": "mmdeploy/utils/test.py",
"line_end": 106,
"line_start": 69,
"name": "check_backend",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "tests/test_codebase/test_mmrotate/test_mmrotate_models.py",
"line_end": 73,
"line_start": 66,
"name": "_replace_r50_with_r18",
"type": "function"
},
{
"decorator_line": 556,
"file_path": "mmdeploy/utils/test.py",
"line_end": 595,
"line_start": 556,
"name": "get_rewrite_outputs",
"type": "function"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__15
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_create_input
|
tests/test_codebase/test_mmocr/test_text_recognition.py
| 63
| 65
|
[
{
"decorator_line": 141,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 158,
"line_start": 142,
"name": "create_input",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__16
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_patch_embed_ncnn
|
tests/test_mmcv/test_mmcv_ops.py
| 97
| 115
|
[
{
"decorator_line": 69,
"file_path": "mmdeploy/utils/test.py",
"line_end": 106,
"line_start": 69,
"name": "check_backend",
"type": "function"
},
{
"decorator_line": 60,
"file_path": "mmdeploy/core/rewriters/rewriter_manager.py",
"line_end": 108,
"line_start": 60,
"name": "RewriterContext",
"type": "class"
}
] | 2
|
open-mmlab__mmdeploy__eed69b14__17
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
build_mmdeploy
|
tools/package_tools/mmdeploy_builder.py
| 143
| 173
|
[
{
"decorator_line": 110,
"file_path": "tools/package_tools/mmdeploy_builder.py",
"line_end": 140,
"line_start": 110,
"name": "clear_mmdeploy",
"type": "function"
},
{
"decorator_line": 64,
"file_path": "tools/package_tools/mmdeploy_builder.py",
"line_end": 77,
"line_start": 64,
"name": "_call_command",
"type": "function"
},
{
"decorator_line": 86,
"file_path": "tools/package_tools/mmdeploy_builder.py",
"line_end": 107,
"line_start": 86,
"name": "_create_bdist_cmd",
"type": "function"
}
] | 3
|
open-mmlab__mmdeploy__eed69b14__18
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_get_partition_cfg
|
tests/test_codebase/test_mmseg/test_segmentation.py
| 115
| 119
|
[
{
"decorator_line": 198,
"file_path": "mmdeploy/codebase/base/task.py",
"line_end": 209,
"line_start": 200,
"name": "get_partition_cfg",
"type": "function"
}
] | 1
|
open-mmlab__mmdeploy__eed69b14__19
|
open-mmlab/mmdeploy
|
eed69b14e2e9d90304a40344f161429da9150537
|
test_squeeze_default
|
tests/test_pytorch/test_pytorch_ops.py
| 146
| 151
|
[
{
"decorator_line": 50,
"file_path": "tests/test_pytorch/test_pytorch_ops.py",
"line_end": 58,
"line_start": 50,
"name": "OpModel",
"type": "class"
},
{
"decorator_line": 61,
"file_path": "tests/test_pytorch/test_pytorch_ops.py",
"line_end": 65,
"line_start": 61,
"name": "get_model_onnx_nodes",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__0
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
tracer
|
pwnlib/util/proc.py
| 240
| 254
|
[
{
"decorator_line": 214,
"file_path": "pwnlib/util/proc.py",
"line_end": 238,
"line_start": 214,
"name": "status",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__1
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
clean
|
pwnlib/tubes/tube.py
| 821
| 848
|
[
{
"decorator_line": 122,
"file_path": "pwnlib/tubes/buffer.py",
"line_end": 170,
"line_start": 122,
"name": "get",
"type": "function"
},
{
"decorator_line": 631,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 661,
"line_start": 631,
"name": "recvrepeat",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__2
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
which_binutils
|
pwnlib/asm.py
| 65
| 127
|
[
{
"decorator_line": 442,
"file_path": "pwnlib/context/__init__.py",
"line_end": 481,
"line_start": 442,
"name": "local",
"type": "function"
},
{
"decorator_line": 329,
"file_path": "pwnlib/log.py",
"line_end": 331,
"line_start": 329,
"name": "warn_once",
"type": "function"
},
{
"decorator_line": 349,
"file_path": "pwnlib/log.py",
"line_end": 354,
"line_start": 349,
"name": "warning",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__3
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
info
|
pwnlib/log.py
| 342
| 347
|
[
{
"decorator_line": 247,
"file_path": "pwnlib/log.py",
"line_end": 252,
"line_start": 247,
"name": "_log",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__4
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
flat
|
pwnlib/util/packing.py
| 500
| 537
|
[
{
"decorator_line": 476,
"file_path": "pwnlib/util/packing.py",
"line_end": 497,
"line_start": 476,
"name": "_flat",
"type": "function"
},
{
"decorator_line": 351,
"file_path": "pwnlib/util/packing.py",
"line_end": 410,
"line_start": 351,
"name": "make_packer",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__5
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
local
|
pwnlib/context/__init__.py
| 442
| 481
|
[
{
"decorator_line": 82,
"file_path": "pwnlib/context/__init__.py",
"line_end": 83,
"line_start": 82,
"name": "push",
"type": "function"
},
{
"decorator_line": 403,
"file_path": "pwnlib/context/__init__.py",
"line_end": 436,
"line_start": 403,
"name": "update",
"type": "function"
},
{
"decorator_line": 85,
"file_path": "pwnlib/context/__init__.py",
"line_end": 87,
"line_start": 85,
"name": "pop",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__6
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
read
|
pwnlib/tubes/tube.py
| 1,274
| 1,274
|
[
{
"decorator_line": 41,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 72,
"line_start": 41,
"name": "recv",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__7
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
recvall
|
pwnlib/tubes/sock.py
| 17
| 26
|
[
{
"decorator_line": 360,
"file_path": "pwnlib/log.py",
"line_end": 368,
"line_start": 360,
"name": "error",
"type": "function"
},
{
"decorator_line": 663,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 683,
"line_start": 663,
"name": "recvall",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__8
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
dump
|
pwnlib/rop.py
| 260
| 288
|
[
{
"decorator_line": 188,
"file_path": "pwnlib/rop.py",
"line_end": 246,
"line_start": 188,
"name": "build",
"type": "function"
},
{
"decorator_line": 70,
"file_path": "pwnlib/rop.py",
"line_end": 89,
"line_start": 70,
"name": "unresolve",
"type": "function"
},
{
"decorator_line": 360,
"file_path": "pwnlib/log.py",
"line_end": 368,
"line_start": 360,
"name": "error",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__9
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
set_buffer
|
pwnlib/term/readline.py
| 126
| 130
|
[
{
"decorator_line": 85,
"file_path": "pwnlib/term/readline.py",
"line_end": 117,
"line_start": 85,
"name": "redisplay",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__10
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
backward_word
|
pwnlib/term/readline.py
| 287
| 300
|
[
{
"decorator_line": 138,
"file_path": "pwnlib/term/readline.py",
"line_end": 143,
"line_start": 138,
"name": "commit_search",
"type": "function"
},
{
"decorator_line": 85,
"file_path": "pwnlib/term/readline.py",
"line_end": 117,
"line_start": 85,
"name": "redisplay",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__11
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
fit
|
pwnlib/util/packing.py
| 539
| 640
|
[
{
"decorator_line": 6,
"file_path": "pwnlib/util/cyclic.py",
"line_end": 35,
"line_start": 6,
"name": "de_bruijn",
"type": "function"
},
{
"decorator_line": 351,
"file_path": "pwnlib/util/packing.py",
"line_end": 410,
"line_start": 351,
"name": "make_packer",
"type": "function"
},
{
"decorator_line": 476,
"file_path": "pwnlib/util/packing.py",
"line_end": 497,
"line_start": 476,
"name": "_flat",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__12
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
p64
|
pwnlib/tubes/tube.py
| 1,315
| 1,315
|
[
{
"decorator_line": 685,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 714,
"line_start": 685,
"name": "send",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__13
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
upload
|
pwnlib/tubes/ssh.py
| 1,187
| 1,192
|
[
{
"decorator_line": 1129,
"file_path": "pwnlib/tubes/ssh.py",
"line_end": 1150,
"line_start": 1129,
"name": "upload_file",
"type": "function"
},
{
"decorator_line": 1152,
"file_path": "pwnlib/tubes/ssh.py",
"line_end": 1185,
"line_start": 1152,
"name": "upload_dir",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__14
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
control_c
|
pwnlib/term/readline.py
| 233
| 244
|
[
{
"decorator_line": 132,
"file_path": "pwnlib/term/readline.py",
"line_end": 136,
"line_start": 132,
"name": "cancel_search",
"type": "function"
},
{
"decorator_line": 126,
"file_path": "pwnlib/term/readline.py",
"line_end": 130,
"line_start": 126,
"name": "set_buffer",
"type": "function"
},
{
"decorator_line": 78,
"file_path": "pwnlib/term/readline.py",
"line_end": 83,
"line_start": 78,
"name": "clear",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__15
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
call
|
pwnlib/rop.py
| 607
| 608
|
[
{
"decorator_line": 290,
"file_path": "pwnlib/rop.py",
"line_end": 308,
"line_start": 290,
"name": "call",
"type": "function"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__16
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
sendlineafter
|
pwnlib/tubes/tube.py
| 745
| 752
|
[
{
"decorator_line": 243,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 332,
"line_start": 243,
"name": "recvuntil",
"type": "function"
},
{
"decorator_line": 716,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 733,
"line_start": 716,
"name": "sendline",
"type": "function"
}
] | 2
|
Gallopsled__pwntools__bc93beb5__17
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
recvlines
|
pwnlib/tubes/tube.py
| 334
| 391
|
[
{
"decorator_line": 170,
"file_path": "pwnlib/timeout.py",
"line_end": 193,
"line_start": 170,
"name": "countdown",
"type": "function"
},
{
"decorator_line": 393,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 427,
"line_start": 393,
"name": "recvline",
"type": "function"
},
{
"decorator_line": 74,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 96,
"line_start": 74,
"name": "unrecv",
"type": "function"
}
] | 3
|
Gallopsled__pwntools__bc93beb5__18
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
binary
|
pwnlib/context/__init__.py
| 617
| 643
|
[
{
"decorator_line": 31,
"file_path": "pwnlib/elf/__init__.py",
"line_end": 696,
"line_start": 31,
"name": "ELF",
"type": "class"
}
] | 1
|
Gallopsled__pwntools__bc93beb5__19
|
Gallopsled/pwntools
|
bc93beb576d6af90fb24f2c8341d8c34653e3753
|
pack
|
pwnlib/tubes/tube.py
| 1,319
| 1,319
|
[
{
"decorator_line": 685,
"file_path": "pwnlib/tubes/tube.py",
"line_end": 714,
"line_start": 685,
"name": "send",
"type": "function"
},
{
"decorator_line": 40,
"file_path": "pwnlib/util/packing.py",
"line_end": 150,
"line_start": 40,
"name": "pack",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__0
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
clean
|
netbox/secrets/forms.py
| 61
| 62
|
[
{
"decorator_line": 12,
"file_path": "netbox/secrets/forms.py",
"line_end": 29,
"line_start": 12,
"name": "validate_rsa_key",
"type": "function"
}
] | 1
|
netbox-community__netbox__b3799182__1
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
test_non_racked_device
|
netbox/dcim/tests/test_forms.py
| 42
| 55
|
[
{
"decorator_line": 321,
"file_path": "netbox/dcim/forms.py",
"line_end": 411,
"line_start": 321,
"name": "DeviceForm",
"type": "class"
},
{
"decorator_line": 5,
"file_path": "netbox/dcim/tests/test_forms.py",
"line_end": 6,
"line_start": 5,
"name": "get_id",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__2
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
prefix
|
netbox/ipam/views.py
| 267
| 307
|
[
{
"decorator_line": 137,
"file_path": "netbox/ipam/tables.py",
"line_end": 145,
"line_start": 137,
"name": "PrefixBriefTable",
"type": "class"
},
{
"decorator_line": 17,
"file_path": "netbox/ipam/views.py",
"line_end": 30,
"line_start": 17,
"name": "add_available_prefixes",
"type": "function"
},
{
"decorator_line": 123,
"file_path": "netbox/ipam/tables.py",
"line_end": 134,
"line_start": 123,
"name": "PrefixTable",
"type": "class"
}
] | 3
|
netbox-community__netbox__b3799182__3
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
handle
|
netbox/extras/management/commands/run_inventory.py
| 25
| 124
|
[
{
"decorator_line": 813,
"file_path": "netbox/dcim/models.py",
"line_end": 830,
"line_start": 813,
"name": "Module",
"type": "class"
}
] | 1
|
netbox-community__netbox__b3799182__4
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
activate
|
netbox/secrets/models.py
| 152
| 159
|
[
{
"decorator_line": 25,
"file_path": "netbox/secrets/models.py",
"line_end": 31,
"line_start": 25,
"name": "encrypt_master_key",
"type": "function"
},
{
"decorator_line": 104,
"file_path": "netbox/secrets/models.py",
"line_end": 115,
"line_start": 104,
"name": "save",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__5
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
secret_import
|
netbox/secrets/views.py
| 159
| 198
|
[
{
"decorator_line": 6,
"file_path": "netbox/secrets/decorators.py",
"line_end": 23,
"line_start": 6,
"name": "userkey_required",
"type": "function"
},
{
"decorator_line": 88,
"file_path": "netbox/secrets/forms.py",
"line_end": 90,
"line_start": 88,
"name": "SecretImportForm",
"type": "class"
},
{
"decorator_line": 35,
"file_path": "netbox/secrets/tables.py",
"line_end": 44,
"line_start": 35,
"name": "SecretTable",
"type": "class"
}
] | 3
|
netbox-community__netbox__b3799182__6
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
log_edit
|
netbox/extras/models.py
| 135
| 136
|
[
{
"decorator_line": 123,
"file_path": "netbox/extras/models.py",
"line_end": 130,
"line_start": 123,
"name": "log_action",
"type": "function"
}
] | 1
|
netbox-community__netbox__b3799182__7
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
decrypt
|
netbox/secrets/models.py
| 272
| 292
|
[
{
"decorator_line": 242,
"file_path": "netbox/secrets/models.py",
"line_end": 251,
"line_start": 242,
"name": "_unpad",
"type": "function"
},
{
"decorator_line": 294,
"file_path": "netbox/secrets/models.py",
"line_end": 300,
"line_start": 294,
"name": "validate",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__8
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
secret_add
|
netbox/secrets/views.py
| 69
| 106
|
[
{
"decorator_line": 6,
"file_path": "netbox/secrets/decorators.py",
"line_end": 23,
"line_start": 6,
"name": "userkey_required",
"type": "function"
},
{
"decorator_line": 185,
"file_path": "netbox/secrets/models.py",
"line_end": 306,
"line_start": 185,
"name": "Secret",
"type": "class"
},
{
"decorator_line": 52,
"file_path": "netbox/secrets/forms.py",
"line_end": 68,
"line_start": 52,
"name": "SecretForm",
"type": "class"
}
] | 3
|
netbox-community__netbox__b3799182__9
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
log_import
|
netbox/extras/models.py
| 150
| 151
|
[
{
"decorator_line": 142,
"file_path": "netbox/extras/models.py",
"line_end": 148,
"line_start": 142,
"name": "log_bulk_action",
"type": "function"
}
] | 1
|
netbox-community__netbox__b3799182__10
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
test_racked_device
|
netbox/dcim/tests/test_forms.py
| 13
| 26
|
[
{
"decorator_line": 321,
"file_path": "netbox/dcim/forms.py",
"line_end": 411,
"line_start": 321,
"name": "DeviceForm",
"type": "class"
},
{
"decorator_line": 5,
"file_path": "netbox/dcim/tests/test_forms.py",
"line_end": 6,
"line_start": 5,
"name": "get_id",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__11
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
get_prep_value
|
netbox/ipam/fields.py
| 28
| 31
|
[
{
"decorator_line": 20,
"file_path": "netbox/ipam/fields.py",
"line_end": 26,
"line_start": 20,
"name": "to_python",
"type": "function"
}
] | 1
|
netbox-community__netbox__b3799182__12
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
test_non_racked_device_with_face
|
netbox/dcim/tests/test_forms.py
| 57
| 70
|
[
{
"decorator_line": 321,
"file_path": "netbox/dcim/forms.py",
"line_end": 411,
"line_start": 321,
"name": "DeviceForm",
"type": "class"
},
{
"decorator_line": 5,
"file_path": "netbox/dcim/tests/test_forms.py",
"line_end": 6,
"line_start": 5,
"name": "get_id",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__13
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
add_available_prefixes
|
netbox/ipam/views.py
| 17
| 30
|
[
{
"decorator_line": 209,
"file_path": "netbox/ipam/models.py",
"line_end": 268,
"line_start": 209,
"name": "Prefix",
"type": "class"
}
] | 1
|
netbox-community__netbox__b3799182__14
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
ipaddress
|
netbox/ipam/views.py
| 393
| 416
|
[
{
"decorator_line": 137,
"file_path": "netbox/ipam/tables.py",
"line_end": 145,
"line_start": 137,
"name": "PrefixBriefTable",
"type": "class"
},
{
"decorator_line": 166,
"file_path": "netbox/ipam/tables.py",
"line_end": 176,
"line_start": 166,
"name": "IPAddressBriefTable",
"type": "class"
}
] | 2
|
netbox-community__netbox__b3799182__15
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
log_bulk_delete
|
netbox/extras/models.py
| 156
| 157
|
[
{
"decorator_line": 142,
"file_path": "netbox/extras/models.py",
"line_end": 148,
"line_start": 142,
"name": "log_bulk_action",
"type": "function"
}
] | 1
|
netbox-community__netbox__b3799182__16
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
test_mount_single_device
|
netbox/dcim/tests/test_models.py
| 56
| 84
|
[
{
"decorator_line": 470,
"file_path": "netbox/dcim/models.py",
"line_end": 592,
"line_start": 470,
"name": "Device",
"type": "class"
},
{
"decorator_line": 525,
"file_path": "netbox/dcim/models.py",
"line_end": 552,
"line_start": 525,
"name": "save",
"type": "function"
}
] | 2
|
netbox-community__netbox__b3799182__17
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
activate_selected
|
netbox/secrets/admin.py
| 29
| 54
|
[
{
"decorator_line": 134,
"file_path": "netbox/secrets/forms.py",
"line_end": 136,
"line_start": 134,
"name": "ActivateUserKeyForm",
"type": "class"
}
] | 1
|
netbox-community__netbox__b3799182__18
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
secret_edit
|
netbox/secrets/views.py
| 111
| 148
|
[
{
"decorator_line": 6,
"file_path": "netbox/secrets/decorators.py",
"line_end": 23,
"line_start": 6,
"name": "userkey_required",
"type": "function"
},
{
"decorator_line": 52,
"file_path": "netbox/secrets/forms.py",
"line_end": 68,
"line_start": 52,
"name": "SecretForm",
"type": "class"
}
] | 2
|
netbox-community__netbox__b3799182__19
|
netbox-community/netbox
|
b3799182954857d299c1f55b0a4f28d6cef3d305
|
post
|
netbox/secrets/api/views.py
| 80
| 81
|
[
{
"decorator_line": 49,
"file_path": "netbox/secrets/api/views.py",
"line_end": 78,
"line_start": 49,
"name": "get",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__0
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
qvec2rotmat
|
nerfstudio/data/utils/colmap_parsing_utils.py
| 55
| 56
|
[
{
"decorator_line": 271,
"file_path": "nerfstudio/data/utils/colmap_parsing_utils.py",
"line_end": 290,
"line_start": 271,
"name": "qvec2rotmat",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__1
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
test_scaling_and_offset
|
tests/field_components/test_encodings.py
| 9
| 24
|
[
{
"decorator_line": 74,
"file_path": "nerfstudio/field_components/encodings.py",
"line_end": 95,
"line_start": 74,
"name": "ScalingAndOffset",
"type": "class"
},
{
"decorator_line": 89,
"file_path": "nerfstudio/field_components/encodings.py",
"line_end": 92,
"line_start": 89,
"name": "get_out_dim",
"type": "function"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__2
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
test_field_output
|
tests/field_components/test_field_outputs.py
| 16
| 32
|
[
{
"decorator_line": 41,
"file_path": "nerfstudio/field_components/field_heads.py",
"line_end": 90,
"line_start": 41,
"name": "FieldHead",
"type": "class"
},
{
"decorator_line": 51,
"file_path": "nerfstudio/field_components/base_field_component.py",
"line_end": 55,
"line_start": 51,
"name": "get_out_dim",
"type": "function"
},
{
"decorator_line": 68,
"file_path": "nerfstudio/field_components/field_heads.py",
"line_end": 71,
"line_start": 68,
"name": "set_in_dim",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__3
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
generate_ray_samples
|
nerfstudio/model_components/ray_samplers.py
| 273
| 368
|
[
{
"decorator_line": 203,
"file_path": "nerfstudio/cameras/rays.py",
"line_end": 247,
"line_start": 203,
"name": "get_ray_samples",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__4
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
download
|
scripts/downloads/download_data.py
| 257
| 289
|
[
{
"decorator_line": 42,
"file_path": "nerfstudio/utils/install_checks.py",
"line_end": 47,
"line_start": 42,
"name": "check_curl_installed",
"type": "function"
},
{
"decorator_line": 251,
"file_path": "scripts/downloads/download_data.py",
"line_end": 289,
"line_start": 252,
"name": "PhototourismDownload",
"type": "class"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__5
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
write_stats_log
|
nerfstudio/utils/writer.py
| 378
| 394
|
[
{
"decorator_line": 404,
"file_path": "nerfstudio/utils/writer.py",
"line_end": 413,
"line_start": 404,
"name": "_consolidate_events",
"type": "function"
},
{
"decorator_line": 415,
"file_path": "nerfstudio/utils/writer.py",
"line_end": 433,
"line_start": 415,
"name": "_update_header",
"type": "function"
},
{
"decorator_line": 435,
"file_path": "nerfstudio/utils/writer.py",
"line_end": 473,
"line_start": 435,
"name": "_print_stats",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__6
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
set_anneal
|
nerfstudio/models/semantic_nerfw.py
| 159
| 164
|
[
{
"decorator_line": 549,
"file_path": "nerfstudio/model_components/ray_samplers.py",
"line_end": 551,
"line_start": 549,
"name": "set_anneal",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__7
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
wrapper
|
nerfstudio/utils/decorators.py
| 54
| 58
|
[
{
"decorator_line": 59,
"file_path": "nerfstudio/utils/comms.py",
"line_end": 61,
"line_start": 59,
"name": "is_main_process",
"type": "function"
},
{
"decorator_line": 51,
"file_path": "nerfstudio/utils/decorators.py",
"line_end": 60,
"line_start": 51,
"name": "check_viewer_enabled",
"type": "function"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__8
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
convert_video_to_images
|
nerfstudio/process_data/process_data_utils.py
| 101
| 172
|
[
{
"decorator_line": 48,
"file_path": "nerfstudio/utils/rich_utils.py",
"line_end": 58,
"line_start": 48,
"name": "status",
"type": "function"
},
{
"decorator_line": 84,
"file_path": "nerfstudio/process_data/process_data_utils.py",
"line_end": 98,
"line_start": 84,
"name": "get_num_frames_in_video",
"type": "function"
},
{
"decorator_line": 24,
"file_path": "nerfstudio/utils/scripts.py",
"line_end": 42,
"line_start": 24,
"name": "run_command",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__9
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
forward
|
nerfstudio/model_components/renderers.py
| 327
| 343
|
[
{
"decorator_line": 274,
"file_path": "nerfstudio/utils/math.py",
"line_end": 287,
"line_start": 274,
"name": "safe_normalize",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__10
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
depth_loss
|
nerfstudio/model_components/losses.py
| 275
| 311
|
[
{
"decorator_line": 211,
"file_path": "nerfstudio/model_components/losses.py",
"line_end": 233,
"line_start": 211,
"name": "ds_nerf_depth_loss",
"type": "function"
},
{
"decorator_line": 236,
"file_path": "nerfstudio/model_components/losses.py",
"line_end": 272,
"line_start": 236,
"name": "urban_radiance_field_depth_loss",
"type": "function"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__11
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
density_fn
|
nerfstudio/fields/nerfplayer_ngp_field.py
| 200
| 219
|
[
{
"decorator_line": 96,
"file_path": "nerfstudio/cameras/rays.py",
"line_end": 140,
"line_start": 97,
"name": "RaySamples",
"type": "class"
},
{
"decorator_line": 30,
"file_path": "nerfstudio/cameras/rays.py",
"line_end": 93,
"line_start": 31,
"name": "Frustums",
"type": "class"
},
{
"decorator_line": 146,
"file_path": "nerfstudio/fields/nerfplayer_ngp_field.py",
"line_end": 161,
"line_start": 146,
"name": "get_density",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__12
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
sds_loss
|
nerfstudio/generative/stable_diffusion.py
| 185
| 228
|
[
{
"decorator_line": 295,
"file_path": "nerfstudio/generative/stable_diffusion.py",
"line_end": 307,
"line_start": 295,
"name": "imgs_to_latent",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__13
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
get_image_metrics_and_images
|
nerfstudio/models/depth_nerfacto.py
| 104
| 125
|
[
{
"decorator_line": 337,
"file_path": "nerfstudio/models/nerfacto.py",
"line_end": 374,
"line_start": 337,
"name": "get_image_metrics_and_images",
"type": "function"
},
{
"decorator_line": 47,
"file_path": "nerfstudio/utils/colormaps.py",
"line_end": 79,
"line_start": 47,
"name": "apply_depth_colormap",
"type": "function"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__14
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
get_eval_image_metrics_and_images
|
nerfstudio/pipelines/base_pipeline.py
| 306
| 322
|
[
{
"decorator_line": 494,
"file_path": "nerfstudio/data/datamanagers/base_datamanager.py",
"line_end": 499,
"line_start": 494,
"name": "next_eval_image",
"type": "function"
},
{
"decorator_line": 161,
"file_path": "nerfstudio/models/base_model.py",
"line_end": 185,
"line_start": 162,
"name": "get_outputs_for_camera_ray_bundle",
"type": "function"
},
{
"decorator_line": 187,
"file_path": "nerfstudio/models/base_model.py",
"line_end": 202,
"line_start": 188,
"name": "get_image_metrics_and_images",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__15
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
get_outputs
|
nerfstudio/models/nerfplayer_ngp.py
| 142
| 197
|
[
{
"decorator_line": 200,
"file_path": "nerfstudio/fields/nerfplayer_ngp_field.py",
"line_end": 219,
"line_start": 200,
"name": "density_fn",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__16
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
test_rff_encoder
|
tests/field_components/test_encodings.py
| 56
| 73
|
[
{
"decorator_line": 161,
"file_path": "nerfstudio/field_components/encodings.py",
"line_end": 216,
"line_start": 161,
"name": "RFFEncoding",
"type": "class"
},
{
"decorator_line": 184,
"file_path": "nerfstudio/field_components/encodings.py",
"line_end": 185,
"line_start": 184,
"name": "get_out_dim",
"type": "function"
}
] | 2
|
nerfstudio-project__nerfstudio__99afaa71__17
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
main
|
scripts/texture.py
| 42
| 64
|
[
{
"decorator_line": 74,
"file_path": "nerfstudio/exporter/exporter_utils.py",
"line_end": 82,
"line_start": 74,
"name": "get_mesh_from_filename",
"type": "function"
},
{
"decorator_line": 66,
"file_path": "nerfstudio/utils/eval_utils.py",
"line_end": 106,
"line_start": 66,
"name": "eval_setup",
"type": "function"
},
{
"decorator_line": 333,
"file_path": "nerfstudio/exporter/texture_utils.py",
"line_end": 501,
"line_start": 333,
"name": "export_textured_mesh",
"type": "function"
}
] | 3
|
nerfstudio-project__nerfstudio__99afaa71__18
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
time_function
|
nerfstudio/utils/profiler.py
| 37
| 48
|
[
{
"decorator_line": 71,
"file_path": "nerfstudio/utils/profiler.py",
"line_end": 83,
"line_start": 71,
"name": "update_time",
"type": "function"
}
] | 1
|
nerfstudio-project__nerfstudio__99afaa71__19
|
nerfstudio-project/nerfstudio
|
99afaa7164471f9ffc9ca020a8b72421c2278f6e
|
sample
|
nerfstudio/data/pixel_samplers.py
| 184
| 201
|
[
{
"decorator_line": 113,
"file_path": "nerfstudio/data/pixel_samplers.py",
"line_end": 182,
"line_start": 113,
"name": "collate_image_dataset_batch_list",
"type": "function"
},
{
"decorator_line": 75,
"file_path": "nerfstudio/data/pixel_samplers.py",
"line_end": 111,
"line_start": 75,
"name": "collate_image_dataset_batch",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__0
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
test_invalid_block_index
|
tests/core/full_node/test_mempool.py
| 495
| 510
|
[
{
"decorator_line": 427,
"file_path": "tests/core/full_node/test_mempool.py",
"line_end": 462,
"line_start": 427,
"name": "condition_tester",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__1
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
create_new_cc
|
chia/wallet/cc_wallet/cc_wallet.py
| 65
| 147
|
[
{
"decorator_line": 53,
"file_path": "chia/wallet/cc_wallet/cc_wallet.py",
"line_end": 747,
"line_start": 53,
"name": "CCWallet",
"type": "class"
},
{
"decorator_line": 675,
"file_path": "chia/wallet/cc_wallet/cc_wallet.py",
"line_end": 696,
"line_start": 675,
"name": "generate_new_coloured_coin",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__2
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
new_peak_wallet
|
chia/wallet/wallet_node.py
| 460
| 525
|
[
{
"decorator_line": 527,
"file_path": "chia/wallet/wallet_node.py",
"line_end": 542,
"line_start": 527,
"name": "wallet_short_sync_backtrack",
"type": "function"
},
{
"decorator_line": 544,
"file_path": "chia/wallet/wallet_node.py",
"line_end": 570,
"line_start": 544,
"name": "batch_sync_to_peak",
"type": "function"
},
{
"decorator_line": 572,
"file_path": "chia/wallet/wallet_node.py",
"line_end": 574,
"line_start": 572,
"name": "start_sync",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__3
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
inner
|
chia/util/keychain.py
| 111
| 121
|
[
{
"decorator_line": 67,
"file_path": "chia/util/keychain.py",
"line_end": 103,
"line_start": 67,
"name": "obtain_current_passphrase",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__4
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
safe_handle
|
chia/daemon/server.py
| 187
| 224
|
[
{
"decorator_line": 263,
"file_path": "chia/daemon/server.py",
"line_end": 331,
"line_start": 263,
"name": "handle_message",
"type": "function"
},
{
"decorator_line": 226,
"file_path": "chia/daemon/server.py",
"line_end": 238,
"line_start": 226,
"name": "remove_connection",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__5
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
check_delete_key
|
chia/rpc/wallet_rpc_api.py
| 330
| 365
|
[
{
"decorator_line": 211,
"file_path": "chia/rpc/wallet_rpc_api.py",
"line_end": 220,
"line_start": 211,
"name": "_get_private_key",
"type": "function"
},
{
"decorator_line": 298,
"file_path": "chia/rpc/wallet_rpc_api.py",
"line_end": 328,
"line_start": 298,
"name": "_check_key_used_for_rewards",
"type": "function"
},
{
"decorator_line": 133,
"file_path": "chia/rpc/wallet_rpc_api.py",
"line_end": 140,
"line_start": 133,
"name": "_stop_wallet",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__6
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
simple_solution_generator
|
chia/full_node/bundle_tools.py
| 28
| 39
|
[
{
"decorator_line": 15,
"file_path": "chia/full_node/bundle_tools.py",
"line_end": 25,
"line_start": 15,
"name": "spend_bundle_to_serialized_coin_spend_entry_list",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__7
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
make_if
|
chia/wallet/chialisp.py
| 50
| 51
|
[
{
"decorator_line": 39,
"file_path": "chia/wallet/chialisp.py",
"line_end": 40,
"line_start": 39,
"name": "apply",
"type": "function"
},
{
"decorator_line": 43,
"file_path": "chia/wallet/chialisp.py",
"line_end": 44,
"line_start": 43,
"name": "quote",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__8
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
delete_key_by_fingerprint
|
chia/daemon/keychain_proxy.py
| 161
| 172
|
[
{
"decorator_line": 70,
"file_path": "chia/daemon/keychain_proxy.py",
"line_end": 74,
"line_start": 70,
"name": "use_local_keychain",
"type": "function"
},
{
"decorator_line": 89,
"file_path": "chia/daemon/keychain_proxy.py",
"line_end": 93,
"line_start": 89,
"name": "get_response_for_request",
"type": "function"
},
{
"decorator_line": 95,
"file_path": "chia/daemon/keychain_proxy.py",
"line_end": 112,
"line_start": 95,
"name": "handle_error",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__9
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
test_uint64
|
tests/util/test_struct_stream.py
| 36
| 37
|
[
{
"decorator_line": 7,
"file_path": "tests/util/test_struct_stream.py",
"line_end": 22,
"line_start": 7,
"name": "_test_impl",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__10
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
get_full_block_and_block_record
|
tests/block_tools.py
| 1,371
| 1,460
|
[
{
"decorator_line": 1727,
"file_path": "tests/block_tools.py",
"line_end": 1864,
"line_start": 1727,
"name": "create_test_unfinished_block",
"type": "function"
},
{
"decorator_line": 1153,
"file_path": "tests/block_tools.py",
"line_end": 1239,
"line_start": 1153,
"name": "finish_block",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__11
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
create_update_spend
|
chia/wallet/did_wallet/did_wallet.py
| 427
| 490
|
[
{
"decorator_line": 231,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 274,
"line_start": 231,
"name": "select_coins",
"type": "function"
},
{
"decorator_line": 843,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 845,
"line_start": 843,
"name": "get_new_inner_hash",
"type": "function"
},
{
"decorator_line": 866,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 872,
"line_start": 866,
"name": "get_parent_for_coin",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__12
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
get_unused_derivation_record
|
chia/wallet/wallet_state_manager.py
| 375
| 398
|
[
{
"decorator_line": 263,
"file_path": "chia/wallet/wallet_state_manager.py",
"line_end": 346,
"line_start": 263,
"name": "create_more_puzzle_hashes",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__13
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
test_addrman_find
|
tests/core/full_node/test_address_manager.py
| 208
| 236
|
[
{
"decorator_line": 19,
"file_path": "tests/core/full_node/test_address_manager.py",
"line_end": 44,
"line_start": 19,
"name": "AddressManagerTest",
"type": "class"
},
{
"decorator_line": 34,
"file_path": "tests/core/full_node/test_address_manager.py",
"line_end": 44,
"line_start": 34,
"name": "add_peer_info",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__14
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
load_backup
|
chia/wallet/did_wallet/did_wallet.py
| 321
| 405
|
[
{
"decorator_line": 1012,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 1018,
"line_start": 1012,
"name": "save_info",
"type": "function"
},
{
"decorator_line": 416,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 419,
"line_start": 416,
"name": "get_new_puzzle",
"type": "function"
},
{
"decorator_line": 979,
"file_path": "chia/wallet/did_wallet/did_wallet.py",
"line_end": 993,
"line_start": 979,
"name": "add_parent",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__15
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
test_basic_mempool
|
tests/core/full_node/test_mempool.py
| 162
| 185
|
[
{
"decorator_line": 53,
"file_path": "tests/core/full_node/test_mempool.py",
"line_end": 64,
"line_start": 53,
"name": "generate_test_spend_bundle",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__16
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
connect_to_daemon
|
chia/daemon/client.py
| 122
| 129
|
[
{
"decorator_line": 15,
"file_path": "chia/daemon/client.py",
"line_end": 119,
"line_start": 15,
"name": "DaemonProxy",
"type": "class"
},
{
"decorator_line": 26,
"file_path": "chia/daemon/client.py",
"line_end": 44,
"line_start": 26,
"name": "start",
"type": "function"
}
] | 2
|
Chia-Network__chia-blockchain__745ad49f__17
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
generate_signed_transaction
|
chia/wallet/rl_wallet/rl_wallet.py
| 519
| 544
|
[
{
"decorator_line": 454,
"file_path": "chia/wallet/rl_wallet/rl_wallet.py",
"line_end": 462,
"line_start": 454,
"name": "_get_rl_coin_record",
"type": "function"
},
{
"decorator_line": 477,
"file_path": "chia/wallet/rl_wallet/rl_wallet.py",
"line_end": 517,
"line_start": 477,
"name": "rl_generate_unsigned_transaction",
"type": "function"
},
{
"decorator_line": 546,
"file_path": "chia/wallet/rl_wallet/rl_wallet.py",
"line_end": 555,
"line_start": 546,
"name": "rl_sign_transaction",
"type": "function"
}
] | 3
|
Chia-Network__chia-blockchain__745ad49f__18
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
prepare_plot_state_message
|
chia/daemon/server.py
| 567
| 572
|
[
{
"decorator_line": 574,
"file_path": "chia/daemon/server.py",
"line_end": 580,
"line_start": 574,
"name": "extract_plot_queue",
"type": "function"
}
] | 1
|
Chia-Network__chia-blockchain__745ad49f__19
|
Chia-Network/chia-blockchain
|
745ad49f7d3881e1e8673decc51f6aa5b505f0ca
|
using_temp_file_keyring_and_cryptfilekeyring
|
tests/util/keyring.py
| 69
| 86
|
[
{
"decorator_line": 89,
"file_path": "tests/util/keyring.py",
"line_end": 160,
"line_start": 89,
"name": "TempKeyring",
"type": "class"
},
{
"decorator_line": 15,
"file_path": "tests/util/keyring.py",
"line_end": 22,
"line_start": 15,
"name": "create_empty_cryptfilekeyring",
"type": "function"
}
] | 2
|
google__flax__3d6b1e81__0
|
google/flax
|
3d6b1e81285d7b945829fc56f9517be09c8234dd
|
make_moco_lr_fun
|
examples/wip/moco/train_moco.py
| 750
| 753
|
[
{
"decorator_line": 52,
"file_path": "flax/training/lr_schedule.py",
"line_end": 95,
"line_start": 52,
"name": "create_stepped_learning_rate_schedule",
"type": "function"
}
] | 1
|
google__flax__3d6b1e81__1
|
google/flax
|
3d6b1e81285d7b945829fc56f9517be09c8234dd
|
test_dense_general_two_in
|
tests/nn_linear_test.py
| 110
| 120
|
[
{
"decorator_line": 344,
"file_path": "flax/nn/base.py",
"line_end": 375,
"line_start": 345,
"name": "partial",
"type": "function"
},
{
"decorator_line": 438,
"file_path": "flax/nn/base.py",
"line_end": 463,
"line_start": 439,
"name": "init",
"type": "function"
}
] | 2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.