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

Automated reminders to update demo metadata #1049

Merged
merged 279 commits into from
Mar 6, 2024

Conversation

doctorperceptron
Copy link
Contributor

@doctorperceptron doctorperceptron commented Mar 5, 2024

This PR adds a workflow that will post a message in any PR that modifies files within the /demonstrations folder. The message reminds the author to please update the dateOfLastModification for their changes to appear on the pennylane website. The last GitHub bot comment on this PR is what this will look like.

NOTE: Edited some metadata to test. Do Not Merge until that data is reverted.

actions-user and others added 30 commits January 23, 2023 19:30
* use pyscf for openshell H3

* change date and fix interface warning
* Ibm oslo

* Update to new hardware

* Change to Lima

* Typo

* Replace

* One below
* Added interface, removed deprecated functionality

* Addressing PR comments

---------

Co-authored-by: Romain Moyard <[email protected]>
* More

* typo

* Trigger CI

* lightning req no depth

* Trigger CI
* new version of SPSA demo

* Update demonstrations/spsa.py

Co-authored-by: Josh Izaac <[email protected]>

* simplify code, update outputs and figures

* Apply suggestions from code review

Co-authored-by: Romain Moyard <[email protected]>

* review and tweaking

* make spsa an executing tutorial

* move file

* fix links

* fix some more links

* author bio

* line breaks, undo link change, fixing them actually

* links...

* links again... bio

* update to count executions manually

* reword device executions -> circuit executions. avoid recreating device and qnode

* print executions

---------

Co-authored-by: Josh Izaac <[email protected]>
Co-authored-by: Romain Moyard <[email protected]>

This comment was marked as outdated.

@doctorperceptron doctorperceptron marked this pull request as ready for review March 5, 2024 20:23
Copy link
Collaborator

@Mandrenkov Mandrenkov left a comment

Choose a reason for hiding this comment

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

Nice, looks good! 🎉

What do you think about adding a CTA along the lines of:

🐘 Don't forget to mark this comment as resolved once the field(s) are updated.

Also, before merging, it could be worth getting buy-in from the Community and PennyLane Teams to make sure everyone is on board with the reminder.

.github/workflows/update-metadata-reminder.yml Outdated Show resolved Hide resolved

This comment was marked as outdated.

Copy link

github-actions bot commented Mar 6, 2024

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes show up on pennylane.ai.

Please mark this comment as resolved once the field(s) are updated. Thanks!

Copy link
Contributor

@trbromley trbromley left a comment

Choose a reason for hiding this comment

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

.github/workflows/update-metadata-reminder.yml Outdated Show resolved Hide resolved
@KetpuntoG
Copy link
Contributor

Thanks for work on this!

@doctorperceptron doctorperceptron merged commit 03a6126 into master Mar 6, 2024
6 checks passed
@doctorperceptron doctorperceptron deleted the sc-58058-reminder-to-update-demo-metadata branch March 6, 2024 18:57
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.