Skip to content

Fix float artifacts in plan target input - #6

Merged
relyen-dev merged 1 commit into
mainfrom
bugfix/plan-target-float-input
May 26, 2026
Merged

Fix float artifacts in plan target input#6
relyen-dev merged 1 commit into
mainfrom
bugfix/plan-target-float-input

Conversation

@relyen-dev

Copy link
Copy Markdown
Owner

Summary

  • Snap near-whole output target amounts to integers for graph target input parsing and display
  • Preserve normal decimal target values outside the small floating-point tolerance
  • Add presenter and component coverage for the noisy 39.999999 target case

Verification

  • npm.cmd test -- apps/web/src/features/graph/graph-interaction.presenter.test.ts apps/web/src/features/graph/production-graph.component.test.ts
  • git diff --check

Closes #5

@relyen-dev relyen-dev self-assigned this May 26, 2026
@relyen-dev
relyen-dev merged commit 08a88bb into main May 26, 2026
2 checks passed
@relyen-dev
relyen-dev deleted the bugfix/plan-target-float-input branch May 26, 2026 04:59
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.

Fix floating-point artifacts in plan target input

1 participant