11---
2- description : " Refactor a pre-roadmap robotics/ algorithm to reuse shared math/ utilities, add coverage-build infra, and simplify/dedupe tests — preserving existing Q15/Q31 support. Behavior -preserving."
2+ description : " Refactor a pre-roadmap robotics/ algorithm to reuse shared math/ utilities, add coverage-build infra, and simplify/dedupe tests. Float-only, behavior -preserving."
33tools : [read, edit, search, execute, todo]
44handoffs :
55 - label : " Review Changes"
@@ -17,7 +17,7 @@ change unless required to remove duplication.
1717
18181 . Read the target ` .hpp ` , its ` test/Test*.cpp ` , and ` doc/<domain>/<Name>.md ` .
19192 . Find duplication: logic that already exists in ` numerical/math/ `
20- (` CompilerOptimizations.hpp ` , ` Tolerance.hpp ` , ` ComplexNumber.hpp ` , ` QNumber.hpp ` ,
20+ (` CompilerOptimizations.hpp ` , ` Tolerance.hpp ` , ` ComplexNumber.hpp ` ,
2121 ` RecursiveBuffer.hpp ` , ` Statistics.hpp ` , …) or scaffolding repeated across ` test/ ` files
2222 (e.g. ` CalculateMagnitude ` , twiddle-factor mocks — emulate ` PowerDensitySpectrumTestSupport.hpp ` ).
23233 . Replace the duplicated logic with the shared utility; delete the local copy.
@@ -50,4 +50,4 @@ Every algorithm in this repository is float-only: `static_assert(std::is_floatin
5050## What NOT to do
5151- No behavior/API change beyond removing duplication.
5252- No new abstractions except extracting one that is already repeated.
53- - Don't touch unrelated algorithms; don't strip ` Q15 ` / ` Q31 ` .
53+ - Don't touch unrelated algorithms.
0 commit comments