doc: Update script and workflow to update README with arXiv Braket publications#1221
doc: Update script and workflow to update README with arXiv Braket publications#1221axif0 wants to merge 5 commits intoamazon-braket:mainfrom
Conversation
…v preprints using Amazon Braket
|
The arXiv API only searches text metadata (title, abstract, comments, authors, categories). It does not understand context. If |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1221 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 169 169
Lines 10835 10835
Branches 1382 1382
=========================================
Hits 10835 10835 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bin/update-braket-publications.py
Outdated
| if score >= 3: | ||
| return "likely_real_usage" | ||
| if score > 0: | ||
| return "ambiguous_manual_review" | ||
| return "mention_only" |
There was a problem hiding this comment.
Probably worth an enum to prevent typos when editing this script
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 |
There was a problem hiding this comment.
Bumped actions/checkout and actions/setup-python to v6.
…te workflow actions and Python version
|
@speller26 hello, Is there anything else for improvement? |
Issue #, if available:
#1192
Description of changes:
bin/update-braket-publications.pyto query the arXiv API for preprints mentioning Amazon Braket from the last 12 months.github/workflows/update-braket-publications.ymlto run the script monthly and open a PR when there are changesTesting done:
python3 bin/update-braket-publications.pyfrom repo rootMerge Checklist
General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.