Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tanArcTo #3318

Merged
merged 12 commits into from
Aug 7, 2024
Merged

Fix tanArcTo #3318

merged 12 commits into from
Aug 7, 2024

Conversation

adamchalmers
Copy link
Collaborator

@adamchalmers adamchalmers commented Aug 7, 2024

@JordanNoone discovered a bug in KCL's tangentialArcTo stdlib function. We fixed it together.

While fixing this, we discovered the tangentialArc API is kinda weird, and filed #3319 for it.

Copy link

qa-wolf bot commented Aug 7, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@adamchalmers adamchalmers requested a review from Irev-Dev August 7, 2024 22:08
Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Aug 7, 2024 10:48pm


*to
args.batch_modeling_cmd(id, tan_arc_to(&sketch_group, &to)).await?;
// TODO: Figure out these calculations.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't fix the tangentialArc function for this case, because we think it should be removed. See #3319

Copy link

codecov bot commented Aug 7, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.84%. Comparing base (84865ea) to head (cf9f4cf).
Report is 26 commits behind head on main.

Files Patch % Lines
src/wasm-lib/kcl/src/executor.rs 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3318      +/-   ##
==========================================
+ Coverage   87.63%   87.84%   +0.21%     
==========================================
  Files          66       66              
  Lines       25369    25399      +30     
==========================================
+ Hits        22231    22313      +82     
+ Misses       3138     3086      -52     
Flag Coverage Δ
wasm-lib 87.84% <92.30%> (+0.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@adamchalmers adamchalmers merged commit 6f4bbdb into main Aug 7, 2024
30 checks passed
@adamchalmers adamchalmers deleted the tangentArcTo-fixes branch August 7, 2024 23:35
@Irev-Dev Irev-Dev mentioned this pull request Aug 8, 2024
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.

3 participants