Skip to content

Add the parser of a geometry string - #7

Merged
beetlebugorg merged 2 commits into
mainfrom
issue-4
Dec 3, 2026
Merged

beetlebugorg merged 2 commits into
mainfrom
issue-4

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

Fixes #4

2 files changed, 579 insertions(+). The new file has 8 unit tests: a round trip, each variant, the limits, a cut at each byte, and corrupt fields.

An agent on the Ergo model wrote this change in a sandbox with no network. The coordinator read the code and ran the checks.

Ran: zig build test (pass), zig fmt --check build.zig src, and a build for wasm32-freestanding.
Did not run: macOS and Windows, which the CI of this PR runs.

Cost of the agent (model: Ergo 1.0 on Bedrock)

Item Tokens USD
input 304 0.0003
output 85327 0.2816
cache read 841224 0.0278
cache write 107252 0.1475
Total 0.4571
Model calls Wall time In model calls In tools
76 17 min 4 s 32 s 0 s

The harness counted the cache tokens only for the last part of the run, so the cache rows and the total are too low. The output row is complete.

@beetlebugorg beetlebugorg added this to the v0.1.0 milestone Dec 3, 2026
@beetlebugorg beetlebugorg added the ergo Work of an agent on the Ergo model label Dec 3, 2026
@beetlebugorg

Copy link
Copy Markdown
Owner Author

This branch is now on top of the branch of PR 6 (QOI), because both change src/root.zig. It has the commits of both. When its CI is green, this PR merges by rebase, and PR 6 closes with a note.

@beetlebugorg
beetlebugorg merged commit f031eb6 into main Dec 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ergo Work of an agent on the Ergo model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pipeline: the parser of a geometry string

1 participant