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

Add workflow step for UK curation #463

Closed
michamos opened this issue Apr 11, 2024 · 1 comment
Closed

Add workflow step for UK curation #463

michamos opened this issue Apr 11, 2024 · 1 comment

Comments

@michamos
Copy link
Collaborator

michamos commented Apr 11, 2024

We need to add a workflow step to create tickets for UK curation in the proper functional category/queue. Any new core arXiv paper that has fulltext matching the following regex should be assigned to the UK curation functional category:

\b(UK|United\s+Kingdom|England|Scotland|Northern\s+Ireland)\b

We can duplicate the logic of https://github.com/inspirehep/inspire-next/blob/fab1c19d33d7a5c6ba543aedcc9f9ddef814787a/inspirehep/modules/workflows/workflows/article.py#L264-L272, modifying the details to fit the UK regex and queue.

Note that unlike for HAL, we only want to create tickets for core records (core:true), so we need an additional check.

@michamos
Copy link
Collaborator Author

I've tested it and it seems to work well, so ready to deploy as far as I'm concerned 🚀

@michamos michamos closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants