
RA
Rahad Arman Nabid, Jeni Sorathiya, Stephen MacNeil
· 1 min read
ResearcharXiv cs.AI
Generating Assignments for Domain-Specific Programming Languages with Retrieval-Augmented Generation
arXiv:2612.02668v1 Announce Type: cross
Abstract: Large language models (LLMs) can help instructors quickly draft programming assignments, but it can be challenging to ensure that these assignments are fully aligned with course goals, course-specific software, and programming patterns. This is especially true when instructors use pedagogical libraries or teaspoon languages. We investigate the use of retrieval-augmented generation (RAG) to generate assignments based on BRIDGES, a research toolkit and API designed to support the visualization of data structures. Results show that RAG reduces both the iterations needed to produce functional assignments and the hallucination rate, although some hallucinations persist. These preliminary results suggest that RAG may help streamline assignment creation for libraries and languages that are not well represented in LLM training data.
Original source
This story was published by arXiv cs.AI and written by Rahad Arman Nabid, Jeni Sorathiya, Stephen MacNeil. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


