Files
ely-eye/pyproject.toml
ZacharyZhang-NY 71733d86d6 Stop the checklist from quoting numbers no artifact carries
A review of the p2-1 record found seven places where the prose had drifted
away from the reports it cites. None were product defects; all were record
keeping, and record keeping is what a memory system is judged on.

The quantization row mis-transcribed nine latencies, and the two worst made
dimension truncation look twice as fast as the full scan when the report
measures six percent. The extrapolation table scaled latency by atoms and
bytes by vectors under one heading that named neither switch. The picture
index stats existed only in prose, so the harness now reads the index shape
off the artifact and times the encoder on a sample, which reproduces the
hand-timed build within seven percent. The dense arms named a store that
holds no vectors, so the report names the store the vectors came from and
refuses to run where a dense leg would rank an empty index.

The frozen baseline was migrated in place by the product CLI while the
picture index was built, so its pinned mtime, digest and schema version are
re-pinned and the step that moved it is named. The sqlite_vec import added
two mypy errors; the fix is the missing stub declaration, not an inline
ignore, and the count is back to the recorded baseline of twenty-four.
2026-10-08 18:51:41 -04:00

30 lines
766 B
TOML

[tool.pytest.ini_options]
# bench/tests imports the bench package by name, so the repo root must be importable
# whichever way pytest is launched (pytest, or python -m pytest).
pythonpath = ["."]
testpaths = ["backend/tests", "bench/tests"]
[tool.mypy]
python_executable = ".venv/bin/python"
mypy_path = "."
python_version = "3.12"
files = ["bench", "backend/src"]
# bench/corpus is downloaded third-party data (git clones), not our source.
exclude = "bench/corpus/"
[[tool.mypy.overrides]]
module = "pyarrow.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"rapidocr_onnxruntime.*",
"cv2.*",
"rank_bm25",
"sentence_transformers.*",
"onnxruntime.*",
"faster_whisper.*",
"sqlite_vec",
]
ignore_missing_imports = true