Commit graph

51 commits

Author SHA1 Message Date
Andreas Köpf
3f6b2fc807
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
3aeec71523 add attribution for arc-1d and unit tests 2025-02-02 23:45:25 +01:00
Andreas Koepf (aider)
978a0879f7 feat: Add mirrored and inverse task variations to ARC_1D_TASKS 2025-02-02 23:21:46 +01:00
Andreas Koepf
9a1270dd95 add arc_1d dataset 2025-02-02 23:03:56 +01:00
Andreas Koepf (aider)
a060348a9c fix: Resolve undefined task function references in arc_1d.py 2025-02-02 22:49:28 +01:00
Andreas Koepf (aider)
b599d6e1a2 feat: Add Arc1D dataset with comprehensive task generation and configuration 2025-02-02 22:49:00 +01:00
Andreas Koepf (aider)
84e4f1c5bc feat: Add task augmentation functions mirror, inverse, and identity to arc_1d.py 2025-02-02 22:42:21 +01:00
Andreas Koepf
5dd4c0e831 change parameter order for basic arc tasks 2025-02-02 17:25:37 +01:00
Andreas Koepf (aider)
da16467ca7 feat: Add five new 1D ARC task generation functions 2025-02-02 16:38:14 +01:00
Andreas Koepf (aider)
3714e6c5ff feat: Add five new 1D ARC task generation functions 2025-02-02 16:37:14 +01:00
Andreas Koepf (aider)
dc11f88c0b feat: Add new 1D ARC task generation functions for block manipulation 2025-02-02 16:36:19 +01:00
Andreas Koepf (aider)
9dac01fda7 feat: Add new 1D ARC task generation functions 2025-02-02 16:34:52 +01:00
Andreas Koepf (aider)
4c22fca7ed feat: Add new 1D task generation functions to arc_1d.py 2025-02-02 16:33:02 +01:00
Andreas Koepf
166e3d5f0d feat: Add arc_1d.py module for one-dimensional abstract reasoning challenges 2025-02-02 16:33:01 +01:00
Andreas Koepf
ebb88e6c6a lint 2025-01-30 22:55:04 +01:00
Rich Jones
9d4f896329 init definitions 2025-01-30 17:15:48 +01:00
Andreas Koepf
5b35ea51a7 fix chain_sum unit test 2025-01-30 10:57:55 +01:00
Andreas Koepf
a6bf23e655 catch exception in RubiksCube score_answer 2025-01-30 10:25:04 +01:00
Andreas Koepf
0f494ebff1 rename static.py -> wordle_words.py 2025-01-30 01:06:52 +01:00
Andreas Koepf
fc775eda7e lint, seed & size for figlet 2025-01-30 00:58:34 +01:00
Andreas Koepf
25505e3a75 add seed & size params to RubicsCubeConfig 2025-01-30 00:49:41 +01:00
Andreas Koepf
2653a28903 make sure rubiks cube is scrambled deterministically based on seed+idx 2025-01-30 00:36:34 +01:00
Andreas Köpf
41d0f973d0
Merge branch 'main' into miserlou/figlet 2025-01-29 23:59:27 +01:00
Rich Jones
d0bda3878d optional space letters, default true since it seems to perform slightly better 2025-01-29 21:38:54 +01:00
Rich Jones
cbf5087887 figlet fonts 2025-01-29 20:38:38 +01:00
Rich Jones
74dcd57235 lint 2025-01-29 16:09:39 +01:00
Rich Jones
cc69d90a4f cleanup 2025-01-29 16:07:27 +01:00
Rich Jones
ebcd6d5e43 dont use that cubestring 2025-01-29 16:05:41 +01:00
Rich Jones
0d67fc102b inital stab at rubikscube 2025-01-29 15:53:29 +01:00
Andreas Koepf
cae7f0f98b min python 3.11 to support StrEnum 2025-01-26 22:17:43 +01:00
Andreas Koepf
ecbb155184 fix unit tests, lower python dependency to 3.9 2025-01-26 16:55:17 +01:00
Andreas Koepf
0dcff77b37 add reasoning_gym.create_dataset({name}, ...) global factory function 2025-01-25 00:58:34 +01:00
Andreas Koepf
e9549f2a63 pass config to ProceduralDataset base 2025-01-25 00:23:05 +01:00
Andreas Koepf
1c85a7254f formatting 2025-01-24 17:57:37 +01:00
Andreas Koepf (aider)
a4181a5ad4 fix: Ensure color cube rotation dataset always includes valid rotations 2025-01-24 17:57:02 +01:00
Andreas Koepf
7715cd228f refactor: Improve type hints and formatting in color cube rotation story generation 2025-01-24 17:56:58 +01:00
Andreas Koepf (aider)
3cf8138e96 feat: Add 10 new colors to Color enum in color_cube_rotation.py 2025-01-24 17:49:41 +01:00
Andreas Koepf (aider)
6cfe370af0 fix: Add rng parameter to _generate_story method to resolve undefined name error 2025-01-24 17:45:59 +01:00
Andreas Koepf (aider)
946f379006 feat: Add variation to cube rotation descriptions in ColorCubeRotationDataset 2025-01-24 17:44:51 +01:00
Andreas Koepf
49ff0742b8 cleanup 2025-01-24 17:39:37 +01:00
Andreas Koepf (aider)
9fddc73842 feat: Add color cube rotation dataset with cube rotation logic 2025-01-24 17:34:27 +01:00
Andreas Koepf
fd388f917b rename SequenceDataset -> NumberSequenceDataset 2025-01-24 16:23:02 +01:00
Andreas Koepf (aider)
65c52912f8 refactor: Inherit SequenceDataset from ProceduralDataset 2025-01-24 11:17:19 +01:00
Andreas Koepf
20069b2a7d formatting 2025-01-24 10:34:07 +01:00
Andreas Koepf (aider)
9fb1798b48 fix: Correct rule composition in PatternRule to properly chain subrules 2025-01-23 14:07:18 +01:00
Andreas Koepf (aider)
0e9bc68776 feat: Add rule composition support to PatternRule 2025-01-23 14:04:36 +01:00
Andreas Koepf (aider)
7f27a2285c fix: Correct sequence generation and pattern rule application logic 2025-01-23 14:00:33 +01:00
Andreas Koepf (aider)
46601a2b8a fix: Correct sequence generation by using previous number in PatternRule 2025-01-23 13:54:11 +01:00
Andreas Koepf (aider)
985bded9e8 fix: Correct PatternRule.apply() to use current sequence element 2025-01-23 13:53:30 +01:00
Andreas Koepf (aider)
432c9436f7 fix: Correct PatternRule.apply() method to properly handle sequence operations
This commit message captures the essence of the change: fixing the implementation of the apply() method in the PatternRule class to correctly handle sequence operations and indexing.

The key changes are:
1. Use `sequence[position]` instead of `sequence[position - 1]`
2. Adjust PREV_PLUS condition to use `position > 0`
3. Use `sequence[position - 1]` for previous element reference

Would you like me to elaborate on the specific changes or rationale?
2025-01-23 13:52:47 +01:00