feat(presets): add prisma-2020-db-only (databases & registers only)#1
Open
medilife-c11g wants to merge 1 commit into
Open
feat(presets): add prisma-2020-db-only (databases & registers only)#1medilife-c11g wants to merge 1 commit into
medilife-c11g wants to merge 1 commit into
Conversation
Adds a single-column PRISMA 2020 flow-diagram preset for reviews that searched databases and registers only (no websites/organisations/ citation-searching arm). The bundled prisma-2020 preset always renders the two-arm template, leaving an empty 'other methods' column for database-only reviews — common in diagnostic-test-accuracy (PRISMA-DTA) and many intervention reviews. - new preset src/presets/prisma-2020-db-only/index.ts (2-col grid; same fields/invariants as prisma-2020 minus the other-methods arm) - register in src/presets/index.ts - update registry test in test/matrix.test.mjs Tests: 80/80 pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a single-column PRISMA 2020 preset
prisma-2020-db-onlyfor reviews that searched databases & registers only (no other-methods arm). The bundledprisma-2020always renders the two-arm template, leaving an empty 'other methods' column for database-only reviews — common in PRISMA-DTA and many intervention reviews.src/presets/prisma-2020-db-only/index.ts(2-col grid; same fields/invariants minus the other-methods arm; included box spans both cols)src/presets/index.tstest/matrix.test.mjsTests: 80/80 pass. Verified validate + render (svg/pdf/png/drawio/mermaid) on a real DTA review.
🤖 Generated with Claude Code