Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
fix(packaging): modernize metadata and single-source the version (#110)
Emiliano G.O.3131a96ff683
diff --git a/tests/test_packaging.py b/tests/test_packaging.pyindex 25a32e53..1990f3ad 100644--- a/tests/test_packaging.py+++ b/tests/test_packaging.py@@ -65,6 +65,22 @@ for field in ("python_requires", "install_requires", "classifiers"):"metadata belongs in pyproject.toml only",)+# The release job checks the git tag against pyproject, but laya.__version__ is what the server+# and SDK report at runtime, so the two strings must not drift apart.+static_version = re.search(r'^version\s*=\s*"([^"]+)"', pyproject, re.M)+check_true("pyproject/declares a static version", static_version is not None)+init_version = re.search(r'^__version__\s*=\s*"([^"]+)"', read(os.path.join("laya", "__init__.py")), re.M)+check_true("laya/__init__ declares a literal __version__", init_version is not None)+check(+ "version/pyproject matches laya.__version__",+ static_version.group(1) if static_version else None,+ init_version.group(1) if init_version else None,+)+for label, match in (("pyproject", static_version), ("laya/__init__", init_version)):+ value = match.group(1) if match else ""+ parts = value.split(".")+ check_true("%s/version is X.Y.Z" % label, len(parts) == 3 and all(p.isdigit() for p in parts), "got %r" % value)+workflow = read(os.path.join(".github", "workflows", "ci.yml"))ci_versions = [version_tuple(v) for v in re.findall(r'"(\d+\.\d+)"', workflow)]stale = [".".join(str(p) for p in v) for v in ci_versions if v < floor]