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 |
|---|---|---|---|---|---|---|---|---|
mne-tools__mne-python__2c02745c__12 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | read_evoked | mne/fiff/evoked.py | 431 | 460 | [
{
"decorator_line": 29,
"file_path": "mne/fiff/evoked.py",
"line_end": 397,
"line_start": 29,
"name": "Evoked",
"type": "class"
}
] | 1 |
mne-tools__mne-python__2c02745c__13 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | spatio_temporal_cluster_1samp_test | mne/stats/cluster_level.py | 903 | 992 | [
{
"decorator_line": 998,
"file_path": "mne/stats/cluster_level.py",
"line_end": 1026,
"line_start": 998,
"name": "_st_mask_from_s_inds",
"type": "function"
},
{
"decorator_line": 669,
"file_path": "mne/stats/cluster_level.py",
"line_end": 896,
"line_start": 670,
"name... | 2 |
mne-tools__mne-python__2c02745c__14 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | test_io_complex | mne/fiff/tests/test_raw.py | 236 | 270 | [
{
"decorator_line": 35,
"file_path": "mne/fiff/raw.py",
"line_end": 1057,
"line_start": 35,
"name": "Raw",
"type": "class"
},
{
"decorator_line": 814,
"file_path": "mne/fiff/raw.py",
"line_end": 837,
"line_start": 814,
"name": "time_as_index",
"type": "function"
... | 3 |
mne-tools__mne-python__2c02745c__15 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | find_events | mne/event.py | 181 | 218 | [
{
"decorator_line": 60,
"file_path": "mne/fiff/pick.py",
"line_end": 87,
"line_start": 60,
"name": "pick_channels",
"type": "function"
}
] | 1 |
mne-tools__mne-python__2c02745c__16 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | test_epoch_eq | mne/tests/test_epochs.py | 380 | 386 | [
{
"decorator_line": 36,
"file_path": "mne/epochs.py",
"line_end": 863,
"line_start": 36,
"name": "Epochs",
"type": "class"
},
{
"decorator_line": 866,
"file_path": "mne/epochs.py",
"line_end": 911,
"line_start": 866,
"name": "equalize_epoch_counts",
"type": "funct... | 2 |
mne-tools__mne-python__2c02745c__17 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | test_io_cov | mne/tests/test_cov.py | 25 | 49 | [
{
"decorator_line": 118,
"file_path": "mne/cov.py",
"line_end": 131,
"line_start": 118,
"name": "read_cov",
"type": "function"
},
{
"decorator_line": 78,
"file_path": "mne/cov.py",
"line_end": 88,
"line_start": 78,
"name": "save",
"type": "function"
},
{
"... | 3 |
mne-tools__mne-python__2c02745c__18 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | as_data_frame | mne/epochs.py | 784 | 811 | [
{
"decorator_line": 431,
"file_path": "mne/epochs.py",
"line_end": 443,
"line_start": 431,
"name": "get_data",
"type": "function"
}
] | 1 |
mne-tools__mne-python__2c02745c__19 | mne-tools/mne-python | 2c02745ce39f1585ec44dc1c623047ec57695f03 | label_time_courses | mne/label.py | 375 | 409 | [
{
"decorator_line": 24,
"file_path": "mne/source_estimate.py",
"line_end": 82,
"line_start": 24,
"name": "read_stc",
"type": "function"
},
{
"decorator_line": 296,
"file_path": "mne/label.py",
"line_end": 334,
"line_start": 296,
"name": "read_label",
"type": "func... | 2 |
holoviz__panel__82e3f43f__0 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_instantiate_from_instance | panel/tests/test_param.py | 42 | 48 | [
{
"decorator_line": 52,
"file_path": "panel/pane.py",
"line_end": 58,
"line_start": 52,
"name": "Pane",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__1 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_holoviews_widgets_explicit_widget_instance_override | panel/tests/test_holoviews.py | 223 | 229 | [
{
"decorator_line": 387,
"file_path": "panel/widgets.py",
"line_end": 418,
"line_start": 387,
"name": "Select",
"type": "class"
},
{
"decorator_line": 127,
"file_path": "panel/holoviews.py",
"line_end": 182,
"line_start": 128,
"name": "widgets_from_dimensions",
"t... | 2 |
holoviz__panel__82e3f43f__2 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_toggle | panel/tests/test_widgets.py | 364 | 381 | [
{
"decorator_line": 234,
"file_path": "panel/widgets.py",
"line_end": 239,
"line_start": 234,
"name": "Toggle",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "panel/widgets.py",
"line_end": 75,
"line_start": 59,
"name": "_get_model",
"type": "function"
... | 3 |
holoviz__panel__82e3f43f__3 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_boolean_interact | panel/tests/test_interact.py | 9 | 16 | [
{
"decorator_line": 108,
"file_path": "panel/interact.py",
"line_end": 327,
"line_start": 108,
"name": "interactive",
"type": "class"
}
] | 1 |
holoviz__panel__82e3f43f__4 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | param_change | panel/viewable.py | 343 | 367 | [
{
"decorator_line": 331,
"file_path": "panel/viewable.py",
"line_end": 340,
"line_start": 331,
"name": "_process_param_change",
"type": "function"
},
{
"decorator_line": 204,
"file_path": "panel/util.py",
"line_end": 216,
"line_start": 204,
"name": "push",
"type":... | 2 |
holoviz__panel__82e3f43f__5 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_select_mutables | panel/tests/test_widgets.py | 245 | 268 | [
{
"decorator_line": 387,
"file_path": "panel/widgets.py",
"line_end": 418,
"line_start": 387,
"name": "Select",
"type": "class"
},
{
"decorator_line": 59,
"file_path": "panel/widgets.py",
"line_end": 75,
"line_start": 59,
"name": "_get_model",
"type": "function"
... | 3 |
holoviz__panel__82e3f43f__6 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_get_method_owner_class | panel/tests/test_util.py | 11 | 12 | [
{
"decorator_line": 125,
"file_path": "panel/util.py",
"line_end": 134,
"line_start": 125,
"name": "get_method_owner",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__7 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_switch_param_subobject | panel/tests/test_param.py | 410 | 456 | [
{
"decorator_line": 29,
"file_path": "panel/param.py",
"line_end": 38,
"line_start": 29,
"name": "ObjectSelector",
"type": "function"
},
{
"decorator_line": 52,
"file_path": "panel/pane.py",
"line_end": 58,
"line_start": 52,
"name": "Pane",
"type": "function"
}
... | 2 |
holoviz__panel__82e3f43f__8 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | update_pane | panel/param.py | 178 | 196 | [
{
"decorator_line": 137,
"file_path": "panel/util.py",
"line_end": 142,
"line_start": 137,
"name": "is_parameterized",
"type": "function"
},
{
"decorator_line": 41,
"file_path": "panel/param.py",
"line_end": 342,
"line_start": 41,
"name": "Param",
"type": "class"
... | 3 |
holoviz__panel__82e3f43f__9 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | add_to_doc | panel/util.py | 232 | 240 | [
{
"decorator_line": 219,
"file_path": "panel/util.py",
"line_end": 229,
"line_start": 219,
"name": "remove_root",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__10 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | widget_from_tuple | panel/interact.py | 287 | 306 | [
{
"decorator_line": 100,
"file_path": "panel/interact.py",
"line_end": 105,
"line_start": 100,
"name": "_matches",
"type": "function"
},
{
"decorator_line": 38,
"file_path": "panel/interact.py",
"line_end": 70,
"line_start": 38,
"name": "_get_min_max_value",
"type... | 2 |
holoviz__panel__82e3f43f__11 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_holoviews_with_widgets_not_shown | panel/tests/test_holoviews.py | 164 | 182 | [
{
"decorator_line": 18,
"file_path": "panel/holoviews.py",
"line_end": 182,
"line_start": 18,
"name": "HoloViews",
"type": "class"
},
{
"decorator_line": 194,
"file_path": "panel/layout.py",
"line_end": 199,
"line_start": 194,
"name": "Column",
"type": "class"
}... | 3 |
holoviz__panel__82e3f43f__12 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | panel | panel/pane.py | 26 | 49 | [
{
"decorator_line": 102,
"file_path": "panel/pane.py",
"line_end": 123,
"line_start": 103,
"name": "get_pane_type",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__13 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | server_doc | panel/viewable.py | 146 | 155 | [
{
"decorator_line": 76,
"file_path": "panel/viewable.py",
"line_end": 88,
"line_start": 76,
"name": "_get_root",
"type": "function"
},
{
"decorator_line": 232,
"file_path": "panel/util.py",
"line_end": 240,
"line_start": 232,
"name": "add_to_doc",
"type": "functio... | 2 |
holoviz__panel__82e3f43f__14 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_tabs_constructor | panel/tests/test_layout.py | 156 | 172 | [
{
"decorator_line": 239,
"file_path": "panel/layout.py",
"line_end": 333,
"line_start": 239,
"name": "Tabs",
"type": "class"
},
{
"decorator_line": 114,
"file_path": "panel/layout.py",
"line_end": 129,
"line_start": 114,
"name": "_get_model",
"type": "function"
... | 3 |
holoviz__panel__82e3f43f__15 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | mpl_view | panel/tests/test_param.py | 601 | 602 | [
{
"decorator_line": 37,
"file_path": "panel/tests/fixtures.py",
"line_end": 43,
"line_start": 37,
"name": "mpl_figure",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__16 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_get_vega_pane_type_from_altair | panel/tests/test_vega.py | 77 | 78 | [
{
"decorator_line": 102,
"file_path": "panel/pane.py",
"line_end": 123,
"line_start": 103,
"name": "get_pane_type",
"type": "function"
},
{
"decorator_line": 62,
"file_path": "panel/tests/test_vega.py",
"line_end": 73,
"line_start": 62,
"name": "altair_example",
"... | 2 |
holoviz__panel__82e3f43f__17 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_param_method_pane_mpl | panel/tests/test_param.py | 680 | 706 | [
{
"decorator_line": 586,
"file_path": "panel/tests/test_param.py",
"line_end": 606,
"line_start": 586,
"name": "View",
"type": "class"
},
{
"decorator_line": 52,
"file_path": "panel/pane.py",
"line_end": 58,
"line_start": 52,
"name": "Pane",
"type": "function"
}... | 3 |
holoviz__panel__82e3f43f__18 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | test_param_pane_repr_with_params | panel/tests/test_param.py | 68 | 74 | [
{
"decorator_line": 52,
"file_path": "panel/pane.py",
"line_end": 58,
"line_start": 52,
"name": "Pane",
"type": "function"
}
] | 1 |
holoviz__panel__82e3f43f__19 | holoviz/panel | 82e3f43f71a89b6af866022c7b7d06adac457497 | update_pane | panel/interact.py | 182 | 204 | [
{
"decorator_line": 102,
"file_path": "panel/pane.py",
"line_end": 123,
"line_start": 103,
"name": "get_pane_type",
"type": "function"
},
{
"decorator_line": 52,
"file_path": "panel/pane.py",
"line_end": 58,
"line_start": 52,
"name": "Pane",
"type": "function"
}... | 2 |
privacyidea__privacyidea__6ff4e9f8__0 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_10_escape_loginname | tests/test_lib_resolver.py | 910 | 916 | [
{
"decorator_line": 236,
"file_path": "privacyidea/lib/resolvers/LDAPIdResolver.py",
"line_end": 253,
"line_start": 237,
"name": "_escape_loginname",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__1 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_14_get_serial_by_otp | tests/test_api_token.py | 838 | 906 | [
{
"decorator_line": 83,
"file_path": "tests/test_api_token.py",
"line_end": 90,
"line_start": 83,
"name": "_create_temp_token",
"type": "function"
},
{
"decorator_line": 847,
"file_path": "privacyidea/lib/token.py",
"line_end": 947,
"line_start": 848,
"name": "init_to... | 2 |
privacyidea__privacyidea__6ff4e9f8__2 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_04_user_can_not_lost_another_token | tests/test_api_roles.py | 381 | 390 | [
{
"decorator_line": 141,
"file_path": "tests/base.py",
"line_end": 156,
"line_start": 141,
"name": "authenticate_selfserive_user",
"type": "function"
},
{
"decorator_line": 1044,
"file_path": "privacyidea/lib/token.py",
"line_end": 1093,
"line_start": 1045,
"name": "a... | 3 |
privacyidea__privacyidea__6ff4e9f8__3 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | decrypt_pin | privacyidea/lib/security/default.py | 414 | 425 | [
{
"decorator_line": 473,
"file_path": "privacyidea/lib/security/default.py",
"line_end": 497,
"line_start": 473,
"name": "_decrypt_value",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__4 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_04_check_otp_success | tests/test_lib_tokens_yubico.py | 60 | 68 | [
{
"decorator_line": 64,
"file_path": "privacyidea/lib/tokens/yubicotoken.py",
"line_end": 204,
"line_start": 64,
"name": "YubicoTokenClass",
"type": "class"
},
{
"decorator_line": 131,
"file_path": "privacyidea/lib/tokens/yubicotoken.py",
"line_end": 204,
"line_start": 13... | 2 |
privacyidea__privacyidea__6ff4e9f8__5 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | check_password | authmodules/apache2/privacyidea_apache.py | 55 | 96 | [
{
"decorator_line": 114,
"file_path": "authmodules/apache2/privacyidea_apache.py",
"line_end": 140,
"line_start": 114,
"name": "_get_config",
"type": "function"
},
{
"decorator_line": 106,
"file_path": "authmodules/apache2/privacyidea_apache.py",
"line_end": 111,
"line_st... | 3 |
privacyidea__privacyidea__6ff4e9f8__6 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | get_count | privacyidea/lib/auditmodules/sqlaudit.py | 390 | 404 | [
{
"decorator_line": 169,
"file_path": "privacyidea/lib/auditmodules/sqlaudit.py",
"line_end": 193,
"line_start": 170,
"name": "_create_filter",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__7 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_07_enable | tests/test_lib_tokens_daplug.py | 183 | 189 | [
{
"decorator_line": 81,
"file_path": "privacyidea/lib/tokens/daplugtoken.py",
"line_end": 241,
"line_start": 81,
"name": "DaplugTokenClass",
"type": "class"
},
{
"decorator_line": 614,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 616,
"line_start": 615,
"... | 2 |
privacyidea__privacyidea__6ff4e9f8__8 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | authenticate | privacyidea/lib/tokenclass.py | 360 | 400 | [
{
"decorator_line": 1067,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 1096,
"line_start": 1067,
"name": "split_pin_pass",
"type": "function"
},
{
"decorator_line": 333,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 357,
"line_start": 335,
"na... | 3 |
privacyidea__privacyidea__6ff4e9f8__9 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_03_get_auth_item_unsupported | tests/test_lib_applications.py | 92 | 95 | [
{
"decorator_line": 38,
"file_path": "privacyidea/lib/applications/luks.py",
"line_end": 81,
"line_start": 39,
"name": "get_authentication_item",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__10 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | timewindow | privacyidea/lib/tokens/totptoken.py | 191 | 194 | [
{
"decorator_line": 714,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 737,
"line_start": 714,
"name": "get_tokeninfo",
"type": "function"
},
{
"decorator_line": 70,
"file_path": "privacyidea/lib/config.py",
"line_end": 127,
"line_start": 72,
"name": "get_... | 2 |
privacyidea__privacyidea__6ff4e9f8__11 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_22_store_tokeninfo_longer_than_2000_byte | tests/test_lib_tokenclass.py | 587 | 608 | [
{
"decorator_line": 89,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 1440,
"line_start": 89,
"name": "TokenClass",
"type": "class"
},
{
"decorator_line": 262,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 276,
"line_start": 263,
"name": "add_t... | 3 |
privacyidea__privacyidea__6ff4e9f8__12 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | get_token_class | privacyidea/lib/config.py | 218 | 237 | [
{
"decorator_line": 178,
"file_path": "privacyidea/lib/config.py",
"line_end": 214,
"line_start": 178,
"name": "get_token_class_dict",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__13 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_99_delete_token | tests/test_lib_tokenclass.py | 213 | 219 | [
{
"decorator_line": 89,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 1440,
"line_start": 89,
"name": "TokenClass",
"type": "class"
},
{
"decorator_line": 506,
"file_path": "privacyidea/lib/tokenclass.py",
"line_end": 510,
"line_start": 506,
"name": "delet... | 2 |
privacyidea__privacyidea__6ff4e9f8__14 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | get_resolver | privacyidea/api/machineresolver.py | 115 | 127 | [
{
"decorator_line": 86,
"file_path": "privacyidea/lib/log.py",
"line_end": 190,
"line_start": 86,
"name": "log_with",
"type": "class"
},
{
"decorator_line": 121,
"file_path": "privacyidea/lib/machineresolver.py",
"line_end": 157,
"line_start": 123,
"name": "get_resolv... | 3 |
privacyidea__privacyidea__6ff4e9f8__15 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_07_authentication_counter_exceeded | tests/test_api_validate.py | 337 | 363 | [
{
"decorator_line": 847,
"file_path": "privacyidea/lib/token.py",
"line_end": 947,
"line_start": 848,
"name": "init_token",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__16 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | set_sync_window | privacyidea/lib/token.py | 1,485 | 1,506 | [
{
"decorator_line": 86,
"file_path": "privacyidea/lib/log.py",
"line_end": 190,
"line_start": 86,
"name": "log_with",
"type": "class"
},
{
"decorator_line": 248,
"file_path": "privacyidea/lib/token.py",
"line_end": 323,
"line_start": 250,
"name": "get_tokens",
"ty... | 2 |
privacyidea__privacyidea__6ff4e9f8__17 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | test_09_get_user_from_param | tests/test_lib_user.py | 159 | 189 | [
{
"decorator_line": 514,
"file_path": "privacyidea/lib/user.py",
"line_end": 552,
"line_start": 515,
"name": "get_user_from_param",
"type": "function"
},
{
"decorator_line": 62,
"file_path": "privacyidea/lib/resolver.py",
"line_end": 159,
"line_start": 63,
"name": "sa... | 3 |
privacyidea__privacyidea__6ff4e9f8__18 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | parse_registration_data | privacyidea/lib/tokens/u2f.py | 79 | 142 | [
{
"decorator_line": 37,
"file_path": "privacyidea/lib/tokens/u2f.py",
"line_end": 46,
"line_start": 37,
"name": "url_decode",
"type": "function"
}
] | 1 |
privacyidea__privacyidea__6ff4e9f8__19 | privacyidea/privacyidea | 6ff4e9f8985aabf9495752967ffe6e7a81d25649 | get_username | privacyidea/lib/user.py | 651 | 666 | [
{
"decorator_line": 86,
"file_path": "privacyidea/lib/log.py",
"line_end": 190,
"line_start": 86,
"name": "log_with",
"type": "class"
},
{
"decorator_line": 311,
"file_path": "privacyidea/lib/resolver.py",
"line_end": 336,
"line_start": 313,
"name": "get_resolver_obje... | 2 |
pydantic__pydantic__affea7a4__0 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | make_dsn | pydantic/utils.py | 41 | 74 | [
{
"decorator_line": 37,
"file_path": "pydantic/utils.py",
"line_end": 38,
"line_start": 37,
"name": "_rfc_1738_quote",
"type": "function"
}
] | 1 |
pydantic__pydantic__affea7a4__1 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | main | benchmarks/run.py | 99 | 126 | [
{
"decorator_line": 71,
"file_path": "benchmarks/run.py",
"line_end": 94,
"line_start": 71,
"name": "generate_case",
"type": "function"
},
{
"decorator_line": 42,
"file_path": "benchmarks/test_pydantic.py",
"line_end": 46,
"line_start": 42,
"name": "validate",
"ty... | 2 |
pydantic__pydantic__affea7a4__2 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | validate | pydantic/fields.py | 173 | 186 | [
{
"decorator_line": 230,
"file_path": "pydantic/fields.py",
"line_end": 251,
"line_start": 230,
"name": "_validate_singleton",
"type": "function"
},
{
"decorator_line": 205,
"file_path": "pydantic/fields.py",
"line_end": 228,
"line_start": 205,
"name": "_validate_mapp... | 3 |
pydantic__pydantic__affea7a4__3 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_recursive_list_error | tests/test_complex.py | 279 | 308 | [
{
"decorator_line": 259,
"file_path": "tests/test_complex.py",
"line_end": 260,
"line_start": 259,
"name": "MasterListModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__4 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | env | tests/conftest.py | 19 | 24 | [
{
"decorator_line": 5,
"file_path": "tests/conftest.py",
"line_end": 15,
"line_start": 5,
"name": "SetEnv",
"type": "class"
},
{
"decorator_line": 13,
"file_path": "tests/conftest.py",
"line_end": 15,
"line_start": 13,
"name": "clear",
"type": "function"
}
] | 2 |
pydantic__pydantic__affea7a4__5 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_list | tests/test_types.py | 326 | 334 | [
{
"decorator_line": 311,
"file_path": "tests/test_types.py",
"line_end": 315,
"line_start": 311,
"name": "ListDictTupleModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__6 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | parse_datetime | pydantic/datetime_parse.py | 121 | 153 | [
{
"decorator_line": 62,
"file_path": "pydantic/datetime_parse.py",
"line_end": 72,
"line_start": 62,
"name": "get_numeric",
"type": "function"
},
{
"decorator_line": 75,
"file_path": "pydantic/datetime_parse.py",
"line_end": 79,
"line_start": 75,
"name": "from_unix_se... | 2 |
pydantic__pydantic__affea7a4__7 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_set_attr | tests/test_main.py | 224 | 228 | [
{
"decorator_line": 8,
"file_path": "tests/test_main.py",
"line_end": 10,
"line_start": 8,
"name": "UltraSimpleModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__8 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | parse_date | pydantic/datetime_parse.py | 82 | 98 | [
{
"decorator_line": 62,
"file_path": "pydantic/datetime_parse.py",
"line_end": 72,
"line_start": 62,
"name": "get_numeric",
"type": "function"
},
{
"decorator_line": 75,
"file_path": "pydantic/datetime_parse.py",
"line_end": 79,
"line_start": 75,
"name": "from_unix_se... | 2 |
pydantic__pydantic__affea7a4__9 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | null_missing_string | benchmarks/run.py | 40 | 42 | [
{
"decorator_line": 30,
"file_path": "benchmarks/run.py",
"line_end": 37,
"line_start": 30,
"name": "null_missing_v",
"type": "function"
}
] | 1 |
pydantic__pydantic__affea7a4__10 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_int_validation | tests/test_types.py | 364 | 369 | [
{
"decorator_line": 358,
"file_path": "tests/test_types.py",
"line_end": 361,
"line_start": 358,
"name": "IntModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__11 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_constrained_str_default | tests/test_types.py | 20 | 22 | [
{
"decorator_line": 11,
"file_path": "tests/test_types.py",
"line_end": 12,
"line_start": 11,
"name": "ConStringModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__12 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | rand_email | benchmarks/run.py | 45 | 50 | [
{
"decorator_line": 23,
"file_path": "benchmarks/run.py",
"line_end": 24,
"line_start": 23,
"name": "rand_string",
"type": "function"
}
] | 1 |
pydantic__pydantic__affea7a4__13 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_dsn_compute | tests/test_types.py | 50 | 52 | [
{
"decorator_line": 39,
"file_path": "tests/test_types.py",
"line_end": 47,
"line_start": 39,
"name": "DsnModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__14 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | validate | pydantic/types.py | 65 | 66 | [
{
"decorator_line": 14,
"file_path": "pydantic/utils.py",
"line_end": 34,
"line_start": 14,
"name": "validate_email",
"type": "function"
}
] | 1 |
pydantic__pydantic__affea7a4__15 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_enum_fails | tests/test_types.py | 233 | 245 | [
{
"decorator_line": 221,
"file_path": "tests/test_types.py",
"line_end": 223,
"line_start": 221,
"name": "CookingModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__16 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_typed_dict_error | tests/test_complex.py | 217 | 220 | [
{
"decorator_line": 177,
"file_path": "tests/test_complex.py",
"line_end": 178,
"line_start": 177,
"name": "DictModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__17 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_ultra_simple_repr | tests/test_main.py | 40 | 45 | [
{
"decorator_line": 8,
"file_path": "tests/test_main.py",
"line_end": 10,
"line_start": 8,
"name": "UltraSimpleModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__18 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_recursive_list | tests/test_complex.py | 263 | 276 | [
{
"decorator_line": 259,
"file_path": "tests/test_complex.py",
"line_end": 260,
"line_start": 259,
"name": "MasterListModel",
"type": "class"
}
] | 1 |
pydantic__pydantic__affea7a4__19 | pydantic/pydantic | affea7a45dd2a0c1569884389219861806103a96 | test_constrained_str_good | tests/test_types.py | 15 | 17 | [
{
"decorator_line": 11,
"file_path": "tests/test_types.py",
"line_end": 12,
"line_start": 11,
"name": "ConStringModel",
"type": "class"
}
] | 1 |
beeware__toga__a405ae8d__0 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_get_dom | src/core/tests/widgets/test_webview.py | 44 | 47 | [
{
"decorator_line": 375,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 394,
"line_start": 375,
"name": "assertActionPerformed",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__1 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_set_center_alignment | src/core/tests/style/test_pack.py | 42 | 47 | [
{
"decorator_line": 12,
"file_path": "src/core/tests/style/test_pack.py",
"line_end": 23,
"line_start": 12,
"name": "TestNode",
"type": "class"
},
{
"decorator_line": 56,
"file_path": "src/core/toga/style/pack.py",
"line_end": 392,
"line_start": 56,
"name": "Pack",
... | 2 |
beeware__toga__a405ae8d__2 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_insert_root_args | src/core/tests/sources/test_tree_source.py | 347 | 374 | [
{
"decorator_line": 51,
"file_path": "src/core/toga/sources/tree_source.py",
"line_end": 145,
"line_start": 51,
"name": "TreeSource",
"type": "class"
},
{
"decorator_line": 16,
"file_path": "src/core/toga/sources/base.py",
"line_end": 21,
"line_start": 16,
"name": "ad... | 3 |
beeware__toga__a405ae8d__3 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | push | src/dummy/toga_dummy/widgets/navigationview.py | 7 | 8 | [
{
"decorator_line": 150,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 158,
"line_start": 150,
"name": "_action",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__4 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_set_background_color | src/core/tests/style/test_pack.py | 57 | 63 | [
{
"decorator_line": 12,
"file_path": "src/core/tests/style/test_pack.py",
"line_end": 23,
"line_start": 12,
"name": "TestNode",
"type": "class"
},
{
"decorator_line": 56,
"file_path": "src/core/toga/style/pack.py",
"line_end": 392,
"line_start": 56,
"name": "Pack",
... | 2 |
beeware__toga__a405ae8d__5 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_append_root | src/core/tests/sources/test_tree_source.py | 500 | 527 | [
{
"decorator_line": 51,
"file_path": "src/core/toga/sources/tree_source.py",
"line_end": 145,
"line_start": 51,
"name": "TreeSource",
"type": "class"
},
{
"decorator_line": 16,
"file_path": "src/core/toga/sources/base.py",
"line_end": 21,
"line_start": 16,
"name": "ad... | 3 |
beeware__toga__a405ae8d__6 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | info_dialog | src/dummy/toga_dummy/window.py | 39 | 40 | [
{
"decorator_line": 150,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 158,
"line_start": 150,
"name": "_action",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__7 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | create | src/cocoa/toga_cocoa/widgets/table.py | 84 | 119 | [
{
"decorator_line": 6,
"file_path": "src/core/toga/sources/accessors.py",
"line_end": 31,
"line_start": 6,
"name": "to_accessor",
"type": "function"
},
{
"decorator_line": 68,
"file_path": "src/cocoa/toga_cocoa/widgets/base.py",
"line_end": 70,
"line_start": 68,
"name... | 2 |
beeware__toga__a405ae8d__8 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | create | src/cocoa/toga_cocoa/app.py | 92 | 122 | [
{
"decorator_line": 33,
"file_path": "src/core/toga/command.py",
"line_end": 79,
"line_start": 33,
"name": "Command",
"type": "class"
},
{
"decorator_line": 172,
"file_path": "src/cocoa/toga_cocoa/app.py",
"line_end": 173,
"line_start": 172,
"name": "exit",
"type"... | 3 |
beeware__toga__a405ae8d__9 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | set_image | src/dummy/toga_dummy/widgets/imageview.py | 10 | 11 | [
{
"decorator_line": 120,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 131,
"line_start": 120,
"name": "_set_value",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__10 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | setUp | src/core/tests/widgets/test_navigationview.py | 9 | 16 | [
{
"decorator_line": 186,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 187,
"line_start": 186,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "src/core/toga/widgets/box.py",
"line_end": 22,
"line_start": 3,
"name": "Box",
"t... | 2 |
beeware__toga__a405ae8d__11 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | create | src/winforms/toga_winforms/app.py | 20 | 37 | [
{
"decorator_line": 33,
"file_path": "src/core/toga/command.py",
"line_end": 79,
"line_start": 33,
"name": "Command",
"type": "class"
},
{
"decorator_line": 82,
"file_path": "src/winforms/toga_winforms/app.py",
"line_end": 83,
"line_start": 82,
"name": "exit",
"ty... | 3 |
beeware__toga__a405ae8d__12 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | on_refresh | src/core/toga/widgets/detailedlist.py | 114 | 116 | [
{
"decorator_line": 32,
"file_path": "src/core/toga/handlers.py",
"line_end": 70,
"line_start": 32,
"name": "wrapped_handler",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__13 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | setUp | src/core/tests/widgets/test_selection.py | 6 | 11 | [
{
"decorator_line": 186,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 187,
"line_start": 186,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "src/core/toga/widgets/selection.py",
"line_end": 85,
"line_start": 5,
"name": "Select... | 2 |
beeware__toga__a405ae8d__14 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_set_content_with_widget | src/core/tests/widgets/test_scrollcontainer.py | 15 | 24 | [
{
"decorator_line": 3,
"file_path": "src/core/toga/widgets/box.py",
"line_end": 22,
"line_start": 3,
"name": "Box",
"type": "class"
},
{
"decorator_line": 174,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 182,
"line_start": 174,
"name": "TestStyle",
"... | 3 |
beeware__toga__a405ae8d__15 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | test_font_variant_small_caps | src/gtk/tests/test_font.py | 68 | 72 | [
{
"decorator_line": 13,
"file_path": "src/core/toga/font.py",
"line_end": 30,
"line_start": 13,
"name": "Font",
"type": "class"
}
] | 1 |
beeware__toga__a405ae8d__16 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | setUp | src/core/tests/widgets/test_label.py | 7 | 12 | [
{
"decorator_line": 186,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 187,
"line_start": 186,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 3,
"file_path": "src/core/toga/widgets/label.py",
"line_end": 39,
"line_start": 3,
"name": "Label",
... | 2 |
beeware__toga__a405ae8d__17 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | setUp | src/core/tests/widgets/test_optioncontainer.py | 6 | 9 | [
{
"decorator_line": 186,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 187,
"line_start": 186,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 5,
"file_path": "src/core/toga/widgets/optioncontainer.py",
"line_end": 80,
"line_start": 5,
"name": "... | 3 |
beeware__toga__a405ae8d__18 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | create | src/cocoa/toga_cocoa/widgets/imageview.py | 7 | 17 | [
{
"decorator_line": 68,
"file_path": "src/cocoa/toga_cocoa/widgets/base.py",
"line_end": 70,
"line_start": 68,
"name": "add_constraints",
"type": "function"
}
] | 1 |
beeware__toga__a405ae8d__19 | beeware/toga | a405ae8d2de07bac57b2726b7809fe8218d90272 | setUp | src/core/tests/widgets/test_tree.py | 6 | 14 | [
{
"decorator_line": 186,
"file_path": "src/dummy/toga_dummy/utils.py",
"line_end": 187,
"line_start": 186,
"name": "setUp",
"type": "function"
},
{
"decorator_line": 7,
"file_path": "src/core/toga/widgets/tree.py",
"line_end": 95,
"line_start": 7,
"name": "Tree",
... | 2 |
sanic-org__sanic__3ea1a804__0 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | handler_invalid | tests/test_exceptions.py | 28 | 29 | [
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
}
] | 1 |
sanic-org__sanic__3ea1a804__1 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | connection_timeout | sanic/server.py | 73 | 85 | [
{
"decorator_line": 32,
"file_path": "sanic/exceptions.py",
"line_end": 33,
"line_start": 32,
"name": "RequestTimeout",
"type": "class"
},
{
"decorator_line": 149,
"file_path": "sanic/server.py",
"line_end": 164,
"line_start": 149,
"name": "write_response",
"type"... | 2 |
sanic-org__sanic__3ea1a804__2 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_with_middleware_response | tests/test_views.py | 128 | 154 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 91,
"file_path": "sanic/sanic.py",
"line_end": 110,
"line_start": 91,
"name": "middleware",
"type": "function"
},
... | 3 |
sanic-org__sanic__3ea1a804__3 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_await | examples/try_everything.py | 28 | 31 | [
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
}
] | 1 |
sanic-org__sanic__3ea1a804__4 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_sync | tests/test_requests.py | 10 | 19 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
}
] | 2 |
sanic-org__sanic__3ea1a804__5 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_middleware_order | tests/test_middleware.py | 91 | 127 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 91,
"file_path": "sanic/sanic.py",
"line_end": 110,
"line_start": 91,
"name": "middleware",
"type": "function"
},
... | 3 |
sanic-org__sanic__3ea1a804__6 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | get | sanic/router.py | 111 | 118 | [
{
"decorator_line": 120,
"file_path": "sanic/router.py",
"line_end": 156,
"line_start": 121,
"name": "_get",
"type": "function"
}
] | 1 |
sanic-org__sanic__3ea1a804__7 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_bp_with_url_prefix | tests/test_blueprints.py | 26 | 37 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 122,
"file_path": "sanic/sanic.py",
"line_end": 137,
"line_start": 122,
"name": "blueprint",
"type": "function"
}
] | 2 |
sanic-org__sanic__3ea1a804__8 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | serve | sanic/server.py | 215 | 294 | [
{
"decorator_line": 201,
"file_path": "sanic/server.py",
"line_end": 212,
"line_start": 201,
"name": "trigger_events",
"type": "function"
},
{
"decorator_line": 19,
"file_path": "sanic/server.py",
"line_end": 20,
"line_start": 19,
"name": "Signal",
"type": "class"... | 3 |
sanic-org__sanic__3ea1a804__9 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | handler | tests/test_requests.py | 55 | 56 | [
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
}
] | 1 |
sanic-org__sanic__3ea1a804__10 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_utf8_response | tests/test_utf8.py | 21 | 29 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
}
] | 2 |
sanic-org__sanic__3ea1a804__11 | sanic-org/sanic | 3ea1a804963cc17e9e0ac6469ed58a97a3a3d73c | test_bp_middleware | tests/test_blueprints.py | 62 | 79 | [
{
"decorator_line": 19,
"file_path": "sanic/sanic.py",
"line_end": 356,
"line_start": 19,
"name": "Sanic",
"type": "class"
},
{
"decorator_line": 43,
"file_path": "sanic/sanic.py",
"line_end": 60,
"line_start": 43,
"name": "route",
"type": "function"
},
{
... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.