Skip to content

docs+examples: scientific paper Pack platform - #365

Merged
mikolaj92 merged 2 commits into
mainfrom
cursor/scientific-paper-pack-f6df
Sep 29, 2026
Merged

mikolaj92 merged 2 commits into
mainfrom
cursor/scientific-paper-pack-f6df

Conversation

@mikolaj92

@mikolaj92 mikolaj92 commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

ReviewKit is a platform engine. Legal review stays a Temida host Pack; scientific paper review is a first-class example Pack in this repo, not a domain in src/reviewkit. The Pack is also the testbed for the three reviewer transitions (name → judge → act) so wrong assumptions surface before Temida-scale legal packs.

What landed

  • docs/platforms/scientific-paper-review.md — how peer review maps onto Pack (desk reject / major / minor as host policy over close + defect); the same IMRaD function shape for any topic; CONSORT/PRISMA/STROBE as unit patterns, not Function ids; rules = label/defect/close; host wires DecisionClient / LLMClient. Explicit testbed section: name every sentence then paragraph/section/document; judge functions; act = apply score + optional rewrite.
  • examples/packs/scientific_paper.json — 0.24 Pack: ten IMRaD/claim functions; reporting-guideline + citation-integrity SourceUnits; optional scientific-method / information-theory primers as unit text + url (not Python). Defects cover citation-needed, provenance (what they cite), claim–evidence, overclaim, hallucinated refs, p-hacking.
  • examples/papers/egg-low-quality.md — synthetic egg paper with planted defects: overclaim in the abstract, fake-looking citation, unsupported result claim, missing methods.
  • examples/scientific_paper_review.py — MockDecisionClient + MockLLMClient through TaktReviewer on that fixture.
  • examples/profiles/scientific.reviewer/ — behavior only (language=en, reviewer_role=peer reviewer, fail-closed action_policy). No ontology in the profile.
  • Platforms pointer in README and docs/host-integration.md (Temida legal host vs this example).

Validation

Pack.model_validate on examples/packs/scientific_paper.json is locked in tests/test_docs_pack_canon.py. The egg-paper test asserts tags at sentence/paragraph/section/document, judge findings (change and missing), covered() gaps including methods, and at least one act path (LLMClient ActionText rewrite). src/reviewkit is unchanged.

Open in Web Open in Cursor 

Add a first-class example Pack for scientific paper review: IMRaD
ontology, reporting-guideline and citation-integrity units, and a
behavior-only peer-reviewer profile. Legal review stays a Temida host;
neither domain lives in src/reviewkit.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Add a synthetic low-quality paper and a MockDecisionClient sketch that
runs the scientific Pack through TaktReviewer in reviewer order, so
wrong assumptions surface before Temida-scale legal packs.

Co-authored-by: Patryk Mikołajczyk <mikolaj92@users.noreply.github.com>
@mikolaj92
mikolaj92 merged commit 36ea6b8 into main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants