Skip to content

feat: add AI-assisted research tools module#26

Open
grantf04 wants to merge 2 commits into
SCIBASE-AI:mainfrom
grantf04:ai-assisted-research-tools
Open

feat: add AI-assisted research tools module#26
grantf04 wants to merge 2 commits into
SCIBASE-AI:mainfrom
grantf04:ai-assisted-research-tools

Conversation

@grantf04
Copy link
Copy Markdown

@grantf04 grantf04 commented May 9, 2026

@algora-pbc /claim #13

Closes #13

What this adds

Adds a self-contained ai-assisted-research-tools/ module for the issue #13 MVP: AI paper summaries, peer review diagnostics, and citation recommendations for scientific manuscripts.

Requirement mapping

  • AI Paper Summarizer → implemented in ai-assisted-research-tools/src/research-ai.js with abstract, executive, and layperson modes, domain-aware keyword profiling, key findings, implications, and next steps.
  • AI Peer Review Aid → implemented in peerReviewAid with similarity checks against uploaded/open-corpus snippets, clarity checks, statistical reporting checks, compliance checks, and domain templates for biology, physics, and social science.
  • AI Citation Tool → implemented in recommendCitations with local open-corpus retrieval, APA/MLA/Nature formatting, similar-paper suggestions, and manuscript insertion snippets.
  • Reviewer dashboard and API smoke tests → implemented in src/server.js plus public/ static UI.
  • Tests → implemented in test/research-ai.test.js.

How to verify in under 5 minutes

cd ai-assisted-research-tools
npm test
npm start

Open http://localhost:4128 and verify the dashboard shows the manuscript profile, three summary modes, peer review findings, citation recommendations, and style switching.

Optional API smoke checks:

curl -s http://localhost:4128/api/dashboard
curl -s "http://localhost:4128/api/summarize?mode=layperson"
curl -s "http://localhost:4128/api/citations?style=Nature"

Validation

Commands run:

  • npm test - 4 tests passing
  • curl -s http://localhost:4128/api/dashboard - returns manuscript title, 5 review issues, and 3 citation recommendations
  • curl -i -s http://localhost:4128/package.json - returns 404 without crashing the server
  • Browser demo verified at http://127.0.0.1:4128/: summarizer, peer review, and citation panels render with 0 console errors
  • Browser controls verified: Layperson summary mode and MLA citation style update correctly with 0 console errors

Demo

  • Static demo preview: ai-assisted-research-tools/docs/demo/ai-assisted-research-tools.svg
  • Demo script: ai-assisted-research-tools/docs/demo-script.md

Scope

This PR is intentionally self-contained under ai-assisted-research-tools/ and avoids unrelated root-level changes except adding the module link to the root README.

@grantf04
Copy link
Copy Markdown
Author

grantf04 commented May 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI-Assisted Research Tools (MVP Level)

1 participant