-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (60 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (60 loc) · 1.74 KB
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
[project]
name = "athena-research-assistant"
version = "0.1.0"
description = "Multi-agent research copilot with deterministic citation verification"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Junye Zhao", email = "junyezhao9@gmail.com" }]
# Core runtime: enough to run retrieval, the pipeline, citation validation,
# the local PDF RAG (hashing backend), and the Streamlit demo.
dependencies = [
"pydantic>=2.0",
"pydantic-settings>=2.0",
"python-dotenv>=1.0",
"langgraph>=0.2.0",
"langgraph-checkpoint-sqlite>=2.0.0",
"langchain-core>=0.3.0",
"openai>=1.0",
"arxiv>=2.1",
"requests>=2.31",
"rapidfuzz>=3.0",
"diskcache>=5.6",
"numpy>=1.24",
"pymupdf>=1.24",
"streamlit>=1.28",
]
[project.optional-dependencies]
# Higher-quality semantic embeddings + FAISS acceleration for the PDF RAG module.
# The default hashing backend works without these (offline, deterministic).
rag = [
"faiss-cpu>=1.8",
"sentence-transformers>=3.0",
]
# RQ1/RQ2/RQ3 evaluation experiments (figures + statistics).
eval = [
"matplotlib>=3.8",
"scipy>=1.11",
]
dev = [
"pytest>=8.0",
"ruff>=0.6",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
filterwarnings = [
"ignore::UserWarning",
]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = [".vendor", ".venv", ".venv-eval"]
[tool.ruff.lint]
select = ["E", "F", "I"]
# Line length is enforced by the formatter; E501 would otherwise flag long
# LLM prompt string literals that must not be reflowed (it changes the prompt).
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# CLI entry points inject the repo root into sys.path before importing athena.*
"scripts/*" = ["E402"]