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/write recommended articles #51

Conversation

gurdeep330
Copy link
Member

For authors

Description

  1. This commit adds a Zotero plugin to copy recommended articles to Zotero
  2. Users can provide their Zotero group ID, Zotero group key, and Zotero API key via GitHub Actions secrets (optional)
  3. If no Actions secrets are provided, the script skips the Zotero plugin

Fixes # (issue) NA

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests you conducted to verify your changes. These may involve creating new test scripts or updating existing ones.

  • Added new test(s) in the tests folder
  • Added new function(s) to an existing test(s) (e.g.: tests/testX.py)
  • No new tests added (Please explain the rationale in this case)

Checklist

  • My code follows the style guidelines mentioned in the Code/DevOps guides
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (e.g. MkDocs)
  • My changes generate no new warnings
  • I have added or updated tests (in the tests folder) that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

For reviewers

Checklist pre-approval

  • Is there enough documentation?
  • If a new feature has been added, or a bug fixed, has a test been added to confirm good behaviour?
  • Does the test(s) successfully test edge/corner cases?
  • Does the PR pass the tests? (if the repository has continuous integration)

Checklist post-approval

  • Does this PR merge develop into main? If so, please make sure to add a prefix (feat/fix/chore) and/or a suffix BREAKING CHANGE (if it's a major release) to your commit message.
  • Does this PR close an issue? If so, please make sure to descriptively close this issue when the PR is merged.

Checklist post-merge

  • When you approve of the PR, merge and close it (Read this article to know about different merge methods on GitHub)
  • Did this PR merge develop into main and is it suppose to run an automated release workflow (if applicable)? If so, please make sure to check under the "Actions" tab to see if the workflow has been initiated, and return later to verify that it has completed successfully.

@gurdeep330 gurdeep330 self-assigned this Aug 21, 2024
@gurdeep330 gurdeep330 added the enhancement New feature or request label Aug 23, 2024
@gurdeep330 gurdeep330 merged commit 1a4d499 into VirtualPatientEngine:develop Aug 23, 2024
6 checks passed
gurdeep330 added a commit that referenced this pull request Aug 23, 2024
… required to make recommendations using S2 (#53)

ref task VirtualPatientEngine/VPECompetitiveIntelligence#3 (comment)

* fix: #47

* feat: do not consider an article negative if it is already positive for a topic

* Feat/write recommended articles (#51)

* update data

* update data

* feat: add Zotero plugin

* chore: update README explaining the Zotero plugin

* chore: utils.py and reduce the number of articles to 200

---------

Co-authored-by: GitHub Action <action@github.com>

---------

Co-authored-by: AW Mulyadi <50047143+awmulyadi@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>

BREAKING CHANGE: Zotero + S2 updates
github-actions bot pushed a commit that referenced this pull request Aug 23, 2024
# [2.5.0](v2.4.0...v2.5.0) (2024-08-23)

### Features

* Add Zotero plugin and remove restrictions on number of articles required to make recommendations using S2 ([#53](#53)) ([de94c38](de94c38)), closes [/github.com/VirtualPatientEngine/VPECompetitiveIntelligence/issues/3#issue-2471909877](https://github.com//github.com/VirtualPatientEngine/VPECompetitiveIntelligence/issues/3/issues/issue-2471909877) [#47](#47) [#51](#51)
Copy link
Contributor

github-actions bot commented Sep 5, 2024

🎉 This PR is included in version 3.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants