Skip to content

onlyworlds 0.136.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:10
· 97 commits to main since this release
  • The schema pin moves to v0.34.1-dist.138 (serials 137 and 138; canonical 00.34.01 unchanged, no schema file moved, _schema.py changes only its provenance lines). Serial 137 publishes the by-links-3d method on the layout profile's page, with its fixture (116 cases) and directions table, adds four map-space cases (a Map's width or height that is a whole number, 0 and under 0 included, is answered as written; a slot measured on a Map with no placed point of its own is None), three layout-reading cases and two unplaced cases. Serial 138 adds cases to the lens (246), charter (16 design) and report (9 talk) fixtures. Every case passes as published.
  • The lens readers take serial 138's hidden rule and a co-builder rung. A contributor's view is the world less the hidden, plus the hidden elements it made, listed in whole; a reader with the rung co-builder reads the whole world as the owner does, hidden elements included, without the owner's two counts. A reader with any other rung is still refused.
  • "AI seat" is the name the docstrings, the README and one error message (a write held as a proposal) use for a seat an AI holds in a world, as the site does. Field names, routes and values (agent, sponsor, agent_writes_proposed) are unchanged.
  • layout_by_links_3d lays out every piece of the graph, and answers what it does not place (schema-dist serial 137, the layout page's steps 10 to 12). Each piece other than the main one that holds a pair of linked elements is laid out by its own links, as the main piece is. A piece that holds a pinned element (held at its Pin) or a held element stands where those points put it; every other is set on a ring round the main shape, level with its middle, larger pieces first, no nearer than 1.8 rests to anything placed before it or to another ring piece, and a full ring opens the next one further out. The shelf is gone: an element linked to no other and pinned on no map is not placed, and the answer's new unplaced lists it by id in code point order (a held one too: a held point alone places nothing). ids, points, how, group, part and held now cover the placed elements only; how loses shelf and part loses no-link; centres lists the main piece's centres, then each other piece's, in the ring's order. The held points' box is tested by each layout run on the points it holds (the main piece's first, then each other piece's, its Pins counted), after held_unit is read, so a call with a box too wide and a bad held_unit is refused as held-unit. The answers move, so BY_LINKS_3D_VERSION, new here, is 2, the npm SDK's value. unplaced_by_links_3d's answer is unchanged; for the Map an answer makes it is that answer's own unplaced.
  • Tests: the method's fixture is read from the schema distribution (codegen/schema-dist/profiles/layout-by-links-3d.fixture.json, 116 cases, the same sha256 as the npm SDK's test), and the package's own copy is gone. The replay walks every case and names each one that disagrees before it counts them; a ring piece's points are compared within a billionth of a rest. codegen/layout/directions.json is checked against the distribution's table byte for byte.