generated from coulomb/repo-seed
Coevolution extension
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user