Repository navigation
Mappings not in JNIAST - #13
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Port C's NormMap and UnitNormMap (normmap.c, unitnormmap.c), with Rust's files as the guide, and record the public-API rule for classes jniast lacks in the spec, with astjava-api.txt and its check in JniastApiTest. Translate test_normmap.rs, test_unitnormmap.rs, test_mapping_bad.rs and the tests of other files naming the classes, and add normmap_probe.c, run against the pinned C built with and without multiply-add contraction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Remove from the deferred fixture lists the entries whose only missing classes were NormMap and UnitNormMap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Port C's protected XphMap (xphmap.c) as a package-private class, with Rust's xphmap.rs as the guide: the transformations between the HEALPix projection types, Equal, the MapMerge that cancels an XphMap with its inverse, IsLinear, the dump and the loader. Grid indices are held in doubles and the loader refuses an order or numbers of inputs and outputs that do not fit, as the hardened C library does. Translate test_xphmap.rs and the xphmap_oracle cases (converted to oracle/xphmap.json), add the XphMap case of test_nan_protocol.rs, add xphmap_probe.c for C's dumps, comparisons and simplifications, and remove the XphMap entries from the deferred lists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Port C's ChebyMap (chebymap.c) as a public subclass of PolyMap, with Rust's chebymap.rs as the guide: the Chebyshev powers in place of PolyMap's, the bounding boxes kept as scales and offsets onto [-1, 1], chebyDomain, PolyTran with its own box and C's fit initialisation, no iterative inverse, Equal, Copy, Dump and the loader. Add the ChebyMap branch of PolyMap's MapMerge, which folds the normalisation into the linear reduction, and write a set IterInverse as C's dump does. Add chebymap_probe.c, run against the pinned C built with and without multiply-add contraction, and let oracle-rows.txt list a probe's other lines as well as its transformed points; PROBE_ROW_TESTS now holds the prefixes. Translate test_chebymap.rs and the ChebyMap tests of other files, record the C bug that cancels a ChebyMap with a PolyMap of the same coefficients, and remove the ChebyMap entries from the deferred lists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Port C's SplineMap (splinemap.c), with Rust's splinemap.rs as a guide: the constructor takes SciPy's coefficient order as C's astSplineMap does, CMLIB's Db2val, Dbvalu and Dintrv as C has them, the Newton-Raphson inverse, Rate, Equal, MapMerge, the attributes InvNiter, InvTol, OutUnit and the read-only SplineKx to SplineNy, splineKnots, splineCoeffs, Dump and the loader, which refuses what the hardening PR refuses. Check it against a new C probe, splinemap_probe.c, built with and without multiply-add contraction, and against the Rust repository's spline_inverse oracle; translate the Rust tests of the class and those of other files that were waiting for it. Record a C bug: simplifying an inverted CmpMap changes the Invert attribute of a SplineMap it holds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
Remove from the deferred fixture lists the entries whose only missing class was SplineMap, the lsst2.ast FrameSet among them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
The phase report and the rulings of phase 9, the Mappings jniast lacks: NormMap, UnitNormMap, XphMap, ChebyMap and SplineMap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DidLSPfwbAELCxqtcAbPhR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.