Skip to content

Commit

Permalink
Merge pull request #65 from rettinghaus/readme
Browse files Browse the repository at this point in the history
fix alerts formatting in readme
  • Loading branch information
aweakley authored Jun 27, 2024
2 parents a2b20cf + 5f09bdf commit ec5dcc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ The `struct_time` representation is more difficult to work with, but can be sort

If you are sure you are working with dates within the range supported by Python's `datetime` module, you can get these more convenient objects using the `edtf.struct_time_to_date` and `edtf.struct_time_to_datetime` functions.

[!NOTE]
This library previously did return `date` and `datetime` objects from methods by default before we switched to `struct_time`. See ticket <https://github.com/ixc/python-edtf/issues/26>.
> [!NOTE]
> This library previously did return `date` and `datetime` objects from methods by default before we switched to `struct_time`. See ticket <https://github.com/ixc/python-edtf/issues/26>.
### `lower_strict` and `upper_strict`

Expand Down Expand Up @@ -443,8 +443,8 @@ False

### Seasons

[!IMPORTANT]
Seasons are interpreted as Northern Hemisphere by default. To change this, override the month mapping in [`appsettings.py`](edtf/appsettings.py).
> [!IMPORTANT]
> Seasons are interpreted as Northern Hemisphere by default. To change this, override the month mapping in [`appsettings.py`](edtf/appsettings.py).
### Comparisons

Expand All @@ -458,8 +458,8 @@ To store a natural language value on your model, define another field, and set t

When your model is saved, the `natural_text_field` value will be parsed to set the `date_edtf` value, and the underlying EDTF object will set the `_earliest` and `_latest` fields on the model to a float value representing the Julian Date.

[!WARNING]
The conversion to and from Julian Date numerical values can be inaccurate, especially for ancient dates back to thousands of years BC. Ideally Julian Date values should be used for range and ordering operations only where complete accuracy is not required. They should __not__ be used for definitive storage or for display after roundtrip conversions.
> [!WARNING]
> The conversion to and from Julian Date numerical values can be inaccurate, especially for ancient dates back to thousands of years BC. Ideally Julian Date values should be used for range and ordering operations only where complete accuracy is not required. They should __not__ be used for definitive storage or for display after roundtrip conversions.
Example usage:

Expand Down

10 comments on commit ec5dcc4

@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, 52, 61, 72–73, 75, 104, 107–109, 113, 117, 136–156
   fields.py1042278%69, 83, 88, 90, 93–94, 96–97, 99, 104, 108–111, 134–135, 156, 166–167, 171–172, 180
   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.py1477151%33, 43–44, 46–49, 54–55, 58–61, 63, 67–70, 72–73, 75–77, 85–87, 89–93, 103, 105, 118, 125, 156–158, 160–165, 168–170, 172–177, 201–204, 208, 223, 225–226, 228, 245, 247, 255, 257, 259, 261, 266, 269, 275
   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.py63335044%69, 71, 78–81, 83–84, 86–87, 110–112, 116, 119, 122, 181, 183, 190, 192, 198–202, 207–213, 220–224, 229–235, 246, 257, 286, 290, 302–304, 309, 317–319, 322, 337–338, 342, 371–375, 378, 383–384, 387, 390, 393, 396–400, 403–407, 427–429, 453, 457, 462, 464, 483, 490, 506, 515–517, 519–521, 524–525, 527, 530–533, 535, 537–539, 541, 545, 558, 565–568, 571, 574–577, 580–583, 585–589, 592–593, 596, 600, 606–607, 610, 613–614, 617, 621–622, 625–626, 629, 635, 640–641, 647, 649, 652–654, 660, 665–666, 669, 675, 677, 681–695, 700–702, 706, 708, 711–713, 717, 719, 722–724, 730–733, 738–739, 744–745, 747, 750, 753–755, 757, 760, 763–766, 768–774, 781–784, 786–792, 801–802, 805, 808, 811–813, 815, 823, 842–844, 846–849, 851–852, 854–855, 857, 859, 868, 871, 874, 881–882, 884–885, 887, 889, 891–892, 894, 896–901, 903, 905, 907–908, 910, 913–915, 918–920, 923–925, 933, 935–936, 939–940, 943–944, 947–948, 950–951, 955, 959–960, 963, 968–969, 973–974, 976–984, 986, 996–997, 999, 1001–1002, 1004, 1007, 1012, 1017, 1023–1024, 1027, 1030, 1033, 1035–1037, 1039, 1044–1045, 1047, 1056–1057, 1060, 1063, 1066–1067, 1069, 1078–1079, 1081–1083, 1085–1088, 1100–1102, 1107, 1110–1111, 1113, 1118
   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, 73
   fields.py1041040%1, 3–7, 9–12, 14, 22, 28, 30, 32–34, 37–38, 50–57, 59, 62, 64–69, 71–75, 77–78, 80, 82–83, 85, 87–88, 90, 92–94, 96–97, 99, 101–104, 106, 108–111, 113, 122–124, 127, 130–131, 134–135, 138–139, 141–143, 146, 150, 152, 154, 156, 159–172, 178, 180–181, 183–184, 189–190
   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.py1471192%55, 58, 118, 164–165, 176–177, 203–204, 208, 275
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py6339884%110–112, 119, 122, 183, 189–193, 200–202, 209–213, 222–224, 229–235, 246, 337–338, 371–375, 378, 393, 396–400, 403–407, 427–429, 545, 581, 589, 593, 640–641, 647, 665–666, 669, 675, 682, 684, 688, 695, 760, 766, 770, 784, 788, 882, 900–901, 903, 908, 914, 919, 924, 960, 963, 969, 974, 976–984, 999, 1004, 1081, 1085, 1118
   tests.py89198%400
TOTAL2792102563% 

Tests Skipped Failures Errors Time
278 0 💤 0 ❌ 0 🔥 4.448s ⏱️

@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, 52, 61, 72–73, 75, 104, 107–109, 113, 117, 136–156
   fields.py1042278%69, 83, 88, 90, 93–94, 96–97, 99, 104, 108–111, 134–135, 156, 166–167, 171–172, 180
   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.py1477151%33, 43–44, 46–49, 54–55, 58–61, 63, 67–70, 72–73, 75–77, 85–87, 89–93, 103, 105, 118, 125, 156–158, 160–165, 168–170, 172–177, 201–204, 208, 223, 225–226, 228, 245, 247, 255, 257, 259, 261, 266, 269, 275
   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.py63335044%69, 71, 78–81, 83–84, 86–87, 110–112, 116, 119, 122, 181, 183, 190, 192, 198–202, 207–213, 220–224, 229–235, 246, 257, 286, 290, 302–304, 309, 317–319, 322, 337–338, 342, 371–375, 378, 383–384, 387, 390, 393, 396–400, 403–407, 427–429, 453, 457, 462, 464, 483, 490, 506, 515–517, 519–521, 524–525, 527, 530–533, 535, 537–539, 541, 545, 558, 565–568, 571, 574–577, 580–583, 585–589, 592–593, 596, 600, 606–607, 610, 613–614, 617, 621–622, 625–626, 629, 635, 640–641, 647, 649, 652–654, 660, 665–666, 669, 675, 677, 681–695, 700–702, 706, 708, 711–713, 717, 719, 722–724, 730–733, 738–739, 744–745, 747, 750, 753–755, 757, 760, 763–766, 768–774, 781–784, 786–792, 801–802, 805, 808, 811–813, 815, 823, 842–844, 846–849, 851–852, 854–855, 857, 859, 868, 871, 874, 881–882, 884–885, 887, 889, 891–892, 894, 896–901, 903, 905, 907–908, 910, 913–915, 918–920, 923–925, 933, 935–936, 939–940, 943–944, 947–948, 950–951, 955, 959–960, 963, 968–969, 973–974, 976–984, 986, 996–997, 999, 1001–1002, 1004, 1007, 1012, 1017, 1023–1024, 1027, 1030, 1033, 1035–1037, 1039, 1044–1045, 1047, 1056–1057, 1060, 1063, 1066–1067, 1069, 1078–1079, 1081–1083, 1085–1088, 1100–1102, 1107, 1110–1111, 1113, 1118
   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, 73
   fields.py1041040%1, 3–7, 9–12, 14, 22, 28, 30, 32–34, 37–38, 50–57, 59, 62, 64–69, 71–75, 77–78, 80, 82–83, 85, 87–88, 90, 92–94, 96–97, 99, 101–104, 106, 108–111, 113, 122–124, 127, 130–131, 134–135, 138–139, 141–143, 146, 150, 152, 154, 156, 159–172, 178, 180–181, 183–184, 189–190
   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.py1471192%55, 58, 118, 164–165, 176–177, 203–204, 208, 275
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py6339884%110–112, 119, 122, 183, 189–193, 200–202, 209–213, 222–224, 229–235, 246, 337–338, 371–375, 378, 393, 396–400, 403–407, 427–429, 545, 581, 589, 593, 640–641, 647, 665–666, 669, 675, 682, 684, 688, 695, 760, 766, 770, 784, 788, 882, 900–901, 903, 908, 914, 919, 924, 960, 963, 969, 974, 976–984, 999, 1004, 1081, 1085, 1118
   tests.py89198%400
TOTAL2792102563% 

Tests Skipped Failures Errors Time
278 0 💤 0 ❌ 0 🔥 4.234s ⏱️

@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, 52, 61, 72–73, 75, 104, 107–109, 113, 117, 136–156
   fields.py1042278%69, 83, 88, 90, 93–94, 96–97, 99, 104, 108–111, 134–135, 156, 166–167, 171–172, 180
   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.py1477151%33, 43–44, 46–49, 54–55, 58–61, 63, 67–70, 72–73, 75–77, 85–87, 89–93, 103, 105, 118, 125, 156–158, 160–165, 168–170, 172–177, 201–204, 208, 223, 225–226, 228, 245, 247, 255, 257, 259, 261, 266, 269, 275
   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.py63335044%69, 71, 78–81, 83–84, 86–87, 110–112, 116, 119, 122, 181, 183, 190, 192, 198–202, 207–213, 220–224, 229–235, 246, 257, 286, 290, 302–304, 309, 317–319, 322, 337–338, 342, 371–375, 378, 383–384, 387, 390, 393, 396–400, 403–407, 427–429, 453, 457, 462, 464, 483, 490, 506, 515–517, 519–521, 524–525, 527, 530–533, 535, 537–539, 541, 545, 558, 565–568, 571, 574–577, 580–583, 585–589, 592–593, 596, 600, 606–607, 610, 613–614, 617, 621–622, 625–626, 629, 635, 640–641, 647, 649, 652–654, 660, 665–666, 669, 675, 677, 681–695, 700–702, 706, 708, 711–713, 717, 719, 722–724, 730–733, 738–739, 744–745, 747, 750, 753–755, 757, 760, 763–766, 768–774, 781–784, 786–792, 801–802, 805, 808, 811–813, 815, 823, 842–844, 846–849, 851–852, 854–855, 857, 859, 868, 871, 874, 881–882, 884–885, 887, 889, 891–892, 894, 896–901, 903, 905, 907–908, 910, 913–915, 918–920, 923–925, 933, 935–936, 939–940, 943–944, 947–948, 950–951, 955, 959–960, 963, 968–969, 973–974, 976–984, 986, 996–997, 999, 1001–1002, 1004, 1007, 1012, 1017, 1023–1024, 1027, 1030, 1033, 1035–1037, 1039, 1044–1045, 1047, 1056–1057, 1060, 1063, 1066–1067, 1069, 1078–1079, 1081–1083, 1085–1088, 1100–1102, 1107, 1110–1111, 1113, 1118
   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, 73
   fields.py1041040%1, 3–7, 9–12, 14, 22, 28, 30, 32–34, 37–38, 50–57, 59, 62, 64–69, 71–75, 77–78, 80, 82–83, 85, 87–88, 90, 92–94, 96–97, 99, 101–104, 106, 108–111, 113, 122–124, 127, 130–131, 134–135, 138–139, 141–143, 146, 150, 152, 154, 156, 159–172, 178, 180–181, 183–184, 189–190
   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.py1471192%55, 58, 118, 164–165, 176–177, 203–204, 208, 275
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py6339884%110–112, 119, 122, 183, 189–193, 200–202, 209–213, 222–224, 229–235, 246, 337–338, 371–375, 378, 393, 396–400, 403–407, 427–429, 545, 581, 589, 593, 640–641, 647, 665–666, 669, 675, 682, 684, 688, 695, 760, 766, 770, 784, 788, 882, 900–901, 903, 908, 914, 919, 924, 960, 963, 969, 974, 976–984, 999, 1004, 1081, 1085, 1118
   tests.py89198%400
TOTAL2792102563% 

Tests Skipped Failures Errors Time
278 0 💤 0 ❌ 0 🔥 4.168s ⏱️

@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, 52, 61, 72–73, 75, 104, 107–109, 113, 117, 136–156
   fields.py1042278%69, 83, 88, 90, 93–94, 96–97, 99, 104, 108–111, 134–135, 156, 166–167, 171–172, 180
   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.py1477151%33, 43–44, 46–49, 54–55, 58–61, 63, 67–70, 72–73, 75–77, 85–87, 89–93, 103, 105, 118, 125, 156–158, 160–165, 168–170, 172–177, 201–204, 208, 223, 225–226, 228, 245, 247, 255, 257, 259, 261, 266, 269, 275
   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.py63335044%69, 71, 78–81, 83–84, 86–87, 110–112, 116, 119, 122, 181, 183, 190, 192, 198–202, 207–213, 220–224, 229–235, 246, 257, 286, 290, 302–304, 309, 317–319, 322, 337–338, 342, 371–375, 378, 383–384, 387, 390, 393, 396–400, 403–407, 427–429, 453, 457, 462, 464, 483, 490, 506, 515–517, 519–521, 524–525, 527, 530–533, 535, 537–539, 541, 545, 558, 565–568, 571, 574–577, 580–583, 585–589, 592–593, 596, 600, 606–607, 610, 613–614, 617, 621–622, 625–626, 629, 635, 640–641, 647, 649, 652–654, 660, 665–666, 669, 675, 677, 681–695, 700–702, 706, 708, 711–713, 717, 719, 722–724, 730–733, 738–739, 744–745, 747, 750, 753–755, 757, 760, 763–766, 768–774, 781–784, 786–792, 801–802, 805, 808, 811–813, 815, 823, 842–844, 846–849, 851–852, 854–855, 857, 859, 868, 871, 874, 881–882, 884–885, 887, 889, 891–892, 894, 896–901, 903, 905, 907–908, 910, 913–915, 918–920, 923–925, 933, 935–936, 939–940, 943–944, 947–948, 950–951, 955, 959–960, 963, 968–969, 973–974, 976–984, 986, 996–997, 999, 1001–1002, 1004, 1007, 1012, 1017, 1023–1024, 1027, 1030, 1033, 1035–1037, 1039, 1044–1045, 1047, 1056–1057, 1060, 1063, 1066–1067, 1069, 1078–1079, 1081–1083, 1085–1088, 1100–1102, 1107, 1110–1111, 1113, 1118
   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, 73
   fields.py1041040%1, 3–7, 9–12, 14, 22, 28, 30, 32–34, 37–38, 50–57, 59, 62, 64–69, 71–75, 77–78, 80, 82–83, 85, 87–88, 90, 92–94, 96–97, 99, 101–104, 106, 108–111, 113, 122–124, 127, 130–131, 134–135, 138–139, 141–143, 146, 150, 152, 154, 156, 159–172, 178, 180–181, 183–184, 189–190
   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.py1471192%55, 58, 118, 164–165, 176–177, 203–204, 208, 275
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py6339884%110–112, 119, 122, 183, 189–193, 200–202, 209–213, 222–224, 229–235, 246, 337–338, 371–375, 378, 393, 396–400, 403–407, 427–429, 545, 581, 589, 593, 640–641, 647, 665–666, 669, 675, 682, 684, 688, 695, 760, 766, 770, 784, 788, 882, 900–901, 903, 908, 914, 919, 924, 960, 963, 969, 974, 976–984, 999, 1004, 1081, 1085, 1118
   tests.py89198%400
TOTAL2792102563% 

Tests Skipped Failures Errors Time
278 0 💤 0 ❌ 0 🔥 6.149s ⏱️

@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, 52, 61, 72–73, 75, 104, 107–109, 113, 117, 136–156
   fields.py1042278%69, 83, 88, 90, 93–94, 96–97, 99, 104, 108–111, 134–135, 156, 166–167, 171–172, 180
   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.py1477151%33, 43–44, 46–49, 54–55, 58–61, 63, 67–70, 72–73, 75–77, 85–87, 89–93, 103, 105, 118, 125, 156–158, 160–165, 168–170, 172–177, 201–204, 208, 223, 225–226, 228, 245, 247, 255, 257, 259, 261, 266, 269, 275
   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.py63335044%69, 71, 78–81, 83–84, 86–87, 110–112, 116, 119, 122, 181, 183, 190, 192, 198–202, 207–213, 220–224, 229–235, 246, 257, 286, 290, 302–304, 309, 317–319, 322, 337–338, 342, 371–375, 378, 383–384, 387, 390, 393, 396–400, 403–407, 427–429, 453, 457, 462, 464, 483, 490, 506, 515–517, 519–521, 524–525, 527, 530–533, 535, 537–539, 541, 545, 558, 565–568, 571, 574–577, 580–583, 585–589, 592–593, 596, 600, 606–607, 610, 613–614, 617, 621–622, 625–626, 629, 635, 640–641, 647, 649, 652–654, 660, 665–666, 669, 675, 677, 681–695, 700–702, 706, 708, 711–713, 717, 719, 722–724, 730–733, 738–739, 744–745, 747, 750, 753–755, 757, 760, 763–766, 768–774, 781–784, 786–792, 801–802, 805, 808, 811–813, 815, 823, 842–844, 846–849, 851–852, 854–855, 857, 859, 868, 871, 874, 881–882, 884–885, 887, 889, 891–892, 894, 896–901, 903, 905, 907–908, 910, 913–915, 918–920, 923–925, 933, 935–936, 939–940, 943–944, 947–948, 950–951, 955, 959–960, 963, 968–969, 973–974, 976–984, 986, 996–997, 999, 1001–1002, 1004, 1007, 1012, 1017, 1023–1024, 1027, 1030, 1033, 1035–1037, 1039, 1044–1045, 1047, 1056–1057, 1060, 1063, 1066–1067, 1069, 1078–1079, 1081–1083, 1085–1088, 1100–1102, 1107, 1110–1111, 1113, 1118
   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, 73
   fields.py1041040%1, 3–7, 9–12, 14, 22, 28, 30, 32–34, 37–38, 50–57, 59, 62, 64–69, 71–75, 77–78, 80, 82–83, 85, 87–88, 90, 92–94, 96–97, 99, 101–104, 106, 108–111, 113, 122–124, 127, 130–131, 134–135, 138–139, 141–143, 146, 150, 152, 154, 156, 159–172, 178, 180–181, 183–184, 189–190
   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.py1471192%55, 58, 118, 164–165, 176–177, 203–204, 208, 275
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py6339884%110–112, 119, 122, 183, 189–193, 200–202, 209–213, 222–224, 229–235, 246, 337–338, 371–375, 378, 393, 396–400, 403–407, 427–429, 545, 581, 589, 593, 640–641, 647, 665–666, 669, 675, 682, 684, 688, 695, 760, 766, 770, 784, 788, 882, 900–901, 903, 908, 914, 919, 924, 960, 963, 969, 974, 976–984, 999, 1004, 1081, 1085, 1118
   tests.py89198%400
TOTAL2792102563% 

Tests Skipped Failures Errors Time
278 0 💤 0 ❌ 0 🔥 4.140s ⏱️

@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: ec5dcc4 Previous: a2b20cf Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 114621.29322746054 iter/sec (stddev: 7.103035786333803e-7) 114663.30877882658 iter/sec (stddev: 0.0000013824451991541876) 1.00
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 11227.020098058887 iter/sec (stddev: 0.000006389320391986287) 11497.861457789128 iter/sec (stddev: 0.000007707537150656222) 1.02
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 13966.63288752815 iter/sec (stddev: 0.000004080003053693625) 14300.845039703207 iter/sec (stddev: 0.000004207017537589538) 1.02
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 9442.797751409176 iter/sec (stddev: 0.000005058821977022357) 9470.50626176791 iter/sec (stddev: 0.00000458135903391628) 1.00
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 16511.478057808912 iter/sec (stddev: 0.0000034506602018260754) 16987.625345388165 iter/sec (stddev: 0.0000032427367957735423) 1.03
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 11779.44138947006 iter/sec (stddev: 0.000005612642464164175) 11451.670882373524 iter/sec (stddev: 0.000018923075691902983) 0.97
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 7523.227061923469 iter/sec (stddev: 0.00001482507758386346) 7624.237026778296 iter/sec (stddev: 0.000006548593981315647) 1.01
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 10338.099829498253 iter/sec (stddev: 0.000005032791045640814) 10368.818810155188 iter/sec (stddev: 0.000004308453918847199) 1.00
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 65830.81459810704 iter/sec (stddev: 8.504212378952329e-7) 67662.54691055142 iter/sec (stddev: 0.000001443364325321657) 1.03
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 56264.48784390319 iter/sec (stddev: 0.0000010337118943825712) 58581.48049668004 iter/sec (stddev: 0.000001499074982085138) 1.04
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 32488.06475416517 iter/sec (stddev: 0.0000019043475402423285) 33218.73455656976 iter/sec (stddev: 0.000002079571953247371) 1.02
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 139.0865530735402 iter/sec (stddev: 0.0005362806482287435) 146.20020176496547 iter/sec (stddev: 0.0005451122916753463) 1.05
edtf/parser/tests.py::test_benchmark_parser[2008-12] 143.8632480193333 iter/sec (stddev: 0.0022477274914982255) 154.3099762503631 iter/sec (stddev: 0.0020185358020385403) 1.07
edtf/parser/tests.py::test_benchmark_parser[2008] 181.25121347814002 iter/sec (stddev: 0.0013549174665840541) 188.63474541063061 iter/sec (stddev: 0.0019904365009642397) 1.04
edtf/parser/tests.py::test_benchmark_parser[-0999] 178.23257119699065 iter/sec (stddev: 0.0020676715768988786) 187.7539540594641 iter/sec (stddev: 0.0021553890323598095) 1.05
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 121.54108145116652 iter/sec (stddev: 0.0022894793350490693) 133.05586666455022 iter/sec (stddev: 0.0005606248649332031) 1.09
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 97.9779729859646 iter/sec (stddev: 0.0018291065165253338) 106.22370688474088 iter/sec (stddev: 0.00034182535670570927) 1.08
edtf/parser/tests.py::test_benchmark_parser[/2006] 232.9233982591392 iter/sec (stddev: 0.00018380303561471041) 250.70081596793963 iter/sec (stddev: 0.0001550484811600459) 1.08
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 187.80273156428922 iter/sec (stddev: 0.0013787247718151689) 199.41542932199093 iter/sec (stddev: 0.0013633610007773296) 1.06
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 19.309858959575013 iter/sec (stddev: 0.0011938607664644628) 20.868609148045216 iter/sec (stddev: 0.001176282022160573) 1.08
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 400.8222438316771 iter/sec (stddev: 0.00013041443656557807) 418.45707742366443 iter/sec (stddev: 0.0009419325014254078) 1.04
edtf/parser/tests.py::test_benchmark_parser[2001-29] 108.10366524738801 iter/sec (stddev: 0.0005901847002401381) 112.39041096016774 iter/sec (stddev: 0.001984962521466244) 1.04

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: ec5dcc4 Previous: a2b20cf Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 80005.90435514708 iter/sec (stddev: 9.017797453172008e-7) 114663.30877882658 iter/sec (stddev: 0.0000013824451991541876) 1.43
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 8521.528264053293 iter/sec (stddev: 0.000004541410164176401) 11497.861457789128 iter/sec (stddev: 0.000007707537150656222) 1.35
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 10335.41110662948 iter/sec (stddev: 0.00002148391993559254) 14300.845039703207 iter/sec (stddev: 0.000004207017537589538) 1.38
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 7078.208484369328 iter/sec (stddev: 0.00000696859316022661) 9470.50626176791 iter/sec (stddev: 0.00000458135903391628) 1.34
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 12377.970378180398 iter/sec (stddev: 0.000019071678838598717) 16987.625345388165 iter/sec (stddev: 0.0000032427367957735423) 1.37
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 9003.618606490436 iter/sec (stddev: 0.0000046112721337070834) 11451.670882373524 iter/sec (stddev: 0.000018923075691902983) 1.27
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5665.145720198885 iter/sec (stddev: 0.000011749722321689666) 7624.237026778296 iter/sec (stddev: 0.000006548593981315647) 1.35
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 7445.831693577389 iter/sec (stddev: 0.000024752700419572594) 10368.818810155188 iter/sec (stddev: 0.000004308453918847199) 1.39
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 48706.49718539567 iter/sec (stddev: 0.0000012055416151886908) 67662.54691055142 iter/sec (stddev: 0.000001443364325321657) 1.39
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 31535.331215003553 iter/sec (stddev: 0.000011317408686028958) 58581.48049668004 iter/sec (stddev: 0.000001499074982085138) 1.86
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 23915.40917714426 iter/sec (stddev: 0.000009761781746032996) 33218.73455656976 iter/sec (stddev: 0.000002079571953247371) 1.39
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 153.52916925634062 iter/sec (stddev: 0.000503426074209802) 146.20020176496547 iter/sec (stddev: 0.0005451122916753463) 0.95
edtf/parser/tests.py::test_benchmark_parser[2008-12] 158.45039888880845 iter/sec (stddev: 0.002088882307755592) 154.3099762503631 iter/sec (stddev: 0.0020185358020385403) 0.97
edtf/parser/tests.py::test_benchmark_parser[2008] 191.34119243805296 iter/sec (stddev: 0.002069457511317769) 188.63474541063061 iter/sec (stddev: 0.0019904365009642397) 0.99
edtf/parser/tests.py::test_benchmark_parser[-0999] 191.3514230008072 iter/sec (stddev: 0.0015991754065430893) 187.7539540594641 iter/sec (stddev: 0.0021553890323598095) 0.98
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 136.81746323787982 iter/sec (stddev: 0.0018679690672649245) 133.05586666455022 iter/sec (stddev: 0.0005606248649332031) 0.97
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 116.32029186485002 iter/sec (stddev: 0.001890620644570874) 106.22370688474088 iter/sec (stddev: 0.00034182535670570927) 0.91
edtf/parser/tests.py::test_benchmark_parser[/2006] 305.5431373184454 iter/sec (stddev: 0.0010923892487193097) 250.70081596793963 iter/sec (stddev: 0.0001550484811600459) 0.82
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 209.9403964735747 iter/sec (stddev: 0.001300543414332823) 199.41542932199093 iter/sec (stddev: 0.0013633610007773296) 0.95
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 30.762463241052515 iter/sec (stddev: 0.0005104002067021014) 20.868609148045216 iter/sec (stddev: 0.001176282022160573) 0.68
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 424.40654034053193 iter/sec (stddev: 0.000074246107423519) 418.45707742366443 iter/sec (stddev: 0.0009419325014254078) 0.99
edtf/parser/tests.py::test_benchmark_parser[2001-29] 112.50577861474225 iter/sec (stddev: 0.002846643150163555) 112.39041096016774 iter/sec (stddev: 0.001984962521466244) 1.00

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: ec5dcc4 Previous: a2b20cf Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 87421.77662406878 iter/sec (stddev: 7.922655490002217e-7) 114663.30877882658 iter/sec (stddev: 0.0000013824451991541876) 1.31
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 8786.148299463743 iter/sec (stddev: 0.00000515641349221075) 11497.861457789128 iter/sec (stddev: 0.000007707537150656222) 1.31
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 11009.252019786436 iter/sec (stddev: 0.000005674225163145383) 14300.845039703207 iter/sec (stddev: 0.000004207017537589538) 1.30
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 7396.211156882449 iter/sec (stddev: 0.000005896793122920705) 9470.50626176791 iter/sec (stddev: 0.00000458135903391628) 1.28
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 12999.164426376832 iter/sec (stddev: 0.000004826795348570924) 16987.625345388165 iter/sec (stddev: 0.0000032427367957735423) 1.31
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 9416.46390596826 iter/sec (stddev: 0.000005188946427176675) 11451.670882373524 iter/sec (stddev: 0.000018923075691902983) 1.22
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5934.12251493179 iter/sec (stddev: 0.000011128760220583666) 7624.237026778296 iter/sec (stddev: 0.000006548593981315647) 1.28
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 8041.325790158747 iter/sec (stddev: 0.000005568107425581547) 10368.818810155188 iter/sec (stddev: 0.000004308453918847199) 1.29
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 53175.08016037436 iter/sec (stddev: 0.000001185429372601714) 67662.54691055142 iter/sec (stddev: 0.000001443364325321657) 1.27
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 46140.26895182559 iter/sec (stddev: 0.0000012848021371886922) 58581.48049668004 iter/sec (stddev: 0.000001499074982085138) 1.27
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 24727.18692695985 iter/sec (stddev: 0.000002806520176150807) 33218.73455656976 iter/sec (stddev: 0.000002079571953247371) 1.34
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 166.03061120014007 iter/sec (stddev: 0.00039362419060214954) 146.20020176496547 iter/sec (stddev: 0.0005451122916753463) 0.88
edtf/parser/tests.py::test_benchmark_parser[2008-12] 169.76042264952724 iter/sec (stddev: 0.001655716121812011) 154.3099762503631 iter/sec (stddev: 0.0020185358020385403) 0.91
edtf/parser/tests.py::test_benchmark_parser[2008] 205.91222510814325 iter/sec (stddev: 0.001259785050156005) 188.63474541063061 iter/sec (stddev: 0.0019904365009642397) 0.92
edtf/parser/tests.py::test_benchmark_parser[-0999] 201.7962664752839 iter/sec (stddev: 0.0017161309841888142) 187.7539540594641 iter/sec (stddev: 0.0021553890323598095) 0.93
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 146.07402941318222 iter/sec (stddev: 0.001609142592633265) 133.05586666455022 iter/sec (stddev: 0.0005606248649332031) 0.91
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 124.67739963581312 iter/sec (stddev: 0.001638755415282654) 106.22370688474088 iter/sec (stddev: 0.00034182535670570927) 0.85
edtf/parser/tests.py::test_benchmark_parser[/2006] 330.97338162841316 iter/sec (stddev: 0.0009777937449568395) 250.70081596793963 iter/sec (stddev: 0.0001550484811600459) 0.76
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 226.99386482993543 iter/sec (stddev: 0.0010884945974599424) 199.41542932199093 iter/sec (stddev: 0.0013633610007773296) 0.88
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 33.01952477519684 iter/sec (stddev: 0.0004899820905964594) 20.868609148045216 iter/sec (stddev: 0.001176282022160573) 0.63
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 452.44159014291813 iter/sec (stddev: 0.0000972454712346775) 418.45707742366443 iter/sec (stddev: 0.0009419325014254078) 0.92
edtf/parser/tests.py::test_benchmark_parser[2001-29] 121.369095164345 iter/sec (stddev: 0.00251430209773606) 112.39041096016774 iter/sec (stddev: 0.001984962521466244) 0.93

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: ec5dcc4 Previous: a2b20cf Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 74154.77526771145 iter/sec (stddev: 0.0000029796192267611653) 114663.30877882658 iter/sec (stddev: 0.0000013824451991541876) 1.55
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 8173.611557732967 iter/sec (stddev: 0.00001897403450360498) 11497.861457789128 iter/sec (stddev: 0.000007707537150656222) 1.41
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 10458.260391330181 iter/sec (stddev: 0.000006480020163731921) 14300.845039703207 iter/sec (stddev: 0.000004207017537589538) 1.37
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 6886.604665061656 iter/sec (stddev: 0.000006401982703044239) 9470.50626176791 iter/sec (stddev: 0.00000458135903391628) 1.38
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 12276.033763658432 iter/sec (stddev: 0.000004422661171041623) 16987.625345388165 iter/sec (stddev: 0.0000032427367957735423) 1.38
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 8683.53032714676 iter/sec (stddev: 0.000005462698379247497) 11451.670882373524 iter/sec (stddev: 0.000018923075691902983) 1.32
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5530.598993209364 iter/sec (stddev: 0.000007371349879336944) 7624.237026778296 iter/sec (stddev: 0.000006548593981315647) 1.38
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 7430.618482570393 iter/sec (stddev: 0.000005521785316167125) 10368.818810155188 iter/sec (stddev: 0.000004308453918847199) 1.40
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 48417.186791394066 iter/sec (stddev: 0.0000012770194678447953) 67662.54691055142 iter/sec (stddev: 0.000001443364325321657) 1.40
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 42415.31094745181 iter/sec (stddev: 0.0000010475904009142052) 58581.48049668004 iter/sec (stddev: 0.000001499074982085138) 1.38
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 23724.336218283217 iter/sec (stddev: 0.0000026287922093086153) 33218.73455656976 iter/sec (stddev: 0.000002079571953247371) 1.40
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 162.54461709451243 iter/sec (stddev: 0.00039500257884387174) 146.20020176496547 iter/sec (stddev: 0.0005451122916753463) 0.90
edtf/parser/tests.py::test_benchmark_parser[2008-12] 167.3833121543084 iter/sec (stddev: 0.0017642090715736397) 154.3099762503631 iter/sec (stddev: 0.0020185358020385403) 0.92
edtf/parser/tests.py::test_benchmark_parser[2008] 204.14317356921708 iter/sec (stddev: 0.0014323692273675512) 188.63474541063061 iter/sec (stddev: 0.0019904365009642397) 0.92
edtf/parser/tests.py::test_benchmark_parser[-0999] 200.48859050322966 iter/sec (stddev: 0.00135038716543327) 187.7539540594641 iter/sec (stddev: 0.0021553890323598095) 0.94
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 143.75885478689574 iter/sec (stddev: 0.0022098641367191713) 133.05586666455022 iter/sec (stddev: 0.0005606248649332031) 0.93
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 122.36619608882638 iter/sec (stddev: 0.0013944393317133056) 106.22370688474088 iter/sec (stddev: 0.00034182535670570927) 0.87
edtf/parser/tests.py::test_benchmark_parser[/2006] 328.95187846883675 iter/sec (stddev: 0.00015837921658305742) 250.70081596793963 iter/sec (stddev: 0.0001550484811600459) 0.76
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 223.0432968904979 iter/sec (stddev: 0.0010042743856242258) 199.41542932199093 iter/sec (stddev: 0.0013633610007773296) 0.89
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 31.97606007807035 iter/sec (stddev: 0.0028101828774783327) 20.868609148045216 iter/sec (stddev: 0.001176282022160573) 0.65
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 447.45349505057106 iter/sec (stddev: 0.00007609144835126478) 418.45707742366443 iter/sec (stddev: 0.0009419325014254078) 0.94
edtf/parser/tests.py::test_benchmark_parser[2001-29] 123.01987275831272 iter/sec (stddev: 0.0014538250496693372) 112.39041096016774 iter/sec (stddev: 0.001984962521466244) 0.91

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: ec5dcc4 Previous: a2b20cf Ratio
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] 71742.78868599891 iter/sec (stddev: 0.0000013456991514912531) 114663.30877882658 iter/sec (stddev: 0.0000013824451991541876) 1.60
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] 8181.282948242283 iter/sec (stddev: 0.000005779306392676789) 11497.861457789128 iter/sec (stddev: 0.000007707537150656222) 1.41
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] 9736.07142537526 iter/sec (stddev: 0.000005186692529232523) 14300.845039703207 iter/sec (stddev: 0.000004207017537589538) 1.47
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] 6663.714657888252 iter/sec (stddev: 0.000005863857871141801) 9470.50626176791 iter/sec (stddev: 0.00000458135903391628) 1.42
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] 11464.467743051568 iter/sec (stddev: 0.000004733222396577823) 16987.625345388165 iter/sec (stddev: 0.0000032427367957735423) 1.48
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] 8342.968597926612 iter/sec (stddev: 0.000005898748578186029) 11451.670882373524 iter/sec (stddev: 0.000018923075691902983) 1.37
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] 5655.148029160984 iter/sec (stddev: 0.000008772033334719811) 7624.237026778296 iter/sec (stddev: 0.000006548593981315647) 1.35
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] 7272.168159178862 iter/sec (stddev: 0.000005954342344712705) 10368.818810155188 iter/sec (stddev: 0.000004308453918847199) 1.43
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] 49895.23968155829 iter/sec (stddev: 0.0000012352473101938845) 67662.54691055142 iter/sec (stddev: 0.000001443364325321657) 1.36
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] 44528.09388675019 iter/sec (stddev: 0.0000013518607139676661) 58581.48049668004 iter/sec (stddev: 0.000001499074982085138) 1.32
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] 22296.47387149923 iter/sec (stddev: 0.0000035907344584465304) 33218.73455656976 iter/sec (stddev: 0.000002079571953247371) 1.49
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] 118.62808557752304 iter/sec (stddev: 0.0005541433256468845) 146.20020176496547 iter/sec (stddev: 0.0005451122916753463) 1.23
edtf/parser/tests.py::test_benchmark_parser[2008-12] 125.42085299777897 iter/sec (stddev: 0.0022395941159670065) 154.3099762503631 iter/sec (stddev: 0.0020185358020385403) 1.23
edtf/parser/tests.py::test_benchmark_parser[2008] 156.05980920675182 iter/sec (stddev: 0.001696062299507135) 188.63474541063061 iter/sec (stddev: 0.0019904365009642397) 1.21
edtf/parser/tests.py::test_benchmark_parser[-0999] 158.39454688590115 iter/sec (stddev: 0.0015590083559949887) 187.7539540594641 iter/sec (stddev: 0.0021553890323598095) 1.19
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] 105.52657193118779 iter/sec (stddev: 0.002135562899703236) 133.05586666455022 iter/sec (stddev: 0.0005606248649332031) 1.26
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] 86.23644191028065 iter/sec (stddev: 0.0017981819028154288) 106.22370688474088 iter/sec (stddev: 0.00034182535670570927) 1.23
edtf/parser/tests.py::test_benchmark_parser[/2006] 199.85081679708355 iter/sec (stddev: 0.00017917885856568488) 250.70081596793963 iter/sec (stddev: 0.0001550484811600459) 1.25
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] 161.85388456128257 iter/sec (stddev: 0.0013975933593547696) 199.41542932199093 iter/sec (stddev: 0.0013633610007773296) 1.23
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] 16.533685317123492 iter/sec (stddev: 0.004212708019911417) 20.868609148045216 iter/sec (stddev: 0.001176282022160573) 1.26
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] 327.823945294636 iter/sec (stddev: 0.00011015096163613764) 418.45707742366443 iter/sec (stddev: 0.0009419325014254078) 1.28
edtf/parser/tests.py::test_benchmark_parser[2001-29] 91.33282559731289 iter/sec (stddev: 0.0022011077291534593) 112.39041096016774 iter/sec (stddev: 0.001984962521466244) 1.23

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

Please sign in to comment.