Skip to content

A fix for an approximation quirk before v3 links the decision that removes it - #2169

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
a-pre-v3-approximation-fix-links-the-decision-that-removes-it
Oct 27, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
a-pre-v3-approximation-fix-links-the-decision-that-removes-it

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

On #2139, Happypig375 asked: "While these approximation related quirks are fixable early, remember to simplify these changes away for v3."

v3 removes downcasting (#1019). With it go the decimal answers, the rounding onto rationals, and the residuals taken as zero that such fixes work around. For those fixes to be taken out again, they have to be findable. So AGENTS.md now asks each one to link that decision in its comment and in the test that pins it, and a search for 5754734225 lists them.

The paragraph sits after Ask what a thing means before asking how it is computed, which already queues exact evaluation for v3.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…moves it

On #2139 the maintainer asked that fixes for approximation quirks made
before v3 be simplified away for v3. v3 removes downcasting (#1019,
comment 5754734225), and with it the behaviour those fixes work around.
For that to happen, the fixes have to be findable, so AGENTS.md asks each
one to link the decision in its comment and in its test. A search for the
comment id then lists them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.41%. Comparing base (e828414) to head (4efa1f4).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2169   +/-   ##
=======================================
  Coverage   86.41%   86.41%           
=======================================
  Files         295      295           
  Lines       64806    64806           
  Branches    19059    19059           
=======================================
  Hits        56005    56005           
  Misses       4771     4771           
  Partials     4030     4030           
Flag Coverage Δ
cpp 37.77% <ø> (ø)
csharp 86.99% <ø> (ø)
fsharp 32.97% <ø> (ø)
interactive 40.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rafael-SOWNet
Rafael-SOWNet merged commit 689fd01 into master Oct 27, 2026
28 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in AngouriMath Oct 27, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the a-pre-v3-approximation-fix-links-the-decision-that-removes-it branch October 28, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant