Spaces:
Running
Running
chore(sync): mirror backend .py + Dockerfile to Space (hf-sync-backend)
Browse filesAutomated backend sync from szl-holdings/a11oy main via hf-sync-backend.
Updated (differed from the Space): model_release/frontier-qualification/frontier_admission_guard.py
Deleted (gone from the repo + Dockerfile COPY set): (none)
Keeps the Space-built backend (serve.py + the Dockerfile-COPY'd .py
modules) identical to GitHub main so the Space never rebuilds from a
stale backend, new endpoints don't 404 there, and orphaned modules
removed from the repo don't linger in the Space tree.
model_release/frontier-qualification/frontier_admission_guard.py
CHANGED
|
@@ -103,7 +103,7 @@ def load_registry(path: Path = DEFAULT_REGISTRY) -> dict[str, Any]:
|
|
| 103 |
if not isinstance(layers, list) or len(layers) < 8:
|
| 104 |
raise FrontierAdmissionError("registry GitHub estate layer map is incomplete")
|
| 105 |
candidates = registry.get("candidates")
|
| 106 |
-
if not isinstance(candidates, list) or len(candidates) <
|
| 107 |
raise FrontierAdmissionError("registry candidate inventory is incomplete")
|
| 108 |
for candidate in candidates:
|
| 109 |
if not isinstance(candidate, dict):
|
|
|
|
| 103 |
if not isinstance(layers, list) or len(layers) < 8:
|
| 104 |
raise FrontierAdmissionError("registry GitHub estate layer map is incomplete")
|
| 105 |
candidates = registry.get("candidates")
|
| 106 |
+
if not isinstance(candidates, list) or len(candidates) < 11:
|
| 107 |
raise FrontierAdmissionError("registry candidate inventory is incomplete")
|
| 108 |
for candidate in candidates:
|
| 109 |
if not isinstance(candidate, dict):
|