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 |
|---|---|---|---|---|---|---|---|---|
kivy__kivy__19c7134f__10 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | show_bubble | examples/widgets/bubble_test.py | 41 | 50 | [
{
"decorator_line": 29,
"file_path": "examples/widgets/bubble_test.py",
"line_end": 30,
"line_start": 29,
"name": "cut_copy_paste",
"type": "class"
},
{
"decorator_line": 106,
"file_path": "kivy/uix/floatlayout.py",
"line_end": 112,
"line_start": 106,
"name": "add_widget",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__11 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | test_unschedule_after_tick | kivy/tests/test_clock.py | 59 | 65 | [
{
"decorator_line": 325,
"file_path": "kivy/clock.py",
"line_end": 340,
"line_start": 325,
"name": "schedule_once",
"type": "function"
},
{
"decorator_line": 249,
"file_path": "kivy/clock.py",
"line_end": 284,
"line_start": 249,
"name": "tick",
"type": "function"
},
{
"decorator_line": 352,
"file_path": "kivy/clock.py",
"line_end": 370,
"line_start": 352,
"name": "unschedule",
"type": "function"
}
] | 3 |
kivy__kivy__19c7134f__12 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_touch_move | kivy/uix/videoplayer.py | 145 | 149 | [
{
"decorator_line": 160,
"file_path": "kivy/uix/videoplayer.py",
"line_end": 164,
"line_start": 160,
"name": "_update_seek",
"type": "function"
}
] | 1 |
kivy__kivy__19c7134f__13 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_touch_up | kivy/uix/button.py | 134 | 141 | [
{
"decorator_line": 196,
"file_path": "kivy/uix/widget.py",
"line_end": 203,
"line_start": 196,
"name": "on_touch_up",
"type": "function"
},
{
"decorator_line": 111,
"file_path": "kivy/uix/button.py",
"line_end": 112,
"line_start": 111,
"name": "_do_release",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__14 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | process | kivy/input/providers/linuxwacom.py | 225 | 251 | [
{
"decorator_line": 34,
"file_path": "kivy/input/providers/linuxwacom.py",
"line_end": 53,
"line_start": 34,
"name": "LinuxWacomMotionEvent",
"type": "class"
},
{
"decorator_line": 315,
"file_path": "kivy/input/motionevent.py",
"line_end": 325,
"line_start": 315,
"name": "move",
"type": "function"
},
{
"decorator_line": 393,
"file_path": "kivy/input/motionevent.py",
"line_end": 394,
"line_start": 393,
"name": "update_time_end",
"type": "function"
}
] | 3 |
kivy__kivy__19c7134f__15 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_touch_down | kivy/uix/label.py | 186 | 201 | [
{
"decorator_line": 173,
"file_path": "kivy/uix/widget.py",
"line_end": 185,
"line_start": 173,
"name": "on_touch_down",
"type": "function"
}
] | 1 |
kivy__kivy__19c7134f__16 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | depack | kivy/input/providers/hidinput.py | 47 | 60 | [
{
"decorator_line": 15,
"file_path": "kivy/input/shape.py",
"line_end": 26,
"line_start": 15,
"name": "ShapeRect",
"type": "class"
},
{
"decorator_line": 263,
"file_path": "kivy/input/motionevent.py",
"line_end": 273,
"line_start": 263,
"name": "depack",
"type": "function"
}
] | 2 |
kivy__kivy__19c7134f__17 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_mouse_press | kivy/input/providers/mouse.py | 167 | 183 | [
{
"decorator_line": 110,
"file_path": "kivy/input/providers/mouse.py",
"line_end": 123,
"line_start": 110,
"name": "test_activity",
"type": "function"
},
{
"decorator_line": 125,
"file_path": "kivy/input/providers/mouse.py",
"line_end": 130,
"line_start": 125,
"name": "find_touch",
"type": "function"
},
{
"decorator_line": 132,
"file_path": "kivy/input/providers/mouse.py",
"line_end": 142,
"line_start": 132,
"name": "create_touch",
"type": "function"
}
] | 3 |
kivy__kivy__19c7134f__18 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | on_anim_delay | kivy/uix/image.py | 211 | 216 | [
{
"decorator_line": 414,
"file_path": "kivy/core/image/__init__.py",
"line_end": 441,
"line_start": 414,
"name": "anim_reset",
"type": "function"
}
] | 1 |
kivy__kivy__19c7134f__19 | kivy/kivy | 19c7134fb99e26986c5758eaa383dc58a9bdef05 | test_complex_rewrite | kivy/tests/test_lang_complex.py | 37 | 81 | [
{
"decorator_line": 94,
"file_path": "kivy/uix/widget.py",
"line_end": 113,
"line_start": 94,
"name": "__init__",
"type": "function"
},
{
"decorator_line": 53,
"file_path": "kivy/factory.py",
"line_end": 64,
"line_start": 53,
"name": "register",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__0 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | main | hydra/hydra.py | 163 | 175 | [
{
"decorator_line": 91,
"file_path": "hydra/hydra.py",
"line_end": 160,
"line_start": 91,
"name": "run_hydra",
"type": "function"
}
] | 1 |
facebookresearch__hydra__18eff7e5__1 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | setup_globals | hydra/utils.py | 192 | 202 | [
{
"decorator_line": 40,
"file_path": "hydra/utils.py",
"line_end": 42,
"line_start": 41,
"name": "JobRuntime",
"type": "class"
},
{
"decorator_line": 45,
"file_path": "hydra/utils.py",
"line_end": 47,
"line_start": 46,
"name": "HydraRuntime",
"type": "class"
}
] | 2 |
facebookresearch__hydra__18eff7e5__2 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | launch | plugins/submitit/hydra_plugins/submitit/submitit_launcher.py | 54 | 85 | [
{
"decorator_line": 45,
"file_path": "hydra/utils.py",
"line_end": 47,
"line_start": 46,
"name": "HydraRuntime",
"type": "class"
},
{
"decorator_line": 29,
"file_path": "hydra/utils.py",
"line_end": 33,
"line_start": 29,
"name": "get",
"type": "function"
},
{
"decorator_line": 40,
"file_path": "hydra/utils.py",
"line_end": 42,
"line_start": 41,
"name": "JobRuntime",
"type": "class"
}
] | 3 |
facebookresearch__hydra__18eff7e5__3 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | demos_sweep_1_job_test_impl | hydra/test_utils/launcher_test_common.py | 34 | 55 | [
{
"decorator_line": 105,
"file_path": "hydra/test_utils/utils.py",
"line_end": 108,
"line_start": 105,
"name": "verify_dir_outputs",
"type": "function"
}
] | 1 |
facebookresearch__hydra__18eff7e5__4 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_load_with_missing_optional_default | tests/test_conf_loader.py | 43 | 46 | [
{
"decorator_line": 9,
"file_path": "hydra/config_loader.py",
"line_end": 203,
"line_start": 9,
"name": "ConfigLoader",
"type": "class"
},
{
"decorator_line": 44,
"file_path": "hydra/config_loader.py",
"line_end": 52,
"line_start": 44,
"name": "load_configuration",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__5 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | sweep | hydra/hydra.py | 61 | 79 | [
{
"decorator_line": 18,
"file_path": "hydra/config_loader.py",
"line_end": 39,
"line_start": 18,
"name": "load_hydra_cfg",
"type": "function"
},
{
"decorator_line": 129,
"file_path": "hydra/utils.py",
"line_end": 146,
"line_start": 129,
"name": "configure_log",
"type": "function"
},
{
"decorator_line": 92,
"file_path": "hydra/utils.py",
"line_end": 99,
"line_start": 92,
"name": "instantiate_plugin",
"type": "function"
}
] | 3 |
facebookresearch__hydra__18eff7e5__6 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | instantiate | hydra/utils.py | 102 | 109 | [
{
"decorator_line": 65,
"file_path": "hydra/utils.py",
"line_end": 77,
"line_start": 65,
"name": "get_class",
"type": "function"
}
] | 1 |
facebookresearch__hydra__18eff7e5__7 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | objects | demos/7_objects/objects.py | 33 | 36 | [
{
"decorator_line": 163,
"file_path": "hydra/hydra.py",
"line_end": 175,
"line_start": 163,
"name": "main",
"type": "function"
},
{
"decorator_line": 102,
"file_path": "hydra/utils.py",
"line_end": 109,
"line_start": 102,
"name": "instantiate",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__8 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_load_history | tests/test_conf_loader.py | 67 | 73 | [
{
"decorator_line": 9,
"file_path": "hydra/config_loader.py",
"line_end": 203,
"line_start": 9,
"name": "ConfigLoader",
"type": "class"
},
{
"decorator_line": 44,
"file_path": "hydra/config_loader.py",
"line_end": 52,
"line_start": 44,
"name": "load_configuration",
"type": "function"
},
{
"decorator_line": 15,
"file_path": "hydra/config_loader.py",
"line_end": 16,
"line_start": 15,
"name": "get_load_history",
"type": "function"
}
] | 3 |
facebookresearch__hydra__18eff7e5__9 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_demos_compose__override_all_configs | tests/test_demos.py | 107 | 123 | [
{
"decorator_line": 105,
"file_path": "hydra/test_utils/utils.py",
"line_end": 108,
"line_start": 105,
"name": "verify_dir_outputs",
"type": "function"
}
] | 1 |
facebookresearch__hydra__18eff7e5__10 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | create_queue | plugins/fairtask/hydra_plugins/fairtask/fairtask_launcher.py | 66 | 77 | [
{
"decorator_line": 45,
"file_path": "hydra/utils.py",
"line_end": 47,
"line_start": 46,
"name": "HydraRuntime",
"type": "class"
},
{
"decorator_line": 102,
"file_path": "hydra/utils.py",
"line_end": 109,
"line_start": 102,
"name": "instantiate",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__11 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_plugin | noxfile.py | 48 | 81 | [
{
"decorator_line": 22,
"file_path": "noxfile.py",
"line_end": 23,
"line_start": 22,
"name": "plugin_names",
"type": "function"
},
{
"decorator_line": 39,
"file_path": "noxfile.py",
"line_end": 42,
"line_start": 39,
"name": "get_python_versions",
"type": "function"
},
{
"decorator_line": 26,
"file_path": "noxfile.py",
"line_end": 27,
"line_start": 26,
"name": "get_all_plugins",
"type": "function"
}
] | 3 |
facebookresearch__hydra__18eff7e5__12 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | sweep_runner | hydra/test_utils/utils.py | 53 | 90 | [
{
"decorator_line": 35,
"file_path": "hydra/hydra.py",
"line_end": 88,
"line_start": 35,
"name": "Hydra",
"type": "class"
}
] | 1 |
facebookresearch__hydra__18eff7e5__13 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_load_adding_group_not_in_default | tests/test_conf_loader.py | 61 | 64 | [
{
"decorator_line": 9,
"file_path": "hydra/config_loader.py",
"line_end": 203,
"line_start": 9,
"name": "ConfigLoader",
"type": "class"
},
{
"decorator_line": 44,
"file_path": "hydra/config_loader.py",
"line_end": 52,
"line_start": 44,
"name": "load_configuration",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__14 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | run_sweep | plugins/fairtask/hydra_plugins/fairtask/fairtask_launcher.py | 50 | 64 | [
{
"decorator_line": 45,
"file_path": "hydra/utils.py",
"line_end": 47,
"line_start": 46,
"name": "HydraRuntime",
"type": "class"
},
{
"decorator_line": 29,
"file_path": "hydra/utils.py",
"line_end": 33,
"line_start": 29,
"name": "get",
"type": "function"
},
{
"decorator_line": 40,
"file_path": "hydra/utils.py",
"line_end": 42,
"line_start": 41,
"name": "JobRuntime",
"type": "class"
}
] | 3 |
facebookresearch__hydra__18eff7e5__15 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | task_runner | hydra/test_utils/utils.py | 15 | 49 | [
{
"decorator_line": 35,
"file_path": "hydra/hydra.py",
"line_end": 88,
"line_start": 35,
"name": "Hydra",
"type": "class"
}
] | 1 |
facebookresearch__hydra__18eff7e5__16 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | run | hydra/hydra.py | 51 | 59 | [
{
"decorator_line": 18,
"file_path": "hydra/config_loader.py",
"line_end": 39,
"line_start": 18,
"name": "load_hydra_cfg",
"type": "function"
},
{
"decorator_line": 160,
"file_path": "hydra/utils.py",
"line_end": 189,
"line_start": 160,
"name": "run_job",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__17 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | experiment | demos/6_sweep/sweep_example.py | 10 | 12 | [
{
"decorator_line": 163,
"file_path": "hydra/hydra.py",
"line_end": 175,
"line_start": 163,
"name": "main",
"type": "function"
}
] | 1 |
facebookresearch__hydra__18eff7e5__18 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | test_load_changing_group_in_default | tests/test_conf_loader.py | 55 | 58 | [
{
"decorator_line": 9,
"file_path": "hydra/config_loader.py",
"line_end": 203,
"line_start": 9,
"name": "ConfigLoader",
"type": "class"
},
{
"decorator_line": 44,
"file_path": "hydra/config_loader.py",
"line_end": 52,
"line_start": 44,
"name": "load_configuration",
"type": "function"
}
] | 2 |
facebookresearch__hydra__18eff7e5__19 | facebookresearch/hydra | 18eff7e512999a639e2e5adcb371a3c8a534efe7 | instance | hydra/utils.py | 17 | 20 | [
{
"decorator_line": 14,
"file_path": "hydra/utils.py",
"line_end": 22,
"line_start": 14,
"name": "singleton",
"type": "function"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__0 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | get_form | flask_admin/contrib/sqlamodel/form.py | 239 | 282 | [
{
"decorator_line": 39,
"file_path": "flask_admin/contrib/sqlamodel/form.py",
"line_end": 164,
"line_start": 39,
"name": "convert",
"type": "function"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__1 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_no_pk | flask_admin/tests/test_sqlamodel.py | 133 | 140 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__2 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_model | flask_admin/tests/test_sqlamodel.py | 59 | 129 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 44,
"line_start": 23,
"name": "create_models",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__3 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | validate_login | examples/auth/auth.py | 49 | 56 | [
{
"decorator_line": 58,
"file_path": "examples/auth/auth.py",
"line_end": 59,
"line_start": 58,
"name": "get_user",
"type": "function"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__4 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | get_filters | flask_admin/model/base.py | 403 | 425 | [
{
"decorator_line": 391,
"file_path": "flask_admin/model/base.py",
"line_end": 401,
"line_start": 391,
"name": "is_valid_filter",
"type": "function"
},
{
"decorator_line": 382,
"file_path": "flask_admin/model/base.py",
"line_end": 389,
"line_start": 382,
"name": "scaffold_filters",
"type": "function"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__5 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | contribute_inline | flask_admin/contrib/sqlamodel/form.py | 285 | 371 | [
{
"decorator_line": 10,
"file_path": "flask_admin/contrib/sqlamodel/form.py",
"line_end": 235,
"line_start": 10,
"name": "AdminModelConverter",
"type": "class"
},
{
"decorator_line": 239,
"file_path": "flask_admin/contrib/sqlamodel/form.py",
"line_end": 282,
"line_start": 239,
"name": "get_form",
"type": "function"
},
{
"decorator_line": 182,
"file_path": "flask_admin/contrib/sqlamodel/fields.py",
"line_end": 241,
"line_start": 182,
"name": "InlineModelFormList",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__6 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | scaffold_filters | flask_admin/tests/test_model.py | 68 | 69 | [
{
"decorator_line": 25,
"file_path": "flask_admin/tests/test_model.py",
"line_end": 31,
"line_start": 25,
"name": "SimpleFilter",
"type": "class"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__7 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | conv_bool | flask_admin/contrib/peeweemodel/filters.py | 103 | 105 | [
{
"decorator_line": 77,
"file_path": "flask_admin/contrib/peeweemodel/filters.py",
"line_end": 78,
"line_start": 77,
"name": "BooleanEqualFilter",
"type": "class"
},
{
"decorator_line": 81,
"file_path": "flask_admin/contrib/peeweemodel/filters.py",
"line_end": 82,
"line_start": 81,
"name": "BooleanNotEqualFilter",
"type": "class"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__8 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_url_args | flask_admin/tests/test_sqlamodel.py | 251 | 299 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 44,
"line_start": 23,
"name": "create_models",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__9 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_baseview_urls | flask_admin/tests/test_base.py | 112 | 119 | [
{
"decorator_line": 6,
"file_path": "flask_admin/tests/test_base.py",
"line_end": 29,
"line_start": 6,
"name": "MockView",
"type": "class"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__10 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_form_override | flask_admin/tests/test_sqlamodel.py | 339 | 354 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__11 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_list_columns | flask_admin/tests/test_sqlamodel.py | 143 | 160 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 44,
"line_start": 23,
"name": "create_models",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__12 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_baseview_registration | flask_admin/tests/test_base.py | 74 | 109 | [
{
"decorator_line": 6,
"file_path": "flask_admin/tests/test_base.py",
"line_end": 29,
"line_start": 6,
"name": "MockView",
"type": "class"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__13 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_sortable_columns | flask_admin/tests/test_model.py | 253 | 259 | [
{
"decorator_line": 105,
"file_path": "flask_admin/tests/test_model.py",
"line_end": 111,
"line_start": 105,
"name": "setup",
"type": "function"
},
{
"decorator_line": 34,
"file_path": "flask_admin/tests/test_model.py",
"line_end": 102,
"line_start": 34,
"name": "MockModelView",
"type": "class"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__14 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_column_filters | flask_admin/tests/test_sqlamodel.py | 208 | 248 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 44,
"line_start": 23,
"name": "create_models",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__15 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | iter_choices | flask_admin/contrib/sqlamodel/fields.py | 165 | 167 | [
{
"decorator_line": 96,
"file_path": "flask_admin/contrib/sqlamodel/fields.py",
"line_end": 101,
"line_start": 96,
"name": "_get_object_list",
"type": "function"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__16 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | delete_view | flask_admin/model/base.py | 840 | 859 | [
{
"decorator_line": 521,
"file_path": "flask_admin/model/base.py",
"line_end": 530,
"line_start": 521,
"name": "get_one",
"type": "function"
},
{
"decorator_line": 561,
"file_path": "flask_admin/model/base.py",
"line_end": 572,
"line_start": 561,
"name": "delete_model",
"type": "function"
}
] | 2 |
flask-admin__flask-admin__7d483ccb__17 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_exclude_columns | flask_admin/tests/test_sqlamodel.py | 163 | 178 | [
{
"decorator_line": 47,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 56,
"line_start": 47,
"name": "setup",
"type": "function"
},
{
"decorator_line": 23,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 44,
"line_start": 23,
"name": "create_models",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "flask_admin/tests/test_sqlamodel.py",
"line_end": 20,
"line_start": 11,
"name": "CustomModelView",
"type": "class"
}
] | 3 |
flask-admin__flask-admin__7d483ccb__18 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | test_submenu | flask_admin/tests/test_base.py | 164 | 183 | [
{
"decorator_line": 6,
"file_path": "flask_admin/tests/test_base.py",
"line_end": 29,
"line_start": 6,
"name": "MockView",
"type": "class"
}
] | 1 |
flask-admin__flask-admin__7d483ccb__19 | flask-admin/flask-admin | 7d483ccbb34217fad1329e6e8881f879a76e1cb6 | login_view | examples/auth/auth.py | 102 | 109 | [
{
"decorator_line": 45,
"file_path": "examples/auth/auth.py",
"line_end": 59,
"line_start": 45,
"name": "LoginForm",
"type": "class"
},
{
"decorator_line": 58,
"file_path": "examples/auth/auth.py",
"line_end": 59,
"line_start": 58,
"name": "get_user",
"type": "function"
}
] | 2 |
litestar-org__litestar__93ee4cdb__0 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | handle_list_type | starlite/plugins/sql_alchemy.py | 65 | 75 | [
{
"decorator_line": 240,
"file_path": "starlite/plugins/sql_alchemy.py",
"line_end": 252,
"line_start": 240,
"name": "get_pydantic_type",
"type": "function"
}
] | 1 |
litestar-org__litestar__93ee4cdb__1 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_create_responses | tests/openapi/test_responses.py | 25 | 44 | [
{
"decorator_line": 43,
"file_path": "starlite/app.py",
"line_end": 202,
"line_start": 43,
"name": "Starlite",
"type": "class"
},
{
"decorator_line": 138,
"file_path": "starlite/openapi/responses.py",
"line_end": 157,
"line_start": 138,
"name": "create_responses",
"type": "function"
}
] | 2 |
litestar-org__litestar__93ee4cdb__2 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_header_params | tests/test_params.py | 218 | 231 | [
{
"decorator_line": 8,
"file_path": "starlite/params.py",
"line_end": 61,
"line_start": 8,
"name": "Parameter",
"type": "function"
},
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
}
] | 3 |
litestar-org__litestar__93ee4cdb__3 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | create_user | tests/test_dto.py | 113 | 114 | [
{
"decorator_line": 537,
"file_path": "starlite/handlers.py",
"line_end": 584,
"line_start": 537,
"name": "post",
"type": "class"
}
] | 1 |
litestar-org__litestar__93ee4cdb__4 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_return_of_a_single_sql_alchemy_model_instance | tests/plugins/sql_alchemy_plugin/test_sql_alchemy_plugin_integration.py | 49 | 59 | [
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
},
{
"decorator_line": 35,
"file_path": "starlite/plugins/sql_alchemy.py",
"line_end": 319,
"line_start": 35,
"name": "SQLAlchemyPlugin",
"type": "class"
}
] | 2 |
litestar-org__litestar__93ee4cdb__5 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_path_params | tests/test_params.py | 171 | 193 | [
{
"decorator_line": 8,
"file_path": "starlite/params.py",
"line_end": 61,
"line_start": 8,
"name": "Parameter",
"type": "function"
},
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
}
] | 3 |
litestar-org__litestar__93ee4cdb__6 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | ownership_layers | starlite/handlers.py | 319 | 325 | [
{
"decorator_line": 99,
"file_path": "starlite/handlers.py",
"line_end": 109,
"line_start": 99,
"name": "ownership_layers",
"type": "function"
}
] | 1 |
litestar-org__litestar__93ee4cdb__7 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_function | tests/handlers/test_http_handlers.py | 279 | 280 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 94,
"file_path": "starlite/types.py",
"line_end": 107,
"line_start": 94,
"name": "File",
"type": "class"
}
] | 2 |
litestar-org__litestar__93ee4cdb__8 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_register_with_route_handler_functions | tests/test_router.py | 62 | 84 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 637,
"file_path": "starlite/handlers.py",
"line_end": 684,
"line_start": 637,
"name": "patch",
"type": "class"
},
{
"decorator_line": 174,
"file_path": "starlite/routing.py",
"line_end": 309,
"line_start": 174,
"name": "Router",
"type": "class"
}
] | 3 |
litestar-org__litestar__93ee4cdb__9 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | redoc | starlite/openapi/controller.py | 35 | 70 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
}
] | 1 |
litestar-org__litestar__93ee4cdb__10 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_defining_data_for_get_handler_raises_exception | tests/test_controller.py | 190 | 202 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
}
] | 2 |
litestar-org__litestar__93ee4cdb__11 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | create_parameters | starlite/openapi/parameters.py | 27 | 84 | [
{
"decorator_line": 122,
"file_path": "starlite/handlers.py",
"line_end": 137,
"line_start": 122,
"name": "resolve_dependencies",
"type": "function"
},
{
"decorator_line": 11,
"file_path": "starlite/openapi/parameters.py",
"line_end": 24,
"line_start": 11,
"name": "create_path_parameter_schema",
"type": "function"
},
{
"decorator_line": 181,
"file_path": "starlite/openapi/schema.py",
"line_end": 221,
"line_start": 181,
"name": "create_schema",
"type": "function"
}
] | 3 |
litestar-org__litestar__93ee4cdb__12 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | bulk_create_company | tests/plugins/sql_alchemy_plugin/test_sql_alchemy_plugin_integration.py | 35 | 37 | [
{
"decorator_line": 537,
"file_path": "starlite/handlers.py",
"line_end": 584,
"line_start": 537,
"name": "post",
"type": "class"
}
] | 1 |
litestar-org__litestar__93ee4cdb__13 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_serializing_a_list_of_sql_alchemy_instances | tests/plugins/sql_alchemy_plugin/test_sql_alchemy_plugin_integration.py | 70 | 75 | [
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
},
{
"decorator_line": 35,
"file_path": "starlite/plugins/sql_alchemy.py",
"line_end": 319,
"line_start": 35,
"name": "SQLAlchemyPlugin",
"type": "class"
}
] | 2 |
litestar-org__litestar__93ee4cdb__14 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_params_default | tests/test_params.py | 353 | 367 | [
{
"decorator_line": 8,
"file_path": "starlite/params.py",
"line_end": 61,
"line_start": 8,
"name": "Parameter",
"type": "function"
},
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
}
] | 3 |
litestar-org__litestar__93ee4cdb__15 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_method | tests/test_controller.py | 247 | 248 | [
{
"decorator_line": 229,
"file_path": "tests/test_controller.py",
"line_end": 252,
"line_start": 238,
"name": "test_data_using_list_of_models",
"type": "function"
}
] | 1 |
litestar-org__litestar__93ee4cdb__16 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_create_success_response_file_data | tests/openapi/test_responses.py | 138 | 150 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 20,
"file_path": "starlite/openapi/responses.py",
"line_end": 101,
"line_start": 20,
"name": "create_success_response",
"type": "function"
}
] | 2 |
litestar-org__litestar__93ee4cdb__17 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | create_success_response | starlite/openapi/responses.py | 20 | 101 | [
{
"decorator_line": 12,
"file_path": "starlite/utils/model.py",
"line_end": 16,
"line_start": 12,
"name": "create_parsed_model_field",
"type": "function"
},
{
"decorator_line": 181,
"file_path": "starlite/openapi/schema.py",
"line_end": 221,
"line_start": 181,
"name": "create_schema",
"type": "function"
},
{
"decorator_line": 337,
"file_path": "starlite/handlers.py",
"line_end": 348,
"line_start": 337,
"name": "resolve_response_headers",
"type": "function"
}
] | 3 |
litestar-org__litestar__93ee4cdb__18 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | user | starlite/request.py | 26 | 31 | [
{
"decorator_line": 46,
"file_path": "starlite/exceptions.py",
"line_end": 47,
"line_start": 46,
"name": "ImproperlyConfiguredException",
"type": "class"
}
] | 1 |
litestar-org__litestar__93ee4cdb__19 | litestar-org/litestar | 93ee4cdbc596dbd0c29a534cc3e5e71eae954589 | test_authentication_middleware_not_installed_raises_for_auth_scope | tests/middleware/test_authentication.py | 70 | 81 | [
{
"decorator_line": 487,
"file_path": "starlite/handlers.py",
"line_end": 534,
"line_start": 487,
"name": "get",
"type": "class"
},
{
"decorator_line": 65,
"file_path": "starlite/testing.py",
"line_end": 110,
"line_start": 65,
"name": "create_test_client",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__0 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | wrapped_func | mmcv/utils/misc.py | 157 | 168 | [
{
"decorator_line": 154,
"file_path": "mmcv/utils/misc.py",
"line_end": 170,
"line_start": 154,
"name": "wrap",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__1 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | track_progress | mmcv/utils/progressbar.py | 62 | 93 | [
{
"decorator_line": 7,
"file_path": "mmcv/utils/progressbar.py",
"line_end": 59,
"line_start": 7,
"name": "ProgressBar",
"type": "class"
},
{
"decorator_line": 42,
"file_path": "mmcv/utils/progressbar.py",
"line_end": 59,
"line_start": 42,
"name": "update",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__2 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_flowwrite | tests/test_optflow.py | 51 | 75 | [
{
"decorator_line": 60,
"file_path": "mmcv/video/optflow.py",
"line_end": 87,
"line_start": 60,
"name": "flowwrite",
"type": "function"
},
{
"decorator_line": 8,
"file_path": "mmcv/video/optflow.py",
"line_end": 57,
"line_start": 8,
"name": "flowread",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "mmcv/image/io.py",
"line_end": 43,
"line_start": 22,
"name": "imread",
"type": "function"
}
] | 3 |
open-mmlab__mmcv__90979574__3 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_requires_executable | tests/test_misc.py | 72 | 99 | [
{
"decorator_line": 207,
"file_path": "mmcv/utils/misc.py",
"line_end": 216,
"line_start": 207,
"name": "requires_executable",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__4 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | before_run | mmcv/runner/hooks/logger/pavi.py | 153 | 155 | [
{
"decorator_line": 26,
"file_path": "mmcv/runner/hooks/logger/base.py",
"line_end": 30,
"line_start": 26,
"name": "before_run",
"type": "function"
},
{
"decorator_line": 157,
"file_path": "mmcv/runner/hooks/logger/pavi.py",
"line_end": 166,
"line_start": 158,
"name": "connect",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__5 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | before_train_iter | mmcv/runner/hooks/lr_updater.py | 71 | 87 | [
{
"decorator_line": 42,
"file_path": "mmcv/runner/hooks/lr_updater.py",
"line_end": 43,
"line_start": 42,
"name": "get_regular_lr",
"type": "function"
},
{
"decorator_line": 35,
"file_path": "mmcv/runner/hooks/lr_updater.py",
"line_end": 37,
"line_start": 35,
"name": "_set_lr",
"type": "function"
},
{
"decorator_line": 45,
"file_path": "mmcv/runner/hooks/lr_updater.py",
"line_end": 54,
"line_start": 45,
"name": "get_warmup_lr",
"type": "function"
}
] | 3 |
open-mmlab__mmcv__90979574__6 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | register_hook | mmcv/runner/runner.py | 193 | 214 | [
{
"decorator_line": 34,
"file_path": "mmcv/runner/priority.py",
"line_end": 52,
"line_start": 34,
"name": "get_priority",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__7 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | wrapper | mmcv/runner/utils.py | 32 | 35 | [
{
"decorator_line": 15,
"file_path": "mmcv/runner/utils.py",
"line_end": 26,
"line_start": 15,
"name": "get_dist_info",
"type": "function"
},
{
"decorator_line": 29,
"file_path": "mmcv/runner/utils.py",
"line_end": 37,
"line_start": 29,
"name": "master_only",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__8 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | flowshow | mmcv/visualization/optflow.py | 9 | 19 | [
{
"decorator_line": 8,
"file_path": "mmcv/video/optflow.py",
"line_end": 57,
"line_start": 8,
"name": "flowread",
"type": "function"
},
{
"decorator_line": 22,
"file_path": "mmcv/visualization/optflow.py",
"line_end": 72,
"line_start": 22,
"name": "flow2rgb",
"type": "function"
},
{
"decorator_line": 7,
"file_path": "mmcv/visualization/image.py",
"line_end": 16,
"line_start": 7,
"name": "imshow",
"type": "function"
}
] | 3 |
open-mmlab__mmcv__90979574__9 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_imflip | tests/test_image.py | 187 | 217 | [
{
"decorator_line": 6,
"file_path": "mmcv/image/transforms/geometry.py",
"line_end": 20,
"line_start": 6,
"name": "imflip",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__10 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | save_checkpoint | mmcv/runner/checkpoint.py | 160 | 190 | [
{
"decorator_line": 34,
"file_path": "mmcv/utils/path.py",
"line_end": 42,
"line_start": 34,
"name": "mkdir_or_exist",
"type": "function"
},
{
"decorator_line": 145,
"file_path": "mmcv/runner/checkpoint.py",
"line_end": 157,
"line_start": 145,
"name": "weights_to_cpu",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__11 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | fromfile | mmcv/utils/config.py | 75 | 96 | [
{
"decorator_line": 29,
"file_path": "mmcv/utils/path.py",
"line_end": 31,
"line_start": 29,
"name": "check_file_exist",
"type": "function"
},
{
"decorator_line": 12,
"file_path": "mmcv/fileio/io.py",
"line_end": 39,
"line_start": 12,
"name": "load",
"type": "function"
},
{
"decorator_line": 48,
"file_path": "mmcv/utils/config.py",
"line_end": 158,
"line_start": 48,
"name": "Config",
"type": "class"
}
] | 3 |
open-mmlab__mmcv__90979574__12 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_flow2rgb | tests/test_optflow.py | 129 | 141 | [
{
"decorator_line": 22,
"file_path": "mmcv/visualization/optflow.py",
"line_end": 72,
"line_start": 22,
"name": "flow2rgb",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__13 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | save_checkpoint | mmcv/runner/runner.py | 235 | 249 | [
{
"decorator_line": 160,
"file_path": "mmcv/runner/checkpoint.py",
"line_end": 190,
"line_start": 160,
"name": "save_checkpoint",
"type": "function"
},
{
"decorator_line": 45,
"file_path": "mmcv/utils/path.py",
"line_end": 48,
"line_start": 45,
"name": "symlink",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__14 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_get | tests/test_video.py | 30 | 35 | [
{
"decorator_line": 23,
"file_path": "mmcv/video/io.py",
"line_end": 48,
"line_start": 23,
"name": "Cache",
"type": "class"
},
{
"decorator_line": 46,
"file_path": "mmcv/video/io.py",
"line_end": 48,
"line_start": 46,
"name": "get",
"type": "function"
},
{
"decorator_line": 39,
"file_path": "mmcv/video/io.py",
"line_end": 44,
"line_start": 39,
"name": "put",
"type": "function"
}
] | 3 |
open-mmlab__mmcv__90979574__15 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | list_cast | mmcv/utils/misc.py | 45 | 50 | [
{
"decorator_line": 20,
"file_path": "mmcv/utils/misc.py",
"line_end": 42,
"line_start": 20,
"name": "iter_cast",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__16 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_cvt2frames | tests/test_video.py | 132 | 162 | [
{
"decorator_line": 51,
"file_path": "mmcv/video/io.py",
"line_end": 284,
"line_start": 51,
"name": "VideoReader",
"type": "class"
},
{
"decorator_line": 206,
"file_path": "mmcv/video/io.py",
"line_end": 249,
"line_start": 206,
"name": "cvt2frames",
"type": "function"
}
] | 2 |
open-mmlab__mmcv__90979574__17 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_timer_run | tests/test_timer.py | 15 | 26 | [
{
"decorator_line": 10,
"file_path": "mmcv/utils/timer.py",
"line_end": 84,
"line_start": 10,
"name": "Timer",
"type": "class"
},
{
"decorator_line": 62,
"file_path": "mmcv/utils/timer.py",
"line_end": 70,
"line_start": 62,
"name": "since_start",
"type": "function"
},
{
"decorator_line": 72,
"file_path": "mmcv/utils/timer.py",
"line_end": 84,
"line_start": 72,
"name": "since_last_check",
"type": "function"
}
] | 3 |
open-mmlab__mmcv__90979574__18 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | wrapper | mmcv/parallel/data_container.py | 8 | 12 | [
{
"decorator_line": 5,
"file_path": "mmcv/parallel/data_container.py",
"line_end": 14,
"line_start": 5,
"name": "assert_tensor_type",
"type": "function"
}
] | 1 |
open-mmlab__mmcv__90979574__19 | open-mmlab/mmcv | 9097957434da1308739c03aff53ac147f1500c56 | test_resize_video | tests/test_video.py | 214 | 232 | [
{
"decorator_line": 49,
"file_path": "mmcv/video/processing.py",
"line_end": 86,
"line_start": 50,
"name": "resize_video",
"type": "function"
},
{
"decorator_line": 51,
"file_path": "mmcv/video/io.py",
"line_end": 284,
"line_start": 51,
"name": "VideoReader",
"type": "class"
}
] | 2 |
nautobot__nautobot__7e8a8443__0 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | clean | nautobot/dcim/models/device_components.py | 802 | 825 | [
{
"decorator_line": 50,
"file_path": "nautobot/extras/models/customfields.py",
"line_end": 67,
"line_start": 50,
"name": "clean",
"type": "function"
}
] | 1 |
nautobot__nautobot__7e8a8443__1 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_regex_validation | nautobot/extras/tests/test_customfields.py | 495 | 512 | [
{
"decorator_line": 103,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 112,
"line_start": 103,
"name": "add_permissions",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 133,
"line_start": 118,
"name": "assertHttpStatus",
"type": "function"
}
] | 2 |
nautobot__nautobot__7e8a8443__2 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_update_object | nautobot/extras/tests/test_changelog.py | 201 | 235 | [
{
"decorator_line": 91,
"file_path": "nautobot/dcim/models/sites.py",
"line_end": 219,
"line_start": 101,
"name": "Site",
"type": "class"
},
{
"decorator_line": 103,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 112,
"line_start": 103,
"name": "add_permissions",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 133,
"line_start": 118,
"name": "assertHttpStatus",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__3 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_no_pre_releases | nautobot/core/tests/test_releases.py | 109 | 138 | [
{
"decorator_line": 12,
"file_path": "nautobot/utilities/background_tasks.py",
"line_end": 51,
"line_start": 13,
"name": "get_releases",
"type": "function"
}
] | 1 |
nautobot__nautobot__7e8a8443__4 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_rack_group_site | nautobot/dcim/tests/test_models.py | 120 | 133 | [
{
"decorator_line": 153,
"file_path": "nautobot/dcim/models/racks.py",
"line_end": 534,
"line_start": 163,
"name": "Rack",
"type": "class"
},
{
"decorator_line": 287,
"file_path": "nautobot/dcim/models/racks.py",
"line_end": 316,
"line_start": 287,
"name": "clean",
"type": "function"
}
] | 2 |
nautobot__nautobot__7e8a8443__5 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_get_object_changelog | nautobot/utilities/testing/views.py | 299 | 302 | [
{
"decorator_line": 214,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 232,
"line_start": 214,
"name": "_get_url",
"type": "function"
},
{
"decorator_line": 190,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 194,
"line_start": 190,
"name": "_get_queryset",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 133,
"line_start": 118,
"name": "assertHttpStatus",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__6 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | validate | nautobot/extras/api/serializers.py | 260 | 273 | [
{
"decorator_line": 20,
"file_path": "nautobot/core/api/serializers.py",
"line_end": 41,
"line_start": 20,
"name": "validate",
"type": "function"
}
] | 1 |
nautobot__nautobot__7e8a8443__7 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | get_serializer_for_model | nautobot/utilities/api.py | 13 | 27 | [
{
"decorator_line": 85,
"file_path": "nautobot/utilities/utils.py",
"line_end": 93,
"line_start": 85,
"name": "dynamic_import",
"type": "function"
},
{
"decorator_line": 8,
"file_path": "nautobot/core/api/exceptions.py",
"line_end": 9,
"line_start": 8,
"name": "SerializerNotFound",
"type": "class"
}
] | 2 |
nautobot__nautobot__7e8a8443__8 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | test_create_tagged_item | nautobot/extras/tests/test_tags.py | 13 | 28 | [
{
"decorator_line": 175,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 180,
"line_start": 176,
"name": "create_tags",
"type": "function"
},
{
"decorator_line": 103,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 112,
"line_start": 103,
"name": "add_permissions",
"type": "function"
},
{
"decorator_line": 118,
"file_path": "nautobot/utilities/testing/views.py",
"line_end": 133,
"line_start": 118,
"name": "assertHttpStatus",
"type": "function"
}
] | 3 |
nautobot__nautobot__7e8a8443__9 | nautobot/nautobot | 7e8a84439d84fd0262c774cd16637420cecd3f07 | log_info | nautobot/extras/scripts.py | 54 | 55 | [
{
"decorator_line": 313,
"file_path": "nautobot/extras/jobs.py",
"line_end": 317,
"line_start": 313,
"name": "log_info",
"type": "function"
}
] | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.