Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOWDER and tests #25

Open
wants to merge 47 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
6a4a6f6
adding clowder class and tests
Emily-ejag Aug 26, 2024
21b2f97
changing Clowder for clowder
Emily-ejag Aug 26, 2024
759dae5
Adding updateCatAndGetNextItem function
Emily-ejag Sep 10, 2024
3a0cdcb
eslint for unused -- used variables
Emily-ejag Sep 10, 2024
2b570a1
clowder import
Emily-ejag Sep 10, 2024
a1f608a
Add zetas for multiple cats to the corpus
richford Sep 18, 2024
423954f
Add TODO comments
richford Sep 18, 2024
22b85fe
Add util tests
richford Sep 18, 2024
242f02f
Add documentation
richford Sep 18, 2024
9fb9436
Document and test utils
richford Sep 19, 2024
fc72b04
Start adding clowder tests
richford Sep 19, 2024
92a4d74
Add more clowder tests
richford Sep 19, 2024
5082d5b
Add documentation and randomlySelectUnvalidated parameter
richford Sep 20, 2024
f7cf2f7
Add more tests and a random seed
richford Sep 20, 2024
3d1a614
Reorganize files
richford Sep 20, 2024
8ac9f44
Don't export abilityPrior
richford Sep 20, 2024
668d68b
Update readme
richford Sep 20, 2024
3550d96
adding missing tests to clowder
Emily-ejag Sep 20, 2024
a1d2bf9
Import Cat, Clowder, and ClowderInput from index
richford Sep 23, 2024
8ebae67
Add src/stopping.ts
richford Sep 23, 2024
7d4a1a9
Add tests for stopping.ts
richford Sep 23, 2024
fb30ac5
Add earlyStopping input to Clowder
richford Sep 23, 2024
03d0824
prepareClowderCorpus
Emily-ejag Sep 23, 2024
7a527ca
WIP: Add logicalOperation and tests
richford Sep 23, 2024
0334ba0
Use _isEmpty instead of null test in prepareClowderCorpus
richford Sep 23, 2024
fd254a4
Increase test coverage
richford Sep 23, 2024
95da412
Add comments on using early stopping in the Clowder class
richford Sep 23, 2024
58ccf4a
solving TODOS and adding stopping tests
Emily-ejag Sep 23, 2024
3b1c56b
we don't need default
Emily-ejag Sep 23, 2024
2f232de
resolve some comments
Emily-ejag Sep 24, 2024
5300ce6
correcting some tests
Emily-ejag Sep 24, 2024
5c684a8
adding the unvalidated cat -- and test
Emily-ejag Sep 26, 2024
5d0ff50
Fix tests. Don't update ability estimate for the unvalidated Cat. Han…
richford Sep 30, 2024
77a3bfc
adding returnUndefinedOnExhaustion parameter and test
Emily-ejag Oct 1, 2024
06d1709
implementing suggestions
Emily-ejag Oct 2, 2024
d641960
Separate the stopping classes so that they don't share the same input
richford Oct 5, 2024
07e1f58
updating cats for clowder
Emily-ejag Oct 7, 2024
a0ac266
clowder changes based on letter implementation
Emily-ejag Oct 17, 2024
3674a1f
addressing all lines of code for testing
Emily-ejag Oct 18, 2024
74bf577
adding documentation about early stopping
Emily-ejag Oct 18, 2024
508bc51
since we added only, we need to add catToSelect
Emily-ejag Oct 23, 2024
efbd55b
solving adams comments
Emily-ejag Oct 23, 2024
c26f57c
deleting for loop
Emily-ejag Oct 23, 2024
7abca47
adding stopping reason
Emily-ejag Oct 29, 2024
fb5886c
adding more stoppingReasons to the tests
Emily-ejag Oct 29, 2024
2f4285b
Update README.md
AnyaWMa Oct 30, 2024
e5a352e
filterin NA from overall corpus
Emily-ejag Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,26 @@ const stimuli = [{difficulty: -3, item: 'item1'}, {difficulty: -2, item: 'item2
const nextItem = cat.findNextItem(stimuli, 'MFI');
```

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add documentation about the accepted stimuli types?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more broadly, can we document and show sample code: how to set up a jsClowder, and some basic functions to run a clowder.

## Validations
## Validation

### Validation of theta estimate and theta standard error

Reference software: mirt (Chalmers, 2012)
![img.png](validation/plots/jsCAT_validation_1.png)

### Validation of MFI algorithm

Reference software: catR (Magis et al., 2017)
![img_1.png](validation/plots/jsCAT_validation_2.png)


## References
Chalmers, R. P. (2012). mirt: A multidimensional item response theory package for the R environment. Journal of Statistical Software.

Magis, D., & Barrada, J. R. (2017). Computerized adaptive testing with R: Recent updates of the package catR. Journal of Statistical Software, 76, 1-19.
- Chalmers, R. P. (2012). mirt: A multidimensional item response theory package for the R environment. Journal of Statistical Software.

- Magis, D., & Barrada, J. R. (2017). Computerized adaptive testing with R: Recent updates of the package catR. Journal of Statistical Software, 76, 1-19.

Lucas Duailibe, irt-js, (2019), GitHub repository, https://github.com/geekie/irt-js
- Lucas Duailibe, irt-js, (2019), GitHub repository, https://github.com/geekie/irt-js

## License

jsCAT is distributed under the [ISC license](LICENSE).
Loading
Loading