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

feat: benchmark 8 spec #1230

Merged
merged 15 commits into from
Apr 16, 2021
Merged

feat: benchmark 8 spec #1230

merged 15 commits into from
Apr 16, 2021

Conversation

wd15
Copy link
Collaborator

@wd15 wd15 commented Nov 18, 2020

Full implementation of benchmark 8

Address #1208

Includes

  • automated citations using a new notebook extension
  • fix for equation numbering

This is really a draft as the submission guidelines may need to change based on some test uploads. The actual benchmark 8 landing page is not yet functional for this set of submission guidelines.

TODO

  • check this against the overleaf document prepared by Wenkun
  • Ensure link to "Phase Field Benchmark Problems for Nucleation" in notebook is correct
  • Setup reviewnb
  • Make phase field upload optional for 8a

Remember to tear down the live site when merging or closing this
pull request.


This change is Reviewable

@commit-lint
Copy link

commit-lint bot commented Nov 18, 2020

Documentation

Build System

  • nix: notebook extension with bibtex (4c70e71)
  • use correct version of notebook-exenstions (6a68835)

Continuous Integration

Bug Fixes

  • broken link to yaml info (d477760)
  • remove twitter from the frontpage (0f023f0)
  • update for wenkun review (52ffb10)
  • add particle count code correctly (a97879e)
  • link to nucleation paper (65ccdc2)

Tests

  • switch off htmlproofer for twitter links (e909924)

Code Refactoring

  • update for tkphd review (81f5ebf)

Contributors

wd15

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

wd15 added 2 commits November 17, 2020 19:58
Allow equation numbering and bibtex citations in noteobok
@wd15 wd15 marked this pull request as ready for review November 18, 2020 01:03
@pfhub
Copy link

pfhub commented Nov 18, 2020

The new PFHub live website is ready for review.

@pfhub
Copy link

pfhub commented Nov 18, 2020

The new PFHub live website is ready for review.

@wd15 wd15 requested a review from tkphd November 19, 2020 00:43
@wd15 wd15 added this to the April 2021 Meeting 1 milestone Nov 19, 2020
@wd15
Copy link
Collaborator Author

wd15 commented Nov 19, 2020

@tkphd this is the first draft of BM8. I probably need to modify it again if the paper has changed. I won't merge this until the paper goes to pre-print, but wanted to check that all the tests passed in a PR.

Also, we can test the upload guidelines when I get the BM8 results pages sorted in a separate PR

@pfhub
Copy link

pfhub commented Jan 19, 2021

The new PFHub live website is ready for review.

@wd15 wd15 requested a review from wuwenkun March 24, 2021 16:01
@wd15
Copy link
Collaborator Author

wd15 commented Mar 24, 2021

@wuwenkun, please review this when you get a chance, I've compared with your latest overleaf version and it seems pretty good. Some of the ordering is a little different, but I'm not sure that matters.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 24, 2021

@wuwenkun, this is the link for the notebook rendered on the website,

https://random-cat-1230.surge.sh/benchmarks/benchmark8.ipynb/

and the link if you want to make changes to the notebook,

https://github.com/wd15/pfhub/blob/issue1208-bm8/benchmarks/benchmark8.ipynb

@wd15
Copy link
Collaborator Author

wd15 commented Mar 24, 2021

@tkphd, could you take a look at this again. Also, feel free to say "no" to this if you can't face looking at this problem again. Thanks.

@tkphd
Copy link
Collaborator

tkphd commented Mar 24, 2021

It's a great problem! Happy to look!

@pfhub
Copy link

pfhub commented Mar 24, 2021

The new PFHub live website is ready for review.

@tkphd
Copy link
Collaborator

tkphd commented Mar 25, 2021

Is a new reference available? The link labeled "Phase Field Benchmark Problems for Nucleation" goes to the dendritic growth paper.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 25, 2021

Is a new reference available? The link labeled "Phase Field Benchmark Problems for Nucleation" goes to the dendritic growth paper.

I noted above. Maybe mark it in your review. It would be nice if there were better review mechanisms on github for notebooks. The PR renders the notebook and reviewer would mark directly at the side of the notebook.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 25, 2021

@wd15
Copy link
Collaborator Author

wd15 commented Mar 25, 2021

I'll try and get that setup or look into how to use it. It's on my list of things.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 26, 2021

@tkphd, can you see this? https://app.reviewnb.com/wd15/pfhub/blob/issue1208-bm8/benchmarks%2Fbenchmark8.ipynb

I have no idea if you can.

This is the "pull request" view: https://app.reviewnb.com/usnistgov/pfhub/pull/1230/. It only seems to show the diff not the section for reviewing the notebook.

@tkphd
Copy link
Collaborator

tkphd commented Mar 26, 2021

Yep! I can see it, and got notified. Cool!

@wd15
Copy link
Collaborator Author

wd15 commented Mar 27, 2021

Yep! I can see it, and got notified. Cool!

It's a vast improvement. Opens reviews up to more people.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 27, 2021

Yep! I can see it, and got notified. Cool!

I have no idea who has permissions to comment on that notebook.

@wd15
Copy link
Collaborator Author

wd15 commented Mar 27, 2021

@wuwenkun
Copy link

@wuwenkun, can you see this and comment to test it? https://app.reviewnb.com/wd15/pfhub/blob/issue1208-bm8/benchmarks%2Fbenchmark8.ipynb

Hi Daniel, I have added my comments to the review notebook. Could you see my comments there?

@wd15
Copy link
Collaborator Author

wd15 commented Mar 31, 2021

Hi Daniel, I have added my comments to the review notebook. Could you see my comments there?

Yes, all good. Thanks!

Make simulations 4 and 5 optional in BM8a
@pfhub
Copy link

pfhub commented Mar 31, 2021

The new PFHub live website is ready for review.

1 similar comment
@pfhub
Copy link

pfhub commented Apr 1, 2021

The new PFHub live website is ready for review.

@tkphd
Copy link
Collaborator

tkphd commented Apr 15, 2021

Very minor changes requested on reviewnb. Looks pretty good!

wd15 added 3 commits April 16, 2021 10:02
Use wd15's version of notebook-extensions not Calysto's, which does
not have the correct modifications.
Update benchmark8 after tkphd's review

 - Use Y instead of X for the solid fraction
 - More explicit that data can be stored externally to the website and also on the website's own storage
 - Don't spedify the ordering of the \Delta x's. Hopefully, the website will be able to figure this out
 - Fix grammer
 - Fix broken URLs for references.
Code for particle counts was not previously shown unless the code
toggle button was pressed on the website. Now the code is in a
markdown cell so will always be on the website.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@pfhub
Copy link

pfhub commented Apr 16, 2021

The new PFHub live website is ready for review.

@wd15
Copy link
Collaborator Author

wd15 commented Apr 16, 2021

@tkphd: made modifications suggested.

Note that Reviewnb is now posting a link into this PR to their version of the PR and allowing comments in the version of the notebook rendered on their PR site, which is really nice. Reviewnb is getting better.

@tkphd
Copy link
Collaborator

tkphd commented Apr 16, 2021

Yeah! They were very responsive to a spellcheck issue I opened, looks like an active project. Very cool.

Copy link
Collaborator

@tkphd tkphd left a comment

Choose a reason for hiding this comment

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

Looks good to me!
Suggestion for @wuwenkun: if you create an arXiv record for the preprint, we can link to that until it clears peer review & publication.

Link to nucleation paper was broken.
@wd15
Copy link
Collaborator Author

wd15 commented Apr 16, 2021

Looks good to me!
Suggestion for @wuwenkun: if you create an arXiv record for the preprint, we can link to that until it clears peer review & publication.

It's already out. I fixed the link to it in the notebook.

@pfhub
Copy link

pfhub commented Apr 16, 2021

The new PFHub live website is ready for review.

@wd15 wd15 merged commit 48969f0 into usnistgov:master Apr 16, 2021
@wd15 wd15 deleted the issue1208-bm8 branch October 7, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants