Skip to content

Commit 52c8624

Browse files
authored
Use int for score in Rating data model (#1000)
Use int for score in Rating data model
1 parent ffbd204 commit 52c8624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codemodder/codetf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Strategy(Enum):
102102

103103

104104
class Rating(BaseModel):
105-
score: float
105+
score: int
106106
description: Optional[str] = None
107107

108108

0 commit comments

Comments
 (0)