Back to search

University of Washington

Code in Context: Keeping Developer Context and Interfaces on Evolving Software

Abstract

dc:description.abstract

Despite progress in programming tools and environments, developers still struggle to maintain mental models of the systems they build and the context surrounding their code. This dissertation advances a framework for enhancing program understanding and manipulation for all agents working with a codebase—including developers and automated agents such as large language models (LLMs)—through notes on shared context and high-level representations that are semantically attached and synchronized, i.e., external notes and UIs that stay linked to sections of a program where they are meaningful, with their content updated to remain relevant. I first address the specific case of floating-point error analysis with Odyssey. Odyssey is a workbench for floating-point analysis that transforms an existing low-level, black-box expression improvement tool into a high-level, scaffolded analysis process where users can analyze, generate, and iterate on automated suggestions using their own expertise. Next, considering how contextual information from an Odyssey analysis session might be attached to actual floating-point programs, I explore maintaining semantic connections between document sections and metadata using Magic Markup. This system uses an LLM to "magically" maintain the positions of external notes on an evolving document without write access through semantic anchoring rather than brittle syntactic approaches. Finally, I formalize and implement this approach in Codetations, a VSCode extension that helps developers contextualize documents with rich, interactive notes and tools. Codetations builds on the Magic Markup method to keep notes outside the document while integrating edit-tracking and exposing a rich API for annotations to respond to buffer changes and leverage editor features. In a qualitative evaluation, developers recognize this method as enabling more extensive and useful forms of documentation, and worked examples show the additional context improving code repair performance in LLMs. Together, these systems indicate a practical path by which existing programming systems can begin to offer powerful, developer-customized tools that meet developers' needs for contextual information and high-level analysis.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Misback, Edward
Advisors dc:contributor.advisor
  • Tanimoto, Steven L.
  • Tatlock, Zachary

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • CC BY-SA
Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1773/53500

Chain of custody

source
Harvested from
University of Washington
Base URL
digital.lib.washington.edu/server/oai/request
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
citation

Misback, Edward. Code in Context: Keeping Developer Context and Interfaces on Evolving Software. 2025. https://hdl.handle.net/1773/53500