Back to search

University of Alberta

Evaluating Large Language Models on Solving and Generating KenKen Puzzles

Abstract

dc:description.abstract

While much of educational AI research focuses on pedagogical behaviour, this thesis argues that current Large Language Models (LLMs) exhibit critical logical limitations under standard, unprompted interactions, cautioning students against relying on them as dependable autonomous tutors. Utilizing KenKen puzzles as a testing ground, this research establishes a baseline of logical competence by evaluating unassisted off-the-shelf models across a three-tiered framework: puzzle solving, partial solution validation, and novel puzzle generation. Across all dimensions, reasoning models consistently outperformed non-reasoning models. In the solving phase, the smaller open-weight Llama 4 and the frontier GPT-5.2, struggled significantly, yielding success rates under 1%. Conversely, the reasoning-focused GPT-5 and Qwen models achieved success rates of 85% and 78% respectively, though their accuracy declined sharply as the puzzle size scaled. In the validation phase, these reasoning models demonstrated strong foundational competence in identifying syntax errors and verifying correct puzzles, though they struggled with semantic errors. Finally, the generation phase exposed a critical inability to balance output diversity with structural correctness; GPT-5 achieved high correctness but lacked variety, whereas Qwen introduced excellent puzzle diversity but failed to reliably guarantee mathematical validity. Ultimately, these findings demonstrate that while off-the-shelf LLMs have potential, they must attain robust logical and mathematical reasoning before they can assume the complex responsibilities of tutoring

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Vandermeer, Emily K
Advisor dc:contributor.advisor
  • Barbosa, Denilson (Computing Science)

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/85868

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Vandermeer, Emily K. Evaluating Large Language Models on Solving and Generating KenKen Puzzles. Master's thesis, University of Alberta, 2026. https://doi.org/10.7939/85868