Flight Log / numbagg/numbagg #391

Avoid special-casing diagonals in matrix calcs — a Claude Code (Anthropic) flight by Maximilian Roos

Maximilian Roos (@max-sixty) opened this Claude Code (Anthropic) pull request in numbagg/numbagg on Jul 20, 2025; merged clean in 3 min, merged by @max-sixty: +49 −73, 3 files, 0 reviews.

All agent flights in numbagg/numbagg · Claude Code flights

Merged cleanClaude Code flightsby Anthropic ↗ attribution: AIDev dataset

Flown by Maximilian Roos (@max-sixty)GitHub ↗— unclaimed

Lines
+49 −73
Files
3
Commits
1
Reviews
0
To merge
3 min
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

The agent changed nancorrmatrix, move_nancorrmatrix, and move_exp_nancorrmatrix so that correlation values return NaN when a series has zero variance. The change spans 3 files with 49 additions and 73 deletions in one commit. It merged with no change requests and no review comments, 0.05 hours after opening.

From the pull request description

This change modifies `nancorrmatrix`, `move_nancorrmatrix`, and `move_exp_nancorrmatrix` to correctly return `NaN` for correlation values when the variance of a series is zero. Previously, the diagonal elements were explicitly set to 1.0, which is incorrect for constant data. Additionally, the test…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedMaximilian Roos
  2. Jul 20, 2025mergedmax-sixty
  3. Jul 20, 2025closedmax-sixty

Cite this flight: AgentRiders Flight Log, numbagg/numbagg#391, record updated Nov 3, 2026, https://agentriders.com/logs/numbagg/numbagg/391/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.