-
Notifications
You must be signed in to change notification settings - Fork 11
evals: resync analysis schema with operator (drop estimatedImpact, tighten verification) #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,6 @@ | |
| "enum": ["low", "medium", "high", "critical"], | ||
| }, | ||
| "reversible": {"type": "boolean"}, | ||
| "estimatedImpact": {"type": "string"}, | ||
| }, | ||
| "required": ["description", "actions", "risk", "reversible"], | ||
| }, | ||
|
|
@@ -69,6 +68,7 @@ | |
| "expected": {"type": "string"}, | ||
| "type": {"type": "string"}, | ||
| }, | ||
| "required": ["name", "type"], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This tightening was only verified with Claude ( |
||
| }, | ||
| }, | ||
| "rollbackPlan": { | ||
|
|
@@ -79,6 +79,7 @@ | |
| }, | ||
| }, | ||
| }, | ||
| "required": ["description"], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Operator PR #174 is still open. If it gets revised (e.g., this |
||
| }, | ||
| "rbac": { | ||
| "type": "object", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removal is clean —
estimatedImpactwas never inproposal.required, so this is a pure relaxation. Models that still produce the field won't break since there's noadditionalProperties: false.Worth noting: two lines below this removal,
reversibleis{"type": "boolean"}while the operator defines it as{"type": "string", "enum": ["Reversible", "Irreversible", "Partial"]}. That's a bigger schema/operator divergence thanestimatedImpactever was — a model trained on this eval schema would produce the wrong type at runtime.