Repository navigation
chore: release preparation for 1.8.0 (F1) - #136
Merged
Merged
Conversation
…h_map budgets, README determinism - HexMap::ring calls Bits::and and Dilation::dilate / expand_small; the three BfsInternal delegations are removed (gas unchanged: ring 99_903). - bench_map budgets lowered after P1 (compute_distribution 203k, Caver keep_component variants 561k / 101k / 1.167M). - README: current gas figures, Rng bias bound (2^-56 per pool), determinism and stream stability from 1.8.0, endpoints on walls panic (unlike origami_map). - GAS.md: F1 section, L2 A* section marked dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
.scarbignore in every crate: integration tests, and for origami_hexmap the src/tests benchmarks, the printer and GAS.md (origami_map: its printer). The modules are declared under #[cfg(target: "test")], so the package verification build compiles without them. origami_hexmap: 943.98 KiB -> 398.88 KiB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tests/readme.cairo in each crate runs the README examples against the public API (integration tests, not packaged). - origami_defi: DiscreteGDA and ContinuousGDA fields are pub, as LinearVRGDA's: the README example could not compile outside the crate. - defi and security READMEs: the missing imports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Crate list, scarb add <crate>@1.8.0 for the six crates, toolchain, what's new in 1.8.0 (toolchain, algebra removed, defi on fixed Q32.32, origami_hexmap gas figures from GAS.md), and a CHANGELOG with the 1.8.0 entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rded publish On a v* tag: check the tag against the six crate versions, scarb package them and create the GitHub release (gh, default GITHUB_TOKEN, generated notes). The publish job runs only when SCARB_REGISTRY_AUTH_TOKEN is set (env indirection) and skips the versions already on scarbs.xyz. .gitignore: .scratch, .p1, REPORT.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scarb also sets cfg(target: "test") when a dependent package runs its tests: with the files kept out of the package, a consumer's scarb test failed on the missing hexmap test modules and map printer. hexmap declares them under cfg(test) (this package's own tests only); origami_map keeps its printer in the package (no change to its sources). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t A4) neighbor returns None and is_walkable false for a position at or above W * H; hex_distance panics with 'Asserter: position not inside'. The test is a bounded_int product, difference and sign, for any u8 dimensions since HexMapTrait::new stays unchecked (now documented, with the list of validating functions). distance_to doc: walls block. Per call: neighbor 6_391 -> 6_959, is_walkable 6_550 -> 7_073, hex_distance 9_462 -> 10_393; u16, u8, row and single-product variants measured dearer and larger in Sierra (GAS.md, F1). CHANGELOG dated 2026-09-27. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Last lot before the 1.8.0 publication. Nothing is published or tagged.
Changes
HexMap::ringcallsBits::andandDilation::dilate/expand_smalldirectly; the threeBfsInternaldelegations are removed (gas unchanged,ring99_903).keep_componentstays onBfs::reachable(edge semantics).bench_mapbudgets lowered (P1 escalation).Rngbias bound (2^-56 per pool), determinism (a seed gives the same map for a given version; generator streams are part of the API from 1.8.0, each generator already has a test pinning one seed's grid), endpoints on walls panic (unlikeorigami_map), current gas figures..scarbignorein every crate keeps test-only files out of the tarballs (tests/, and for hexmapsrc/tests/, the printer andGAS.md).origami_hexmap: 943.98 KiB → 400.42 KiB (138.66 → 64.54 KiB compressed).#[cfg(test)]instead of#[cfg(target: "test")]. Scarb also sets the latter when a dependent runs its tests, so with the files excluded, a consumer'sscarb testfailed.origami_mapkeeps its printer in the package, so its sources are unchanged.new_cave+search_pathand storing au252, and one storing aDiscreteGDA. Class sizes are in the report.tests/readme.cairothat compiles its README examples against the public API. This found a real bug:DiscreteGDA/ContinuousGDAfields were private, so the structs could not be built outsideorigami_defi. They are nowpub, asLinearVRGDA's are.scarb add <crate>@1.8.0, toolchain, what's new in 1.8.0) and a newCHANGELOG.md.v*tag, it checks the tag against the six crate versions, runsscarb package, then runsgh release create --generate-noteswith the defaultGITHUB_TOKEN. The publish job is guarded bySCARB_REGISTRY_AUTH_TOKENthrough an env indirection, so it is a no-op until the secret exists, and it skips versions already on scarbs.xyz..gitignore:.scratch,.p1,REPORT.md.🤖 Generated with Claude Code