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

Fixed RV Plot #2927

Merged
merged 1 commit into from Jan 6, 2024
Merged

Fixed RV Plot #2927

merged 1 commit into from Jan 6, 2024

Conversation

OAGr
Copy link
Contributor

@OAGr OAGr commented Jan 6, 2024

Hopefully fixed Hub RV plot too, but not sure.

Closes #2833

@OAGr OAGr requested a review from berekuk as a code owner January 6, 2024 20:56
Copy link

changeset-bot bot commented Jan 6, 2024

🦋 Changeset detected

Latest commit: ceb2869

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@quri/squiggle-lang Patch
@quri/squiggle-components Patch
@quri/prettier-plugin-squiggle Patch
vscode-squiggle Patch
@quri/versioned-squiggle-components Patch
@quri/squiggle-textmate-grammar Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 6, 2024

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

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview Jan 6, 2024 9:03pm
quri-ui ✅ Ready (Inspect) Visit Preview Jan 6, 2024 9:03pm
squiggle-components ✅ Ready (Inspect) Visit Preview Jan 6, 2024 9:03pm
squiggle-website ✅ Ready (Inspect) Visit Preview Jan 6, 2024 9:03pm

Copy link
Contributor

sweep-ai bot commented Jan 6, 2024

Apply Sweep Rules to your PR?

  • Apply: All docstrings and comments should be up to date.
  • Apply: Ensure that all variables and functions have descriptive names.
  • Apply: Avoid using magic numbers or hard-coded values in the code.

Copy link

codecov bot commented Jan 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2202711) 70.59% compared to head (ceb2869) 69.78%.
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2927      +/-   ##
==========================================
- Coverage   70.59%   69.78%   -0.81%     
==========================================
  Files         119      119              
  Lines        6760     6762       +2     
  Branches     1442     1443       +1     
==========================================
- Hits         4772     4719      -53     
- Misses       1980     2035      +55     
  Partials        8        8              

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

@@ -63,16 +63,20 @@ const Cell: FC<{
return <ErrorCell />;
}
const jsItem = itemResult.value.asJS();
if (!(jsItem instanceof Map)) {
if (!(jsItem instanceof Object)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Many things in JS are instanceof Object:

> class X {}; (new X()) instanceof Object
true
> [] instanceof Object
true

OTOH, you do try/catch below, and rvSchema.parse is still there, so it should be fine.

@OAGr OAGr merged commit 51459a4 into main Jan 6, 2024
8 of 9 checks passed
@OAGr OAGr deleted the rv-quickfix branch January 6, 2024 21:51
@github-actions github-actions bot mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Relative Values Plot is broken
2 participants