CatalogHigher ed
GradeHigher edSubjectCTEToolChatGPTCostFree
Happy strings with ChatGPT
The second task on that Frankfurt sheet asked students to write a function that counts happy strings inside the substrings of a given string, still with the free version of ChatGPT. The authors report the model never produced a correct solution in their own trials. The arXiv preprint is dated 30 July 2024.
- Who
- Andreas Scholl and Natalie Kiesler, Goethe University Frankfurt, in an arXiv preprint
- Date
- Evidence
- Backed by research
- Source
- arXiv
- Task types
- CodingComputer science
Try it safely
- Test the function on a short string you can check by hand.
- Keep a prompt that failed, and say what you changed.
- The code you submit has to run.
Share this example
Have one that worked? Share it
Comments
Leave a comment