<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-23T02:14:07Z</responseDate><request verb="GetRecord" identifier="oai:uwspace.uwaterloo.ca:10012/23070" metadataPrefix="dim">https://dspacemainprd01.lib.uwaterloo.ca/server/oai/request</request><GetRecord><record><header><identifier>oai:uwspace.uwaterloo.ca:10012/23070</identifier><datestamp>2026-04-28T12:48:31Z</datestamp><setSpec>com_10012_9924</setSpec><setSpec>com_10012_1</setSpec><setSpec>col_10012_9930</setSpec><setSpec>col_10012_6</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:doc="http://www.lyncode.com/xoai" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="author">LYU, Zhiheng</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2026-04-28T12:48:31Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2026-04-28T12:48:31Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2026-04-28</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">2026-04-13</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/10012/23070</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Large language models (LLMs) have demonstrated remarkable capabilities in code un-
derstanding and generation, yet a significant gap remains between static code generation
and interactive software engineering. This thesis investigates the post-training of LLMs as
software engineering agents, focusing on three interconnected challenges: infrastructure,
data, and training methodology.
First, we contribute to VerlTool, a unified framework for agentic reinforcement learn-
ing with tool integration (ARLT). The author’s contributions center on the training orches-
tration layer — the stateful environment protocol, environment server architecture, and
SWE agent post-training pipeline — which make tool-augmented RL training practical
and accessible for researchers.
Second, we address the critical bottleneck of training data and evaluation infrastructure.
SWE-Next provides a scalable, Ray-native pipeline for synthesizing verifiable software
engineering tasks from open-source repositories (ongoing work with intermediate results
reported). For SWE-QA-Pro, a representative benchmark for code question answering,
the author contributes the data sourcing and synthesis pipeline.
Third, we investigate the post-training design space for software engineering agents,
spanning supervised fine-tuning (SFT), rejection fine-tuning (RFT), RL from AI feed-
back (RLAIF), and RL with verifiable rewards (RLVR). Through three complementary
case studies—code question answering (SFT + RLAIF), web-based information retrieval
(SFT + RFT), and repository-level bug fixing (RLVR)—we demonstrate that the opti-
mal training recipe depends on task characteristics such as reward verifiability, exploration
complexity, and data availability. Our experiments show that task-specific post-training of
smaller open-weight models can be competitive with larger proprietary models, and that
matching the training method to the task structure is more important than uniformly
applying all stages.</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="dc" element="title">Post-Training Large Language Models as Software Engineering Agents</dim:field>
   <dim:field mdschema="dc" element="type">Master Thesis</dim:field>
   <dim:field mdschema="dc" element="pending">false</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="department">David R. Cheriton School of Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="discipline">Computer Science</dim:field>
   <dim:field mdschema="uws-etd" element="degree" qualifier="grantor" lang="en">University of Waterloo</dim:field>
   <dim:field mdschema="uws-etd" element="degree">Master of Mathematics</dim:field>
   <dim:field mdschema="uws-etd" element="embargo" qualifier="terms">0</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="advisor">Wenhu, Chen</dim:field>
   <dim:field mdschema="uws" element="contributor" qualifier="affiliation1">Faculty of Mathematics</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="city" lang="en">Waterloo</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="country" lang="en">Canada</dim:field>
   <dim:field mdschema="uws" element="published" qualifier="province" lang="en">Ontario</dim:field>
   <dim:field mdschema="uws" element="typeOfResource" lang="en">Text</dim:field>
   <dim:field mdschema="uws" element="peerReviewStatus" lang="en">Unreviewed</dim:field>
   <dim:field mdschema="uws" element="scholarLevel" lang="en">Graduate</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>