You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the goal with the replay strings in pyLC3 is that it should be as minimal/concise as possible in describing the test
I would expect authors to use proper functions when writing autograders, however that may not always happen as expected.
For instance code like this
for i in arr:
self.fillValue(address, i)
address += 1
Would generate a single Precondition for each element in the array.
The proper style would be to call fillArray and give it the initial address and array which would generate one Precondition.
Come up with some smarter mechanisms to analyze the set of Preconditions being written and gently recommend to the author that they probably want a different function.
This would be easy for Arrays and Strings, but detecting arbitrary Nodes may be a bit more difficult to do.
The text was updated successfully, but these errors were encountered:
So the goal with the replay strings in pyLC3 is that it should be as minimal/concise as possible in describing the test
I would expect authors to use proper functions when writing autograders, however that may not always happen as expected.
For instance code like this
Would generate a single Precondition for each element in the array.
The proper style would be to call fillArray and give it the initial address and array which would generate one Precondition.
Come up with some smarter mechanisms to analyze the set of Preconditions being written and gently recommend to the author that they probably want a different function.
This would be easy for Arrays and Strings, but detecting arbitrary Nodes may be a bit more difficult to do.
The text was updated successfully, but these errors were encountered: