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
We currently use Iterator to extend a Trace out from a root. The similarity between the previous step-based implementation and Iterator's next made it an easy implementation. I'm increasingly convinced, however, that we either need to remove the Iterator implementation or rework the way in which it is constructed. The overall semantics of Trace is confusing and makes it possible to compute values that the user might not intend. For example, you can build a trace with 100 nodes and then ask for the likelihood of a given rewrite in a 50 node trace, but because 100 nodes already exist, the likelihood will be over all 100 nodes rather than just 50.
The text was updated successfully, but these errors were encountered:
We currently use
Iterator
to extend aTrace
out from a root. The similarity between the previousstep
-based implementation andIterator
'snext
made it an easy implementation. I'm increasingly convinced, however, that we either need to remove theIterator
implementation or rework the way in which it is constructed. The overall semantics ofTrace
is confusing and makes it possible to compute values that the user might not intend. For example, you can build a trace with 100 nodes and then ask for the likelihood of a given rewrite in a 50 node trace, but because 100 nodes already exist, the likelihood will be over all 100 nodes rather than just 50.The text was updated successfully, but these errors were encountered: