papertrail/package.json
caelum0x 9102a52177 feat: Phase 1 biology domain layer — ontology, marker ground truth, finding verifier, scispaCy specialization
- 0062_bio-ontology.sql: ontology_terms/synonyms/xrefs/edges + cell_marker_panels + gene_signatures
  (public reference data; seeded via scripts/ingest-ontology.ts — 34 terms, 143 synonyms, 29 marker panels)
- lib/entities/canonicalize.ts + lib/bio/ontology.ts: DB-backed deterministic entity resolution (no LLM)
- lib/bio/verifyBioinformaticsFinding.ts + lib/bio/rules/*: verify a Claude-Science-style finding
  ("AUC 0.86 responder signature") — grounds every number to a verbatim source span, deterministic verdict
- app/api/bio/{verify-finding,marker-check,variant-outcome} + app/api/entities/canonicalize (public, rate-limited)
- backend/engines/scispacy/papertrail_linker.py: PaperTrail-native multi-ontology linker (in-place engine specialization)
- 3 Claude Science skills + 4 MCP tools (local + hosted catalog) + /console/bio/finding + /console/ontology pages

tsc + mcp build + app build all green. Migration + seed applied to Neon.
2026-07-10 19:13:02 +03:00

56 lines
1.5 KiB
JSON

{
"name": "papertrail",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "vitest run",
"db:migrate": "tsx scripts/migrate.ts",
"ingest:test-set": "tsx scripts/ingest-test-set.ts",
"ingest:ontology": "tsx scripts/ingest-ontology.ts",
"seed": "tsx scripts/seed-db.ts",
"eval": "tsx scripts/eval.ts",
"bench": "tsx scripts/benchmark/run.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.27.0",
"bcryptjs": "^3.0.3",
"eslint-config-next": "^16.2.10",
"fast-xml-parser": "^5.9.3",
"jose": "^6.2.3",
"mammoth": "^1.12.0",
"next": "^16.2.10",
"pdf-lib": "^1.17.1",
"pg": "^8.12.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"simple-statistics": "^7.9.3",
"unpdf": "^1.6.2",
"xlsx": "^0.18.5",
"zod": "^3.23.8"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.14.15",
"@types/pg": "^8.11.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"dotenv": "^16.4.5",
"jsdom": "^29.1.1",
"openapi-typescript": "^7.13.0",
"postcss": "^8.4.40",
"tailwindcss": "^3.4.7",
"tsx": "^4.16.5",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"license": "Apache-2.0"
}