Anchored Metadata
summary
A tool called spor externalizes code metadata into separate files and stores topic+context+offset for each anchor, then realigns anchors to edited source using Smith-Waterman alignment so metadata follows edits automatically. Implementations exist as spor (Python) and Rust port; Rust runs roughly ten times faster. It already integrates with mutation tester Cosmic Ray and works surprisingly well on small projects, but file renames break anchors and it’s unproven on multi‑million‑line repos.
AI-written summary · about
chapters (33)
- 0:00Introduction
- 1:11The problem
- 2:55Cosmic Ray
- 3:12Mutation Testing
- 6:22Exceptions
- 7:13Embedded if directives
- 7:49Embedded if problems
- 9:26Externalize
- 11:44The Challenge
- 12:37Research
- 13:54SmithWaterman Alignment
- 15:51Computer Science II
- 17:46Anchor
- 18:37Contexts
- 19:28SmithWaterman
- 20:57The Fundamental Algorithm
- 26:11Updating an Anchor
- 27:31Python Implementation
- 29:25Commandline Interface
- 29:45Demo
- 29:55Work to do
- 30:14IDE integration
- 31:11Anchoring directories
- 34:46How we deal with this
- 35:18Alternative tokenization
- 36:29Scoring functions
- 42:20Python to Rust
- 42:32Speed
- 43:32Learning Curve
- 43:56Positive Experience
- 45:19Cake vs Rust
- 45:59Quick demo
- 47:27Creating an Anchor








