Spaces:
Runtime error
Runtime error
Commit History
-
fix: citation author parsing bug + replace broken NHS K&L Hub link
Lincoln Gombedza +1: Claude Sonnet 4.6Citation fix (utils/citations.py): - Add _is_initials_token() helper — detects PubMed/Europe PMC "Surname JK" format where the last token is run-together uppercase initials (1-4 chars) - Add _initials_from_str() helper — expands "JK" → "J. K." for Harvard/APA - Apply fix to all four formatters: Harvard, APA 7th, Vancouver, AMA - Before: "Smith JK" → "JK, S." (last token wrongly treated as surname) - After: "Smith JK" → "Smith, J. K." (Harvard) / "Smith JK" (Vancouver/AMA) - Also handles multi-word surnames: "van der Berg JK" → "van der Berg, J. K." Link fix (streamlit_app.py): - Replace broken NHS K&L Hub (Scottish-only .nhs.scot URL) with TRIP Database - TRIP is free, no-login EBP search covering RCTs, guidelines, reviews - URL: https://www.tripdatabase.com/search?criteria={query} Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>4e6aab3
-
fix: CASP appraisal download changed from .txt to .docx
Lincoln Gombedza +1: Claude Sonnet 4.6- Added export_casp_docx() to utils/exports.py · Full formatted Word document with study details table · Questions grouped by section (Validity / Results / Relevance) · Colour-coded answers (green=Yes, red=No, amber=Can't tell) · Quality score summary table · Blank decision / signature box for submission · Professional footer with CASP attribution - Updated CASP tab to generate and download .docx instead of .txt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>cfec3ca -
feat: v2.0 — PICO builder, CASP appraisal, Literature Matrix, 4 databases
Lincoln Gombedza +1: Claude Sonnet 4.6New features: - PICO Builder tab: structured question → PubMed/CINAHL/plain query auto-generator - CASP Critical Appraisal: 5 checklists (SR, RCT, Cohort, Qualitative, Case-Control) with auto-detect, Yes/No/Can't tell scoring, quality label, exportable summary - Literature Matrix: data extraction table for all saved articles, CSV export (included only or full), auto-populates from saved article metadata - 2 new databases: OpenAlex (250M+ works, open access) + Europe PMC (preprints + full text) - Evidence distribution bar chart shown after every search - Download reference list as .docx (Vancouver/Harvard/APA7/AMA) - RIS export for Zotero / Mendeley / RefWorks - Open Access badge + citation count displayed on article cards - CASP scores automatically populate Literature Matrix quality field Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0c049db
-
Add Harvard (Cite Them Right) citation style
Lincoln Gombedza +1: Claude Sonnet 4.6- utils/citations.py: format_harvard() — Cite Them Right 12th ed. (up to 3 authors; 4+ → et al; 'Title' in single quotes; pp. prefix) - streamlit_app.py: Harvard in nursing summary cards (3-column), Library export, Citation Builder dropdown, formatting guide Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c9f6853
-
Add Vancouver citations and PRISMA 2020 flow tracker (UK nursing)
Lincoln Gombedza +1: Claude Sonnet 4.6- utils/citations.py: add format_vancouver() — UK nursing/medical standard (Surname AB format, max 6 authors then et al, Year;Vol(Issue):Pages) - streamlit_app.py: - Import and expose Vancouver in render_card() alongside APA 7th - Library tab: separate Export Vancouver / Export APA 7th buttons with numbered reference list for Vancouver - Citation Builder: Vancouver as default style with updated guide - New PRISMA 2020 tab: 4-stage flow tracker (Identification, Screening, Eligibility, Included) with auto-totals, download, and visual metrics — required for UK nursing dissertations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>739d04b
-
Initial commit: EBP Research Tool for Student Nurses
Lincoln Gombedza5095870