Skip to content

Commit

Permalink
Fixed: f-string formatting
Browse files Browse the repository at this point in the history
Also added Andrew Hankinson to the authors list in pyproject.toml
  • Loading branch information
ahankinson committed Aug 14, 2024
1 parent 973ccf4 commit ee450a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edtf/natlang/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def text_to_edtf(text: str) -> Optional[str]:
r2 = text_to_edtf_date(d2)

if r1 and r2:
result = r1 + "/" + r2
result = f"{r1}/{r2}"
return result

# is it an either/or year "1838/1862" - that has a different
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ authors = [
{ name = "Mark Finger" },
{ name = "Sabine Müller" },
{ name = "Cole Crawford" },
{ name = "Klaus Rettinghaus" }
{ name = "Klaus Rettinghaus" },
{ name = "Andrew Hankinson", email = "andrew.hankinson@rism.digital" },
]
maintainers = [
{ name = "The Interaction Consortium", email = "studio@interaction.net.au" }
Expand Down

10 comments on commit ee450a5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.891s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 6.834s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.545s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 5.447s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.787s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: ee450a5 Previous: 130898d Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 5851235.735517878 iter/sec (stddev: 1.0490226532047043e-7) 81394.45744694406 iter/sec (stddev: 0.0000032717905653873043) 0.013910644029066799
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 5720904.122828216 iter/sec (stddev: 1.24418537286428e-8) 7445.171941836065 iter/sec (stddev: 0.00003104281878672401) 0.001301397782935651
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 5600448.215305831 iter/sec (stddev: 1.3804351260865897e-7) 10842.652358046738 iter/sec (stddev: 0.000006440741023795155) 0.0019360329640070852
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 5767397.465661647 iter/sec (stddev: 8.598200167066771e-9) 7030.14014217851 iter/sec (stddev: 0.000008864809336415084) 0.0012189449719800089
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 5491857.010599037 iter/sec (stddev: 1.4617403738577427e-7) 12525.697394157047 iter/sec (stddev: 0.000008607843055212864) 0.0022807763148208365
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 5593100.998228934 iter/sec (stddev: 2.3736692135765166e-7) 9058.2078427708 iter/sec (stddev: 0.00000542399616390203) 0.0016195323212720636
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5712173.764609944 iter/sec (stddev: 5.5490107252495e-8) 5710.4841596322185 iter/sec (stddev: 0.000007128316894004964) 0.0009997042098074478
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 5460923.615984613 iter/sec (stddev: 2.1307301355120234e-7) 7738.470177772395 iter/sec (stddev: 0.000009623739142376481) 0.0014170625194465636
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 5602701.479023291 iter/sec (stddev: 1.3373566202266125e-7) 48297.62752908792 iter/sec (stddev: 0.00000129761878541523) 0.008620417794864837
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 5662114.138126655 iter/sec (stddev: 1.9056711156771374e-7) 43084.698581168355 iter/sec (stddev: 0.000001212194642143906) 0.007609295314457083
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 5334320.924466454 iter/sec (stddev: 6.476330192099129e-8) 24607.00374271253 iter/sec (stddev: 0.00000245367472939957) 0.004612959004744124
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 148.64736387394026 iter/sec (stddev: 0.0006627288454175869) 164.9363980308047 iter/sec (stddev: 0.000379707523011418) 1.11
edtf/parser/tests.py::test_benchmark_parser[2008-12] 151.13119566905397 iter/sec (stddev: 0.002479650879597382) 170.2515032437556 iter/sec (stddev: 0.001614170183592788) 1.13
edtf/parser/tests.py::test_benchmark_parser[2008] 183.101929096937 iter/sec (stddev: 0.002595243566082277) 208.4538525844927 iter/sec (stddev: 0.00141884187254005) 1.14
edtf/parser/tests.py::test_benchmark_parser[-0999] 184.09057524138575 iter/sec (stddev: 0.0016202456935125408) 204.212518172664 iter/sec (stddev: 0.0015378808340083176) 1.11
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 129.16412080468288 iter/sec (stddev: 0.002885636134587577) 146.14884607728192 iter/sec (stddev: 0.0015533510887726103) 1.13
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 113.00753162434827 iter/sec (stddev: 0.002017757232246368) 123.07414995094676 iter/sec (stddev: 0.0016475609442951566) 1.09
edtf/parser/tests.py::test_benchmark_parser[/2006] 308.34084301547875 iter/sec (stddev: 0.00014978832168234646) 330.30157071330814 iter/sec (stddev: 0.00016805965780808122) 1.07
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 204.4838515800418 iter/sec (stddev: 0.0015631765924541802) 225.39161050913356 iter/sec (stddev: 0.0009823667669829155) 1.10
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 29.99201444405994 iter/sec (stddev: 0.0007483011283899443) 32.117246433445395 iter/sec (stddev: 0.002968671748682928) 1.07
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 419.5941284533924 iter/sec (stddev: 0.00008142590175287338) 447.5911770286442 iter/sec (stddev: 0.00007934912987675695) 1.07
edtf/parser/tests.py::test_benchmark_parser[2001-29] 108.9167137440675 iter/sec (stddev: 0.0028468067472225346) 118.98927157421826 iter/sec (stddev: 0.0027875538096899075) 1.09

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: ee450a5 Previous: 130898d Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 5317489.548803515 iter/sec (stddev: 7.663143568897104e-8) 81394.45744694406 iter/sec (stddev: 0.0000032717905653873043) 0.015306933224769304
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 5310139.614619111 iter/sec (stddev: 1.4434813061970295e-7) 7445.171941836065 iter/sec (stddev: 0.00003104281878672401) 0.001402067079618602
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 5204457.644283134 iter/sec (stddev: 2.8535745694747644e-7) 10842.652358046738 iter/sec (stddev: 0.000006440741023795155) 0.0020833395329784097
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 5328604.993212183 iter/sec (stddev: 1.6038802059214702e-8) 7030.14014217851 iter/sec (stddev: 0.000008864809336415084) 0.0013193209388074026
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 5295365.534944364 iter/sec (stddev: 1.3125406299900654e-8) 12525.697394157047 iter/sec (stddev: 0.000008607843055212864) 0.0023654075080368647
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 5253403.1884815 iter/sec (stddev: 1.7057787615467103e-7) 9058.2078427708 iter/sec (stddev: 0.00000542399616390203) 0.0017242552147209323
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5318878.843796536 iter/sec (stddev: 1.6085118014777674e-8) 5710.4841596322185 iter/sec (stddev: 0.000007128316894004964) 0.001073625537888011
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 5327514.429718736 iter/sec (stddev: 1.0180424462817024e-8) 7738.470177772395 iter/sec (stddev: 0.000009623739142376481) 0.0014525479526821187
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 5429426.718492283 iter/sec (stddev: 7.353231095515914e-8) 48297.62752908792 iter/sec (stddev: 0.00000129761878541523) 0.008895529865904491
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 5136172.32534235 iter/sec (stddev: 1.7912184749949438e-7) 43084.698581168355 iter/sec (stddev: 0.000001212194642143906) 0.008388483845953624
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 5384132.278951038 iter/sec (stddev: 3.1606528124392315e-8) 24607.00374271253 iter/sec (stddev: 0.00000245367472939957) 0.004570282167641429
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 161.86946783864082 iter/sec (stddev: 0.0005375120850434576) 164.9363980308047 iter/sec (stddev: 0.000379707523011418) 1.02
edtf/parser/tests.py::test_benchmark_parser[2008-12] 169.7149843581199 iter/sec (stddev: 0.0018050967265309849) 170.2515032437556 iter/sec (stddev: 0.001614170183592788) 1.00
edtf/parser/tests.py::test_benchmark_parser[2008] 205.259689748703 iter/sec (stddev: 0.001539827279538098) 208.4538525844927 iter/sec (stddev: 0.00141884187254005) 1.02
edtf/parser/tests.py::test_benchmark_parser[-0999] 202.8068613346347 iter/sec (stddev: 0.001427755213243496) 204.212518172664 iter/sec (stddev: 0.0015378808340083176) 1.01
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 140.89459531471533 iter/sec (stddev: 0.002766222797039032) 146.14884607728192 iter/sec (stddev: 0.0015533510887726103) 1.04
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 119.75999277555465 iter/sec (stddev: 0.00210864019822959) 123.07414995094676 iter/sec (stddev: 0.0016475609442951566) 1.03
edtf/parser/tests.py::test_benchmark_parser[/2006] 330.51313248318934 iter/sec (stddev: 0.0006022507399260728) 330.30157071330814 iter/sec (stddev: 0.00016805965780808122) 1.00
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 227.01777011502924 iter/sec (stddev: 0.0011068868300206237) 225.39161050913356 iter/sec (stddev: 0.0009823667669829155) 0.99
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 32.52879493531559 iter/sec (stddev: 0.003155868947380326) 32.117246433445395 iter/sec (stddev: 0.002968671748682928) 0.99
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 465.70320008837405 iter/sec (stddev: 0.00007275358116793155) 447.5911770286442 iter/sec (stddev: 0.00007934912987675695) 0.96
edtf/parser/tests.py::test_benchmark_parser[2001-29] 117.29894179541017 iter/sec (stddev: 0.002060732166861203) 118.98927157421826 iter/sec (stddev: 0.0027875538096899075) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: ee450a5 Previous: 130898d Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 5678425.542559341 iter/sec (stddev: 2.4188181371362454e-8) 81394.45744694406 iter/sec (stddev: 0.0000032717905653873043) 0.014333983396788277
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 5563931.154279098 iter/sec (stddev: 1.2865587593448212e-8) 7445.171941836065 iter/sec (stddev: 0.00003104281878672401) 0.0013381135990710715
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 5536518.121484146 iter/sec (stddev: 9.511172113102619e-9) 10842.652358046738 iter/sec (stddev: 0.000006440741023795155) 0.0019583883083435483
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 5656070.234047657 iter/sec (stddev: 1.0102154672711545e-8) 7030.14014217851 iter/sec (stddev: 0.000008864809336415084) 0.0012429372075083882
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 5634936.768143448 iter/sec (stddev: 9.950614008130703e-9) 12525.697394157047 iter/sec (stddev: 0.000008607843055212864) 0.002222863877545144
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 5661105.283808801 iter/sec (stddev: 9.334907874782085e-9) 9058.2078427708 iter/sec (stddev: 0.00000542399616390203) 0.0016000776153515417
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5713697.851660901 iter/sec (stddev: 1.9350376139638297e-8) 5710.4841596322185 iter/sec (stddev: 0.000007128316894004964) 0.000999437546031989
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 5706896.419493033 iter/sec (stddev: 9.72058670302287e-9) 7738.470177772395 iter/sec (stddev: 0.000009623739142376481) 0.001355985742327497
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 5657066.285224632 iter/sec (stddev: 9.139461812601757e-8) 48297.62752908792 iter/sec (stddev: 0.00000129761878541523) 0.008537574971542004
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 5607156.649052299 iter/sec (stddev: 2.1762882633780845e-8) 43084.698581168355 iter/sec (stddev: 0.000001212194642143906) 0.007683876388302862
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 5596139.553775294 iter/sec (stddev: 9.033609312187239e-9) 24607.00374271253 iter/sec (stddev: 0.00000245367472939957) 0.0043971390467044446
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 149.34145779825948 iter/sec (stddev: 0.0005542857245434673) 164.9363980308047 iter/sec (stddev: 0.000379707523011418) 1.10
edtf/parser/tests.py::test_benchmark_parser[2008-12] 152.62884291159108 iter/sec (stddev: 0.0023408081490719633) 170.2515032437556 iter/sec (stddev: 0.001614170183592788) 1.12
edtf/parser/tests.py::test_benchmark_parser[2008] 188.55351624120473 iter/sec (stddev: 0.0019239057138827477) 208.4538525844927 iter/sec (stddev: 0.00141884187254005) 1.11
edtf/parser/tests.py::test_benchmark_parser[-0999] 192.9298941019108 iter/sec (stddev: 0.0013442465867830513) 204.212518172664 iter/sec (stddev: 0.0015378808340083176) 1.06
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 130.10149843909534 iter/sec (stddev: 0.0019719308734394182) 146.14884607728192 iter/sec (stddev: 0.0015533510887726103) 1.12
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 102.6315282617882 iter/sec (stddev: 0.0018719065054731605) 123.07414995094676 iter/sec (stddev: 0.0016475609442951566) 1.20
edtf/parser/tests.py::test_benchmark_parser[/2006] 243.92990697227262 iter/sec (stddev: 0.001106332304835254) 330.30157071330814 iter/sec (stddev: 0.00016805965780808122) 1.35
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 198.91830883355743 iter/sec (stddev: 0.0013932647426599786) 225.39161050913356 iter/sec (stddev: 0.0009823667669829155) 1.13
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 21.009336717312312 iter/sec (stddev: 0.000496872268911976) 32.117246433445395 iter/sec (stddev: 0.002968671748682928) 1.53
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 413.67555014872283 iter/sec (stddev: 0.00010678417056707683) 447.5911770286442 iter/sec (stddev: 0.00007934912987675695) 1.08
edtf/parser/tests.py::test_benchmark_parser[2001-29] 108.98832752407485 iter/sec (stddev: 0.0024841352114831176) 118.98927157421826 iter/sec (stddev: 0.0027875538096899075) 1.09

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: ee450a5 Previous: 130898d Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 3318172.6213151747 iter/sec (stddev: 5.3790100053151846e-8) 81394.45744694406 iter/sec (stddev: 0.0000032717905653873043) 0.024529904479376648
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 3227179.3099875874 iter/sec (stddev: 5.537248132607791e-8) 7445.171941836065 iter/sec (stddev: 0.00003104281878672401) 0.00230702146570985
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 2805859.5091020144 iter/sec (stddev: 1.59458050891506e-7) 10842.652358046738 iter/sec (stddev: 0.000006440741023795155) 0.003864289114573956
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 3158998.5007312116 iter/sec (stddev: 1.9384016871083158e-7) 7030.14014217851 iter/sec (stddev: 0.000008864809336415084) 0.002225433199968676
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 3248076.7714677206 iter/sec (stddev: 3.692147033702478e-8) 12525.697394157047 iter/sec (stddev: 0.000008607843055212864) 0.0038563427761890657
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 3248196.3411909826 iter/sec (stddev: 5.13581092664569e-8) 9058.2078427708 iter/sec (stddev: 0.00000542399616390203) 0.0027886885185793666
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 3270990.156572031 iter/sec (stddev: 4.148140332426008e-8) 5710.4841596322185 iter/sec (stddev: 0.000007128316894004964) 0.001745796803502691
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 3302593.63761174 iter/sec (stddev: 4.829853896981572e-8) 7738.470177772395 iter/sec (stddev: 0.000009623739142376481) 0.0023431493628651343
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 3256453.0558983716 iter/sec (stddev: 9.809283454887582e-8) 48297.62752908792 iter/sec (stddev: 0.00000129761878541523) 0.014831359979719974
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 3239500.7485098336 iter/sec (stddev: 9.188488688131715e-8) 43084.698581168355 iter/sec (stddev: 0.000001212194642143906) 0.013299795840759495
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 3229148.251901257 iter/sec (stddev: 8.562351479736288e-8) 24607.00374271253 iter/sec (stddev: 0.00000245367472939957) 0.007620276872771149
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 117.67017794813364 iter/sec (stddev: 0.0008325132957288464) 164.9363980308047 iter/sec (stddev: 0.000379707523011418) 1.40
edtf/parser/tests.py::test_benchmark_parser[2008-12] 126.23814323062017 iter/sec (stddev: 0.0019387787828066408) 170.2515032437556 iter/sec (stddev: 0.001614170183592788) 1.35
edtf/parser/tests.py::test_benchmark_parser[2008] 157.55534764348445 iter/sec (stddev: 0.0015486911569259822) 208.4538525844927 iter/sec (stddev: 0.00141884187254005) 1.32
edtf/parser/tests.py::test_benchmark_parser[-0999] 158.35485493111742 iter/sec (stddev: 0.001796882486203754) 204.212518172664 iter/sec (stddev: 0.0015378808340083176) 1.29
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 103.98076005376096 iter/sec (stddev: 0.002427230470164349) 146.14884607728192 iter/sec (stddev: 0.0015533510887726103) 1.41
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 84.6272154773956 iter/sec (stddev: 0.002181122118088222) 123.07414995094676 iter/sec (stddev: 0.0016475609442951566) 1.45
edtf/parser/tests.py::test_benchmark_parser[/2006] 195.25064127553625 iter/sec (stddev: 0.001194982520616449) 330.30157071330814 iter/sec (stddev: 0.00016805965780808122) 1.69
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 162.17467237035402 iter/sec (stddev: 0.0004821257150349412) 225.39161050913356 iter/sec (stddev: 0.0009823667669829155) 1.39
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 16.49863668327959 iter/sec (stddev: 0.006690167512217106) 32.117246433445395 iter/sec (stddev: 0.002968671748682928) 1.95
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 328.44797803637186 iter/sec (stddev: 0.0000929072356674097) 447.5911770286442 iter/sec (stddev: 0.00007934912987675695) 1.36
edtf/parser/tests.py::test_benchmark_parser[2001-29] 90.9804547128087 iter/sec (stddev: 0.002039539903750867) 118.98927157421826 iter/sec (stddev: 0.0027875538096899075) 1.31

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: ee450a5 Previous: 130898d Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 5066500.493335835 iter/sec (stddev: 6.106077789743946e-8) 81394.45744694406 iter/sec (stddev: 0.0000032717905653873043) 0.016065222445750347
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 4903363.695619213 iter/sec (stddev: 1.4583839014739374e-7) 7445.171941836065 iter/sec (stddev: 0.00003104281878672401) 0.0015183805248808622
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 4795106.797047597 iter/sec (stddev: 1.1194508076658382e-7) 10842.652358046738 iter/sec (stddev: 0.000006440741023795155) 0.0022611910051143565
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 4900660.768634846 iter/sec (stddev: 3.124319066413982e-8) 7030.14014217851 iter/sec (stddev: 0.000008864809336415084) 0.0014345290306916841
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 4930471.733109013 iter/sec (stddev: 9.473591563301371e-9) 12525.697394157047 iter/sec (stddev: 0.000008607843055212864) 0.002540466322937157
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 4874043.500928188 iter/sec (stddev: 8.586825264495767e-9) 9058.2078427708 iter/sec (stddev: 0.00000542399616390203) 0.0018584585552110485
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 4845728.239603279 iter/sec (stddev: 1.0508666458061456e-8) 5710.4841596322185 iter/sec (stddev: 0.000007128316894004964) 0.0011784573705478244
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 4764946.785535375 iter/sec (stddev: 1.4460460875083618e-7) 7738.470177772395 iter/sec (stddev: 0.000009623739142376481) 0.001624041259235789
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 4794472.635479316 iter/sec (stddev: 2.1097631985962364e-8) 48297.62752908792 iter/sec (stddev: 0.00000129761878541523) 0.010073605837622948
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 4901963.747170066 iter/sec (stddev: 1.1507159193510893e-7) 43084.698581168355 iter/sec (stddev: 0.000001212194642143906) 0.008789273198122163
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 5001793.847983367 iter/sec (stddev: 1.364863983811839e-8) 24607.00374271253 iter/sec (stddev: 0.00000245367472939957) 0.004919635732814865
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 158.8416683680682 iter/sec (stddev: 0.0005535494586885387) 164.9363980308047 iter/sec (stddev: 0.000379707523011418) 1.04
edtf/parser/tests.py::test_benchmark_parser[2008-12] 158.81808320463566 iter/sec (stddev: 0.0025012743486035084) 170.2515032437556 iter/sec (stddev: 0.001614170183592788) 1.07
edtf/parser/tests.py::test_benchmark_parser[2008] 199.09438398511352 iter/sec (stddev: 0.0018161291003721608) 208.4538525844927 iter/sec (stddev: 0.00141884187254005) 1.05
edtf/parser/tests.py::test_benchmark_parser[-0999] 191.7709095326225 iter/sec (stddev: 0.002055859643343606) 204.212518172664 iter/sec (stddev: 0.0015378808340083176) 1.06
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 137.1482873018702 iter/sec (stddev: 0.0023385714386379504) 146.14884607728192 iter/sec (stddev: 0.0015533510887726103) 1.07
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 114.3210894627966 iter/sec (stddev: 0.002358312130738448) 123.07414995094676 iter/sec (stddev: 0.0016475609442951566) 1.08
edtf/parser/tests.py::test_benchmark_parser[/2006] 322.9683868278328 iter/sec (stddev: 0.00012106137926049441) 330.30157071330814 iter/sec (stddev: 0.00016805965780808122) 1.02
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 210.53286655414757 iter/sec (stddev: 0.0015363414416605377) 225.39161050913356 iter/sec (stddev: 0.0009823667669829155) 1.07
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 30.254627985053116 iter/sec (stddev: 0.0054447304580749435) 32.117246433445395 iter/sec (stddev: 0.002968671748682928) 1.06
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 435.8699365068632 iter/sec (stddev: 0.0001274763146109083) 447.5911770286442 iter/sec (stddev: 0.00007934912987675695) 1.03
edtf/parser/tests.py::test_benchmark_parser[2001-29] 113.47559618839698 iter/sec (stddev: 0.0026962010303995102) 118.98927157421826 iter/sec (stddev: 0.0027875538096899075) 1.05

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.