Coevolution extension

This commit is contained in:
2026-04-29 01:19:59 +02:00
parent 88afdc09fd
commit 991c34ce52
17 changed files with 764 additions and 4 deletions

View File

@@ -225,6 +225,40 @@ class AnalysisRunCreate(BaseModel):
}
class ExpectationGapCreate(BaseModel):
analysis_run_id: int | None = None
expected_type: str
expected_name: str
source: str = "human"
notes: str = ""
model_config = {
"json_schema_extra": {
"examples": [
{
"analysis_run_id": 1,
"expected_type": "capability",
"expected_name": "Use OpenRouter Models",
"source": "human",
"notes": "Expected from README/provider config but absent from candidates.",
}
]
}
}
class ExpectationGapResponse(BaseModel):
id: int
repository_id: int
analysis_run_id: int | None
expected_type: str
expected_name: str
source: str
notes: str
status: str
created_at: str
class CandidateGraphApproval(BaseModel):
notes: str = ""