Artifex/verification/task.py

9 lines
247 B
Python
Raw Normal View History

2026-08-15 13:50:24 +07:00
from __future__ import annotations
from control_plane.projects.models import Task
class TaskVerifier:
def verify(self, task: Task, evidence: list[dict[str, object]]) -> bool:
return bool(task.acceptance_criteria) and bool(evidence)