program-analysis

Tag

Cards List
#program-analysis

TokenScope: Token-Level Explainability and Interpretability for Code-Oriented Tasks in Large Language Models

arXiv cs.CL · 6d ago Cached

TokenScope is an interactive interpretability tool for decoder-only large language models that provides token-level metrics, attention patterns, and counterfactual branching during code generation, enabling systematic investigation of model behavior.

0 favorites 0 likes
#program-analysis

Datalog

Lobsters Hottest · 2026-06-15 Cached

Comprehensive notes on Datalog: what it is, how to implement it in various languages, and its applications in program analysis, with code examples and resources.

0 favorites 0 likes
#program-analysis

Constrained Code Generation with Discrete Diffusion

arXiv cs.CL · 2026-05-19 Cached

This paper introduces Constrained Diffusion for Code (CDC), a training-free neurosymbolic inference framework that integrates constraint satisfaction directly into the reverse denoising process of discrete diffusion models for code generation. CDC consistently improves constraint satisfaction in functional correctness, security, and syntax across benchmarks, outperforming existing diffusion and autoregressive baselines.

0 favorites 0 likes
#program-analysis

Context Pruning for Coding Agents via Multi-Rubric Latent Reasoning

arXiv cs.AI · 2026-05-18 Cached

LaMR introduces a structured pruning framework for coding agents that decomposes code relevance into semantic evidence and dependency support dimensions, using dedicated CRFs and a mixture-of-experts gate to reduce token usage by up to 31% while maintaining or improving task performance.

0 favorites 0 likes
#program-analysis

Why Tree-Sitter Is Inadequate for Program Analysis

Lobsters Hottest · 2026-05-11 Cached

The article explains why Tree-sitter is unsuitable for deep program analysis, highlighting how it discards critical tokens like operators and keywords. It advocates for using the Cubix framework as a more robust alternative for building semantic analysis and refactoring tools.

0 favorites 0 likes
#program-analysis

My practitioner view of program analysis

Hacker News Top · 2026-04-20 Cached

Practitioner Rory Sawyer reflects on a decade of applying program analysis to bridge the gap between code and human intent, emphasizing static analysis as a communication tool for correctness beyond execution.

0 favorites 0 likes
← Back to home

Submit Feedback