Search arXiv⌕ Search

arXiv subjects

Trevor Manz

Publications and source records attributed to Trevor Manz.

5 recordsLinked to original sources

Where Did This Come From, and Why? Giving Agents the Computation and Intent Behind Every Output with marimo-lens

Analysts delegate data work to coding agents and ask for changes by pointing at an output, such as a chart bar or a report number. Yet current tools pass the agent only that output, often as a screenshot, and leave out how it was computed and why. Without the earlier requests behind the computation, the agent can satisfy a new request but silently undo an earlier one. Drawing on 7,293 Observable notebook histories, we therefore introduce Lens, which builds and navigates an extended provenance graph, the Lens graph, spanning view, computation, and intent. With Lens, analysts point at outputs through its interface, and agents call Lens tools to read the computation and earlier requests behind them, then point back. We implement Lens in marimo-lens for marimo, a reactive Python notebook. In three experiments on public team notebooks, we found that every agent with marimo-lens located the computation behind a pointed output more accurately and reported earlier requests on it, with far fewer input tokens for agents that cannot read images. When a new request conflicted with an earlier one, agents with marimo-lens undid the earlier change far less often. We release marimo-lens as open source and report its early use.

cs.HC↗

Point, Revise, Review: Grounded Agentic Analysis in Reactive Notebooks with marimo-lens

In a computational notebook, a human can point to a rendered result and ask about "this," while an agent acts through cells, dependencies, and runtime state. When what the human sees and what the agent operates on are disconnected, the human must describe what they mean and trace what the agent did in prose that strips away situated visual and computational context. We present marimo-lens, an extension to the reactive Python notebook marimo for grounded human-agent analysis. Lens connects a human's marked output and note to its producing cell and relevant contributing computation, giving the agent computational context for the request. It surfaces agent activity, returns selected results to the notebook, and preserves the initiating selection for human review and reopening. We illustrate the lifecycle through an exploratory human-agent analysis of a real-world open dataset, showing how visually situated questions lead to computational inspection, notebook action, and returned evidence for human review.

cs.HC↗

Uchimata: a toolkit for visualization of 3D genome structures on the web and in computational notebooks

Summary: Uchimata is a toolkit for visualization of 3D structures of genomes. It consists of two packages: a Javascript library facilitating the rendering of 3D models of genomes, and a Python widget for visualization in Jupyter Notebooks. Main features include an expressive way to specify visual encodings, and filtering of 3D genome structures based on genomic semantics and spatial aspects. Uchimata is designed to be highly integratable with biological tooling available in Python. Availability and Implementation: Uchimata is released under the MIT License. The Javascript library is available on NPM, while the widget is available as a Python package hosted on PyPI. The source code for both is available publicly on Github (https://github.com/hms-dbmi/uchimata and https://github.com/hms-dbmi/uchimata-py) and Zenodo: (https://doi.org/10.5281/zenodo.17831959 and https://doi.org/10.5281/zenodo.17832045). The documentation with examples is hosted at https://hms-dbmi.github.io/uchimata/ Contact: david_kouril@hms.harvard.edu or nils@hms.harvard.edu.

q-bio.GN↗

Jupyter Scatter: Interactive Exploration of Large-Scale Datasets

Jupyter Scatter is a scalable, interactive, and interlinked scatterplot widget for exploring datasets in Jupyter Notebook/Lab, Colab, and VS Code. Its goal is to simplify the visual exploration, analysis, and comparison of large-scale bivariate datasets. Jupyter Scatter can render up to twenty million points, supports fast point selections, integrates with Pandas DataFrame and Matplotlib, uses perceptually-effective default settings, and offers a user-friendly API.

cs.HC↗

Periphery Plots for Contextualizing Heterogeneous Time-Based Charts

Patterns in temporal data can often be found across different scales, such as days, weeks, and months, making effective visualization of time-based data challenging. Here we propose a new approach for providing focus and context in time-based charts to enable interpretation of patterns across time scales. Our approach employs a focus zone with a time and a second axis, that can either represent quantities or categories, as well as a set of adjacent periphery plots that can aggregate data along the time, value, or both dimensions. We present a framework for periphery plots and describe two use cases that demonstrate the utility of our approach.

cs.HC↗