Datasets:
id stringlengths 16 16 | task_family stringclasses 14
values | question stringlengths 20 79 | input_date timestamp[s]date 1900-01-01 00:00:00 2059-12-31 00:00:00 ⌀ | secondary_date timestamp[s]date 1900-01-02 00:00:00 2059-12-02 00:00:00 ⌀ | year int64 1.9k 2.06k | month int64 1 12 ⌀ | day int64 1 31 ⌀ | week_start stringclasses 2
values | weekday stringclasses 7
values | ordinal_day int64 1 366 ⌀ | iso_year int64 1.9k 2.06k ⌀ | iso_week int64 1 53 ⌀ | iso_weekday int64 1 7 ⌀ | days_in_month int64 28 31 ⌀ | is_leap_year bool 2
classes | grid_rows int64 4 6 ⌀ | grid_offset int64 0 6 ⌀ | answer stringlengths 1 154 | answer_type stringclasses 9
values | generator_version stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4061a187cd5d374a | weekday | Name the day of the week for 10/31/2048. | 2048-10-31T00:00:00 | null | 2,048 | 10 | 31 | monday | Saturday | 305 | 2,048 | 44 | 6 | 31 | true | null | null | Saturday | weekday | 1.0.0 |
808751a74d6bf8ef | leap_year | Check the leap-year status for 2028. | null | null | 2,028 | null | null | null | null | null | null | null | null | null | true | null | null | true | boolean | 1.0.0 |
9759dbeecd358461 | days_in_month | How many days are in September 1937? | null | null | 1,937 | 9 | null | null | null | null | null | null | null | 30 | false | null | null | 30 | integer | 1.0.0 |
be1a5214ea0d4b6a | ordinal_day | What is the day-of-year number for 1917-02-13? | 1917-02-13T00:00:00 | null | 1,917 | 2 | 13 | monday | Tuesday | 44 | 1,917 | 7 | 2 | 28 | false | null | null | 44 | integer | 1.0.0 |
f3eacb5a9fe400ca | iso_week | What ISO week number contains 1928-11-05? | 1928-11-05T00:00:00 | null | 1,928 | 11 | 5 | monday | Monday | 310 | 1,928 | 45 | 1 | 30 | true | null | null | 45 | integer | 1.0.0 |
0d50487cb8d9a732 | iso_week_year | What ISO week-year contains 2017-05-27? | 2017-05-27T00:00:00 | null | 2,017 | 5 | 27 | monday | Saturday | 147 | 2,017 | 21 | 6 | 31 | false | null | null | 2017 | integer | 1.0.0 |
8b948b50a35bb741 | date_difference | How many days separate 1941-11-03 and 1943-12-31 (exclusive)? | 1941-11-03T00:00:00 | 1943-12-31T00:00:00 | 1,941 | 11 | 3 | null | Monday | null | null | null | null | null | null | null | null | 788 | absolute_days | 1.0.0 |
cd715fabef44884d | month_grid | Return the Sunday-first date grid for July 1992 as rows of seven values. | null | null | 1,992 | 7 | null | sunday | null | null | null | null | null | 31 | null | 5 | 3 | [[null,null,null,1,2,3,4],[5,6,7,8,9,10,11],[12,13,14,15,16,17,18],[19,20,21,22,23,24,25],[26,27,28,29,30,31,null]] | month_matrix | 1.0.0 |
625ef11c80dabf66 | grid_offset | With a Sunday start, how many leading empty cells are before August 2048? | null | null | 2,048 | 8 | null | sunday | null | null | null | null | null | 31 | null | 6 | 6 | 6 | integer | 1.0.0 |
b5d8d25ba599ca82 | nth_weekday | What date is the fourth Tuesday in August 2013? | 2013-08-27T00:00:00 | null | 2,013 | 8 | 27 | null | Tuesday | null | null | null | null | null | null | null | null | 2013-08-27 | date | 1.0.0 |
b5496ffbe49d0f07 | last_weekday | What is the last Wednesday in July 2001? | 2001-07-25T00:00:00 | null | 2,001 | 7 | 25 | null | Wednesday | null | null | null | null | null | null | null | null | 2001-07-25 | date | 1.0.0 |
e7cbd3d6e63490cf | month_boundary | Give the first and last dates and weekdays in September 1953. | null | null | 1,953 | 9 | null | null | null | null | null | null | null | 30 | null | null | null | {"first":"1953-09-01","first_weekday":"Tuesday","last":"1953-09-30","last_weekday":"Wednesday","days":30} | month_boundary | 1.0.0 |
7809272b3f07fe06 | year_boundary | Report the Gregorian year boundaries for 2049. | null | null | 2,049 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"2049-01-01","first_weekday":"Friday","last":"2049-12-31","last_weekday":"Friday","days":365} | year_boundary | 1.0.0 |
da0794c7af362b48 | gregorian_julian | Convert Gregorian 2013-09-01 to the proleptic Julian calendar and give its JDN. | 2013-09-01T00:00:00 | null | 2,013 | 9 | 1 | monday | Sunday | 244 | 2,013 | 35 | 7 | 30 | false | null | null | {"julian_date":"2013-08-19","jdn":2456537,"weekday":"Sunday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
22600e0be44519b8 | weekday | What weekday is 1908-06-12? | 1908-06-12T00:00:00 | null | 1,908 | 6 | 12 | monday | Friday | 164 | 1,908 | 24 | 5 | 30 | true | null | null | Friday | weekday | 1.0.0 |
58929aeb17c8aefb | leap_year | Check the leap-year status for 1915. | null | null | 1,915 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
73c699a6d4437f5e | days_in_month | How many days are in February 2013? | null | null | 2,013 | 2 | null | null | null | null | null | null | null | 28 | false | null | null | 28 | integer | 1.0.0 |
7b5d65641f1ddf06 | ordinal_day | What is the day-of-year number for 1918-06-05? | 1918-06-05T00:00:00 | null | 1,918 | 6 | 5 | sunday | Wednesday | 156 | 1,918 | 23 | 3 | 30 | false | null | null | 156 | integer | 1.0.0 |
7ff987d95eacabe5 | iso_week | What ISO week number contains 1909-12-27? | 1909-12-27T00:00:00 | null | 1,909 | 12 | 27 | monday | Monday | 361 | 1,909 | 52 | 1 | 31 | false | null | null | 52 | integer | 1.0.0 |
ad24639c73649250 | iso_week_year | What ISO week-year contains 1930-01-10? | 1930-01-10T00:00:00 | null | 1,930 | 1 | 10 | sunday | Friday | 10 | 1,930 | 2 | 5 | 31 | false | null | null | 1930 | integer | 1.0.0 |
eb9b5c6bb0c687a9 | date_difference | How many days separate 1969-12-07 and 2041-05-17 (exclusive)? | 1969-12-07T00:00:00 | 2041-05-17T00:00:00 | 1,969 | 12 | 7 | null | Sunday | null | null | null | null | null | null | null | null | 26094 | absolute_days | 1.0.0 |
27f2a6530c168d18 | month_grid | Return the Sunday-first date grid for February 2009 as rows of seven values. | null | null | 2,009 | 2 | null | sunday | null | null | null | null | null | 28 | null | 4 | 0 | [[1,2,3,4,5,6,7],[8,9,10,11,12,13,14],[15,16,17,18,19,20,21],[22,23,24,25,26,27,28]] | month_matrix | 1.0.0 |
0f0731fedb98613b | grid_offset | With a Monday start, how many leading empty cells are before March 1959? | null | null | 1,959 | 3 | null | monday | null | null | null | null | null | 31 | null | 6 | 6 | 6 | integer | 1.0.0 |
d752f1eff74908ac | nth_weekday | What date is the first Monday in November 1917? | 1917-11-05T00:00:00 | null | 1,917 | 11 | 5 | null | Monday | null | null | null | null | null | null | null | null | 1917-11-05 | date | 1.0.0 |
844f1ddf6d883717 | last_weekday | What is the last Saturday in July 1973? | 1973-07-28T00:00:00 | null | 1,973 | 7 | 28 | null | Saturday | null | null | null | null | null | null | null | null | 1973-07-28 | date | 1.0.0 |
06729a83973eb73e | month_boundary | Give the first and last dates and weekdays in January 1926. | null | null | 1,926 | 1 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"1926-01-01","first_weekday":"Friday","last":"1926-01-31","last_weekday":"Sunday","days":31} | month_boundary | 1.0.0 |
66e8c8df96620980 | year_boundary | Report the Gregorian year boundaries for 1934. | null | null | 1,934 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"1934-01-01","first_weekday":"Monday","last":"1934-12-31","last_weekday":"Monday","days":365} | year_boundary | 1.0.0 |
c81f1cfa6e2ce767 | gregorian_julian | Convert Gregorian 2021-12-18 to the proleptic Julian calendar and give its JDN. | 2021-12-18T00:00:00 | null | 2,021 | 12 | 18 | sunday | Saturday | 352 | 2,021 | 50 | 6 | 31 | false | null | null | {"julian_date":"2021-12-05","jdn":2459567,"weekday":"Saturday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
c3e9c7beeb890fbd | weekday | Which weekday does July 23, 1946 fall on? | 1946-07-23T00:00:00 | null | 1,946 | 7 | 23 | monday | Tuesday | 204 | 1,946 | 30 | 2 | 31 | false | null | null | Tuesday | weekday | 1.0.0 |
05559cf9eea4fcd3 | leap_year | Does the Gregorian calendar add a leap day in 2041? | null | null | 2,041 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
008acfb4780dc586 | days_in_month | How many days are in May 2026? | null | null | 2,026 | 5 | null | null | null | null | null | null | null | 31 | false | null | null | 31 | integer | 1.0.0 |
7c25ec7a26d46487 | ordinal_day | What is the day-of-year number for 2007-05-14? | 2007-05-14T00:00:00 | null | 2,007 | 5 | 14 | monday | Monday | 134 | 2,007 | 20 | 1 | 31 | false | null | null | 134 | integer | 1.0.0 |
667d7d4085ab82ac | iso_week | What ISO week number contains 2019-08-22? | 2019-08-22T00:00:00 | null | 2,019 | 8 | 22 | monday | Thursday | 234 | 2,019 | 34 | 4 | 31 | false | null | null | 34 | integer | 1.0.0 |
8aacd279dc23abf7 | iso_week_year | What ISO week-year contains 2051-11-20? | 2051-11-20T00:00:00 | null | 2,051 | 11 | 20 | monday | Monday | 324 | 2,051 | 47 | 1 | 30 | false | null | null | 2051 | integer | 1.0.0 |
d5de0a3bf1147c40 | date_difference | How many days separate 2039-01-14 and 2019-07-08 (exclusive)? | 2039-01-14T00:00:00 | 2019-07-08T00:00:00 | 2,039 | 1 | 14 | null | Friday | null | null | null | null | null | null | null | null | 7130 | absolute_days | 1.0.0 |
61fce5a67de47661 | month_grid | Return the Monday-first date grid for October 2047 as rows of seven values. | null | null | 2,047 | 10 | null | monday | null | null | null | null | null | 31 | null | 5 | 1 | [[null,1,2,3,4,5,6],[7,8,9,10,11,12,13],[14,15,16,17,18,19,20],[21,22,23,24,25,26,27],[28,29,30,31,null,null,null]] | month_matrix | 1.0.0 |
5872e3cb3ac5be35 | grid_offset | With a Monday start, how many leading empty cells are before January 1927? | null | null | 1,927 | 1 | null | monday | null | null | null | null | null | 31 | null | 6 | 5 | 5 | integer | 1.0.0 |
8fb74b7d28d65679 | nth_weekday | What date is the second Friday in July 1977? | 1977-07-08T00:00:00 | null | 1,977 | 7 | 8 | null | Friday | null | null | null | null | null | null | null | null | 1977-07-08 | date | 1.0.0 |
7c35f756e2223643 | last_weekday | What is the last Sunday in June 1970? | 1970-06-28T00:00:00 | null | 1,970 | 6 | 28 | null | Sunday | null | null | null | null | null | null | null | null | 1970-06-28 | date | 1.0.0 |
b6fbfa11642697bc | month_boundary | Give the first and last dates and weekdays in July 1974. | null | null | 1,974 | 7 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"1974-07-01","first_weekday":"Monday","last":"1974-07-31","last_weekday":"Wednesday","days":31} | month_boundary | 1.0.0 |
c8df11b02541d1e2 | year_boundary | Report the Gregorian year boundaries for 2037. | null | null | 2,037 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"2037-01-01","first_weekday":"Thursday","last":"2037-12-31","last_weekday":"Thursday","days":365} | year_boundary | 1.0.0 |
eab1ff0da36b7696 | gregorian_julian | Convert Gregorian 2020-02-14 to the proleptic Julian calendar and give its JDN. | 2020-02-14T00:00:00 | null | 2,020 | 2 | 14 | monday | Friday | 45 | 2,020 | 7 | 5 | 29 | true | null | null | {"julian_date":"2020-02-01","jdn":2458894,"weekday":"Friday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
b34435e031140e00 | weekday | What weekday is 1948-02-27? | 1948-02-27T00:00:00 | null | 1,948 | 2 | 27 | monday | Friday | 58 | 1,948 | 9 | 5 | 29 | true | null | null | Friday | weekday | 1.0.0 |
e13667091fe7d5c1 | leap_year | Check the leap-year status for 1966. | null | null | 1,966 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
84dabda0be24a57b | days_in_month | How many days are in October 1983? | null | null | 1,983 | 10 | null | null | null | null | null | null | null | 31 | false | null | null | 31 | integer | 1.0.0 |
23893b2556496c9b | ordinal_day | What is the day-of-year number for 1924-08-17? | 1924-08-17T00:00:00 | null | 1,924 | 8 | 17 | monday | Sunday | 230 | 1,924 | 33 | 7 | 31 | true | null | null | 230 | integer | 1.0.0 |
17a74e740fa38a5a | iso_week | What ISO week number contains 2010-10-15? | 2010-10-15T00:00:00 | null | 2,010 | 10 | 15 | monday | Friday | 288 | 2,010 | 41 | 5 | 31 | false | null | null | 41 | integer | 1.0.0 |
a3d7c0703cdc509e | iso_week_year | What ISO week-year contains 1924-02-12? | 1924-02-12T00:00:00 | null | 1,924 | 2 | 12 | sunday | Tuesday | 43 | 1,924 | 7 | 2 | 29 | true | null | null | 1924 | integer | 1.0.0 |
261affde8c872860 | date_difference | How many days separate 2033-12-20 and 1989-06-27 (exclusive)? | 2033-12-20T00:00:00 | 1989-06-27T00:00:00 | 2,033 | 12 | 20 | null | Tuesday | null | null | null | null | null | null | null | null | 16247 | absolute_days | 1.0.0 |
dc512aec2cf7b3a7 | month_grid | Return the Sunday-first date grid for July 1929 as rows of seven values. | null | null | 1,929 | 7 | null | sunday | null | null | null | null | null | 31 | null | 5 | 1 | [[null,1,2,3,4,5,6],[7,8,9,10,11,12,13],[14,15,16,17,18,19,20],[21,22,23,24,25,26,27],[28,29,30,31,null,null,null]] | month_matrix | 1.0.0 |
9f95064101fbb9f7 | grid_offset | With a Monday start, how many leading empty cells are before March 2024? | null | null | 2,024 | 3 | null | monday | null | null | null | null | null | 31 | null | 5 | 4 | 4 | integer | 1.0.0 |
83e78de29fa1b0fc | nth_weekday | What date is the third Wednesday in February 1948? | 1948-02-18T00:00:00 | null | 1,948 | 2 | 18 | null | Wednesday | null | null | null | null | null | null | null | null | 1948-02-18 | date | 1.0.0 |
3453984b992c07da | last_weekday | What is the last Thursday in September 2032? | 2032-09-30T00:00:00 | null | 2,032 | 9 | 30 | null | Thursday | null | null | null | null | null | null | null | null | 2032-09-30 | date | 1.0.0 |
a35de3242cafa1d1 | month_boundary | Give the first and last dates and weekdays in July 1996. | null | null | 1,996 | 7 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"1996-07-01","first_weekday":"Monday","last":"1996-07-31","last_weekday":"Wednesday","days":31} | month_boundary | 1.0.0 |
21173859c98c9892 | year_boundary | Report the Gregorian year boundaries for 1924. | null | null | 1,924 | null | null | null | null | null | null | null | null | null | true | null | null | {"first":"1924-01-01","first_weekday":"Tuesday","last":"1924-12-31","last_weekday":"Wednesday","days":366} | year_boundary | 1.0.0 |
5ebacee5c0abbac5 | gregorian_julian | Convert Gregorian 2023-06-16 to the proleptic Julian calendar and give its JDN. | 2023-06-16T00:00:00 | null | 2,023 | 6 | 16 | monday | Friday | 167 | 2,023 | 24 | 5 | 30 | false | null | null | {"julian_date":"2023-06-03","jdn":2460112,"weekday":"Friday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
996203bd737051df | weekday | Name the day of the week for 4/15/1918. | 1918-04-15T00:00:00 | null | 1,918 | 4 | 15 | monday | Monday | 105 | 1,918 | 16 | 1 | 30 | false | null | null | Monday | weekday | 1.0.0 |
74eeb35ea27cd4f5 | leap_year | Does the Gregorian calendar add a leap day in 1969? | null | null | 1,969 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
4a40bf8c05eb1e83 | days_in_month | How many days are in August 2038? | null | null | 2,038 | 8 | null | null | null | null | null | null | null | 31 | false | null | null | 31 | integer | 1.0.0 |
fedf063de8d7dda6 | ordinal_day | What is the day-of-year number for 1983-04-22? | 1983-04-22T00:00:00 | null | 1,983 | 4 | 22 | monday | Friday | 112 | 1,983 | 16 | 5 | 30 | false | null | null | 112 | integer | 1.0.0 |
fc7584c3be43b27b | iso_week | What ISO week number contains 1938-07-10? | 1938-07-10T00:00:00 | null | 1,938 | 7 | 10 | monday | Sunday | 191 | 1,938 | 27 | 7 | 31 | false | null | null | 27 | integer | 1.0.0 |
381e69cca4526631 | iso_week_year | What ISO week-year contains 1949-05-18? | 1949-05-18T00:00:00 | null | 1,949 | 5 | 18 | monday | Wednesday | 138 | 1,949 | 20 | 3 | 31 | false | null | null | 1949 | integer | 1.0.0 |
0dcc5acf9604e7ac | date_difference | How many days separate 1980-06-24 and 2056-09-27 (exclusive)? | 1980-06-24T00:00:00 | 2056-09-27T00:00:00 | 1,980 | 6 | 24 | null | Tuesday | null | null | null | null | null | null | null | null | 27854 | absolute_days | 1.0.0 |
06bd94213c80d88d | month_grid | Return the Sunday-first date grid for April 2046 as rows of seven values. | null | null | 2,046 | 4 | null | sunday | null | null | null | null | null | 30 | null | 5 | 0 | [[1,2,3,4,5,6,7],[8,9,10,11,12,13,14],[15,16,17,18,19,20,21],[22,23,24,25,26,27,28],[29,30,null,null,null,null,null]] | month_matrix | 1.0.0 |
a0ebbd66484e34da | grid_offset | With a Sunday start, how many leading empty cells are before June 2013? | null | null | 2,013 | 6 | null | sunday | null | null | null | null | null | 30 | null | 6 | 6 | 6 | integer | 1.0.0 |
e4ab33075690becf | nth_weekday | What date is the third Thursday in September 2026? | 2026-09-17T00:00:00 | null | 2,026 | 9 | 17 | null | Thursday | null | null | null | null | null | null | null | null | 2026-09-17 | date | 1.0.0 |
2afff3895e1470e9 | last_weekday | What is the last Tuesday in June 2043? | 2043-06-30T00:00:00 | null | 2,043 | 6 | 30 | null | Tuesday | null | null | null | null | null | null | null | null | 2043-06-30 | date | 1.0.0 |
d442141fd4908801 | month_boundary | Give the first and last dates and weekdays in March 1961. | null | null | 1,961 | 3 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"1961-03-01","first_weekday":"Wednesday","last":"1961-03-31","last_weekday":"Friday","days":31} | month_boundary | 1.0.0 |
c620d7a90609acfc | year_boundary | Report the Gregorian year boundaries for 2019. | null | null | 2,019 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"2019-01-01","first_weekday":"Tuesday","last":"2019-12-31","last_weekday":"Tuesday","days":365} | year_boundary | 1.0.0 |
936df42da89c59ba | gregorian_julian | Convert Gregorian 1922-02-22 to the proleptic Julian calendar and give its JDN. | 1922-02-22T00:00:00 | null | 1,922 | 2 | 22 | monday | Wednesday | 53 | 1,922 | 8 | 3 | 28 | false | null | null | {"julian_date":"1922-02-09","jdn":2423108,"weekday":"Wednesday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
7c103e6d6fab76dd | weekday | Which weekday does July 9, 1903 fall on? | 1903-07-09T00:00:00 | null | 1,903 | 7 | 9 | sunday | Thursday | 190 | 1,903 | 28 | 4 | 31 | false | null | null | Thursday | weekday | 1.0.0 |
342497304beb1288 | leap_year | Check the leap-year status for 1967. | null | null | 1,967 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
a7edc6decd149678 | days_in_month | How many days are in July 2036? | null | null | 2,036 | 7 | null | null | null | null | null | null | null | 31 | true | null | null | 31 | integer | 1.0.0 |
9d66f007a63d3a81 | ordinal_day | What is the day-of-year number for 2000-08-31? | 2000-08-31T00:00:00 | null | 2,000 | 8 | 31 | monday | Thursday | 244 | 2,000 | 35 | 4 | 31 | true | null | null | 244 | integer | 1.0.0 |
5f2e1a159d433393 | iso_week | What ISO week number contains 1941-04-22? | 1941-04-22T00:00:00 | null | 1,941 | 4 | 22 | sunday | Tuesday | 112 | 1,941 | 17 | 2 | 30 | false | null | null | 17 | integer | 1.0.0 |
448d928c081d541b | iso_week_year | What ISO week-year contains 1946-05-24? | 1946-05-24T00:00:00 | null | 1,946 | 5 | 24 | monday | Friday | 144 | 1,946 | 21 | 5 | 31 | false | null | null | 1946 | integer | 1.0.0 |
2f92f49ed21ed51e | date_difference | How many days separate 1928-04-17 and 1929-11-30 (exclusive)? | 1928-04-17T00:00:00 | 1929-11-30T00:00:00 | 1,928 | 4 | 17 | null | Tuesday | null | null | null | null | null | null | null | null | 592 | absolute_days | 1.0.0 |
8a518a7ef905d5e4 | month_grid | Return the Monday-first date grid for September 2021 as rows of seven values. | null | null | 2,021 | 9 | null | monday | null | null | null | null | null | 30 | null | 5 | 2 | [[null,null,1,2,3,4,5],[6,7,8,9,10,11,12],[13,14,15,16,17,18,19],[20,21,22,23,24,25,26],[27,28,29,30,null,null,null]] | month_matrix | 1.0.0 |
912a832de58598ba | grid_offset | With a Sunday start, how many leading empty cells are before January 2052? | null | null | 2,052 | 1 | null | sunday | null | null | null | null | null | 31 | null | 5 | 1 | 1 | integer | 1.0.0 |
41ef313a33836890 | nth_weekday | What date is the third Saturday in May 1987? | 1987-05-16T00:00:00 | null | 1,987 | 5 | 16 | null | Saturday | null | null | null | null | null | null | null | null | 1987-05-16 | date | 1.0.0 |
23ccdf3f1e27f1aa | last_weekday | What is the last Tuesday in March 1931? | 1931-03-31T00:00:00 | null | 1,931 | 3 | 31 | null | Tuesday | null | null | null | null | null | null | null | null | 1931-03-31 | date | 1.0.0 |
50fa96bc226f74af | month_boundary | Give the first and last dates and weekdays in May 2025. | null | null | 2,025 | 5 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"2025-05-01","first_weekday":"Thursday","last":"2025-05-31","last_weekday":"Saturday","days":31} | month_boundary | 1.0.0 |
979aa3e77fb72a27 | year_boundary | Report the Gregorian year boundaries for 2035. | null | null | 2,035 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"2035-01-01","first_weekday":"Monday","last":"2035-12-31","last_weekday":"Monday","days":365} | year_boundary | 1.0.0 |
5539d79db011ea1e | gregorian_julian | Convert Gregorian 2006-05-02 to the proleptic Julian calendar and give its JDN. | 2006-05-02T00:00:00 | null | 2,006 | 5 | 2 | sunday | Tuesday | 122 | 2,006 | 18 | 2 | 31 | false | null | null | {"julian_date":"2006-04-19","jdn":2453858,"weekday":"Tuesday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
ab8dd0b693798cf9 | weekday | What weekday is 1990-05-13? | 1990-05-13T00:00:00 | null | 1,990 | 5 | 13 | monday | Sunday | 133 | 1,990 | 19 | 7 | 31 | false | null | null | Sunday | weekday | 1.0.0 |
eb2cad5f239bb2c0 | leap_year | Does the Gregorian calendar add a leap day in 1900? | null | null | 1,900 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
0b9b9a429cf15667 | days_in_month | How many days are in August 1912? | null | null | 1,912 | 8 | null | null | null | null | null | null | null | 31 | true | null | null | 31 | integer | 1.0.0 |
0b8ac70e68e21e75 | ordinal_day | What is the day-of-year number for 1977-07-13? | 1977-07-13T00:00:00 | null | 1,977 | 7 | 13 | sunday | Wednesday | 194 | 1,977 | 28 | 3 | 31 | false | null | null | 194 | integer | 1.0.0 |
2c8973507f14bc61 | iso_week | What ISO week number contains 1900-05-25? | 1900-05-25T00:00:00 | null | 1,900 | 5 | 25 | sunday | Friday | 145 | 1,900 | 21 | 5 | 31 | false | null | null | 21 | integer | 1.0.0 |
27ee369abc1574b9 | iso_week_year | What ISO week-year contains 2015-05-13? | 2015-05-13T00:00:00 | null | 2,015 | 5 | 13 | sunday | Wednesday | 133 | 2,015 | 20 | 3 | 31 | false | null | null | 2015 | integer | 1.0.0 |
a5a28256826ec116 | date_difference | How many days separate 2022-03-22 and 1923-10-07 (exclusive)? | 2022-03-22T00:00:00 | 1923-10-07T00:00:00 | 2,022 | 3 | 22 | null | Tuesday | null | null | null | null | null | null | null | null | 35961 | absolute_days | 1.0.0 |
c90ccffa9c07b861 | month_grid | Return the Sunday-first date grid for May 2005 as rows of seven values. | null | null | 2,005 | 5 | null | sunday | null | null | null | null | null | 31 | null | 5 | 0 | [[1,2,3,4,5,6,7],[8,9,10,11,12,13,14],[15,16,17,18,19,20,21],[22,23,24,25,26,27,28],[29,30,31,null,null,null,null]] | month_matrix | 1.0.0 |
6975137d95a41d43 | grid_offset | With a Sunday start, how many leading empty cells are before February 2037? | null | null | 2,037 | 2 | null | sunday | null | null | null | null | null | 28 | null | 4 | 0 | 0 | integer | 1.0.0 |
71bbf2f0dea4e976 | nth_weekday | What date is the fourth Thursday in March 1990? | 1990-03-22T00:00:00 | null | 1,990 | 3 | 22 | null | Thursday | null | null | null | null | null | null | null | null | 1990-03-22 | date | 1.0.0 |
5baa97d4cd142b23 | last_weekday | What is the last Friday in October 2009? | 2009-10-30T00:00:00 | null | 2,009 | 10 | 30 | null | Friday | null | null | null | null | null | null | null | null | 2009-10-30 | date | 1.0.0 |
8248a3eca53d5bd6 | month_boundary | Give the first and last dates and weekdays in March 2058. | null | null | 2,058 | 3 | null | null | null | null | null | null | null | 31 | null | null | null | {"first":"2058-03-01","first_weekday":"Friday","last":"2058-03-31","last_weekday":"Sunday","days":31} | month_boundary | 1.0.0 |
b8cbaa46e8e75819 | year_boundary | Report the Gregorian year boundaries for 1900. | null | null | 1,900 | null | null | null | null | null | null | null | null | null | false | null | null | {"first":"1900-01-01","first_weekday":"Monday","last":"1900-12-31","last_weekday":"Monday","days":365} | year_boundary | 1.0.0 |
f421551ea7896f50 | gregorian_julian | Convert Gregorian 1936-02-11 to the proleptic Julian calendar and give its JDN. | 1936-02-11T00:00:00 | null | 1,936 | 2 | 11 | monday | Tuesday | 42 | 1,936 | 7 | 2 | 29 | true | null | null | {"julian_date":"1936-01-29","jdn":2428210,"weekday":"Tuesday","same_fields_delta_days":-13} | calendar_conversion | 1.0.0 |
e36dafb6b5b70a5a | weekday | Which weekday does May 6, 1941 fall on? | 1941-05-06T00:00:00 | null | 1,941 | 5 | 6 | sunday | Tuesday | 126 | 1,941 | 19 | 2 | 31 | false | null | null | Tuesday | weekday | 1.0.0 |
8947fc39e81f1d2a | leap_year | Is 2050 a leap year? | null | null | 2,050 | null | null | null | null | null | null | null | null | null | false | null | null | false | boolean | 1.0.0 |
Calendar Reasoning Benchmark
Calendar Reasoning Benchmark is a deterministic, rule-generated dataset of natural-language calendar questions and structured answers. Version 1 contains 50,000 examples across 14 task families. It is intended for testing date reasoning systems and data pipelines, not as a substitute for a broad natural-language benchmark.
Task families
Weekday lookup, leap-year status, days in month, ordinal day, ISO week, ISO week-year, date difference, month grid, grid offset, nth weekday, last weekday, month boundary, year boundary, and Gregorian-to-Julian conversion with a Julian Day Number.
Generation and quality checks
Every answer is computed by deterministic calendar rules; no LLM generated labels are used. The generator derives Gregorian operations from Python's datetime and calendar modules and uses integer day-count algorithms for Gregorian/Julian conversion. It validates generated records before writing them.
Dates are separated by split to reduce direct date leakage: train uses 1900–2059, validation 2060–2079, and test 2080–2099. The generator's seed affects sampled years, months, days, question wording and deterministic row IDs. Rows are stored as gzip-compressed JSON Lines for compact, dependency-free regeneration. The schema is in schema.json.
Reproduce
python generator/generate.py --output data --rows 50000 --seed 20270929
python scripts/validate.py --data data --sample-size 500 --seed 42
python -m unittest discover -s tests
The generator writes train, validation and test splits, a CSV sample and stats.json. Change --rows or --seed to reproduce a different deterministic build. Generation requires only the Python standard library.
Fields
Each record includes an id, task_family, question, optional Gregorian date components and conventions, computed calendar features where they apply, answer, answer_type and generator_version. Non-applicable fields are JSON null. Compound answers (such as month matrices and boundaries) are compact JSON strings in the answer field.
Examples
2027-01-01is Friday and belongs to ISO week 53 of ISO week-year 2026.- A month grid records its week start, leading offset, minimum row count, and rows of seven day numbers with null padding.
- Julian conversion is proleptic: it applies Julian civil-calendar arithmetic without a jurisdiction-specific Gregorian adoption switch.
For human-readable comparisons, see the July 2027 calendar and September 2027 calendar. They provide printable context for two 2027 examples; they are not data sources for the generated labels.
Intended use and limitations
Use the dataset for deterministic unit-style date reasoning experiments, parser checks, and split-aware evaluation. It is English-only, formula-derived, and uses a narrow set of template phrasings. It does not cover time zones, non-Gregorian calendars beyond the paired proleptic Julian conversion, historical locale adoption, holidays, or ambiguity in real user requests. High scores do not establish general calendar reasoning ability.
Related tools
- ChronoGrid Calendar Computation Laboratory
- Gregorian ↔ Julian Date Laboratory
- Calendar Query Intent Classifier — trained on a separate intent-query corpus, not on this benchmark.
License
Dataset records are available under CC BY 4.0. The generator and validation code are MIT licensed; see LICENSE.
- Downloads last month
- 129