add rasch functionality to form generation

This commit is contained in:
brmnjsh
2023-10-24 20:06:20 +00:00
parent 8ba6b95f21
commit 73f25edfa6
4 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from lib.irt.models.base import *
class Rasch(Base):
def result(self):
return 0.0
return (1 / (1 + self.e(-1 * (self.theta - self.b_param))))
@classmethod
def ability_estimate(self, items) -> float: