bowen-xu / PyNARS

MIT License
26 stars 8 forks source link

minifying pynars requirements to allow running in constrained environ… #103

Closed maxeeem closed 3 months ago

maxeeem commented 3 months ago

…ments like python emulators

Please double check my changes to make sure it still does the same calculations as numpy code. With these modifications I am able to run pynars on iOS using iSH :)

github-actions[bot] commented 3 months ago

dev.txt - DEV BRANCH: FAILED (failures=54, errors=13) pr.txt - PR BRANCH: FAILED (failures=54, errors=12)

--- dev.txt 2024-04-30 19:36:23.399818523 +0000
+++ pr.txt  2024-04-30 19:36:23.403818564 +0000
@@ -3,7 +3,7 @@
 test_abduction (test_NAL1.TEST_NAL1)
 'Abduction ... ok
 test_backward_inference (test_NAL1.TEST_NAL1)
-' Backward inference ... FAIL
+' Backward inference ... ok
 test_conversion (test_NAL1.TEST_NAL1)
 'Conversion ... ok
 test_deduction (test_NAL1.TEST_NAL1)
@@ -93,7 +93,7 @@
 test_uni_decomposition_3 (test_NAL3.TEST_NAL3)
 'What differs boys from gials are being strong. ... FAIL
 test_structural_transformation_0 (test_NAL4.TEST_NAL4)
-'Structural transformation ... ok
+'Structural transformation ... FAIL
 test_structural_transformation_1 (test_NAL4.TEST_NAL4)
 'Structural transformation ... ok
 test_structural_transformation_10 (test_NAL4.TEST_NAL4)
@@ -260,7 +260,7 @@
 test_unification_4 (test_NAL6.TEST_NAL6)
 'Variable unification ... ok
 test_unification_5 (test_NAL6.TEST_NAL6)
-'Variable unification ... ERROR
+'Variable unification ... ok
 test_unification_5_1 (test_NAL6.TEST_NAL6)
 'Variable unification ... ok
 test_unification_6 (test_NAL6.TEST_NAL6)
@@ -315,7 +315,7 @@
 test_inference_on_tense_1 (test_NAL7.TEST_NAL7)
 ' inference on tense ... FAIL
 test_inference_on_tense_2 (test_NAL7.TEST_NAL7)
-' inference on tense ... FAIL
+' inference on tense ... ok
 test_analogy_0_0__0 (test_NAL7.TEST_NAL7_ANALOGY) ... ok
 test_analogy_0_0__1 (test_NAL7.TEST_NAL7_ANALOGY) ... ok
 test_analogy_0_0__2 (test_NAL7.TEST_NAL7_ANALOGY) ... ok
@@ -381,7 +381,7 @@
 test_sequence_1 (test_NAL8.TEST_NAL8)
 C! ... ok
 test_sequence_2 (test_NAL8.TEST_NAL8)
-(&/, A, B, C)! ... ok
+(&/, A, B, C)! ... FAIL
 test_anticipate_0 (test_NAL9.TEST_NAL9)
 <<(&/,<a --> A>,+10) =/> <b --> B>>. ... ok
 test_believe_0 (test_NAL9.TEST_NAL9)