-
Notifications
You must be signed in to change notification settings - Fork 28
Fix: Done refactoring rte-helpers #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ref/PeTTa
Are you sure you want to change the base?
Conversation
| $exp)) | ||
| (if (== (get-metatype $exp) Expression) | ||
| (let ($h $t) (decons-atom $exp) | ||
| (eval (if-decons-expr-custom $exp $h $t |
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ; (= (concatTuple $x $y) (collapse (union (superpose $x) (superpose $y)))) ;; FIX: No longer working on version 0.2.3 |
|
@blackhammer116 I will merge this PR as soon as the conversations are resolved :) |
Description
Done refactoring
rte-helpersfunctions 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 thehelpers-functions-testthat's because it's not related to therte-helpersfile.How Has This Been Tested?
Types of changes
Checklist: