Files
ely-eye/backend/pyproject.toml
T
ZacharyZhang-NY fc0698c242 Add baseline harness: ingest, metrics, ablation arms, external counterpart, audit
- bench/ingest_baseline.py drives the unmodified product IngestionService over
  all 50,789 corpus files in sharded SQLite DBs, then merges them. Thread and
  memory ceilings are set explicitly: ONNX Runtime defaulted to every core
  (95 threads/worker, load 490) and its CPU arena kept freed pages mapped,
  which OOM-killed workers.
- bench/metrics.py: recall@k, MRR, nDCG@10, Wilson lower bound, chance
  baseline. No model, no product import, so the scorer cannot grade itself.
- bench/systems.py + bench/run.py: the five ablation arms over the merged DB,
  latency percentiles, scale curve, and a top-10 equivalence check against the
  live RetrievalService.
- bench/counterpart.py + bench/run_external.py: in-repo Mem0-style flat store
  and Zep-style temporal store as the external reference point.
- bench/audit.py: enforces single-attempt scoring, frozen n, a chance row
  beside every score, and producer != verifier. It already flags the product's
  retry-until-target loop at backend/src/ely_eye/evals.py:2351.
- backend/pyproject.toml: rapidocr-onnxruntime>=1.4.4 was unsatisfiable
  (PyPI maxes at 1.2.3); the successor is the renamed rapidocr package.
2026-10-06 14:36:02 -04:00

57 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools>=80", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ely-eye"
version = "0.1.0"
description = "Local multimodal context operating system for Qwen3.5-9B."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"accelerate>=1.12.0",
"bitsandbytes>=0.49.2",
"datasets>=4.8.5",
"fastapi>=0.124.0",
"huggingface-hub>=1.2.0",
"httpx>=0.28.0",
"networkx>=3.6.0",
"ninja>=1.13.0",
"numpy>=2.3.0",
"opencv-python-headless>=4.12.0.0",
"orjson>=3.11.0",
"peft>=0.19.0",
"pillow>=12.0.0",
"platformdirs>=4.5.0",
"pyarrow>=22.0.0",
"pydantic>=2.12.0",
"pydantic-settings>=2.12.0",
"pymupdf>=1.26.0",
"python-multipart>=0.0.20",
"qwen-vl-utils>=0.0.14",
"rank-bm25>=0.2.2",
"rapidocr-onnxruntime>=1.2.3,<2",
"safetensors>=0.7.0",
"sentence-transformers>=5.2.0",
"torch>=2.12.0",
"torchvision>=0.27.0",
"transformers>=4.57.0",
"typer>=0.20.0",
"uvicorn[standard]>=0.38.0",
"zstandard>=0.25.0"
]
[project.scripts]
ely-eye = "ely_eye.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.pyright]
pythonVersion = "3.12"
include = ["src"]