flowapy 0.1.3__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flowapy-0.1.3 → flowapy-0.2.2}/PKG-INFO +2 -1
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/README.md +11 -9
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/aggregation.json +1207 -1146
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1002%2Fhumu.23878.json +84 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1016%2Fj.ymgmr.2024.101163.json +12 -4
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1038%2Fs41598-022-25914-8.json +105 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs12881-019-0878-8.json +69 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13023-021-01817-1.json +44 -44
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13023-021-02146-z.json +40 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13023-023-02848-6.json +117 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13052-019-0692-0.json +45 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffcvm.2022.1061384.json +37 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffcvm.2023.1261172.json +45 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffimmu.2024.1336599.json +53 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffped.2021.729824.json +53 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffphar.2022.903488.json +77 -0
- flowapy-0.2.2/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3390%2Fijns11010016.json +29 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3390%2Fijns6020031.json +3 -3
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1002%2Fhumu.23878/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1016%2Fj.ymgmr.2024.101163/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1038%2Fs41598-022-25914-8/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1186%2Fs12881-019-0878-8/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1186%2Fs13023-021-01817-1/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1186%2Fs13023-021-02146-z/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1186%2Fs13023-023-02848-6/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.1186%2Fs13052-019-0692-0/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3389%2Ffcvm.2022.1061384/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3389%2Ffcvm.2023.1261172/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3389%2Ffimmu.2024.1336599/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3389%2Ffped.2021.729824/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3389%2Ffphar.2022.903488/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3390%2Fijns11010016/pdf_index.pkl.zst +0 -0
- flowapy-0.2.2/examples/demo/fixtures/papers/10.3390%2Fijns6020031/pdf_index.pkl.zst +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/src/demo_gateway/main.py +13 -18
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/test_resolve.py +13 -28
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/uv.lock +64 -37
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/package.json +2 -2
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/package.json +1 -1
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/pdf-viewer/PdfHighlightViewer.test.tsx +21 -1
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/pdf-viewer/PdfHighlightViewer.tsx +31 -7
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/pdf-viewer/types.ts +7 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/EvidenceViewerShell.tsx +34 -2
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/extraction_prompt.txt +1 -7
- {flowapy-0.1.3 → flowapy-0.2.2}/pyproject.toml +2 -1
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/aggregate.py +66 -58
- flowapy-0.2.2/src/flowa/content_validation.py +153 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/convert.py +45 -20
- flowapy-0.2.2/src/flowa/pdf_index_cache.py +133 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/resolve.py +54 -69
- flowapy-0.2.2/tests/test_content_validation.py +164 -0
- flowapy-0.2.2/tests/test_pdf_index_cache.py +120 -0
- flowapy-0.2.2/tests/test_resolve.py +158 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/uv.lock +28 -1
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1002%2Fhumu.23878.json +0 -77
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1038%2Fs41598-022-25914-8.json +0 -109
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs12881-019-0878-8.json +0 -61
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13023-021-02146-z.json +0 -37
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13023-023-02848-6.json +0 -133
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.1186%2Fs13052-019-0692-0.json +0 -85
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffcvm.2022.1061384.json +0 -37
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffcvm.2023.1261172.json +0 -69
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffimmu.2024.1336599.json +0 -96
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffped.2021.729824.json +0 -37
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3389%2Ffphar.2022.903488.json +0 -61
- flowapy-0.1.3/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/extractions/10.3390%2Fijns11010016.json +0 -37
- flowapy-0.1.3/tests/test_resolve.py +0 -207
- {flowapy-0.1.3 → flowapy-0.2.2}/.env.example +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/dependabot.yml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/workflows/dependabot-auto-merge.yml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/workflows/lint.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/workflows/release-chat-service.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/workflows/release-flowapy.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.github/workflows/release-react-viewer.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.gitignore +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.markdownlint.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.nvmrc +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.pre-commit-config.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/.prettierignore +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/Dockerfile +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/LICENSE +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/README.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/docs/images/viewer.png +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/.gitkeep +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/.env.example +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/.gitignore +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/LICENSES.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/query.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/runs/cfc0186a7b7e46eb802a516b86ec207f/progress.jsonl +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/assessments/NM_000152_5-c_1935C_A/variant_details.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1002%2Fajmg.a.61481/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1002%2Fhumu.23878/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1002%2Fhumu.23878/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1002%2Fhumu.23878/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.ejmg.2020.103997/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.nmd.2022.02.002/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.tjog.2022.07.008/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.ymgmr.2024.101163/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.ymgmr.2024.101163/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1016%2Fj.ymgmr.2024.101163/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1038%2Fs41598-022-25914-8/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1038%2Fs41598-022-25914-8/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1038%2Fs41598-022-25914-8/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1093%2Fhmg%2Fddz218/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1136%2Fjmg-2022-108675/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs12881-019-0878-8/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs12881-019-0878-8/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs12881-019-0878-8/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-01817-1/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-01817-1/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-01817-1/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-02146-z/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-02146-z/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-021-02146-z/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-023-02848-6/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-023-02848-6/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13023-023-02848-6/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13052-019-0692-0/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13052-019-0692-0/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.1186%2Fs13052-019-0692-0/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2022.1061384/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2022.1061384/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2022.1061384/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2023.1261172/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2023.1261172/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffcvm.2023.1261172/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffimmu.2024.1336599/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffimmu.2024.1336599/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffimmu.2024.1336599/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffped.2021.729824/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffped.2021.729824/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffped.2021.729824/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffphar.2022.903488/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffphar.2022.903488/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3389%2Ffphar.2022.903488/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns11010016/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns11010016/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns11010016/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns6020031/markdown.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns6020031/metadata.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/fixtures/papers/10.3390%2Fijns6020031/source.pdf +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/next-env.d.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/next.config.mjs +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/package.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/postcss.config.cjs +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/public/favicon.svg +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/scripts/chat-service.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/scripts/copy-pdfjs-assets.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/scripts/exercise-llm.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/scripts/start.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/components/literature/LiteratureView.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/components/literature/PaperStatusGroup.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/components/literature/ProgressLog.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/components/literature/matchFilename.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/db/migrate.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/db/schema.sql +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/aggregate.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/chatSessionClient.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/citationResolverClient.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/demoConfig.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/papers.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/progressEvents.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/runs.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/triageBackendClient.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/triageDb.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/lib/variantId.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/_app.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/aggregate/[variantId]/[category].ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/edit-drafts/[variantId]/[category]/[version].ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/edit-drafts/[variantId]/[category]/index.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/papers/[doi]/pdf.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/papers/index.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/runs/[variantId]/[runId]/progress.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/runs/index.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/runs/latest.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/triage/claim.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/triage/comment.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/triage/paper-done.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/api/triage/snapshot/[variantId]/[category]/[version].ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/index.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/variants/[variantId].tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/pages/viewer/[variantId]/[category].tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/src/styles/globals.css +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/tailwind.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/LiteratureView.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/ProgressLog.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/aggregate.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/chat-service.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/index-page.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/matchFilename.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/papers-pdf-upload.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/papers-route.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/papers.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/progress-route.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/runs-latest-route.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/runs-route.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/runs.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/setup.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/triage.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/test/variantId.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/tsconfig.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo/vitest.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/README.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/pyproject.toml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/src/demo_gateway/__init__.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/src/demo_gateway/config.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/src/demo_gateway/progress.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/src/demo_gateway/runs.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/__init__.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/conftest.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/test_main.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/test_progress.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/examples/demo-gateway/tests/test_runs.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/package.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/.gitkeep +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/Dockerfile +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/LICENSE +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/README.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/artifact.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/audit.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/auth/jwt.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/auth/oidc.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/chat.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/cli.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/index.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/instrumentation.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/anthropic.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/bedrock.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/factory.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/google-gla.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/google-vertex.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/interface.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/llm/openai.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/prompts.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/server.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/session.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage/factory.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage/fs.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage/gcs.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage/interface.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage/s3.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/storage-keys.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/telemetry.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/text.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/src/yaml.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/chat.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/generic-prompt.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/llm-factory.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/oidc.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/paper-cache.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/storage-fs.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/storage-gcs.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/storage-s3.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/text.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/test/yaml.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/tsconfig.build.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/tsconfig.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/chat-service/vitest.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/LICENSE +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/README.md +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/citations/sanitize.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/citations/sanitize.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/citations/types.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/index.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/llm-content/LlmContent.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/llm-content/LlmContent.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/styles.css +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/ChatDrawer.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/ChatSection.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/ClaimList.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/EvidenceViewerShell.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/FocusCard.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/PaperHeader.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/PaperRail.test.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/PaperRail.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/SynthesisPanel.tsx +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/backend.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/citation-resolver.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/citation-utils.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/citation-utils.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/claim-refs.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/claim-refs.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/keyboard.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/keyboard.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/store.test.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/store.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/src/triage/types.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/tailwind.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/tsconfig.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/tsup.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/packages/react-viewer/vitest.config.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/pnpm-lock.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/pnpm-workspace.yaml +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/aggregation_edit_prompt.txt +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/aggregation_edit_schema.ts +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/aggregation_prompt.txt +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/aggregation_schema.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/extraction_schema.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/generic/transcription_prompt.txt +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/prompts/package.json +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/__init__.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/artifact.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/cli.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/clinvar.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/download.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/extract.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/http_retry.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/models.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/normalize.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/progress.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/prompts/__init__.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/py.typed +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/query.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/run.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/schema.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/settings.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/src/flowa/storage.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/tests/__init__.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/tests/test_progress.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/tests/test_prompts.py +0 -0
- {flowapy-0.1.3 → flowapy-0.2.2}/tsconfig.base.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flowapy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Variant literature assessment pipeline with AI extraction
|
|
5
5
|
Project-URL: Homepage, https://github.com/populationgenomics/flowa
|
|
6
6
|
Project-URL: Source, https://github.com/populationgenomics/flowa
|
|
@@ -47,6 +47,7 @@ Requires-Dist: pypdf
|
|
|
47
47
|
Requires-Dist: s3fs
|
|
48
48
|
Requires-Dist: tenacity
|
|
49
49
|
Requires-Dist: typer
|
|
50
|
+
Requires-Dist: zstandard
|
|
50
51
|
Provides-Extra: anthropic
|
|
51
52
|
Requires-Dist: pydantic-ai-slim[anthropic]==1.101.0; extra == 'anthropic'
|
|
52
53
|
Provides-Extra: bedrock
|
|
@@ -166,10 +166,10 @@ VARIANT=NM_001035_3-c_14174A_G
|
|
|
166
166
|
rm -f assessments/$VARIANT/aggregation.json \
|
|
167
167
|
assessments/$VARIANT/aggregation_raw.json
|
|
168
168
|
rm -rf assessments/$VARIANT/extractions/ assessments/$VARIANT/runs/
|
|
169
|
-
# Re-runs flowa.convert (which uses anchorite for PDF chunking
|
|
170
|
-
# Drop this line to reuse the cached markdown
|
|
171
|
-
# aggregate.
|
|
172
|
-
rm -f papers/*/markdown.md papers/*/convert_raw.json
|
|
169
|
+
# Re-runs flowa.convert (which uses anchorite for PDF chunking and
|
|
170
|
+
# builds pdf_index.pkl.zst). Drop this line to reuse the cached markdown
|
|
171
|
+
# + index and only redo extract + aggregate.
|
|
172
|
+
rm -f papers/*/markdown.md papers/*/convert_raw.json papers/*/pdf_index.pkl.zst
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
Then drive the pipeline. The demo's `scripts/start.ts` translates the
|
|
@@ -208,11 +208,13 @@ and not needed by anything downstream.
|
|
|
208
208
|
For papers whose source license blocks redistribution (CC-BY-NC-ND,
|
|
209
209
|
paywalled; see `fixtures/LICENSES.md` for the rule), do **not** delete
|
|
210
210
|
the whole `papers/{encodedDoi}/` directory — only delete `source.pdf`,
|
|
211
|
-
`markdown.md`,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
211
|
+
`markdown.md`, `convert_raw.json`, and `pdf_index.pkl.zst`. The
|
|
212
|
+
`pdf_index.pkl.zst` embeds the PDF's extracted text (anchorite's char
|
|
213
|
+
index), so it carries the same copyright as `source.pdf` and must not
|
|
214
|
+
ship in the open-source repo. Keep `metadata.json` (the bibliographic
|
|
215
|
+
fields are factual data, not copyrightable) but replace its `abstract`
|
|
216
|
+
field with a sentinel string, so the omission reads as deliberate (not
|
|
217
|
+
a missing-data bug) when the literature view renders the row:
|
|
216
218
|
|
|
217
219
|
```bash
|
|
218
220
|
python3 -c "
|