release: prepare v1.3.0

This commit is contained in:
Umutcan Edizsalan
2026-07-17 15:48:43 +03:00
parent 1d47408157
commit 4a2e9d658f
35 changed files with 3053 additions and 48 deletions
+34
View File
@@ -0,0 +1,34 @@
"""Fixed v2 task matrix shared by all competitor adapters."""
from __future__ import annotations
from dataclasses import dataclass
@dataclass(frozen=True)
class TaskSpec:
task_id: str
category: str
description: str
weight: float
TASKS_V2: tuple[TaskSpec, ...] = (
TaskSpec("core_geometry", "creation", "Create and inspect deterministic geometry", 1.0),
TaskSpec("modify_query", "editing", "Modify geometry and verify the result", 1.0),
TaskSpec("layers_linetypes", "standards", "Apply standard layers and linetypes", 1.0),
TaskSpec("dimensions", "annotation", "Create real associative dimensions", 1.0),
TaskSpec("table_mleader", "annotation", "Create TABLE and MLEADER semantics", 1.0),
TaskSpec("transactions", "reliability", "Rollback a bounded change", 1.0),
TaskSpec("preflight", "planning", "Resolve and hash drawing requirements", 1.0),
TaskSpec("quality_refiner", "quality", "Detect and repair a quality defect", 1.0),
TaskSpec("dxf_roundtrip", "interoperability", "Save and re-open with structural parity", 1.0),
TaskSpec("auditable_delivery", "delivery", "Produce a hashed validation manifest", 1.0),
)
def task_by_id(task_id: str) -> TaskSpec:
for task in TASKS_V2:
if task.task_id == task_id:
return task
raise KeyError(f"Unknown benchmark task: {task_id}")