{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/311963"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/311963","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Trustworthy AI Feedback - A Hybrid Approach to Automated Feedback: Combining Rule-Based Reasoning with Generative AI in Ask-Elle","abstract":"Ask-Elle is an intelligent tutoring system for learning functional programming in Haskell, providing feedback through strategy-based model tracing and property based testing. However, the system fails to offer meaningful guidance in cases where a student’s program deviates from model solutions. This thesis investigates integrating generative AI into Ask-Elle to address this limitation. The proposed hybrid architecture uses a large language model to complete the student’s partial code, which is then validated by Ask-Elle’s existing compiler and property-based tests before any hint is shown to the student. Three models were evaluated, Claude Sonnet 4.6, GPT-5.3-Codex, and GPT-4.1-nano, with the two larger models achieving success rates of 88–97%. GPT-5.3-Codex was selected as the final model based on both technical performance and a blind pedagogical evaluation of hint quality. A user study indicated that AI-generated hints provided higher educational value than the system’s existing feedback. While code correctness is reliably enforced by the chosen architecture, occasional hallucinations in natural language hints remain an open challenge","abstract_html":"Ask-Elle is an intelligent tutoring system for learning functional programming in Haskell, providing feedback through strategy-based model tracing and property based testing. However, the system fails to offer meaningful guidance in cases where a student’s program deviates from model solutions. This thesis investigates integrating generative AI into Ask-Elle to address this limitation. The proposed hybrid architecture uses a large language model to complete the student’s partial code, which is then validated by Ask-Elle’s existing compiler and property-based tests before any hint is shown to the student. Three models were evaluated, Claude Sonnet 4.6, GPT-5.3-Codex, and GPT-4.1-nano, with the two larger models achieving success rates of 88–97%. GPT-5.3-Codex was selected as the final model based on both technical performance and a blind pedagogical evaluation of hint quality. A user study indicated that AI-generated hints provided higher educational value than the system’s existing feedback. While code correctness is reliably enforced by the chosen architecture, occasional hallucinations in natural language hints remain an open challenge","abstract_has_math":false,"creators":["Amiry, Arash","Bengtsson Svanstedt, Nils"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["Gerdes, Alex"],"committee_chairs":[],"committee_members":["Russo, Alejandro"],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T03:03:51Z","subjects":["intelligent tutoring systems, generative AI, automated feedback, functional programming, Haskell, property-based testing, model tracing"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/311963","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/311963","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F311963","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F311963","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Russo, Alejandro"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Gerdes, Alex"]},{"key":"dc:creator","label":"Author","values":["Amiry, Arash","Bengtsson Svanstedt, Nils"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-07-09T07:02:00Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Computer science -algorithms, languages and logic (MPALG), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen","Master's Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["intelligent tutoring systems, generative AI, automated feedback, functional programming, Haskell, property-based testing, model tracing"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/311963"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Ask-Elle is an intelligent tutoring system for learning functional programming in Haskell, providing feedback through strategy-based model tracing and property based testing. However, the system fails to offer meaningful guidance in cases where a student’s program deviates from model solutions. This thesis investigates integrating generative AI into Ask-Elle to address this limitation. The proposed hybrid architecture uses a large language model to complete the student’s partial code, which is then validated by Ask-Elle’s existing compiler and property-based tests before any hint is shown to the student. Three models were evaluated, Claude Sonnet 4.6, GPT-5.3-Codex, and GPT-4.1-nano, with the two larger models achieving success rates of 88–97%. GPT-5.3-Codex was selected as the final model based on both technical performance and a blind pedagogical evaluation of hint quality. A user study indicated that AI-generated hints provided higher educational value than the system’s existing feedback. While code correctness is reliably enforced by the chosen architecture, occasional hallucinations in natural language hints remain an open challenge"]},{"key":"dc:title","label":"Title","values":["Trustworthy AI Feedback - A Hybrid Approach to Automated Feedback: Combining Rule-Based Reasoning with Generative AI in Ask-Elle"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Russo, Alejandro"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"],"dc:contributor.supervisor":["Gerdes, Alex"],"dc:creator":["Amiry, Arash","Bengtsson Svanstedt, Nils"],"dc:date.accessioned":["2026-07-09T07:02:00Z"],"dc:date.issued":["2026"],"dc:description.abstract":["Ask-Elle is an intelligent tutoring system for learning functional programming in Haskell, providing feedback through strategy-based model tracing and property based testing. However, the system fails to offer meaningful guidance in cases where a student’s program deviates from model solutions. This thesis investigates integrating generative AI into Ask-Elle to address this limitation. The proposed hybrid architecture uses a large language model to complete the student’s partial code, which is then validated by Ask-Elle’s existing compiler and property-based tests before any hint is shown to the student. Three models were evaluated, Claude Sonnet 4.6, GPT-5.3-Codex, and GPT-4.1-nano, with the two larger models achieving success rates of 88–97%. GPT-5.3-Codex was selected as the final model based on both technical performance and a blind pedagogical evaluation of hint quality. A user study indicated that AI-generated hints provided higher educational value than the system’s existing feedback. While code correctness is reliably enforced by the chosen architecture, occasional hallucinations in natural language hints remain an open challenge"],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/311963"],"dc:language.iso":["eng"],"dc:publisher.program":["Computer science -algorithms, languages and logic (MPALG), MSc"],"dc:subject":["intelligent tutoring systems, generative AI, automated feedback, functional programming, Haskell, property-based testing, model tracing"],"dc:subject.uppsok":["Technology"],"dc:title":["Trustworthy AI Feedback - A Hybrid Approach to Automated Feedback: Combining Rule-Based Reasoning with Generative AI in Ask-Elle"],"dc:type.degree":["Examensarbete för masterexamen","Master's Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:03:51Z"}