This commit is contained in:
Horldsence
2026-09-11 11:36:08 +08:00
parent 2d2a9a4e6a
commit a18a139a1d
93 changed files with 9245 additions and 3806 deletions
+10 -1
View File
@@ -12,8 +12,17 @@ dependencies = [
dev = [
"optuna>=5.0.0",
"pytest>=8",
# 独立评测机(自建模拟器):仅测试侧依赖,运行时代码零导入(懒加载 + 守卫测试)
"mcm26b-referee",
]
# uv 工作区:referee/ 是独立包(零第三方依赖、不依赖 mcm26b),双方仅通过 HTTP 协议耦合
[tool.uv.workspace]
members = ["referee"]
[tool.uv.sources]
mcm26b-referee = { workspace = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
@@ -25,4 +34,4 @@ packages = ["src/mcm26b"]
mcm26b = "mcm26b.cli:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
testpaths = ["tests", "referee/tests"]