Skip to content

refactor: give each shape its own parameter type - #100

Merged
lpatiny merged 2 commits into
mainfrom
per-shape-parameter-types
Jul 28, 2026
Merged

refactor: give each shape its own parameter type#100
lpatiny merged 2 commits into
mainfrom
per-shape-parameter-types

Conversation

@lpatiny

@lpatiny lpatiny commented Jul 28, 2026

Copy link
Copy Markdown
Member

The Parameter union listed the parameters of every shape in one place, away from the shapes themselves, and ParameterTuple existed only to constrain a shape's tuple against that list. Each shape now declares its own <Shape>Parameter union next to its class and Shape1DParameter combines them.

lpatiny added 2 commits July 28, 2026 10:17
The `Parameter` union listed the parameters of every shape in one place, away
from the shapes themselves, and `ParameterTuple` existed only to constrain a
shape's tuple against that list. Each shape now declares its own
`<Shape>Parameter` union next to its class and `Shape1DParameter` combines
them, so a shape's parameters are declared where the shape is.

Assisted-By: Claude Opus 5
A symlink named `node_modules` was committed by mistake. `.gitignore` listed
`node_modules/` with a trailing slash, which matches a directory only, so a
symlink of that name was never ignored. Checking the repository out replaces an
installed `node_modules` directory with that dangling symlink, after which no
tool resolves and `npm ci` fails. Dropping the trailing slash ignores the path
whatever its type.

Assisted-By: Claude Opus 5
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.13%. Comparing base (3d0b6f7) to head (818c590).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   96.13%   96.13%           
=======================================
  Files          24       24           
  Lines        1088     1088           
  Branches      242      242           
=======================================
  Hits         1046     1046           
  Misses         41       41           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lpatiny
lpatiny merged commit ed36ccd into main Jul 28, 2026
10 checks passed
@lpatiny
lpatiny deleted the per-shape-parameter-types branch July 28, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant