-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (78 loc) · 2.52 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "adcd"
version = "1.0.0"
description = "Anomaly-Driven Correction Discovery: Physics-Constrained Symbolic Regression for Evolutionary Scientific Discovery"
readme = "README.md"
license = { text = "MIT" }
# NOTE FOR REVIEWERS: author metadata is omitted for double-blind review.
# It will be restored upon acceptance.
authors = [
{ name = "Anonymous Author", email = "anonymous@review.invalid" }
]
keywords = ["symbolic regression", "physics", "machine learning", "scientific discovery", "JAX"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.24",
"scipy>=1.11",
"sympy>=1.12",
"jax>=0.4.20",
"jaxlib>=0.4.20",
"matplotlib>=3.7",
"scikit-learn>=1.3",
"pandas>=1.5",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"flake8>=6.1",
"black>=23.0",
]
# Primary comparison baseline (PySR pulls in a Julia runtime; only needed to
# re-run the baseline benchmark, not for ADCD itself).
benchmark = [
"pysr>=1.5",
]
all = ["adcd[dev,benchmark]"]
# NOTE: URLs below are omitted for double-blind review and will be restored upon acceptance.
# Homepage = "https://zenodo.org/records/XXXX"
# Repository = "https://github.com/ANONYMOUS/ADCD"
# DOI = "https://doi.org/10.5281/zenodo.XXXX"
[project.scripts]
adcd = "adcd.cli:main"
adcd-discover = "adcd.correction_orchestrator:main_cli"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--tb=short -q"
filterwarnings = [
# matplotlib emits DeprecationWarning when plt.show() is called on a
# non-interactive (Agg) backend. This is a third-party warning not under
# our control; we already guard plt.show() with plt.isinteractive().
"ignore:FigureCanvasAgg is non-interactive:DeprecationWarning",
]
[tool.coverage.run]
source = ["adcd"]
omit = ["tests/*", "scratch/*"]
[tool.black]
line-length = 120
target-version = ["py310", "py311"]