Writes the disclosure from the log, so that it reflects what was recorded during the project rather than what is remembered at the end. Review and adapt it to the policy of the journal, funder or institution: the package does not certify compliance with any particular policy.
Arguments
- path
Root folder of the project, or an
ait_logobject.- style
"short": a paragraph for the methods or acknowledgements section."full": a Markdown appendix with tools, uses and verifications."json": a machine-readable summary.- lang
Language:
"en"(English) or"es"(Spanish).- file
Optional file to write the statement to.
Examples
project <- ait_example()
ait_disclosure(project)
#> AI tools (ChatGPT (OpenAI, GPT-4o, 2024-08-06), Claude (Anthropic, Claude Sonnet 4) and DeepL (DeepL SE)) were used in the following phases of this work: literature review; analysis and code; writing; translation and editing. 4 of the 5 recorded uses were verified by the research team (expert review, checked against sources and analysis rerun). AI output was used substantially in: analysis and code; translation and editing. The authors take full responsibility for the content of this work; AI tools are not listed as authors.
ait_disclosure(project, lang = "es")
#> Se utilizaron herramientas de IA (ChatGPT (OpenAI, GPT-4o, 2024-08-06), Claude (Anthropic, Claude Sonnet 4) y DeepL (DeepL SE)) en las siguientes fases de este trabajo: revisión bibliográfica; análisis y código; redacción; traducción y edición. El equipo de investigación verificó 4 de los 5 usos registrados (revisión experta, contraste con las fuentes y repetición del análisis). El resultado de la IA se utilizó de forma sustancial en: análisis y código; traducción y edición. Los autores asumen la plena responsabilidad del contenido de este trabajo; las herramientas de IA no figuran como autoras.
ait_disclosure(project, style = "full")
#> ## Use of AI tools
#>
#> AI tools (ChatGPT (OpenAI, GPT-4o, 2024-08-06), Claude (Anthropic, Claude Sonnet 4) and DeepL (DeepL SE)) were used in the following phases of this work: literature review; analysis and code; writing; translation and editing. 4 of the 5 recorded uses were verified by the research team (expert review, checked against sources and analysis rerun). AI output was used substantially in: analysis and code; translation and editing. The authors take full responsibility for the content of this work; AI tools are not listed as authors.
#>
#> ### Tools
#>
#> | Tool | Provider | Model | Version | Access |
#> |---|---|---|---|---|
#> | ChatGPT | OpenAI | GPT-4o | 2024-08-06 | Web interface |
#> | Claude | Anthropic | Claude Sonnet 4 | | Web interface |
#> | DeepL | DeepL SE | | | Integrated in software |
#>
#> ### Uses by phase
#>
#> | Phase | Task | Tool | Purpose | Output used | Verification |
#> |---|---|---|---|---|---|
#> | Literature review | Summarise 60 abstracts for first-pass screening | ChatGPT | Speed up title and abstract screening | Partially used | checked against sources (modified, A. Researcher) |
#> | Literature review | Suggest further studies on data-sharing attitudes | ChatGPT | Find studies missed by the database search | Not used | not verified |
#> | Analysis and code | Draft R code for the ordinal regression models | Claude | Write analysis code faster | Substantially used | analysis rerun (modified, A. Researcher) |
#> | Writing | Improve the clarity of the discussion section | ChatGPT | Language and structure suggestions | Partially used | expert review (modified, B. Supervisor) |
#> | Translation and editing | Translate the abstract into Spanish | DeepL | Spanish abstract required by the journal | Substantially used | expert review (accepted, C. Co-author) |