Theses
Permanent URI for this collectionhttps://uwspace.uwaterloo.ca/handle/10012/6
The theses in UWSpace are publicly accessible unless restricted due to publication or patent pending.
This collection includes a subset of theses submitted by graduates of the University of Waterloo as a partial requirement of a degree program at the Master's or PhD level. It includes all electronically submitted theses. (Electronic submission was optional from 1996 through 2006. Electronic submission became the default submission format in October 2006.)
This collection also includes a subset of UW theses that were scanned through the Theses Canada program. (The subset includes UW PhD theses from 1998 - 2002.)
Browse
Recent Submissions
Item type: Item , Towards Explainability for Language Models in Security Testing(University of Waterloo, 2026-05-07) Hadfield, CameronModern generative Language Models (LMs) present as black boxes, requiring significant trust in their capabilities and making it difficult to understand the reasoning behind their decisions. As these LMs are increasingly used for code and test-case generation, testers must trust them without knowing what drives the model's outputs. To improve accuracy, modern LMs rely on supplementary documentation, such as Retrieval-Augmented Generation (RAG), or other content directly provided in their prompts to enhance background knowledge. When testers use LM-generated test cases for other purposes, such as fuzz testing, they must place greater trust in their quality, as seed cases can significantly affect fuzzer coverage performance. We adapt existing methods to build an analysis pipeline that explains document retrieval when the LM relies on documentation to generate test cases. We achieve this with only black-box access to the LMs under test. We use RFC-959 (the File Transfer Protocol (FTP) protocol) and two synthetic protocols to isolate the LM's reliance on data in its RAG system. Statistical analysis shows that the explanations from our pipeline capture real phenomena rather than random data. To aid integration with automated security testing, we present a formal definition of protocol communication. This formalism helps map our pipeline's features to the protocol domain and lays a foundation for future work with fuzzers. The explanations our pipeline generates yield plausible results, with some unexpected outputs, suggesting the need for tuning to improve explanations.Item type: Item , Computational Structural Biology in Modern Integrative Discovery Pipelines(University of Waterloo, 2026-05-07) Jofily de Lima Rangel, PaulaComputational structural biology (CSB) and computer-aided drug design enable research and discovery pipelines that drive scientific innovation. The integration between development of CSB pipelines, application of state-of-the-art methods, and experimental collaboration constitute the current, modern paradigm in drug development. Emerging and rapidly developing fields in drug discovery involve novel classes of small molecule therapeutics that escape the boundaries of classical inhibition mechanisms. In this context, Proteolysis Targeting Chimeras (Protacs) are a promising drug modality of bifunctional compounds that promote the degradation of a protein of interest by triggering endogenous ubiquitin-proteasome signalling. In addition, protein-protein and protein-peptide interface design are methods central to state-of-the-art protein engineering campaigns. Extreme throughput mutagenesis through computational modelling enables the vast exploration required for true novelty in fields such as inhibitor design, antibody-antigen recognition, and specificity and affinity engineering. This work presents novel tools and scientific findings in a research model that follows the state-of-the-art CSB paradigm of integrative development, application, and experimental collaboration. We present a fully automated and accurate Protac ternary complex modelling platform; an extreme high-throughput interface mutagenesis tool to scan tens of millions of mutants in a physics-informed manner; and an automated molecular dynamics pipeline that introduces a unique, truly gentle protocol for system equilibration. In turn, these tools were applied to research questions involving prominent disease targets to guide posterior experimental efforts or explain previous experimental findings. The work presented in this thesis also provides a framework for understanding CSB's ever growing place of importance in current innovative scientific research.Item type: Item , Sustainability Practices and Financial Performance in Low-Cost Airlines: A Panel Analysis Using a Sustainability Disclosure Index(University of Waterloo, 2026-05-06) Goyal, SiddhantThe aviation industry faces growing pressure to address its environmental and social impacts as climate regulations tighten and stakeholders, including investors, regulators, and civil society, demand greater transparency from firms operating in emissions-intensive sectors. Although sustainability disclosure has expanded significantly across industries, its financial implications remain contested, particularly in sectors where competitive advantage depends on cost efficiency. Low-cost carriers provide a distinct context for examining this relationship because their business models prioritize cost leadership, high aircraft utilization, and lean operational structures. In such settings, firms face institutional pressure to communicate sustainability commitments while operating under structural constraints that limit discretionary investment. Drawing on stakeholder theory, and specifically the salience framework developed by Mitchell et al. (1997), this study conceptualizes sustainability disclosure as a selective organizational response to differentiated stakeholder demands, where the depth and structure of disclosure reflect which stakeholder pressures are most financially proximate and most compatible with the operating logic of the low-cost business model. Using sustainability and annual reports from 20 global low-cost carriers between 2015 and 2024, the study develops a Sustainability Disclosure Index (SDI) to measure the depth of Environmental, Social, and Governance (ESG) disclosure. The SDI is constructed through systematic content analysis of corporate reports, applying a structured coding framework aligned with Sustainability Accounting Standards Board (SASB) sustainability topics. The resulting dataset is used to examine whether sustainability disclosure depth is associated with financial performance through panel regression analysis. The findings indicate that while sustainability disclosure depth among low-cost carriers has increased steadily over the study period, greater overall disclosure depth is not associated with improved financial performance. Disaggregated analysis reveals that environmental disclosure is positively associated with return on assets, consistent with the interpretation that investor and regulatory demands converge most directly on the environmental dimension and that the underlying practices overlap with the operating economics of the low-cost model. Social disclosure is associated with a negative short-run relationship with profitability in the full sample, a pattern concentrated in financially distressed airline-years rather than representing a general feature of the LCC segment. Governance disclosure shows no statistically significant association with financial performance, consistent with its threshold-driven nature and limited cross-firm variation. The results suggest that the financial relevance of sustainability disclosure in the low-cost airline industry is conditional on which stakeholder demands the underlying practices address and how closely those demands are connected to the operating economics of the business model.Item type: Item , Probabilistic Verification of Quantum Devices Under Finite Measurement Resolution and Adversarial Disturbances(University of Waterloo, 2026-05-06) Rosas-Bustos, JoseThe development of practical quantum devices is transitioning from laboratory-scale demonstrations to engineered systems intended for integration, deployment, and sustained operation. As quantum hardware increases in complexity and scale, establishing reliable verification procedures under realistic operating conditions becomes a central engineering challenge. Real quantum devices operate under finite measurement resolution, estimator tolerances, drift, hardware constraints, and limited data, all of which fundamentally restrict what can be inferred from experimental observations. Consequently, verification strategies based on static thresholds, ideal measurements, or full microscopic reconstruction are often insufficient for deployment-grade systems. This thesis develops an engineering-oriented probabilistic framework for modelling and verifying quantum devices under finite measurement resolution and adversarial disturbances. Rather than treating verification as a binary decision, the work reframes it as a system-level inference problem governed by uncertainty, tolerances, and acceptance criteria. Across five manuscript-based studies, the thesis identifies fundamental verification vulnerabilities, introduces probabilistic modelling approaches, and develops practical mitigation, scaling, and governance-oriented strategies compatible with real hardware. First, the thesis shows that finite measurement resolution can create regions of operational indistinguishability in which conventional quantum integrity checks become statistically non-discriminating, even when the underlying theoretical assumptions remain valid. Building on this result, a probabilistic verification framework is introduced to model acceptance outcomes under uncertainty and to quantify confidence levels rather than rely on fixed thresholds alone. The thesis then develops an operational threat-modelling framework for adversarial disturbances in continuous-variable quantum communication, classifying structured interference into reconnaissance, exploratory, and denial-of-service regimes on the basis of receiver-observable statistics and finite-sample detectability. In response to such disturbances, phase-first modulation strategies are developed to show that static operating points can be inadequate under structured stress and that lightweight, hardware-compatible adaptations can improve resilience. To address scalability in large quantum systems, the Effective Mode Approximation is introduced as a reduced-order probabilistic verification framework for collective Hamiltonian behaviour, enabling system-level assessment without full mode-resolved reconstruction. Finally, a probabilistic forecasting framework is developed to model time-dependent cryptographic security degradation under evolving classical and quantum threat capabilities, extending verification concepts to strategic risk assessment and transition planning. Taken together, these contributions establish a unified probabilistic verification perspective grounded in robustness, scalability, and operational realism. The proposed methods align with established principles from control, signal processing, and system identification, and they provide practical tools for assessing trust, performance, and readiness of quantum hardware as it moves toward real-world deployment.Item type: Item , Towards Socket Testing Standardization: Advancing Mock Residual Limbs for Transtibial Prosthetic Socket Testing Through 6DOF Gait Simulation(University of Waterloo, 2026-05-06) Rossi, EricaThe transtibial prosthetic socket is a key component in below-knee prostheses. While technology used to create and augment sockets have been evolving, testing methods have not kept pace. The criterion standard for the testing of transtibial prostheses, ISO 10328, does not specify testing for the socket as a stand-alone unit beyond static compression testing to simulate heel-strike and toe-off components of gait. Additionally, the limb dummies or Mock Residual Limbs (MRLs) used in these testing methods to interface with, and impart loading on, the socket are poorly defined and typically made of non-compliant plaster or polyurethane. This lack of standardization, specifically socket testing, has been identified by the American Orthotics and Prosthetics Association Socket Guidance Workgroup as a major limitation and motivated this thesis. This research aimed to develop a mechanical cyclic gait testing setup utilizing a novel compliant MRL. Ten (10) MRL variations were developed, comprising of an aluminum threaded rod to simulate the tibia and a single or dual-layer of silicone to simulate the skin and soft tissues of the residuum. EcoFlex 00-30 and VytaFlex 30A silicones were selected as the MRL materials to replicate skin and tissue material properties and mechanical behaviour. Three novel 3D printed Spider structures were also developed (50 mm, 70 mm diameter, and Equidistant) and integrated with the tibia rod to promote material adhesion between the rod and the silicone and support load transfer by creating a mechanical interlock with the silicone. Affixed to the VIVO™ Joint Simulator, MRLs were seated into a transtibial prosthetic socket for uniaxial and multiaxial mechanical testing. The VIVO™ enabled custom cyclic gait waveforms representing realistic amputee knee joint forces and moments. These loads were imparted on the socket and enabled the evaluation of MRL mechanical properties. Uniaxial and multiaxial cyclic gait testing of the MRLs and socket system highlighted the ability of the Spider to increase the MRLs response to loading. The 50 mm Spider saw an improved moment loading response, and the 70 mm Spider improved force loading response when integrated with the MRLs. Additionally, increased stiffness of the single layer VytaFlex 30A silicone (compared to the single layer EcoFlex 00-30) allowed for an improved moment loading response of the MRL. The dual-layer (60:40) MRL of VytaFlex 30A and EcoFlex 00-30 further improved MRL force loading response. The top two performing MRLs recommended for further research are the VytaFlex 30A Core, and EcoFlex 00-30 Outer Shell 50 mm Spider MRL and the VytaFlex 30A 50 mm Spider MRL. By leveraging the ability of dynamic mechanical testing this research can act as a bridge between rudimentary bench testing and resource intensive clinical trials – revolutionizing the way socket testing is viewed and promoting more efficient technology development.Item type: Item , Load Variation Resilient and Average Efficiency Enhanced Power Amplifiers for 5G/6G Beamforming System(University of Waterloo, 2026-05-06) Yu, HangThe deployment of Fifth Generation (5G) and Sixth Generation (6G) infrastructure relies heavily on high-frequency beamforming architectures to deliver high data rates and spectral efficiency. However, the physical realization of these systems faces critical challenges: the need for high circuit integration, energy efficiency under high Peak-to-Average Power Ratio (PAPR) signals, and robustness against dynamic load variations inherent in large-scale arrays. This doctoral thesis addresses these requirements through the development of three advanced integrated circuit objectives, progressing from theoretical derivations in load variation resiliency (Voltage-Standing-Wave-Ratio (VSWR) resiliency) to front-end architectural synthesis for Power Amplifiers (PAs). To improve circuit integration and performance for Time-Division Duplex (TDD) operation in beamforming systems, Chapter 3 focuses on the co-design of a Transmit/Receive (T/R) Front-End Module (FEM). Traditional FEMs suffer from insertion loss and area overhead due to additional Single-Pole Double-Throw (SPDT) switches. To resolve this, this work presents an architecture that integrates a Doherty Power Amplifier (DPA) in the transmit path, which also functions as a switchless T/R isolation network during receive operation. On the receiver side, an embedded switching network maximizes isolation and bandwidth while jointly optimizing the overall FEM performance and integration trade-offs. A 39 GHz prototype was fabricated using the GlobalFoundries 45nm Silicon-On-Insulator (SOI) CMOS process and achieves a Transmit (TX) mode gain of 15 dB, a saturated output power of 20 dBm, and a Power-Added Efficiency (PAE) of 23%/15% at peak and 6-dB back-off, respectively. In Receive (RX) mode, it delivers 20 dB of gain, a 4.5-dB noise figure, and an input 1-dB compression power of -16.5 dBm while consuming 32 mW. Occupying a core area of just 0.5 x 0.75 mm^2, this architecture demonstrates a highly competitive efficiency-noise-integration trade-off, achieving state-of-the-art performance for high-frequency FEMs. While integration and performance improvements are critical for beamforming systems, the load variation induced by antenna mutual coupling in Large-Scale Antenna Arrays (LSAAs) presents another critical challenge. Chapter 4 proposes a dual-mode PA design, utilizing different gate biasing to reconfigure its operational state. The work features a 'VSWR resiliency mode' to maintain robust performance under high load mismatch, and an 'Output-Back-Off (OBO) efficiency enhancement mode' to maximize efficiency under minimal load variation. Central to this design is a novel combiner network synthesized to support two distinct operational regimes: it can emulate the characteristics of balanced architectures (symmetric drain currents) for load-variation resiliency, or Doherty load modulation (asymmetric drain currents) for efficient OBO operation. A 29 GHz prototype was fabricated using GlobalFoundries' 22nm Fully-Depleted SOI CMOS process to validate the concept. Under a 50-ohm load, the VSWR-resilient mode achieves 16.5-dB gain, 12.5-dBm output power, and 18%/7.5% PAE at peak/6-dB OBO. The OBO efficiency-enhanced mode delivers 13-dBm output power with 19%/12.5% PAE at peak/6-dB OBO. Across a load of 2.5:1 VSWR over a 360-degree phase range, the VSWR-resilient mode exhibits only 0.5-dB average saturated-power degradation compared to 1~dB in the OBO efficiency-enhanced mode. Modulated measurements under varying VSWR loads further confirm the superior load-variation tolerance of the proposed architecture. The above-mentioned dual-mode approach offers flexibility between VSWR resiliency and efficiency improvements; however, communication protocols often demand simultaneous efficient and robust operation. Consequently, Chapter 5 unifies these requirements by establishing the theory and design of a "VSWR-Resilient DPA," extending the analytical framework of Chapter 4 to ensure robust performance across multiple power regimes. The analysis yields architectures that maintain the OBO efficiency profile of a DPA while simultaneously delivering load-variation insensitivity against Multiple-Input-Multiple-Output (MIMO) beamforming array mismatch. A prototype targeting 8 GHz is designed using a commercial MACOM GaN bare-die transistor on a multi-layer PCB substrate; however, due to procurement delays, experimental validation is deferred to future work. In EM circuit co-simulation, the architecture achieves 10-dB SS gain, 45-dBm saturated output power, and 49%/35% PAE at peak/6-dB OBO under a 50-ohm load, while maintaining less than 1.5-dBm saturated power variation and 1.55× normalized Class-B efficiency at 6-dB OBO across different antenna loads on the 3:1 VSWR circle.Item type: Item , Sustainable Strategies for Arctic Lifelines: Funding Decisions in the Face of Climate-Change Uncertainty(University of Waterloo, 2026-05-06) GHOLAMI, HAMEDRemote Arctic communities rely on ephemeral winter roads for the affordable delivery of essential goods. As climate change destabilizes the physical foundation of these supply chains, policymakers face a complex stochastic allocation problem: how to optimally divide a constrained budget between supply-side infrastructure investments (to extend road duration) and demand-side consumer subsidies (to bolster household purchasing power). In this thesis, we develop a stylized stochastic optimization model to analyze this trade-off, formulating a capacity-budget gap parameter to capture the dual-bottlenecks of physical throughput versus financial liquidity. We prove that the optimal funding strategy, serving as a stochastic hedge, is strictly bounded between the supply-constrained and demand-constrained deterministic solutions. Through comparative statics, we uncover counter-intuitive operational tradeoffs, including a price-affordability tradeoff and a logistics efficiency tradeoff, where improvements in supply chain economics rationally trigger infrastructure divestment due to an underlying income saturation effect. Furthermore, we analyze the compound effect of climate change: a secular decline in mean winter duration combined with rising interannual volatility. We demonstrate that for the most vulnerable communities, this compound shock pushes the system into a dilution state where higher volatility counter-intuitively reduces the optimal investment level. Our findings suggest that as climate uncertainty accelerates and mean operational windows shrink, relying on winter road infrastructure becomes economically unsustainable, necessitating a strategic policy pivot toward direct income support and alternative logistics.Item type: Item , Feature Representation for Sea Ice Mapping(University of Waterloo, 2026-05-06) Noa Turnes, JavierSea ice monitoring is essential for climate research, Arctic navigation, and operational decision-making. Synthetic aperture radar (SAR) imagery is the primary sensing modality used by national ice services because of its independence of atmospheric and lighting conditions, and sensitivity to surface structure. However, SAR-based sea ice classification remains challenging due to spatially non-stationary statistics caused by incidence angle effects, seasonal transitions, and strong within-class variability. These factors complicate feature extraction and limit the robustness and transferability of conventional deep learning models. This thesis investigates feature representation learning for sea ice classification in SAR imagery through both supervised and self-supervised paradigms. The first contribution introduces a supervised semantic segmentation framework that integrates convolutional neural networks (CNNs), transformers, and unsupervised region segmentation. The proposed Irregular Tokens on Transformers (ITT) architecture forms multi-scale, homogeneous tokens using Iterative Region Growing on Semantics (IRGS) and applies self-attention to capture long-range spatial dependencies. A multi-task training scheme combines pixel-level and region-level loss functions, encouraging region-consistent feature representations while preserving fine-grained boundaries. Experiments on multi-season RADARSAT-2 scenes demonstrate improved overall accuracy, sharper boundary delineation, and reduced predictive uncertainty compared to a CNN baseline. An expert audit conducted by the Canadian Ice Service further supports the operational relevance and stability of the approach across freeze-up and melt conditions. While supervised learning delivers strong performance when annotations are available, SAR labeling remains costly and domain specific. The second contribution explores self-supervised pre-training toward a SAR foundation model for sea ice classification. By leveraging masked representation learning and multi-task objectives, the proposed framework learns transferable representations from unlabeled SAR imagery. The study evaluates whether large-scale pre-training alone is sufficient to address domain shifts across sensors and seasons, or whether task-specific adaptations remain necessary. Results show that self-supervised pre-training substantially improves downstream performance and generalization, but optimal accuracy is achieved when combined with structured fine-tuning aligned with sea ice semantics. Overall, this thesis demonstrates that robust sea ice classification fundamentally depends on how feature representations are learned, and provides principled strategies for improving scalability, generalization, and operational viability in Arctic SAR applications.Item type: Item , Leveraging Interactive Human–AI Collaboration Methods to Enhance Key Stages of Programming Workflows(University of Waterloo, 2026-05-06) Liu, XuyeBeyond writing code, programmers routinely move through several complementary tasks as they develop, refine, and share their work. These workflows typically involve recurring stages: understanding and documenting code, checking correctness and debugging, improving efficiency and scalability, and sharing results with others. Each stage has its own challenges: documentation often becomes outdated or inconsistent with evolving code, debugging can be time-consuming and opaque, performance improvements require balancing competing goals (e.g., speed, memory, and clarity), and communicating results usually demands extra manual effort. This thesis investigates how human–AI collaboration can support programmers across four key stages of the workflow. To address these challenges, I begin by studying the needs and practices of programmers to understand where current tools fall short. Based on these insights, I design interactive systems that integrate with common tools such as computational notebooks and IDEs and operate on invariant components (code cells, execution outputs, text) so results remain compatible with common practices. Across the four stages, these systems provide context-aware code understanding across multiple cells, purpose-driven documentation from code and its execution results for different communicative purposes, presentation slides from code and results, and real-time, multi-dimensional code evaluation and optimization support during development, with authors remaining in control to inspect, edit, and refine outputs throughout. I conduct user studies and case studies to evaluate system usability and to assess how these approaches improve programmers’ productivity, confidence, and ability to share their work.Item type: Item , Habitat Restoration Strategies for Eastern Meadowlark (Sturnella magna, L.) in Ontario(University of Waterloo, 2026-05-06) Atherton, ClaireEastern Meadowlark (Sturnella magna, L.) is an at-risk grassland bird in Ontario. S. magna is declining in part from breeding habitat loss and quality decline. Habitat restoration has been proposed as a recovery measure. Information on S. magna’s habitat preferences and current S. magna restoration initiatives are lacking in Ontario. I studied microhabitat characteristics within restored tallgrass prairie sites in Norfolk County, Ontario. No S. magna were observed on the study sites. I compared microhabitat characteristics between potential nest attempt periods, between sites, and to time since disturbance. Visual obstruction was the only characteristic that differed between nest attempts (p < 0.05). All microhabitat characteristics differed between sites (p < 0.05). All characteristics except woody vegetation cover (dCor = -0.00038, p = 0.52) showed a correlation with time since disturbance. The levels of significance for all tests were determined to be artefacts of the small sample size and do not necessarily reflect true trends. Comparisons to the literature suggest that percent grass cover may have been too low and percent total cover too high to support S. magna, but results differed and were too sparse to make meaningful comparisons. Likely not enough time has passed since restoration for the sites to become suitable for S. magna. I distributed an online questionnaire to 334 people knowledgeable of S. magna, tallgrass prairies, and/or grassland birds about past, current, and future restoration strategies in Ontario. Thirty-five responses were received. Projects have occurred across southern Ontario with clusters near Windsor and in Northumberland County.Delayed hay harvesting was the most common management strategy in restored areas. About half of respondents indicated that post-restoration monitoring occurs at least some of thetime. Sixty-three percent of respondentsindicatedthat projects used interventions.Most respondents indicated that projects lacked in sufficiency and effectiveness. Limiting factors included finances and maintenance, and strengths included having a broad focus, planning, and monitoring. Key targets for future projects were southern and eastern Ontario. Key targets for future research were a better understanding of S. magna’s habitat needs and lifecycle, responses to restoration, and use of anthropogenic grasslands. This thesis provides an overview of the state ofS. magnarestoration in Ontario. It provides a roadmap for restoration ecologists and conservation biologists to use when managing habitat for grassland birds in Ontario.Item type: Item , Surface Wave Propagation using Ray Optics with Applications to Hamilton Harbour(University of Waterloo, 2026-05-05) Bhavsar, KhushSurface gravity waves are a commonly observed phenomenon in closed lakes. They are primarily generated by winds, but may also be generated by wakes of vessels in the water or tidal forces. These waves are known to undergo refraction and changes in energy (and therefore, amplitude and speed) as they propagate over variable depths in a closed lake. In this thesis, we use the linearized ray optics equations to study the propagation of surface waves in closed lakes with variable bathymetry. We assume that the fluid is inviscid, irrotational and incompressible. We further assume that the wavelength of these waves is much smaller than the length scales over which bathymetry (depth) varies – in other words, we assume the waves propagate in a slowly varying environment. We perform a series of numerical simulations of surface wave propagation with various initial conditions and bathymetries to validate the model, as well as gain insights on the effects of roughness of the bathymetry in diverting the expected trajectories of these waves. Finally, we present a case study on Hamilton Harbour. This watershed has been under scrutiny for several years due to rising eutrophication levels affecting the dissolved oxygen levels in the basin. We apply the numerical model to the bathymetry of Hamilton Harbour to locate hotspots of wave accumulation in the lake, which may provide inference of regions in the lake where we expect sediment resuspension which is one of the primary factors of internal loading of phosphorus in lakes.Item type: Item , Facilitating Game Development From Requirements to Code with LLMs(University of Waterloo, 2026-05-05) El Shatshat, AhmedLarge Language Models (LLMs) are seeing further integration into the software development process, in part due to their strength as code-drivers. In defiance of prompt engineering, I put forth Software Requirements Specification (SRS) as the only necessary input to such systems. An extension of Bingyang Wei’s work on a progressive prompting method to develop code, this thesis explores the capacity of Wei’s Progressive Prompting Method (WPPM) to facilitate game development, using a Tailored Large-Language Model (TLLM). I investigate the following four research questions: 1. Does the WPPM facilitate game development? 2. What strengths and weaknesses emerge in the use of the WPPM to develop a game app? 3. What impacts do the results of such an exploration have on the software development process? 4. Are requirements all you need to persuade the TLLM to generate executable code that fulfills those requirements? Through case studies exploring the main facets of game development, insights are extracted demonstrating that game development under such conditions is possible, and deserves further analysis against traditional development processes. This thesis highlights the strengths of LLMs for software development, and addresses how oversight by a domain expert can mitigate the associated weaknesses. This thesis also serves to combat dominant narratives over-estimating the capabilities of LLMs, which seek to push such systems as a silver bullet for all software problems. Further research in accurately assessing the capacity of the technology is suggested, highlighting the importance of a cost analysis against the traditional manual development process.Item type: Item , Overcoming Critical Challenges Hindering Resistance Spot Welding of Dissimilar Advanced High Strength Steel Joints: LME Mitigation and Weld Class Prediction(University of Waterloo, 2026-05-04) Nooranfar, MelikaReducing carbon dioxide emissions from the transportation sector has driven demand for lighter vehicles. Advanced high-strength steels (AHSS) enable the use of thinner gauges without compromising crashworthiness due to ability to absorb high fracture energy. Because these materials are exposed while in-service AHSS are typically zinc-coated for corrosion protection. However, excellent mechanical strength is insufficient for these materials to be used for automotive application, they must also be capable of being welded into the automotive structure. Resistance spot welding remains the dominant joining method in automotive body-in-white production, yet two challenges affect weld quality in dissimilar stack-ups: liquid metal embrittlement (LME) cracking and the absence of reliable offline quality prediction. Most existing studies have focused on similar stack-ups, leaving dissimilar joints inadequately addressed. This research examines both challenges using dissimilar configurations representative of industrial practice. The first part investigates LME mitigation in two-sheet joints of zinc-coated 3G-980 AHSS and interstitial-free steel. A short high-current pre-pulse (16 kA, 20 ms) reduced the crack index from 0.56 to 0.14, a 75% reduction. Cross-sectional analysis revealed that the pre-pulse shifted the nugget toward the IF sheet, increasing the distance between the susceptible 3G-980 surface and the fusion boundary. This geometric shift reduced the overlap between liquid zinc and tensile stresses, suppressing crack formation. Contrary to welding made in similar material joint configurations where high-current pre-pulses intensified cracking, the same approach effectively mitigates LME in dissimilar configurations. The second part develops a machine learning framework for weld quality classification in three-sheet dissimilar AHSS stack-ups. Each weld was classified as acceptable (Ok), No weld, or Expulsion based on online assessments. Random Forest and XGBoost classifiers were trained on a 137-sample dataset, with XGBoost achieving 89.3% accuracy and superior performance near class boundaries. The trained models enabled identification of no weld regions and provided a basis for adaptive parameter selection. Both LME severity and weld class are critical indicators of joint integrity yet have rarely been addressed together for dissimilar coated AHSS. This thesis provides an experimentally grounded vii framework linking welding parameters to quality outcomes, offering practical pathways for process optimization in automotive resistance spot welding.Item type: Item , Grinds and Slides: Skateboarding as an Architectural Pedagogy(University of Waterloo, 2026-05-04) Neal, JansonThis thesis examines the intersection of skateboarding and architecture, proposing that skateboarding is, in effect, a spatial and architectural pedagogy. This work aims to prove that through acts of movement, seeing, and reappropriation, skateboarders learn from and teach through their engagement with the built environment. The act of skateboarding reveals how materials, spatial conditions, and social interactions shape the way architecture is experienced and understood. Skateboarding turns the city into both a classroom and a stage, revealing the architectural potential beyond its anticipated program. The foundation of my research begins with my own lived experience as a skateboarder and a student of architecture. Drawing from both experiences I intend to prove this thesis’ argument that skateboarding is an architectural pedagogy. The research centers around filtering through and documenting architecturally interesting and significant skatespots—the informal sites of skateboarding—presented in skate videos and magazines. From this archiving and analysis of skate media, spots were selected and catalogued for analysis and further investigation as case studies. These spot investigations and documentations include actively skating them, drawing, photography, measuring, on site conversations, and observations. Skateboarders have a unique lived experience and perspective that offers insight into the stuff, people and place of architecture. Architecture is made up of stuff. Stuff supports the spatial and material dimension of skateboarding. It is the architectural elements, the surfaces, textures, and forms that define space, inform use and how it feels to move through space. In this thesis stuff falls into three conditions: edges, surfaces, and voids, and from there investigated and defined spot typologies. It is clear that skateboarding does foster an understanding of form and architecture. Skateboarding is so invested in the stuff of architecture that it has even developed its own architectural lexicon that is unversally shared throughout skateboarding and other peripheral action sports. Architectural elements like curbs, rails, banks, and ledges become moments of exploration and sites of performance. Skateboarding transforms these everyday materials and assemblies into an design knowledge, demonstrating how physical conditions teach through active engagement. The skateboarder is not only a user engaged in convetional understanding of stuff, but also an active and subversive participant and critic of said stuff. The investigation of these various uses and engagements falls within the category of people. Through exploring the skateboarder’s lived experience of spot-finding, modification, and resistance, we understand that skaters engage with the city on their own terms. They reinterpret public space, ownership, and play—sometimes being perceived as vandals and misfits—which often results in adversity and resistance. Skateboarding challenges conventional boundaries and expectations between occupant and designer. Skateboarding’s spatial participation is proof of an understanding and appreciation of architecture and form; additionally, this participation forces others to see space from a new perspective to combat the act. Skateboarding teaches both skaters and non-skaters about architectural form and the response it ignites. Place, or spot, is the composite of the greater architectural site combining building, landscape, and stuff. I visited various spots and documented skateboarding and its reactive relationship to the architecture of the site. Skateboarders transform ‘ordinary’ places into culturally significant spots, and in turn reveal new appreciation for those spots are already deemed extraordinary architectural sites. A plaza, a set of stairs, or a handrail becomes a landmark beyond design intention because of collective action and memory. Skateboarders know and understand these sites through time spent with them. Places gain communal value through use, history, and documentation. This research demonstrates how architecture establishes meaning not only through form, but through interaction. Interaction, like skateboarding, fosters expertise. Skateboarding teaches a way of reading and engaging with architecture that is physical, intuitive, and critical. It establishes the urban landscape as something dynamic and malleable, shaped by movement, touch, and time. Skateboarders preserve, reimagine, and archive architectural space, often extending its cultural and material lifespan through stewardship, occupation, and documentation. These actions demonstrate that architecture is not static, but alive through those who move within it. In this way, skateboarding becomes more than recreation, sport or art; it becomes a form of architectural thinking and learning. It fosters knowledge through experience, collaboration, and care. It shows that the city can be both teacher and stage, that architecture is not only designed but discovered. Skateboarding, in its everyday practice, becomes architecture’s most unorthodox but adventurous pedagogy.Item type: Item , Synthesis of Ta-doped Li7La3Zr2O12 for application in solid-state electrolyte(University of Waterloo, 2026-04-30) Yan, XinmeiSolid-state batteries have emerged as a major focus in rechargeable battery research. Among them, cubic-phase of lithium lanthanum zirconium oxide (LLZO) demonstrates excellent room-temperature ionic conductivity, low activation energy, and high thermal stability against lithium metal. Conventional LLZO synthesis struggles with particle size control and large-scale uniform production, limiting commercial applications. Thus, developing an efficient synthesis route for high-quality LLZO is critical. In this work, a refined standard operating procedure (SOP) for fabricating dense pellets from powder was established using commercial powder. Systematic optimization of green body properties and sintering yielded ceramics with 95.8% relative density, 0.49 mS cm⁻¹ conductivity at 20 °C and 0.25 eV activation energy (20–40 °C). Furthermore, the study introduces a spray-drying synthesis approach for cubic-phase Ta-doped LLZO powder. Compared to commercial powders, the synthesized LLZTO produced similarly dense pellets (up to 96.4%) with comparable electrochemical performance. The best sample reached an ionic conductivity of 0.36 mS cm⁻¹ at 20 °C and 0.52 mS cm⁻¹ at 40 °C, with a minimum activation energy of 0.23 eV. Preliminary tests integrated synthesized LLZTO into 3D printing inks. After de binding and sintering, phase stability or crystallite size were unaffected, but mechanical fragility prevented reliable electrochemical testing. Overall, this study demonstrates both an effective spray drying route for scalable LLZTO synthesis and the feasibility of fabricating oxide-based solid electrolytes via 3D printing. Further optimization is needed to improve the mechanical strength and reproducibility of printed structures before achieving consistent electrochemical characterization.Item type: Item , Efficient Inference-time Control and Alignment(University of Waterloo, 2026-04-30) Rashid, AhmadModern foundation models are typically trained in three broad stages. First, large-scale pre-training is performed using self-supervised learning on massive corpora. Second, models are adapted through mid-training using supervised fine-tuning or instruction tuning on labeled datasets. Finally, a post-training stage is often applied using preference data and reinforcement learning in order to align the model and improve its safety, reliability, and usefulness. Although effective, post-training methods can be computationally expensive and inflexible once large models are deployed. This thesis explores an alternative paradigm: enforcing behavioral objectives at inference time rather than modifying model parameters during post-training. In this approach, smaller modular control models are combined with a base model to shape predictions during the decision process. Our aim is to design alignment mechanisms that are both mathematically grounded and empirically strong while remaining computationally efficient and easy to deploy. We apply this perspective of inference-time control to three problems. First, we address reliability in neural classifiers. We introduce PreLoad, an inference-time mechanism that mitigates arbitrarily high confidence on inputs that lie outside the training support while preserving accuracy and training efficiency. Second, we study reward-guided text generation (RGTG) in large language models as a form of inference-time alignment. We show that stable reward-guided decoding requires carefully designed token-level reward models and propose two algorithms, PARGS and FaRMA, that enable effective reward-guided generation. Third, we address the computational cost of RGTG and propose an efficient algorithm that adds only a minor overhead during inference while preserving the performance and benefits of reward-guided decoding. Together, these results demonstrate that inference-time control provides a flexible and computationally efficient framework for shaping the behavior of modern neural systems. By decoupling representation learning from the decision-time objectives, this work introduces new tools for improving the reliability, alignment, and efficiency of large-scale machine learning models without retraining them.Item type: Item , On Induced Saturation in Graphs and Tournaments(University of Waterloo, 2026-04-30) Fan, XinyueLet H be a graph. A graph G is H-induced-saturated if G is H-free — meaning that no induced subgraph of G is isomorphic to H — and adding or removing any edge in G leaves a graph that is no longer H-free. In this thesis, we study the following question: For which graphs H does there exist an H-induced-saturated graph G? A full answer remains out of reach; indeed, it remains open whether H-induced-saturated graphs exist for every even cycle H. This is particularly intriguing because, in contrast, Behrens et al. [1] gave a short proof that H-induced-saturated graphs exist when H is an odd cycle (except for the triangle, which is complete). A “halfway” result toward settling the case of even cycles is due to Tennenhouse [16], who showed that for every even cycle H, there exists a (non-complete) graph G that is H-free such that adding any edge to G creates an induced copy of H. Tennenhouse’s construction is remarkably simple, but it does not satisfy the edge-deletion property. Our first result complements this: We prove that for every even cycle H, there exists a (non-empty) graph G that is H-free such that deleting any edge from G creates an induced copy of H. The construction of such a graph G is rather involved, and yet unfortunately does not satisfy the edge-addition property. We also study our deletion-only relaxation of induced saturation for other choices of H. In particular, we consider the case where H is a tree, and prove that for every non-complete tree H with two leaves at distance at most three, there exists a (non-empty) graph G that is H-free such that deleting any edge of G creates an induced copy of H. In fact, we prove that every non-complete graph H with two leaves at distance at most three has this property. This follows from an even stronger result for graphs with two leaves satisfying certain technical conditions. Finally, we examine the tournament analog of induced saturation: For which tournaments H does there exist a tournament G that is H-free such that flipping the orientation of any arc of G creates a copy of H? The case where H is transitive is particularly interesting, since Ramsey’s theorem implies that only finitely many H-free tournaments exist in the first place. We prove that for every transitive tournament H, if the critical tournament exists for H, then it also exists for the tournament Δ(1, 1, H), obtained from a cyclic triangle by blowing up one vertex into a copy of H.Item type: Item , Sex- and-Gender-Based Analyses of Penicillin Allergy Labels, Outcomes, and Delabeling Interventions(University of Waterloo, 2026-04-30) Maximos, MiraBackground: Penicillin allergy labels (PALs) affect approximately 10% of the population, yet over 95% of labeled individuals tolerate penicillin following delabeling interventions. For patients who are considered low risk, oral challenge (OC) and direct delabeling (DD) are increasingly favored over penicillin skin testing (PST), although definitions of low risk vary. Sex-based differences in PAL prevalence and clinical characteristics remain poorly defined. Females are more frequently labeled with penicillin allergy and receive antibiotics more often than males, yet sex-based differences in PAL prevalence, delabeling outcomes, and antibiotic utilization practices remain poorly characterized. A clearer understanding of how sex influences PAL reporting, delabeling strategies, and antibiotic selection is needed to optimize allergy evaluation and antimicrobial stewardship. Objectives: This thesis examined sex-based differences in PAL, delabeling strategies, and antibiotic utilization. A systematic review and meta-analysis evaluated effectiveness and safety of DD and OC in low-risk patients and assessed sex and gender differences in reporting and outcomes. A descriptive analysis characterized OC protocols, hypersensitivity reactions, and reported predictors of adverse events. A cross-sectional study assessed associations between sex and PAL in an ambulatory care hospital in Ontario, including differences in β-lactam allergy reporting, reaction severity, and comorbidities. Finally, a cohort study evaluated whether sex modifies the association between PAL and antibiotic prescribing, including antibiotic class selection and use of second-line agents when β-lactams are indicated. Methods: This thesis is based on research utilizing multiple diverse study designs, including a systematic review and meta-analysis, a descriptive epidemiologic analysis, and cross-sectional and cohort studies. A PRISMA-guided quantitative systematic review was conducted through February 2024 to identify studies evaluating direct delabeling (DD) or oral challenge (OC) in low-risk patients compared with no intervention, penicillin skin testing, or alternative strategies. Study quality was independently assessed by two reviewers. Random-effects meta-analyses were performed, with subgroup analyses conducted in the presence of substantial heterogeneity (I² >75%), and qualitative data were synthesized narratively. Data from included OC studies were further analyzed descriptively to characterize challenge protocols, adverse reactions, and reported predictors of hypersensitivity, with reactions classified by timing and pooled adverse event rates estimated using random-effects models. A STROBE-guided cross-sectional study of adults attending an ambulatory urgent medicine clinic in Ontario (2015–2024) examined associations between sex and penicillin allergy labels (PALs) using multivariable logistic regression. A retrospective cohort study of the same population assessed whether sex modified the association between PAL status and antibiotic prescribing, including antibiotic class selection and β-lactam use when indicated, using multivariable logistic regression with interaction terms; Firth’s bias-reduced methods were applied when separation occurred. Results: Across 28 studies included in the systematic review and meta-analysis (2 randomized trials, 26 quasi-experimental), sex was reported in 86%, with females comprising 61% of participants; however, only 18% disaggregated outcomes by sex and no studies reported gender variables. OC was similarly effective to PST in randomized trials (RR 1.04, 95% CI 0.95–1.13), while quasi-experimental studies reported high delabeling rates for OC (~90%). Direct delabeling was possible in approximately 27% of those included with a study arm for DD. A descriptive epidemiologic analysis of 26 OC studies demonstrated a pooled reaction or non-delabeling rate of 4% (95% CI 3–6%), most commonly mild cutaneous reactions, with higher baseline allergy burden and shorter intervals since index reaction being identified as potential risk factors. In a cross-sectional study of 29,645 ambulatory care patients in Ontario, 9.4% had a penicillin allergy label (PAL), most of which were low risk; females were significantly more likely to have a PAL than males, report multiple medication allergies, and demonstrate sex-specific associations between PAL and comorbidities. In multivariable analysis, female sex, atopic disease, older age, and number of other medication allergies were independently associated with PAL. In the cohort study, PAL was independently associated with increased antibiotic use, while female sex was associated with lower odds of antibiotic prescribing. Effect modification by sex was not detected between PAL and antibiotic use, class selection, or guideline-recommended therapy. Conclusion: PALs remain common and are disproportionately reported among females, despite high tolerability of penicillin following evaluation. Low-risk delabeling strategies, particularly OC, are safe and effective, yet sex- and gender-disaggregated outcomes are infrequently reported limiting understanding of clinical implications. Although female sex was independently associated with PAL and distinct comorbidity patterns, sex did not modify the relationship between PALs and antibiotic utilization. These findings highlight persistent gaps in sex- and gender-sensitive evidence across the management of patients presenting with infections that have a PAL.Item type: Item , Use of Steel Fibres in Bridge Decks to Improve Serviceability and Reduce Top Mat Reinforcement Requirements(University of Waterloo, 2026-04-30) Rezaee, Bibi SaidaThis study examined a practical strategy to enhance the long-term performance of bridge deck slabs, which are highly susceptible to deterioration due to corrosion of conventional steel reinforcement. While glass fibre reinforced polymer (GFRP) bars offer corrosion resistance, their low stiffness often necessitates increased reinforcement ratios to meet serviceability requirements, diminishing their economic and practical benefits. To address this limitation, the study investigated the use of steel fibre reinforced concrete (SFRC) with steel macrofibres to improve service performance and reduce top mat reinforcement demands. The research program integrated concrete mixture development, material characterization, and large-scale structural testing. Practical SFRC mixtures were developed to evaluate material properties including workability, compressive strength and direct tensile response to support mixture selection for structural testing. Six large-scale one-way bridge deck slab strip specimens were tested to failure, simulating deck overhang behaviour. The test variables included GFRP reinforcement ratios of 0.6% and 0.8% and steel fibre volume fractions of zero, 0.5%, and 1.0%. A conventionally steel reinforced slab without fibres served as a control. The results demonstrated that the incorporation of steel fibres significantly improved crack control, stiffness, and flexural capacity in GFRP reinforced slabs. Fibre reinforced specimens exhibited service and strength performance comparable to or exceeding that of the steel-reinforced control slab, with improvements increasing with fibre dosage. Notably, comparable serviceability was achieved even with reduced flexural reinforcement when steel fibres were present. Collectively, the findings indicated that SFRC can effectively mitigate the serviceability limitations of GFRP reinforcement enabling more durable, efficient, and lower maintenance bridge deck construction.Item type: Item , Ahsan Hdeyeh 3ana(University of Waterloo, 2026-04-30) Jabbour, SandraAhsan Hdeyeh 3ana consists of a series of large-scale India ink paintings on fabric, that stem from my experience as a second-generation Lebanese-Syrian woman born in Canada. This body of work references my familial archive of VHS home videos from the late 90s and early 2000s, encompassing my childhood in Canada and my parent’s life in Syria and Lebanon, to depict themes of cultural in-betweenness, family dynamics, memory, and multilingualism. Notably, this work centers on my childhood as it was recorded on these VHS tapes which were later sent to my family members in the Middle East so that they could watch my brother and I grow up despite the geographical distance. Even though I have not met many of them face-to-face, the exchange of these video tapes fostered a close family relationship between myself and my relatives. As VHS tapes deteriorate overtime, my paintings capture some of the memories contained in this forgotten media, while also allowing me to recontextualize imagery from the past and the present, reflecting on my diasporic connection to my Syrian-Lebanese identity.