Skip to content

Conversation

@blackhammer116
Copy link
Contributor

Description

Done refactoring rte-helpers functions and also fixed the assertEqual issue in the workflow to handle failing test cases that are designated as a false positive, for that reason ordered-set test file have been renamed back to *testold.metta, also you might see some test cases commented out inside the helpers-functions-test that's because it's not related to the rte-helpers file.

How Has This Been Tested?

  • Running the workflow will now have 6 test files and they all pass

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@blackhammer116 blackhammer116 requested a review from Yagth November 14, 2025 09:21
$exp))
(if (== (get-metatype $exp) Expression)
(let ($h $t) (decons-atom $exp)
(eval (if-decons-expr-custom $exp $h $t
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So check this one out.

(empty)
(getLiteralsND $exp))
$exp))
(if (or (not (== $exp ())) (== (get-metatype $exp) Expression))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here. Check it out if it works with if-decons-expr-custom only...

;; (: concatTuple (-> Expression Expression Expression))
(= (concatTuple $x $y) (collapse (union (superpose $x) (superpose $y)))) ;; FIX: No longer working on version 0.2.3
(= (concatTuple $x $y) (union-atom $x $y))
; (= (concatTuple $x $y) (collapse (union (superpose $x) (superpose $y)))) ;; FIX: No longer working on version 0.2.3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
; (= (concatTuple $x $y) (collapse (union (superpose $x) (superpose $y)))) ;; FIX: No longer working on version 0.2.3

@Yagth
Copy link
Collaborator

Yagth commented Nov 14, 2025

@blackhammer116 I will merge this PR as soon as the conversations are resolved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants