Use case: Data Processing, Formatting & Math
Instruction type: Conditional
Prompt style: Direct prompting

Prompt:
Sort this list of books by the date I read them- the oldest date should be first. Convert all dates to mm/dd/yyyy format. If a date uses slashes (/), dashes (-), or dots (.) assume it is mm/dd/yyyy, unless the "mm" exceeds 12, then assume yyyy/mm/dd. If the date is missing the month or day, assume the number is "01". Assume any entries with only two parts are month and year if one of the numbers is four digits, or day and month if not. For dates lacking a year, assume the earliest year in the list. If any books appear on the list more than once, include them only under the earliest date listed and omit all other mentions, but include a note next to the title to indicate the amount of times read. For example, an entry for a book appearing twice on the list would look like this: "[Book Title](2)- [mm/dd/yyyy]" Make it a numbered list. Include a summary after the list that tells how many books were read each year (including duplicates). Finally, what month of the year do I read the most? Don't include books with no month listed in the entry for this calculation, but do include duplicate books.

The Priory of the Orange Tree - 14 Feb ’21
The Hobbit- 11th of June, 2020
The Girl With The Dragon Tattoo- January 23
The Name of the Wind- 2023/07/02
The Secret History- May 3rd, 2020
Mistborn- 11-08-19
A Man Called Ove- 2021.12
The Song of Achilles- August 2018
The Ocean at the End of the Lane- 02/15/23
The Giver of Stars- 2019-10-03
The Broken Earth: The Fifth Season- 5th of June, 2022
The Shadow of the Wind- 7/4/18
Annihilation- 2017
The Power- 03•2020
Howl’s Moving Castle - 2022-03-01
Klara and the Sun- 1 Sept 2021
The Grace of Kings- July 14th ’18
The Hunger Games- 2015-09-14
Little Fires Everywhere- 10.02.20
The Hobbit- August 12, 2022
The Midnight Library- 2020/12/28
The Light We Lost- 6th March 2017
Where the Crawdads Sing- 08-2019
The Left Hand of Darkness- December 5, 2022
Mistborn- June 11, 2022
The Girl With the Dragon Tattoo- 2015-01
The Goldfinch- 9/2016
The Hunger Games- 12-2-20
Station Eleven- 2020
Cloud Atlas- 15/01/18
The Night Watch- 2011-4-3
The Hobbit- 15/08/19
The Immortal Life of Henrietta Lacks- April 13
Life of Pi - 2•2014
Never Let Me Go- 04/03/15

Evaluation criteria:
The response should present the list of books as a numbered list.
The response should order the list of books chronologically with the oldest book first.
The response should include “The Girl With The Dragon Tattoo” in the list of books with the date 01/23/2011.
The response should include “The Night Watch” in the list of books with the date 04/03/2011.
The response should include “The Immortal Life of Henrietta Lacks” in the list of books with the date 04/13/2011.
The response should include “Life of Pi” in the list of books with the date 02/01/2014.
The response should include “Cloud Atlas” in the list of books with the date 01/18/2015.
The response should include “Never Let Me Go” in the list of books with the date 04/03/2015.
The response should include “The Hobbit” in the list of books with the date 08/19/2015.
The response should include “The Hunger Games ” in the list of books with the date 09/14/2015.
The response should include “The Goldfinch” in the list of books with the date 09/01/2016.
The response should include “Annihilation” in the list of books with the date 01/01/2017.
The response should include “The Light We Lost” in the list of books with the date 03/06/2017.
The response should include “The Shadow of the Wind” in the list of books with the date 07/04/2018.
The response should include “The Grace of Kings” in the list of books with the date 07/14/2018.
The response should include “The Song of Achilles” in the list of books with the date 08/01/2018.
The response should include “Where the Crawdads Sing” in the list of books with the date 08/01/2019.
The response should include “The Giver of Stars” in the list of books with the date 10/03/2019.
The response should include “Mistborn” in the list of books with the date 11/08/2019.
The response should include “Station Eleven” in the list of books with the date 01/01/2020.
The response should include “The Power” in the list of books with the date 03/01/2020.
The response should include “The Secret History” in the list of books with the date 05/03/2020.
The response should include “Little Fires Everywhere” in the list of books with the date 10/02/2020.
The response should include “The Midnight Library” in the list of books with the date 12/28/2020.
The response should include “The Priory of the Orange Tree” in the list of books with the date 02/14/2021.
The response should include “Klara and the Sun” in the list of books with the date 09/01/2021.
The response should include “A Man Called Ove” in the list of books with the date 12/01/2021.
The response should include “Howl’s Moving Castle” in the list of books with the date 03/01/2022.
The response should include “The Broken Earth: The Fifth Season” in the list of books with the date 06/05/2022.
The response should include “The Left Hand of Darkness” in the list of books with the date 12/05/2022.
The response should include “The Ocean at the End of the Lane” in the list of books with the date 02/15/2023.
The response should include “The Name of the Wind” in the list of books with the date 07/02/2023.
The response should not mention any books except those on the list:
The Girl With The Dragon Tattoo
The Night Watch
The Immortal Life of Henrietta Lacks
Life of Pi
Cloud Atlas
Never Let Me Go
The Hobbit
The Hunger Games
The Goldfinch
Annihilation
The Light We Lost
The Shadow of the Wind
The Grace of Kings
The Song of Achilles
Where the Crawdads Sing
The Giver of Stars
Station Eleven
The Power
The Secret History
Little Fires Everywhere
The Midnight Library
The Priory of the Orange Tree
Klara and the Sun
A Man Called Ove
Howl’s Moving Castle
The Broken Earth: The Fifth Season
Mistborn
The Left Hand of Darkness
The Ocean at the End of the Lane
The Name of the Wind
The response should include the following books only once in its list:
The Hobbit
The Hunger Games
The Girl With The Dragon Tattoo
Mistborn
The response should include "(3)" after "The Hobbit" in the list of books.
The response should include "(2)" after "The Girl With The Dragon Tattoo" in the list of books.
The response should include "(2)" after "Mistborn" in the list of books.
The response should include "(2)" after "The Hunger Games" in the list of books.
The response should include a summary after the numbered list that states how many books were read each year. The correct counts are as follows:
2011 - 3
2014 - 1
2015 - 5
2016 - 1
2017 - 2
2018 - 3
2019 - 3
2020 - 7
2021 - 3
2022 - 5
2023 - 2
The response should state that the most books were read in August and December.