Commit graph

37 commits

Author SHA1 Message Date
Andreas Koepf
25540b6634 lint 2025-01-30 22:55:04 +01:00
Rich Jones
645aa13a15 init definitions 2025-01-30 17:15:48 +01:00
Andreas Koepf
d90548658e fix chain_sum unit test 2025-01-30 10:57:55 +01:00
Andreas Koepf
f75cc3e17e catch exception in RubiksCube score_answer 2025-01-30 10:25:04 +01:00
Andreas Koepf
87bf5d6f9a rename static.py -> wordle_words.py 2025-01-30 01:06:52 +01:00
Andreas Koepf
9450768aad lint, seed & size for figlet 2025-01-30 00:58:34 +01:00
Andreas Koepf
9e0a59f847 add seed & size params to RubicsCubeConfig 2025-01-30 00:49:41 +01:00
Andreas Koepf
f1e554beb8 make sure rubiks cube is scrambled deterministically based on seed+idx 2025-01-30 00:36:34 +01:00
Andreas Köpf
4b02834aa0 Merge branch 'main' into miserlou/figlet 2025-01-29 23:59:27 +01:00
Rich Jones
75fba9d864 optional space letters, default true since it seems to perform slightly better 2025-01-29 21:38:54 +01:00
Rich Jones
d6bab78fa1 figlet fonts 2025-01-29 20:38:38 +01:00
Rich Jones
9c4e820fc4 lint 2025-01-29 16:09:39 +01:00
Rich Jones
a872a09030 cleanup 2025-01-29 16:07:27 +01:00
Rich Jones
68a538abc5 dont use that cubestring 2025-01-29 16:05:41 +01:00
Rich Jones
f749539138 inital stab at rubikscube 2025-01-29 15:53:29 +01:00
Andreas Koepf
c3b6af35f0 min python 3.11 to support StrEnum 2025-01-26 22:17:43 +01:00
Andreas Koepf
ad9f0d265c fix unit tests, lower python dependency to 3.9 2025-01-26 16:55:17 +01:00
Andreas Koepf
519e411fa5 add reasoning_gym.create_dataset({name}, ...) global factory function 2025-01-25 00:58:34 +01:00
Andreas Koepf
0d2d8ba6a0 pass config to ProceduralDataset base 2025-01-25 00:23:05 +01:00
Andreas Koepf
4ad61eb08d formatting 2025-01-24 17:57:37 +01:00
Andreas Koepf (aider)
db9a61f83c fix: Ensure color cube rotation dataset always includes valid rotations 2025-01-24 17:57:02 +01:00
Andreas Koepf
3b76144b79 refactor: Improve type hints and formatting in color cube rotation story generation 2025-01-24 17:56:58 +01:00
Andreas Koepf (aider)
08dfdd4b9b feat: Add 10 new colors to Color enum in color_cube_rotation.py 2025-01-24 17:49:41 +01:00
Andreas Koepf (aider)
2f0d172d52 fix: Add rng parameter to _generate_story method to resolve undefined name error 2025-01-24 17:45:59 +01:00
Andreas Koepf (aider)
26bc6a7847 feat: Add variation to cube rotation descriptions in ColorCubeRotationDataset 2025-01-24 17:44:51 +01:00
Andreas Koepf
669bd97066 cleanup 2025-01-24 17:39:37 +01:00
Andreas Koepf (aider)
8a8e96e321 feat: Add color cube rotation dataset with cube rotation logic 2025-01-24 17:34:27 +01:00
Andreas Koepf
51cf6bdd45 rename SequenceDataset -> NumberSequenceDataset 2025-01-24 16:23:02 +01:00
Andreas Koepf (aider)
c146f9e059 refactor: Inherit SequenceDataset from ProceduralDataset 2025-01-24 11:17:19 +01:00
Andreas Koepf
aaabc05ace formatting 2025-01-24 10:34:07 +01:00
Andreas Koepf (aider)
36c6905355 fix: Correct rule composition in PatternRule to properly chain subrules 2025-01-23 14:07:18 +01:00
Andreas Koepf (aider)
a2686341a3 feat: Add rule composition support to PatternRule 2025-01-23 14:04:36 +01:00
Andreas Koepf (aider)
3381669f98 fix: Correct sequence generation and pattern rule application logic 2025-01-23 14:00:33 +01:00
Andreas Koepf (aider)
8a78d20fad fix: Correct sequence generation by using previous number in PatternRule 2025-01-23 13:54:11 +01:00
Andreas Koepf (aider)
1bae1d5c4d fix: Correct PatternRule.apply() to use current sequence element 2025-01-23 13:53:30 +01:00
Andreas Koepf (aider)
26bc1ac1c1 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
Andreas Koepf
be83749286 add cognition module 2025-01-23 13:42:36 +01:00