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
-
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