Commit graph

20 commits

Author SHA1 Message Date
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