Commit graph

14 commits

Author SHA1 Message Date
Andreas Koepf
6bf2dfa36c formatting 2025-02-16 16:18:39 +01:00
joesharratt1229
1c930a5e23 added custom score answer func 2025-02-16 13:10:03 +00:00
Andreas Köpf
a607db79f7 Add Coaching & ScoreBoard class (result tracking) (#72)
* feat: Add Coach and ScoreBoard classes for performance tracking and difficulty adjustment
* feat: Add GroupedScores class to wrap aggregated scores
* refactor: Create ScoreStats class with tuple-based score statistics
* feat: Add unit test for Coach with CompositeDataset and multiple datasets
* fix: Add difficulty metadata to leg counting dataset
* feat: Add clear() method to ScoreBoard to reset all stored data
* feat: Add __len__ method to ScoreBoard to return number of scores
* feat: Add update_dataset_config method to CompositeDataset
* cleanup __init__ & imports
2025-02-06 23:15:28 +01:00
Andreas Koepf
ad9f0d265c fix unit tests, lower python dependency to 3.9 2025-01-26 16:55:17 +01:00
Andreas Koepf (aider)
8e92025cf7 refactor: Update default sentence length constraints to 3-20 words 2025-01-26 15:57:02 +01:00
Andreas Koepf (aider)
65c60b2afa refactor: Update sentence extraction regex to preserve ending punctuation 2025-01-26 15:56:03 +01:00
Andreas Koepf (aider)
028d5ccf96 refactor: Rename num_of_words_in_sentence and add max_words_in_sentence config 2025-01-26 15:46:21 +01:00
Andreas Koepf
d3fe900889 refactor: Update sentence reordering prompt to be more descriptive 2025-01-26 15:46:19 +01:00
abdulhakeem
3fabb319ab Make more tiny correction 2025-01-25 23:25:55 -06:00
abdulhakeem
b13d0762d6 Correct logic for number of words in sentence 2025-01-25 23:22:16 -06:00
abdulhakeem
4d50cfd514 Add parameters to _generate_sentence_dataset 2025-01-25 23:17:39 -06:00
abdulhakeem
384a00ec71 Ensure only words are considered 2025-01-25 23:08:41 -06:00
abdulhakeem
c7c12269ad Add assertion to ensure number of words in sentence is positive 2025-01-25 23:02:17 -06:00
abdulhakeem
a72629c28f Add sentence reordering and unit tests to validate it 2025-01-25 22:52:35 -06:00