File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,17 @@ class Strategy(Enum):
9999 deterministic = "deterministic"
100100
101101
102+ class Rating (BaseModel ):
103+ score : float
104+ description : Optional [str ] = None
105+
106+
107+ class FixQuality (BaseModel ):
108+ safetyRating : Rating
109+ effectivenessRating : Rating
110+ cleanlinessRating : Rating
111+
112+
102113class ChangeSet (BaseModel ):
103114 """A set of changes made to a file at `path`"""
104115
@@ -110,6 +121,7 @@ class ChangeSet(BaseModel):
110121 provisional : Optional [bool ] = False
111122 # For fixed findings that are not associated with a specific change
112123 fixedFindings : Optional [list [Finding ]] = None
124+ fixQuality : Optional [FixQuality ] = None
113125
114126 def with_changes (self , changes : list [Change ]) -> ChangeSet :
115127 return ChangeSet (
You can’t perform that action at this time.
0 commit comments