feat: DB管线补全 + 新增orchestrator_db/program_schema/to_sql + 清理临时脚本

This commit is contained in:
hangshuo652
2026-07-11 14:55:52 +08:00
parent 40e8a50ab4
commit af37e33b98
32 changed files with 3232 additions and 255 deletions
+11
View File
@@ -34,6 +34,12 @@ class Config:
gcov_threshold: float = 0.5
max_quality_retries: int = 4
# gixsql for DB programs
gixsql_path: str = "gixsql/bin/gixpp.exe"
gixsql_lib_path: str = "gixsql/lib"
gixsql_db_path: str = ".db/gixsql"
gixsql_compile_flags: str = "-fixed -ext cpy --coverage"
@classmethod
def from_toml(cls, path="aurak.toml"):
import tomllib
@@ -56,6 +62,11 @@ class Config:
c.tolerance = cp.get("default_tolerance", c.tolerance)
r = d.get("runner", {})
c.runner_mode = r.get("mode", "native")
g = d.get("gixsql", {})
c.gixsql_path = g.get("path", c.gixsql_path)
c.gixsql_lib_path = g.get("lib_path", c.gixsql_lib_path)
c.gixsql_db_path = g.get("db_path", c.gixsql_db_path)
c.gixsql_compile_flags = g.get("compile_flags", c.gixsql_compile_flags)
s = d.get("spark", {})
c.spark_master = s.get("master", "local[*]")
c.num_records = s.get("num_records", c.num_records)