Commit graph

11 commits

Author SHA1 Message Date
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
Andreas Koepf
74d2bd9b3d add cognition module 2025-01-23 13:42:36 +01:00