Skip to content

Add data-article to citable document types#32

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/consider-data-article-citable
Draft

Add data-article to citable document types#32
Copilot wants to merge 3 commits intomasterfrom
copilot/consider-data-article-citable

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 3, 2026

Documents with type data-article were not being marked as citable in metrics calculations. This extends the citable document types list to include them.

Changes

  • updatesearch/pipeline_xml.py: Added data-article to CITABLE_DOCUMENT_TYPES tuple
  • tests/test_xmlpipeline.py: Added test case for data-article citability

Impact

Documents of type data-article will now have is_citable='is_true' in Solr index, enabling them to be included in citation metrics alongside other citable types (research-article, review-article, case-report, etc).

CITABLE_DOCUMENT_TYPES = (
    u'article-commentary',
    u'brief-report',
    u'case-report',
    u'data-article',  # New
    u'rapid-communication',
    u'research-article',
    u'review-article'
)
Original prompt

This section details on the original issue you should resolve

<issue_title>[Search-Journals-Proc] Considerar nas métricas o tipo de documento data-article como citável</issue_title>
<issue_description>### Descrição da tarefa
Considerar nas métricas o tipo de documento data-article como citável.
Este issue atende parte da resolução de outro issue: scieloorg/articles_meta#183

Considerações e notas

Rastrear o código para verificar se poderá ocorrer outros impactos baseados nesta tarefa.

Arquivos que serão afetados:
https://github.com/scieloorg/search-journals-proc/blob/master/updatesearch/pipeline_xml.py#L45</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 3, 2026 22:52
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Consider data-article type as citable in metrics Add data-article to citable document types Feb 3, 2026
Copilot AI requested a review from robertatakenaka February 3, 2026 22:55
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.

[Search-Journals-Proc] Considerar nas métricas o tipo de documento data-article como citável

2 participants