<commit_before>from tree import Tree,Node,InputNode
from operators import Ops
from memfuncs import MemFunc


inNode = InputNode(memFunc=MemFunc([1,2,3]).memFunc, inData=1.5)
inNode2 = InputNode(memFunc=MemFunc([1,2,3,4]).memFunc, inData=3)

#n1 = Node(Ops().getFunc("union"),[inNode,inNode2])

dTree = Tree(Ops().getFunc("intersect"),[inNode,inNode2])

print(dTree.run())
<commit_msg>full inputs now working<commit_after>from tree import Tree,Node,InputNode
from operators import Ops
from memfuncs import MemFunc


inNode = InputNode(memFunc=MemFunc([1,2,3]).memFunc, inData=1.5)
inNode2 = InputNode(memFunc=MemFunc([1,2,3,4]).memFunc, inData=3)

#n1 = Node(Ops().getFunc("union"),[inNode,inNode2])

dTree = Tree(Ops().getFunc("intersect"),[inNode,inNode2],[inNode,inNode2])

print(dTree.run())

dTree.changeInputs([2,3])

print(dTree.run())

{'fraction_non_alphanumeric': 0.17695961995249407, 'fraction_numerical': 0.03681710213776722, 'mean_word_length': 8.80232558139535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6150414', 'n_tokens_mistral': 329, 'n_tokens_neox': 326, 'n_words': 51}