Skip to content

Releases: philihp/openskill.js

v4.1.0

11 Oct 20:19
d34b2cf
Compare
Choose a tag to compare
  • fix: export types such as Model (#690) dd5daf3
  • fix: predictDraw should give same result as python (#642) da4d3cd
  • fix: add missing export for models (#687) 5b1c8f79
  • chore: various libraries updated

v4.0.3...v4.1.0

v4.0.3

20 Jul 11:41
4256b46
Compare
Choose a tag to compare
  • Fix for importing sort-unwind by using a named export #627, which was failing with Typescript and CommonJS

v4.0.2

05 Jul 22:52
f91297e
Compare
Choose a tag to compare

v4.0.1...v4.0.2

v4.0.1

04 Jul 02:00
96d4e23
Compare
Choose a tag to compare

v4.0.0...v4.0.1

v4.0.0

02 Jul 22:41
0b83600
Compare
Choose a tag to compare
  • Breaking change fixes a bug with with predictWin and predictDraw. These now return different predictions
  • Deprecates preventSigmaIncrease, rename to limitSigma. Former syntax will go away in the next major version.
  • Removes building for Node 14 through 17 and 19. Might still work, but no guarantees.
  • Adds explicit build/testing for Node 22

v3.1.0...v4.0.0

v3.1.0

19 Apr 02:35
e6799db
Compare
Choose a tag to compare
  • Explicit support for Node 19 and Node 20

v3.0.1...v3.1.0

v3.0.1

29 Nov 19:07
aeaa6fb
Compare
Choose a tag to compare
  • add default tau 67bf16c of 0.0833333, I had previously stated that this would be included in the 3.0.0 release.

v3.0.0...v3.0.1

v3.0.0

28 Nov 19:27
8daf1f5
Compare
Choose a tag to compare
  • Breaking Changes Change the way alternate models are used. Rather than sending in a string/name of the model, you now import the model function itself and pass that in. This enables people to extend the library and experiment with models that support partial play.(#296) c477d12, as an example of how your calls would change, see this test
  • Breaking Changes Removes support for node 11-13 (#286) 5bb0a94, this version will also support Node 14/es2020. Next major version will not be until sometime after 2023-04-30 when 16/es2021 is the current LTS compile target.
  • Adds Typescript types (#240) 8e46c2a

v2.1.0...v3.0.0

v2.1.0

16 Mar 23:50
2ea52ae
Compare
Choose a tag to compare

Thank you @JLaferri! New options:

tau (defaults to 0): Additive dynamics factor, which keeps a player's rating from getting stuck at a level. Normally, a player's sigma will only decrease as we gain more information about their performance. This option will put some pressure on this back up. This default will change to be sigma/100 with v3, to be more congruent with TrueSkill, but higher may make your rating system more exciting.

preventSigmaIncrease (defaults to false): for a tau > 0, it is possible that a player could play someone with a low enough rating that even if they win, their ordinal rating will still go down slightly. If your players have no agency in matchmaking, it is not desirable to have a situation where a player goes down on the leaderboard even though they win.

rate([team1, team2, ...], {
  tau: 0.083333,
  preventSigmaIncrease: true,
})

v2.0.0...v2.1.0

v2.0.0

28 Feb 08:07
f26787e
Compare
Choose a tag to compare
  • Breaking changes (#230) 0002547
    • feat!: Remove support for Node 10
    • feat: use native Array.flat()
    • remove deprecated thurstonMosteller
    • feat: Add support for Node 17

v1.6.0...v2.0.0