jonrobinson2 / CATRook

Rook server supporting IRT backend of Dynadas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This application sets up a webservice for using CAT techniques to determine question ordering on a survey. It is configured to run on heroku.com and scale using their web workers.

Current API:

/next_question params:

  • dis - An array of discrimination parameters (comma separated)
  • dif - An array of difficulty parameters (comma separated)
  • g - An array of guessing parameters (comma separated)
  • ids - Question IDs, these are internal to the service consumer but when specified will cause the service to return a usable question ID (comma separated)
  • a - An array of question answers, should be 0, 1, or NA. Where 1 is a correct answer. (comma separated)
  • uaq - An array of unasked questions, should be 0, 1 where 1 signifies that the question has not yet been asked. (comma separated)
  • th - (optional) The current value of theta hat. Optional but makes web service calls faster

Returns a JSON blob with the following attributes:

  • theta_hat - The value of theta_hat given the question responses so far
  • next_item:
  • item_id - The question id to ask next (as passed in by the service consumer)
  • EPV - Expected posterior variance after administering this question. Can be used for client side stopping criterion.

About

Rook server supporting IRT backend of Dynadas


Languages

Language:C 24.2%Language:Shell 19.9%Language:HTML 17.9%Language:R 13.0%Language:M4 6.0%Language:Tcl 4.9%Language:TeX 4.5%Language:PostScript 4.1%Language:Makefile 2.2%Language:C++ 1.0%Language:CSS 0.8%Language:Roff 0.6%Language:Perl 0.5%Language:Java 0.0%Language:JavaScript 0.0%Language:Ruby 0.0%Language:TypeScript 0.0%Language:Batchfile 0.0%