92 Commits

Author SHA1 Message Date
5744aad8b6
fix: St3ScoreParser 2023-08-26 01:33:38 +08:00
de8efbeaf1
refactor: external sources update 2023-08-26 00:12:28 +08:00
73fd563de6
fix: optional columns 2023-08-25 02:27:34 +08:00
fe393ff95c
feat: add common model 2023-08-25 02:26:19 +08:00
a58f97f61b
refactor: calculate.py 2023-08-24 23:16:34 +08:00
2d4135fdfe
refactor: package structure 2023-08-24 23:16:18 +08:00
1d3d4277f6
refactor: package structure 2023-08-24 23:15:16 +08:00
bee8268dd2
refactor: db model using sqlalchemy 2023-08-24 22:34:45 +08:00
73f388f05e
fix(external): st3 date correct 2023-08-19 21:11:13 +08:00
cb07d95d18 fix(db): b30 calculate view 2023-08-12 18:44:03 +08:00
71d336be9d feat(db): import from external score source 2023-08-12 18:43:12 +08:00
55cd119d52 chore: README credits 2023-08-06 15:41:38 +08:00
da109e7cb5 wip: db 2023-08-06 15:40:43 +08:00
619d4029f8 feat(db): update_score(score_id, new_score) 2023-06-28 02:39:46 +08:00
15beeb5f35 feat(db): delete_score(score_id) 2023-06-28 01:33:12 +08:00
c1085c1f65 impr(db): close connection when program exit using atexit hook 2023-06-27 23:27:10 +08:00
47db4ca120 feat(db): get_chart(song_id, rating_class) 2023-06-27 23:25:58 +08:00
2a4c19eb72 feat(utils): add score related utils 2023-06-27 23:25:07 +08:00
72453e6cf4 wip(db)!: insert scores using ScoreInsert dataclass 2023-06-22 03:35:30 +08:00
e7eb4f2a63 fix(db)!: calculated view 2023-06-22 03:34:51 +08:00
da693954e3 wip(db)! 2023-06-21 20:56:23 +08:00
920e2bda98 chore(db)!: final database v1 structure
- clear_type preserved for R10 calculate
- best_30 -> bests for better flexibility
2023-06-21 16:28:44 +08:00
73a0906633 fix(db): Database.get_b30(), Database.fuzzy_search_song_id() 2023-06-18 00:57:54 +08:00
af2c635401 fix(db): Score.to_db_row 2023-06-18 00:55:44 +08:00
6ec8e7e4f8 feat(calc): calculate_score_range(chart, pure, far) 2023-06-17 21:07:16 +08:00
a03edf47dd feat(db): get_package_by_package_id 2023-06-17 02:37:38 +08:00
f493abacf6 feat(utils): rating_class (int) to str 2023-06-17 02:36:43 +08:00
9b7d06a2f9 feat(db): validate_chart(song_id, rating_class) 2023-06-17 02:19:46 +08:00
2fd9478b6a fix(db)!: remove r10 calculation, see #1 2023-06-17 02:19:07 +08:00
08b1013820 chore(db): split init sql statements 2023-06-11 23:29:22 +08:00
5e13685cf4 style: pre-commit 2023-06-06 20:01:53 +08:00
33287b2e3a impr(db): accurate pure_small calculation
- I should commit this 4 days ago, but I forgot it in stash, my bad :(
2023-06-06 19:59:25 +08:00
3896efd8de impr(db): general improvements 2023-06-06 19:36:32 +08:00
e874e38d3b chore(db): use cursor to run queries 2023-06-06 15:17:14 +08:00
eee196d0ba feat(db): fuzzy search song_id 2023-06-06 15:00:59 +08:00
ac04a43c49 feat(calc): implement calculate functions 2023-06-06 02:47:43 +08:00
a84ec7de33 fix(db): correct calculation for ptt 2023-06-06 02:46:44 +08:00
bd82f5e1e0 feat(db): B30 & R10 & ptt calculation using view 2023-06-06 01:30:56 +08:00
8991d4a394 chore: update README 2023-06-06 01:00:56 +08:00
3ee58a1099 chore: rename README 2023-06-06 01:00:03 +08:00
a4f995a6aa fix: typo caculate -> calculate 2023-06-02 17:08:42 +08:00
d16c25726a init 2023-05-31 19:31:00 +08:00