Commit graph

7 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
519e411fa5 add reasoning_gym.create_dataset({name}, ...) global factory function 2025-01-25 00:58:34 +01:00
Andreas Koepf
669bd97066 cleanup 2025-01-24 17:39:37 +01:00
Andreas Koepf
51cf6bdd45 rename SequenceDataset -> NumberSequenceDataset 2025-01-24 16:23:02 +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