• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yeatmanlab / jsCAT / 16276095479 / 2
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 14 Jul 2025 07:34PM UTC
Files 5
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jul 2025 07:33PM UTC coverage: 100.0%. Remained the same
16276095479.2

push

github

web-flow
[ENH]: Allow users to update the ability prior (#35)

* ENH: Add the ability to adjust the ability estimate prior

* Add tests for normal and custom prior

* Update jest config to exclude coverage for type declarations

* Fix test of strong prior in cat.test.ts

* Add prior validation

* Validate prior and add tests

* Prior change (#38)

* Add simple test for EAP. It fails

* fix: correct EAP ability estimation by exponentiating log-likelihood

The EAP ability estimation was incorrectly using log-likelihood values
directly in probability calculations. This fix:

1. Converts log-likelihood back to probability space using Math.exp()
   before using it in the EAP calculation
2. Updates test expectations to match the corrected behavior
3. Simplifies the EAP test to only check that theta decreases
   after an incorrect response to an easy item

The EAP method now properly reduces ability estimates when examinees
fail easy items, which is critical for accurate adaptive testing.

* update test and validation code

* add uniform prior

* update lint fix

* update

* update

* Update src/utils.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/utils.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/__tests__/cat.test.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/__tests__/cat.test.ts

Co-authored-by: Adam Richie-Halford <richford@users.noreply.github.com>

* Update src/cat.ts

... (continued)

318 of 318 branches covered (100.0%)

Branch coverage included in aggregate %.

1504 of 1504 relevant lines covered (100.0%)

9999.11 hits per line

Source Files on job run-lts/* - 16276095479.2
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16276095479
  • 114dadb0 on github
  • Prev Job for on main (#16055774961.1)
  • Next Job for on main (#16276141406.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc