<?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-28T18:58:48Z</responseDate><request verb="GetRecord" identifier="oai:repository.rice.edu:1911/110375" metadataPrefix="dim">https://repository.rice.edu/server/oai/request</request><GetRecord><record><header><identifier>oai:repository.rice.edu:1911/110375</identifier><datestamp>2026-08-28T19:29:42Z</datestamp><setSpec>com_1911_8299</setSpec><setSpec>col_1911_13110</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="advisor">Jermaine, Christopher</dim:field>
   <dim:field mdschema="dc" element="creator">Chilukuri, Meghana Vasudha Oris</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2021-05-03T19:29:28Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2021-05-03T19:29:28Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="created">2021-05</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2021-04-30</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="submitted">May 2021</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="updated">2021-05-03T19:29:28Z</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="citation">Chilukuri, Meghana Vasudha Oris. &amp;quot;Constrained Program Inference Using Metropolis-Hastings Sampling.&amp;quot; (2021) Master’s Thesis,  Rice University.  https://hdl.handle.net/1911/110375</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri">https://hdl.handle.net/1911/110375</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract">Conditional Program Generation (CPG) is a Sketch program generation technique that uses clues given by the user to generate the required Sketch. The CPG model generates a Sketch by sampling from the learned probability distribution P(sketch|clues). However, it cannot guarantee that the generated Sketch will incorporate all of the given clues. In practice, we find that when the CPG model assigns vanishingly low probabilities to every Sketch program in the Sketch program space that incorporates all of the given clues, it often returns a high-probability Sketch program that does not contain the clues. Such scenarios arise when the user wants to generate a novel program and gives clues that are significantly different from any set of clues the model was trained on. In this thesis, we introduce Constrained Program Inference (CPI), a method that treats constrained Sketch program generation as an inference problem, rather than a training problem. It guarantees every generated program will incorporate all of the given clues. Our method uses the Metropolis- Hastings algorithm to treat clues as hard constraints, thus enabling CPI to generate novel programs. We find that CPI is able to produce higher-quality programs than CPG.</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso">eng</dim:field>
   <dim:field mdschema="dc" element="rights">Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.</dim:field>
   <dim:field mdschema="dc" element="subject">program synthesis</dim:field>
   <dim:field mdschema="dc" element="subject">metropolis-hastings</dim:field>
   <dim:field mdschema="dc" element="subject">sketch generation</dim:field>
   <dim:field mdschema="dc" element="title">Constrained Program Inference Using Metropolis-Hastings Sampling</dim:field>
   <dim:field mdschema="dc" element="type">Thesis</dim:field>
   <dim:field mdschema="dc" element="type" qualifier="material">Text</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="department">Computer Science</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="discipline">Engineering</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="grantor">Rice University</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="level">Masters</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="name">Master of Science</dim:field>
   <dim:field mdschema="thesis" element="degree" qualifier="major">Program Synthesis</dim:field>
   <dim:field mdschema="others" element="access-status">open.access</dim:field>
</dim:dim>
</metadata></record></GetRecord></OAI-PMH>