[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"]