Skip to content

Extend chart curves to the top border - #4

Merged
iguchi-lab merged 2 commits into
mainfrom
agent/chart-top-boundary
Aug 17, 2026
Merged

iguchi-lab merged 2 commits into
mainfrom
agent/chart-top-boundary

Conversation

@iguchi-lab

Copy link
Copy Markdown
Owner

What changed

  • preserve raw curve samples that exceed the chart's humidity limit
  • interpolate the exact intersection with the top boundary
  • apply top-boundary clipping to relative-humidity and dry-bulb lines
  • tag both curve families for targeted SVG regression tests

Why

Out-of-range samples were previously discarded. Curves therefore ended at their last in-range sample instead of reaching the graph border, which was visible on the 100% RH curve and the 40 °C dry-bulb line.

Validation

The chart test verifies that both the 100% RH path and 40 °C dry-bulb path end exactly at the SVG top-border coordinate.

@iguchi-lab
iguchi-lab marked this pull request as ready for review August 17, 2026 06:35
@iguchi-lab
iguchi-lab merged commit 7af9251 into main Aug 17, 2026
1 check passed
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