Skip to content

Projection silhouette parser fragments valid scientific-notation SVG path coordinates #317

Description

@rudycelekli

Reproduction

The exploded-view and axonometric-plan verifiers share verify-exploded.parse_path. Its numeric tokenizer splits valid scientific notation into unrelated operands, rejecting valid absolute M/L/A/Z silhouettes.

Re-encoding the shipped exploded phone's path coordinates from decimal notation to exactly equivalent scientific notation makes the public exploded verifier report four unreadable silhouettes. Pinned Playwright 1.62.0 / Chromium 151 renders that phone pixel-identically; the maximum measured native path geometry difference is less than 0.00025 units (native float precision). The same conversion of the shipped coffee-shop plan produces 32 false verifier diagnostics while native path geometry differs by less than 0.00026 units; its whole-page PNG is not byte-identical, so no exact-pixel claim is made for that control.

Expected behavior

The existing absolute M/L/A/Z path contract should accept its ordinary SVG numeric spellings, retaining projected geometry, vertex, radius, and arc-flag validation. No relative commands, new diagram types, or construction changes are requested.

The native fixtures, browser measurements, and public CLI outputs are preserved locally. AI assistance was used to investigate this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions