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
tiangolo__fastapi__c26f1760__12
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
include_router
fastapi/routing.py
429
485
[ { "decorator_line": 317, "file_path": "fastapi/routing.py", "line_end": 364, "line_start": 317, "name": "add_api_route", "type": "function" }, { "decorator_line": 416, "file_path": "fastapi/routing.py", "line_end": 420, "line_start": 416, "name": "add_api_websocket_ro...
2
tiangolo__fastapi__c26f1760__13
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
get_user
docs/src/security/tutorial003.py
43
46
[ { "decorator_line": 39, "file_path": "docs/src/security/tutorial003.py", "line_end": 40, "line_start": 39, "name": "UserInDB", "type": "class" } ]
1
tiangolo__fastapi__c26f1760__14
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
test_encode_dictable
tests/test_jsonable_encoder.py
71
74
[ { "decorator_line": 19, "file_path": "tests/test_jsonable_encoder.py", "line_end": 21, "line_start": 19, "name": "DictablePerson", "type": "class" }, { "decorator_line": 24, "file_path": "tests/test_jsonable_encoder.py", "line_end": 26, "line_start": 24, "name": "Dict...
2
tiangolo__fastapi__c26f1760__15
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
get_current_user
tests/test_security_oauth2_optional.py
26
30
[ { "decorator_line": 22, "file_path": "tests/test_security_oauth2_optional.py", "line_end": 23, "line_start": 22, "name": "User", "type": "class" } ]
1
tiangolo__fastapi__c26f1760__16
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
fake_save_user
docs/src/extra_models/tutorial001.py
31
35
[ { "decorator_line": 27, "file_path": "docs/src/extra_models/tutorial001.py", "line_end": 28, "line_start": 27, "name": "fake_password_hasher", "type": "function" }, { "decorator_line": 20, "file_path": "docs/src/extra_models/tutorial001.py", "line_end": 24, "line_start": ...
2
tiangolo__fastapi__c26f1760__17
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
update_item
docs/src/body_updates/tutorial002.py
30
36
[ { "decorator_line": 9, "file_path": "docs/src/body_updates/tutorial002.py", "line_end": 14, "line_start": 9, "name": "Item", "type": "class" } ]
1
tiangolo__fastapi__c26f1760__18
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
login_for_access_token
docs/src/security/tutorial004.py
116
128
[ { "decorator_line": 69, "file_path": "docs/src/security/tutorial004.py", "line_end": 75, "line_start": 69, "name": "authenticate_user", "type": "function" }, { "decorator_line": 78, "file_path": "docs/src/security/tutorial004.py", "line_end": 86, "line_start": 78, "na...
2
tiangolo__fastapi__c26f1760__19
tiangolo/fastapi
c26f1760d474f8240d2311ae16a9f17c9fbbae9b
get_current_user
tests/test_security_api_key_query_optional.py
16
20
[ { "decorator_line": 12, "file_path": "tests/test_security_api_key_query_optional.py", "line_end": 13, "line_start": 12, "name": "User", "type": "class" } ]
1
statsmodels__statsmodels__66615af5__0
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
setupClass
statsmodels/base/tests/test_data.py
63
67
[ { "decorator_line": 17, "file_path": "statsmodels/base/tests/test_data.py", "line_end": 29, "line_start": 18, "name": "setupClass", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__1
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
generate_princomp
statsmodels/sandbox/tests/maketests_mlabwrap.py
144
171
[ { "decorator_line": 114, "file_path": "statsmodels/sandbox/tests/maketests_mlabwrap.py", "line_end": 142, "line_start": 114, "name": "HoldIt", "type": "class" }, { "decorator_line": 117, "file_path": "statsmodels/sandbox/tests/maketests_mlabwrap.py", "line_end": 142, "lin...
2
statsmodels__statsmodels__66615af5__2
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
iterative_fit
statsmodels/regression/linear_model.py
595
620
[ { "decorator_line": 154, "file_path": "statsmodels/regression/linear_model.py", "line_end": 162, "line_start": 154, "name": "initialize", "type": "function" }, { "decorator_line": 187, "file_path": "statsmodels/regression/linear_model.py", "line_end": 250, "line_start": 1...
3
statsmodels__statsmodels__66615af5__3
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
ftest_summary
statsmodels/sandbox/regression/onewaygls.py
239
282
[ { "decorator_line": 163, "file_path": "statsmodels/sandbox/regression/onewaygls.py", "line_end": 225, "line_start": 163, "name": "fitjoint", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__4
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
example2
statsmodels/sandbox/regression/kernridgeregress_class.py
168
197
[ { "decorator_line": 20, "file_path": "statsmodels/sandbox/regression/kernridgeregress_class.py", "line_end": 129, "line_start": 20, "name": "GaussProcess", "type": "class" }, { "decorator_line": 114, "file_path": "statsmodels/sandbox/regression/kernridgeregress_class.py", "li...
2
statsmodels__statsmodels__66615af5__5
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
cov_nw_panel
statsmodels/sandbox/panel/sandwich_covariance.py
701
718
[ { "decorator_line": 286, "file_path": "statsmodels/sandbox/panel/sandwich_covariance.py", "line_end": 304, "line_start": 286, "name": "weights_bartlett", "type": "function" }, { "decorator_line": 684, "file_path": "statsmodels/sandbox/panel/sandwich_covariance.py", "line_end"...
3
statsmodels__statsmodels__66615af5__6
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
load_pandas
statsmodels/datasets/elnino/data.py
62
65
[ { "decorator_line": 43, "file_path": "statsmodels/datasets/elnino/data.py", "line_end": 59, "line_start": 43, "name": "load", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__7
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
fit
statsmodels/discrete/discrete_model.py
1,424
1,431
[ { "decorator_line": 418, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 424, "line_start": 418, "name": "fit", "type": "function" }, { "decorator_line": 432, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 639, "line_start": 432, ...
2
statsmodels__statsmodels__66615af5__8
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
irf_grid_plot
statsmodels/tsa/vector_ar/plotting.py
172
228
[ { "decorator_line": 231, "file_path": "statsmodels/tsa/vector_ar/plotting.py", "line_end": 253, "line_start": 231, "name": "_get_irf_plot_config", "type": "function" }, { "decorator_line": 160, "file_path": "statsmodels/tsa/vector_ar/plotting.py", "line_end": 167, "line_s...
3
statsmodels__statsmodels__66615af5__9
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
loglike
statsmodels/discrete/discrete_model.py
1,092
1,115
[ { "decorator_line": 1071, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 1090, "line_start": 1071, "name": "cdf", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__10
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
fit_target_df
statsmodels/sandbox/bspline.py
573
628
[ { "decorator_line": 418, "file_path": "statsmodels/sandbox/bspline.py", "line_end": 513, "line_start": 418, "name": "fit", "type": "function" }, { "decorator_line": 559, "file_path": "statsmodels/sandbox/bspline.py", "line_end": 571, "line_start": 559, "name": "trace"...
2
statsmodels__statsmodels__66615af5__11
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
fit
statsmodels/discrete/discrete_model.py
278
284
[ { "decorator_line": 219, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 234, "line_start": 219, "name": "fit", "type": "function" }, { "decorator_line": 1742, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 1771, "line_start": 1742, ...
3
statsmodels__statsmodels__66615af5__12
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
test_acorr_ljung_box
statsmodels/stats/tests/test_diagnostic.py
275
306
[ { "decorator_line": 30, "file_path": "statsmodels/stats/tests/test_diagnostic.py", "line_end": 32, "line_start": 30, "name": "compare_t_est", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__13
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
test_basic_4
statsmodels/stats/descriptivestats.py
323
326
[ { "decorator_line": 29, "file_path": "statsmodels/stats/descriptivestats.py", "line_end": 275, "line_start": 29, "name": "Describe", "type": "class" }, { "decorator_line": 128, "file_path": "statsmodels/stats/descriptivestats.py", "line_end": 217, "line_start": 128, "...
2
statsmodels__statsmodels__66615af5__14
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
summary
statsmodels/stats/descriptivestats.py
128
217
[ { "decorator_line": 90, "file_path": "statsmodels/stats/descriptivestats.py", "line_end": 99, "line_start": 90, "name": "_array_typer", "type": "function" }, { "decorator_line": 101, "file_path": "statsmodels/stats/descriptivestats.py", "line_end": 125, "line_start": 101,...
3
statsmodels__statsmodels__66615af5__15
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
date_parser
statsmodels/tsa/base/datetools.py
90
114
[ { "decorator_line": 86, "file_path": "statsmodels/tsa/base/datetools.py", "line_end": 88, "line_start": 86, "name": "_is_leap", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__16
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
cov
statsmodels/tsa/vector_ar/irf.py
245
265
[ { "decorator_line": 557, "file_path": "statsmodels/tsa/vector_ar/irf.py", "line_end": 578, "line_start": 557, "name": "_orth_cov", "type": "function" }, { "decorator_line": 667, "file_path": "statsmodels/tsa/vector_ar/irf.py", "line_end": 669, "line_start": 667, "name...
2
statsmodels__statsmodels__66615af5__17
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
plot4
statsmodels/tsa/descriptivestats.py
52
79
[ { "decorator_line": 41, "file_path": "statsmodels/tsa/descriptivestats.py", "line_end": 42, "line_start": 41, "name": "acf", "type": "function" }, { "decorator_line": 44, "file_path": "statsmodels/tsa/descriptivestats.py", "line_end": 45, "line_start": 44, "name": "pa...
3
statsmodels__statsmodels__66615af5__18
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
loglikeobs
statsmodels/discrete/discrete_model.py
733
755
[ { "decorator_line": 665, "file_path": "statsmodels/discrete/discrete_model.py", "line_end": 685, "line_start": 665, "name": "cdf", "type": "function" } ]
1
statsmodels__statsmodels__66615af5__19
statsmodels/statsmodels
66615af59761e88492d8501b9762c3712d7795fc
smoothvar
statsmodels/sandbox/nonparametric/kernels.py
306
321
[ { "decorator_line": 138, "file_path": "statsmodels/sandbox/nonparametric/kernels.py", "line_end": 158, "line_start": 138, "name": "inDomain", "type": "function" }, { "decorator_line": 288, "file_path": "statsmodels/sandbox/nonparametric/kernels.py", "line_end": 304, "line...
2
bridgecrewio__checkov__819facbb__0
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_failure
tests/terraform/checks/resource/gcp/test_GoogleContainerClusterMonitoringEnabled.py
8
12
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/gcp/GoogleContainerClusterMonitoringEnabled.py", "line_end": 22, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__1
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_enrich_definition_block
tests/terraform/context_parsers/test_parser_registry.py
16
20
[ { "decorator_line": 12, "file_path": "checkov/terraform/context_parsers/registry.py", "line_end": 13, "line_start": 12, "name": "register", "type": "function" }, { "decorator_line": 15, "file_path": "checkov/terraform/context_parsers/registry.py", "line_end": 25, "line_st...
2
bridgecrewio__checkov__819facbb__2
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
run
checkov/terraform/context_parsers/base_parser.py
71
75
[ { "decorator_line": 34, "file_path": "checkov/terraform/context_parsers/base_parser.py", "line_end": 40, "line_start": 34, "name": "_read_file_lines", "type": "function" }, { "decorator_line": 77, "file_path": "checkov/terraform/context_parsers/base_parser.py", "line_end": 79...
3
bridgecrewio__checkov__819facbb__3
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_failure
tests/terraform/checks/resource/aws/test_ALBListenerHTTPS.py
22
25
[ { "decorator_line": 13, "file_path": "checkov/terraform/checks/resource/aws/ALBListenerHTTPS.py", "line_end": 31, "line_start": 13, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__4
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_enrich_definition_block
tests/terraform/context_parsers/test_base_parser.py
18
24
[ { "decorator_line": 12, "file_path": "checkov/terraform/context_parsers/registry.py", "line_end": 13, "line_start": 12, "name": "register", "type": "function" }, { "decorator_line": 15, "file_path": "checkov/terraform/context_parsers/registry.py", "line_end": 25, "line_st...
2
bridgecrewio__checkov__819facbb__5
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_doc_generator_initiation
tests/terraform/util/test_doc_generator.py
7
9
[ { "decorator_line": 13, "file_path": "checkov/terraform/util/docs_generator.py", "line_end": 18, "line_start": 13, "name": "get_checks", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__6
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
load_external_checks
checkov/terraform/checks/resource/registry.py
58
89
[ { "decorator_line": 42, "file_path": "checkov/terraform/checks/resource/registry.py", "line_end": 50, "line_start": 42, "name": "_directory_has_init_py", "type": "function" }, { "decorator_line": 52, "file_path": "checkov/terraform/checks/resource/registry.py", "line_end": 56...
2
bridgecrewio__checkov__819facbb__7
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
print_junit_xml
checkov/terraform/output/report.py
82
84
[ { "decorator_line": 86, "file_path": "checkov/terraform/output/report.py", "line_end": 109, "line_start": 86, "name": "get_test_suites", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__8
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
enrich_definition_block
checkov/terraform/context_parsers/parsers/resource_context_parser.py
8
31
[ { "decorator_line": 30, "file_path": "checkov/terraform/context_parsers/base_parser.py", "line_end": 32, "line_start": 30, "name": "_filter_file_lines", "type": "function" }, { "decorator_line": 56, "file_path": "checkov/terraform/context_parsers/base_parser.py", "line_end": ...
2
bridgecrewio__checkov__819facbb__9
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_unknown
tests/terraform/checks/resource/aws/test_ElasticsearchNodeToNodeEncryption.py
8
37
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/aws/ElasticsearchNodeToNodeEncryption.py", "line_end": 35, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__10
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_failure
tests/terraform/checks/resource/aws/test_EBSSnapshotEncryption.py
8
11
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/aws/EBSSnapshotEncryption.py", "line_end": 22, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__11
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_failure
tests/terraform/checks/resource/aws/test_ElasticsearchNodeToNodeEncryption.py
39
68
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/aws/ElasticsearchNodeToNodeEncryption.py", "line_end": 35, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__12
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_success
tests/terraform/checks/resource/aws/test_EBSEncryption.py
13
16
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/aws/EBSEncryption.py", "line_end": 22, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__13
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_registry_external_check_load
tests/terraform/checks/resource/registry/test_registry.py
21
33
[ { "decorator_line": 58, "file_path": "checkov/terraform/checks/resource/registry.py", "line_end": 89, "line_start": 58, "name": "load_external_checks", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__14
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
get_dict
checkov/terraform/output/report.py
47
56
[ { "decorator_line": 35, "file_path": "checkov/terraform/output/report.py", "line_end": 42, "line_start": 35, "name": "get_summary", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__15
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_success
tests/terraform/checks/resource/aws/test_RDSEncryption.py
13
16
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/aws/RDSEncryption.py", "line_end": 23, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__16
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_failure
tests/terraform/checks/resource/gcp/test_GoogleContainerClusterClientCertificateEnabled.py
8
12
[ { "decorator_line": 11, "file_path": "checkov/terraform/checks/resource/gcp/GoogleContainerClusterClientCertificateEnabled.py", "line_end": 22, "line_start": 11, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__17
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_success
tests/terraform/checks/resource/gcp/test_GoogleContainerClusterNetworkPolicyEnabled.py
13
16
[ { "decorator_line": 11, "file_path": "checkov/terraform/checks/resource/gcp/GoogleContainerClusterNetworkPolicyEnabled.py", "line_end": 22, "line_start": 11, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__18
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
test_success
tests/terraform/checks/resource/gcp/test_GKEClusterLogging.py
17
23
[ { "decorator_line": 12, "file_path": "checkov/terraform/checks/resource/gcp/GKEClusterLogging.py", "line_end": 22, "line_start": 12, "name": "scan_resource_conf", "type": "function" } ]
1
bridgecrewio__checkov__819facbb__19
bridgecrewio/checkov
819facbbd362e8c7cc12171266a0c3172ecc4c12
scan
checkov/terraform/checks/resource/registry.py
23
40
[ { "decorator_line": 18, "file_path": "checkov/terraform/checks/resource/registry.py", "line_end": 21, "line_start": 18, "name": "get_checks", "type": "function" } ]
1
vacanza__python-holidays__dd63ad5e__0
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
setUp
tests.py
3,565
3,566
[ { "decorator_line": 3109, "file_path": "holidays.py", "line_end": 3110, "line_start": 3109, "name": "SI", "type": "class" } ]
1
vacanza__python-holidays__dd63ad5e__1
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_lee_jackson_day
tests.py
924
935
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 114, "file_path": "holidays.py", "line_end": 115, "line_start": 114, "name": "get_list", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__2
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_christmas_eve
tests.py
1,708
1,760
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" }, { "de...
3
vacanza__python-holidays__dd63ad5e__3
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
get_list
holidays.py
114
115
[ { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" } ]
1
vacanza__python-holidays__dd63ad5e__4
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_country
tests.py
260
278
[ { "decorator_line": 815, "file_path": "holidays.py", "line_end": 1302, "line_start": 815, "name": "UnitedStates", "type": "class" }, { "decorator_line": 591, "file_path": "holidays.py", "line_end": 592, "line_start": 591, "name": "CA", "type": "class" } ]
2
vacanza__python-holidays__dd63ad5e__5
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_append
tests.py
68
85
[ { "decorator_line": 27, "file_path": "holidays.py", "line_end": 160, "line_start": 27, "name": "HolidayBase", "type": "class" }, { "decorator_line": 96, "file_path": "holidays.py", "line_end": 106, "line_start": 96, "name": "update", "type": "function" }, { ...
3
vacanza__python-holidays__dd63ad5e__6
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_pioneer_day
tests.py
1,442
1,452
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" } ]
1
vacanza__python-holidays__dd63ad5e__7
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_all_holidays_present
tests.py
2,420
2,445
[ { "decorator_line": 1827, "file_path": "holidays.py", "line_end": 1828, "line_start": 1827, "name": "DE", "type": "class" }, { "decorator_line": 114, "file_path": "holidays.py", "line_end": 115, "line_start": 114, "name": "get_list", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__8
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
createHolidaySum
holidays.py
163
187
[ { "decorator_line": 30, "file_path": "holidays.py", "line_end": 41, "line_start": 30, "name": "__init__", "type": "function" }, { "decorator_line": 159, "file_path": "holidays.py", "line_end": 160, "line_start": 159, "name": "_populate", "type": "function" }, ...
3
vacanza__python-holidays__dd63ad5e__9
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_ascension_day
tests.py
873
875
[ { "decorator_line": 2450, "file_path": "holidays.py", "line_end": 2451, "line_start": 2450, "name": "NL", "type": "class" } ]
1
vacanza__python-holidays__dd63ad5e__10
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_setitem
tests.py
51
57
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__11
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_washingtons_birthday
tests.py
1,102
1,129
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" }, { "de...
3
vacanza__python-holidays__dd63ad5e__12
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
setUp
tests.py
398
399
[ { "decorator_line": 190, "file_path": "holidays.py", "line_end": 195, "line_start": 190, "name": "CountryHoliday", "type": "function" } ]
1
vacanza__python-holidays__dd63ad5e__13
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_thanksgiving_day
tests.py
1,643
1,691
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__14
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
append
holidays.py
108
109
[ { "decorator_line": 96, "file_path": "holidays.py", "line_end": 106, "line_start": 96, "name": "update", "type": "function" } ]
1
vacanza__python-holidays__dd63ad5e__15
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_columbus_day
tests.py
1,515
1,535
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" }, { "decorator_line": 111, "file_path": "holidays.py", "line_end": 112, "line_start": 111, "name": "get", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__16
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_all_souls_day
tests.py
1,609
1,613
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" } ]
1
vacanza__python-holidays__dd63ad5e__17
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_inheritance
tests.py
213
252
[ { "decorator_line": 829, "file_path": "holidays.py", "line_end": 1302, "line_start": 829, "name": "_populate", "type": "function" }, { "decorator_line": 117, "file_path": "holidays.py", "line_end": 120, "line_start": 117, "name": "pop", "type": "function" } ]
2
vacanza__python-holidays__dd63ad5e__18
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_primary_election_day
tests.py
1,341
1,348
[ { "decorator_line": 1305, "file_path": "holidays.py", "line_end": 1306, "line_start": 1305, "name": "US", "type": "class" } ]
1
vacanza__python-holidays__dd63ad5e__19
vacanza/python-holidays
dd63ad5eb6103fca577cad41be8eb7101829e566
test_all_holidays_present
tests.py
2,380
2,405
[ { "decorator_line": 1709, "file_path": "holidays.py", "line_end": 1710, "line_start": 1709, "name": "AU", "type": "class" }, { "decorator_line": 114, "file_path": "holidays.py", "line_end": 115, "line_start": 114, "name": "get_list", "type": "function" } ]
2
jupyterhub__zero-to-jupyterhub-k8s__6290e236__0
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
put
tests/conftest.py
44
46
[ { "decorator_line": 28, "file_path": "tests/conftest.py", "line_end": 30, "line_start": 28, "name": "_setup_kwargs", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__1
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
jupyter_user
tests/conftest.py
55
64
[ { "decorator_line": 40, "file_path": "tests/conftest.py", "line_end": 42, "line_start": 40, "name": "post", "type": "function" }, { "decorator_line": 32, "file_path": "tests/conftest.py", "line_end": 34, "line_start": 32, "name": "delete", "type": "function" } ]
2
jupyterhub__zero-to-jupyterhub-k8s__6290e236__2
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
handle_server
jupyterhub/files/hub/cull_idle_servers.py
115
189
[ { "decorator_line": 49, "file_path": "jupyterhub/files/hub/cull_idle_servers.py", "line_end": 60, "line_start": 49, "name": "parse_date", "type": "function" }, { "decorator_line": 63, "file_path": "jupyterhub/files/hub/cull_idle_servers.py", "line_end": 78, "line_start": ...
3
jupyterhub__zero-to-jupyterhub-k8s__6290e236__3
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
post
tests/conftest.py
40
42
[ { "decorator_line": 28, "file_path": "tests/conftest.py", "line_end": 30, "line_start": 28, "name": "_setup_kwargs", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__4
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
test_singleuser_netpol
tests/test_spawn.py
65
90
[ { "decorator_line": 93, "file_path": "tests/test_spawn.py", "line_end": 112, "line_start": 93, "name": "_wait_for_user_to_spawn", "type": "function" }, { "decorator_line": 115, "file_path": "tests/test_spawn.py", "line_end": 127, "line_start": 115, "name": "_delete_se...
2
jupyterhub__zero-to-jupyterhub-k8s__6290e236__5
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
lint
tools/templates/lint-and-validate.py
42
87
[ { "decorator_line": 28, "file_path": "tools/templates/lint-and-validate.py", "line_end": 40, "line_start": 28, "name": "check_call", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__6
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
cull_idle
jupyterhub/files/hub/cull_idle_servers.py
82
288
[ { "decorator_line": 49, "file_path": "jupyterhub/files/hub/cull_idle_servers.py", "line_end": 60, "line_start": 49, "name": "parse_date", "type": "function" }, { "decorator_line": 63, "file_path": "jupyterhub/files/hub/cull_idle_servers.py", "line_end": 78, "line_start": ...
2
jupyterhub__zero-to-jupyterhub-k8s__6290e236__7
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
api_request
tests/conftest.py
50
51
[ { "decorator_line": 24, "file_path": "tests/conftest.py", "line_end": 46, "line_start": 24, "name": "JupyterRequest", "type": "class" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__8
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
test_api_request_user_spawn
tests/test_spawn.py
49
60
[ { "decorator_line": 93, "file_path": "tests/test_spawn.py", "line_end": 112, "line_start": 93, "name": "_wait_for_user_to_spawn", "type": "function" }, { "decorator_line": 115, "file_path": "tests/test_spawn.py", "line_end": 127, "line_start": 115, "name": "_delete_se...
2
jupyterhub__zero-to-jupyterhub-k8s__6290e236__9
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
set_config_if_not_none
jupyterhub/files/hub/z2jh.py
71
78
[ { "decorator_line": 49, "file_path": "jupyterhub/files/hub/z2jh.py", "line_end": 68, "line_start": 49, "name": "get_config", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__10
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
delete
tests/conftest.py
32
34
[ { "decorator_line": 28, "file_path": "tests/conftest.py", "line_end": 30, "line_start": 28, "name": "_setup_kwargs", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__11
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
get
tests/conftest.py
36
38
[ { "decorator_line": 28, "file_path": "tests/conftest.py", "line_end": 30, "line_start": 28, "name": "_setup_kwargs", "type": "function" } ]
1
jupyterhub__zero-to-jupyterhub-k8s__6290e236__12
jupyterhub/zero-to-jupyterhub-k8s
6290e23602225b543850f5567c77ddd6c3662297
get_config
jupyterhub/files/hub/z2jh.py
49
68
[ { "decorator_line": 13, "file_path": "jupyterhub/files/hub/z2jh.py", "line_end": 29, "line_start": 14, "name": "_load_config", "type": "function" } ]
1
python__peps__0f222689__0
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
write_peps_json
pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py
54
59
[ { "decorator_line": 50, "file_path": "pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py", "line_end": 51, "line_start": 50, "name": "create_pep_json", "type": "function" } ]
1
python__peps__0f222689__1
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_create_pep_json
pep_sphinx_extensions/tests/pep_zero_generator/test_pep_index_generator.py
5
10
[ { "decorator_line": 26, "file_path": "pep_sphinx_extensions/pep_zero_generator/parser.py", "line_end": 163, "line_start": 26, "name": "PEP", "type": "class" }, { "decorator_line": 50, "file_path": "pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py", "line_end": ...
2
python__peps__0f222689__2
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
run_projects
pep-0465/scan-ops.py
108
116
[ { "decorator_line": 49, "file_path": "pep-0465/scan-ops.py", "line_end": 61, "line_start": 49, "name": "count_tree", "type": "function" }, { "decorator_line": 39, "file_path": "pep-0465/scan-ops.py", "line_end": 47, "line_start": 40, "name": "combine", "type": "fu...
3
python__peps__0f222689__3
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
invoke
pep-0505/find-pep505.py
339
341
[ { "decorator_line": 333, "file_path": "pep-0505/find-pep505.py", "line_end": 345, "line_start": 333, "name": "count_calls_decorator", "type": "function" } ]
1
python__peps__0f222689__4
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
make_callback
pep-0505/find-pep505.py
394
397
[ { "decorator_line": 333, "file_path": "pep-0505/find-pep505.py", "line_end": 345, "line_start": 333, "name": "count_calls_decorator", "type": "function" }, { "decorator_line": 374, "file_path": "pep-0505/find-pep505.py", "line_end": 390, "line_start": 374, "name": "lo...
2
python__peps__0f222689__5
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_pep_zero_writer_emit_title
pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py
16
28
[ { "decorator_line": 47, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 240, "line_start": 47, "name": "PEPZeroWriter", "type": "class" }, { "decorator_line": 95, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 98,...
3
python__peps__0f222689__6
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
emit_pep_row
pep_sphinx_extensions/pep_zero_generator/writer.py
75
81
[ { "decorator_line": 64, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 66, "line_start": 64, "name": "emit_text", "type": "function" } ]
1
python__peps__0f222689__7
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
emit_column_headers
pep_sphinx_extensions/pep_zero_generator/writer.py
83
93
[ { "decorator_line": 64, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 66, "line_start": 64, "name": "emit_text", "type": "function" }, { "decorator_line": 68, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 69, ...
2
python__peps__0f222689__8
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
check_headers
check-peps.py
130
164
[ { "decorator_line": 244, "file_path": "check-peps.py", "line_end": 252, "line_start": 244, "name": "_validate_pep_number", "type": "function" }, { "decorator_line": 231, "file_path": "check-peps.py", "line_end": 241, "line_start": 231, "name": "_validate_required_head...
3
python__peps__0f222689__9
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_pep_repr
pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py
22
25
[ { "decorator_line": 26, "file_path": "pep_sphinx_extensions/pep_zero_generator/parser.py", "line_end": 163, "line_start": 26, "name": "PEP", "type": "class" } ]
1
python__peps__0f222689__10
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_parse_authors
pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py
76
81
[ { "decorator_line": 19, "file_path": "pep_sphinx_extensions/pep_zero_generator/parser.py", "line_end": 23, "line_start": 20, "name": "_Author", "type": "class" }, { "decorator_line": 175, "file_path": "pep_sphinx_extensions/pep_zero_generator/parser.py", "line_end": 195, ...
2
python__peps__0f222689__11
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_pep_zero_writer_emit_text_newline
pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py
7
13
[ { "decorator_line": 47, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 240, "line_start": 47, "name": "PEPZeroWriter", "type": "class" }, { "decorator_line": 64, "file_path": "pep_sphinx_extensions/pep_zero_generator/writer.py", "line_end": 66,...
3
python__peps__0f222689__12
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_parse_authors_invalid
pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py
84
86
[ { "decorator_line": 175, "file_path": "pep_sphinx_extensions/pep_zero_generator/parser.py", "line_end": 195, "line_start": 175, "name": "_parse_author", "type": "function" } ]
1
python__peps__0f222689__13
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
apply
pep_sphinx_extensions/pep_processor/transforms/pep_footer.py
23
51
[ { "decorator_line": 54, "file_path": "pep_sphinx_extensions/pep_processor/transforms/pep_footer.py", "line_end": 58, "line_start": 54, "name": "_add_source_link", "type": "function" }, { "decorator_line": 61, "file_path": "pep_sphinx_extensions/pep_processor/transforms/pep_footer...
2
python__peps__0f222689__14
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_process_pretty_url_invalid
pep_sphinx_extensions/tests/pep_processor/transform/test_pep_headers.py
90
92
[ { "decorator_line": 272, "file_path": "pep_sphinx_extensions/pep_processor/transforms/pep_headers.py", "line_end": 280, "line_start": 272, "name": "_process_pretty_url", "type": "function" } ]
1
python__peps__0f222689__15
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
check_file
check-peps.py
111
119
[ { "decorator_line": 208, "file_path": "check-peps.py", "line_end": 223, "line_start": 208, "name": "_output_error", "type": "function" }, { "decorator_line": 122, "file_path": "check-peps.py", "line_end": 127, "line_start": 122, "name": "check_peps", "type": "func...
2
python__peps__0f222689__16
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_abbreviate_status_unknown
pep_sphinx_extensions/tests/pep_processor/transform/test_pep_headers.py
151
153
[ { "decorator_line": 288, "file_path": "pep_sphinx_extensions/pep_processor/transforms/pep_headers.py", "line_end": 295, "line_start": 288, "name": "_abbreviate_status", "type": "function" } ]
1
python__peps__0f222689__17
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_clock
pep-0418/clock_resolution.py
39
42
[ { "decorator_line": 7, "file_path": "pep-0418/clock_resolution.py", "line_end": 29, "line_start": 7, "name": "compute_resolution", "type": "function" }, { "decorator_line": 31, "file_path": "pep-0418/clock_resolution.py", "line_end": 37, "line_start": 31, "name": "for...
2
python__peps__0f222689__18
python/peps
0f2226896373c17d69d7ea7487c90a05f5dd3370
test_get_last_modified_timestamps
pep_sphinx_extensions/tests/pep_processor/transform/test_pep_footer.py
30
35
[ { "decorator_line": 73, "file_path": "pep_sphinx_extensions/pep_processor/transforms/pep_footer.py", "line_end": 101, "line_start": 73, "name": "_get_last_modified_timestamps", "type": "function" } ]
1