Sorry it took me so long to test the fix...
I updated to the latest version (i was one version behind), and you are right, the "Tiers and Edges" knowledge node now loads the text box.
I did quite a bit of testing on it, and I think there's something a little weird when you load a text file of constraints...
Once you load a text file of constraints, the variable list no longer shows up in the "Other Groups" tab, so you can no longer use that tab in the GUI (although you can still use other tabs). The unused variables also don't show up in the "tiers" tab, so you can only use that tab to shuffle around variables that were already in a tier.
Because I was curious, I tested quite a few knowledge nodes seeing what other weird behavior I could generate. Some of these might be known behavior... I was just trying to be thorough in testing. Here are a few:
If you "Destroy Model" in a knowledge node, it doesn't seem to do anything. You have to delete the node and start fresh or tie it to a new data set to start over. That's usually not really a big deal, of course.
If you change the variables in the data node the feeds the knowledge node, the knowledge node throws an error. For example, I replaced the data in a data node with an identical data set minus a single variable, and then the knowledge node complains something like "Nodes must not be null" and after the error message the knowledge node doesn't open. This error happens even if the variable didn't appear in any constraints. Again, this doesn't seem like a big deal... if you delete the variable instead of loading a new text file and replacing the data it causes a refresh of the knowledge node, and the error message seems appropriate.
You can also generate errors by setting constraints in the "Other Groups" tab that are implied by the knowledge tiers, or vice versa. For example, if you have a constraint set in the "Other Groups" tab, then you change the order around in the the knowledge tiers so that constraint is implied by both the one in the "Other Groups" tab and the "Tiers" tab and it doesn't throw an error when you save the node, but it throws an error when you try to re-open the node that the edge is already in the model, and since the knowledge node won't re-open, you can't fix it. If at this point you "Destroy Model" you then again get the "Nodes must not be null" error. This could be a bit more problematic than the other two errors, because without warning, you wouldn't be able to open up your knowledge node and see what constraints you had set. Just as a note, I wasn't able to generate the same error using the text tab. If I try to add a constraint to the forbidden section that is implied by the tiers, it loads it without an error, and then magically when you re-open, the constraint in the forbidden section has disappeared... thus no issue.
Anyway, thanks for fixing the text load button. Very helpful. Let's me make a backup of my constraints into a text file, and rebuild the knowledge node using that if there is an error.
On another note, while running my tests, I also discovered a weirdness with another node. If you do a large graph into the estimator node, it does this thing where it keeps expanding and expanding the window, which doesn't stop it from estimating, but it does keep you from being able to scroll down to the bottom right corner and click "Re-estimate"
BTW, is this the best place to report GUI bugs/features like this? If they are supposed to go somewhere else, I'm glad to put them there... it seems like a good place though so anyone can try and replicate the bugs and confirm.
Onward and upward,
Scott
On Wednesday, March 28, 2012 5:21:23 AM UTC-7, Joe wrote:
Someone else reported this issue and I fixed it for him. Are you using
the latest version of Tetrad?Joe