convert item response from str to int
This commit is contained in:
parent
939fc9bae9
commit
a3f1585692
@ -13,7 +13,7 @@ class Item(BaseModel):
|
||||
workflow_state: Optional[str] = None
|
||||
attributes: List[Attribute] = None
|
||||
b_param: float = 0.00
|
||||
response: Optional[str] = None
|
||||
response: Optional[int] = None
|
||||
|
||||
def iif(self, solver_run, theta):
|
||||
return ItemInformationFunction(solver_run.irt_model).calculate(b_param=self.b_param, theta=theta)
|
||||
|
Loading…
x
Reference in New Issue
Block a user