Problem and solution

Students cite sources they have skimmed, and citations drift: a number gets rounded, a hedge gets dropped, a correlation becomes a cause. AI writing tools make this worse, because they write fluent sentences whose cited sources do not say what the sentence says. Checking by hand means opening every source and hunting for the passage, which few students do before a deadline. Show Me Where is for students checking their own abstract, literature review, or lab report introduction before they hand it in. It finds every cited claim, reads the cited source, and shows the one source sentence each grade rests on, highlighted inside the sentences around it. If the model cannot quote a whole sentence that really is in the source, the app throws its grade away and says "cannot tell". The student ends up reading the right sentence of the right source, which is the check they would have skipped.

What it does

  1. Paste a paragraph and its reference list, in APA author-year style or numbered style.
  2. The app lists every cited claim, every sentence with no citation, and every citation that matches nothing in the reference list (bracketed numbers above 999 are read as years).
  3. For each source with a DOI, it reads open-access full text from Europe PMC, or else the abstract from OpenAlex. Other sources can be pasted in.
  4. Each claim is checked against each of its sources. Every source is checked against the whole sentence, even when its citation follows only one part, as in "A rose [1], while B fell [2]". The app never cuts a sentence into parts, because a part can lean on the rest of the sentence ("; the placebo, only in younger adults"), and grading it alone could show a wrong grade as supported. The cost is that a source cited for half a sentence usually reads "partly supported" because it answers for the whole sentence.
  5. Results show the model's reading (supported, partly supported, not supported) or the app's own outcome (cannot tell, source not reachable, check failed, sources disagree), with the verified sentence highlighted in context.

A sample run, labelled on screen as a synthetic hand-written example, shows every outcome with no key and no network calls.

AI implementation

  • Model: a free OpenRouter model, called from the browser with the student's own key through the OpenRouter chat completions API. The default is google/gemma-4-31b-it:free, and the app refuses any model id that does not end in :free.
  • The model gets a fixed rubric, the student's whole sentence and one source's text, and must answer in JSON with a grade, one whole sentence copied from the source, and a reason.
  • The app, not the model, decides what reaches the student. A grade survives only if its quote is one or more whole sentences found word for word in the source text, after normalising only quotes, dashes, ligatures, invisible characters and whitespace. Quoting part of a sentence is rejected, because a fragment can drop a "no evidence that".
  • Kept grades are worded as the model's reading, and each quote is shown between its neighbouring sentences so the student can see a "However" or a change of population.
  • Deterministic warnings flag a number or a negation in the claim that the quote lacks, and negations, hedges, or earlier-work wording in the quote that the claim lacks. Warnings never change a grade.
  • When the claim has extractable key words, a quote that shares none of them is discarded, so a model steered into quoting an unrelated real sentence gets nothing through. A claim with no extractable key words skips this keyword check, while the quote must still be long enough and match whole source sentences.
  • Both supported and partly_supported count as backing grades. If every cited source has a backing grade, the headline is partly_supported when any source has that grade, otherwise supported. If some sources back the sentence and others do not, it reads "Not every cited source backs it". The exception is a supported source paired with a not_supported source, which gives "Sources disagree".
  • A failed model call is shown as "check failed", never as a grade.
  • Source text is fenced in the prompt with a random tag for each call, and the rules are repeated after it, to reduce prompt injection from hostile source text.
  • Everything except the model's reading is deterministic TypeScript, covered by unit and component tests.

Responsible use, limitations and outside dependencies

  • The app cannot tell whether a real sentence really backs a claim. It says so beside every quote and in the summary panel, and asks the student to read the sentence.
  • Abstracts often do not cover a claim, so claims checked against an abstract often end at "cannot tell". The app names whether it read full text, an abstract, or pasted text.
  • It reads only open-access full text; paywalled papers, PDFs, and web pages must be pasted.
  • It supports numbered and APA author-year citations only.
  • Its prompt-injection defences lower the risk from hostile text but do not remove it: a hostile source could still steer the model to a real sentence that shares a word with the claim.
  • Sentence boundaries come from a rule-based splitter; an abbreviation it does not know can still end a sentence early.
  • A reference line the parser does not recognise is joined to the entry above it; step 2 shows every source's text so the student can check.
  • Outside services, called only in a live run: Europe PMC (the DOI is sent), OpenAlex (the DOI is sent), and OpenRouter (each claim and its source text are sent, with the student's own key). Free OpenRouter models have rate limits, so a long paragraph can hit them; such calls show as "check failed".
  • The key is kept only in the page's memory, never in browser storage, and is forgotten when the student switches to the sample run or closes the page. There is no server, proxy, account, or analytics of ours.
  • No real model run is shown anywhere in this submission. No key was available, so the sample run in the app, the demo video and the screenshots all show a hand-written synthetic example, and the app labels it as synthetic on screen. The live OpenRouter call has been tested only against a recorded HTTP 401 reply and a hand-written reply in the documented shape.

How it was built

  • TypeScript, React and Vite, built as a static site; Vitest and Testing Library for tests; ESLint and type-checking in GitHub Actions on every push.
  • Europe PMC REST API and OpenAlex API for source text; OpenRouter chat completions API for the model.
  • The highlighter stroke is adapted from Magic UI's MIT-licensed Highlighter component and draws with rough-notation (MIT). Fonts are Space Grotesk, DM Sans and JetBrains Mono (SIL OFL), bundled.
  • AI coding agents built this project, directed by Kesh, who chose the idea, the rules it follows and what ships. Tools used on this repository: Fable 5.2 as the planner (briefs, tracking, checking reports, pushing and merging pull requests; it wrote no project code); Claude Opus 5.5 subagents as the lead that wrote the specification and built the app, as fixers for review findings, and for the submission checks, screenshots and demo video; Codex (GPT 6.1 Sol) for fixes to review findings in two review rounds; Antigravity (Gemini 4 Argon) for one adversarial read of the finished build, reading only; CodeRabbit for automated review of every pull request.

Built With

Share this project:

Updates

Submission history