Commit Graph

252 Commits

Author SHA1 Message Date
tsunyoku 82839a3f5b Merge remote-tracking branch 'upstream/main' 2024-11-18 16:46:47 +00:00
MaxOhn dae2eb49b0 fix: doc tests 2024-11-18 16:20:41 +01:00
tsunyoku 281ff8816f rename library 2024-11-18 13:04:54 +00:00
tsunyoku f04943de56 port akatsuki autopilot changes 2024-11-18 12:57:03 +00:00
MaxOhn b3d0475d47 feat!: overhaul convert api 2024-11-18 13:16:18 +01:00
MaxOhn 30054fed31 feat!: distinguish stable|lazer|lazer+classic 2024-11-14 20:24:43 +01:00
MaxOhn 78d7bd3873 fix: handle acc pp calc for niche case
The score 3051169674 causes intermediate negative values but still a
positive value overall so we need to cast to i32.
2024-11-11 14:22:36 +01:00
MaxOhn 2743ea3ac3 fix: rx perf calc 2024-11-11 12:51:16 +01:00
MaxOhn 757b57bfa0 feat: support horizontal flipping 2024-11-11 12:07:40 +01:00
MaxOhn 45cd1ed357 refactor: start effective miss count with miss count 2024-11-07 21:21:44 +01:00
MaxOhn c504511c86 fix: properly divide by combo 2024-11-03 22:52:14 +01:00
MaxOhn 674cbec4c2 chore: satisfy clippy 2024-11-01 18:59:31 +01:00
MaxOhn 98ca34182d fix: cap effective miss count 2024-11-01 18:57:37 +01:00
MaxOhn ad2609782b feat: avoid using missed slider estimates 2024-10-30 11:01:16 +01:00
MaxOhn 391eb55329 chore: made clippy happy 2024-10-18 13:39:00 +02:00
MaxOhn 2c77ddf4a9 refactor!: store lazer in Difficulty 2024-10-18 13:22:45 +02:00
MaxOhn f72ff79b4a feat!: adjust osu!standard hitresult generation 2024-10-14 00:47:38 +02:00
MaxOhn f646cba538 fix: negate classic mod check 2024-10-13 19:01:20 +02:00
MaxOhn 25d8d295f3 chore: made clippy happy 2024-10-11 21:14:37 +02:00
MaxOhn 14c646d9e1 fix: refactor get_precision_adjusted_beat_len 2024-10-11 16:58:48 +02:00
MaxOhn b33e259afe Port osu!taiko updates since f08134f 2024-10-11 00:35:31 +02:00
MaxOhn 5bdb2babed Port osu!std updates since f08134f 2024-10-10 21:25:27 +02:00
MaxOhn f9dfa5e35c chore: made clippy happy 2024-10-08 14:22:43 +02:00
MaxOhn 3c57b9b409 feat: updated osu!standard difficulate calculation 2024-09-27 15:46:40 +02:00
Badewanne3 272c6804bb perf: store generated hitresults (#37) 2024-07-08 12:14:08 +02:00
Badewanne3 26547d7dea feat: use rosu-mods (#36)
* use rosu-mods

* apply values from DifficultyAdjust mod

* minor doc addition

* consider Blinds mod in perf calc
2024-07-08 11:35:07 +02:00
MaxOhn ad000794fb made clippy happy 2024-06-28 21:36:59 +02:00
Badewanne3 9acf85e934 refactor: create performance calculators through traits (#33)
* create perf calc through IntoPerformance traits

* added tests

* adjusted documentation

* fix doctest

* simplify From impls
2024-04-01 19:14:38 +02:00
Badewanne3 a577200a0f feat: compact strains (#32)
* store zero strains compactly

* added docs

* added proptest

* add feature to store strains compactly

* update ci

* rename CompactZerosVec to StrainsVec

* add size_hint for iter

* rename iter

* minor adjustments

* more minor adjustments
2024-03-31 11:49:29 +02:00
MaxOhn 711e548a7e made clippy quiet 2024-03-18 20:40:59 +01:00
MaxOhn f23e2bbeb9 clamp given accuracy 2024-03-13 16:42:41 +01:00
MaxOhn 90196329c1 add GradualPerformance::len methods 2024-03-11 17:58:40 +01:00
MaxOhn e3dcec8584 return Result<_, Self> instead of Option 2024-03-08 11:53:07 +01:00
MaxOhn d711840a11 create perf calc either by map or attrs 2024-03-08 11:44:17 +01:00
MaxOhn c7f2e9a993 adjusted link in docs 2024-03-06 21:44:50 +01:00
MaxOhn 0ed0bc2639 fix doctests 2024-03-04 16:19:35 +01:00
MaxOhn 633955ab1b apply new settings of Difficulty 2024-03-04 15:56:55 +01:00
MaxOhn c5fdf4e610 added more settings to Difficulty (unused) 2024-03-04 12:21:16 +01:00
MaxOhn e749a791fc restructure Difficulty and ModeDifficulty 2024-03-03 09:59:34 +01:00
MaxOhn 6eac895339 expose Converted::map 2024-03-02 07:02:25 +01:00
MaxOhn dfb580f201 added more attribute conversions 2024-02-29 23:36:19 +01:00
MaxOhn 852f6cfa45 made bunch of functions const 2024-02-29 23:31:07 +01:00
MaxOhn 4731da64dc adjusted IGameMode trait 2024-02-29 22:50:24 +01:00
MaxOhn 5d77e246ae rename method 2024-02-27 12:59:29 +01:00
MaxOhn 917240987e clamp clock rate 2024-02-27 12:47:56 +01:00
MaxOhn 8d5ded4e5a store ModeDifficulty in perf calcs 2024-02-27 12:43:23 +01:00
MaxOhn 43849ba8c4 adjust doc examples 2024-02-27 12:24:53 +01:00
MaxOhn e81c0e890f use cmp methods 2024-02-26 18:07:16 +01:00
MaxOhn c2c617ec01 fix doctests & rename n_misses to misses 2024-02-26 17:51:20 +01:00
MaxOhn 1a5f9b9681 added some convenience methods 2024-02-26 17:10:54 +01:00