Spaces:
Sleeping
Sleeping
File size: 1,711 Bytes
23d418f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | [project]
name = "coverage-check"
version = "0.1.0"
description = "Underwriting Q&A over public Ontario auto insurance documents, with evals"
readme = "README.md"
authors = [
{ name = "Talel Ben Mabrouk (GitHub: Talel-bm)" }
]
requires-python = ">=3.12"
dependencies = [
"anthropic>=2.12.0",
"bm25s>=0.3.16",
"fastapi>=0.165.0",
"fastembed>=0.9.1",
"httpx>=0.28.1",
"langchain-core>=1.8.4",
"langgraph>=1.2.24",
"langsmith>=0.16.0",
"matplotlib>=3.11.2",
"numpy>=2.5.5",
"pandas>=3.1.1",
"pyarrow>=26.0.1",
"pydantic>=2.14.4",
"python-dotenv>=1.2.4",
"rapidfuzz>=3.14.6",
"uvicorn>=0.54.0",
]
[project.scripts]
coverage-check = "coveragecheck:main"
[build-system]
requires = ["uv_build>=0.13.9,<0.14.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
# The project is called "coverage-check" but the import name is "coveragecheck"
# (per SPEC.md), so uv_build must be told which folder under src/ to package.
module-name = "coveragecheck"
[dependency-groups]
dev = [
"pytest>=9.2.0",
"ruff>=0.17.6",
]
ingest = [
"docling>=2.151.1",
"pymupdf>=2.1",
]
[tool.uv]
# Local work gets everything. The deployed app never parses documents, so the
# Dockerfile runs `uv sync --no-group ingest --no-group dev` and skips Docling/torch.
default-groups = ["dev", "ingest"]
[project.urls]
Repository = "https://github.com/Talel-bm/coverage-check"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
# E/F: pyflakes + pycodestyle errors, I: import sorting,
# B: common bug patterns, UP: modern Python syntax.
select = ["E", "F", "I", "B", "UP"]
|