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 could replace the parent manifest with a fragment for
np.log(df+10)
Which would turn the parent executable ast into something like
pd.rolling_sum(_X_13DF, 5, min_periods=1)"
Where _X_13DF is the manfiest or evaled value (haven't decided) of np.log(df+10). Leaning towards making it point to manifest, but since I'm keeping around a mapping of id(val) => Manifest, I can grab the manifest.
Now the point is that the expression key of the parent Manifest should not change just because we are partially executed in the current kernel.
It's possible that we can flatten out a Manfiest and it's chiildren on initialize, that will give us the stable key. Now, should the fragment frames actually change the ast for partials? Or should the parent have a mapping of partial fragments.
Note, that in a sense, the partial fragment manifests are temporal. If we are building out a complicated expression, we might precomputed all of it, a portion, or none of it.
Need to think more on this.
The text was updated successfully, but these errors were encountered:
Thinking more about this. I think I prefer having the ast remain unchanged. A Manifest should instead of having a working set of partials which are Manifests that represent partial eval of the full expression.
There should be a notion of working AST and context.
Right now, a Manifest can be nested. While this is a novel feature, maybe Manifests should not be nestable but Computables can. A Computable has a notion of the computed value, while a Manifest will always need to fully execute its AST anyways.
So in the case of
We could replace the parent manifest with a fragment for
Which would turn the parent executable ast into something like
Where
_X_13DF
is the manfiest or evaled value (haven't decided) ofnp.log(df+10)
. Leaning towards making it point to manifest, but since I'm keeping around a mapping of id(val) => Manifest, I can grab the manifest.Now the point is that the expression key of the parent Manifest should not change just because we are partially executed in the current kernel.
It's possible that we can flatten out a Manfiest and it's chiildren on initialize, that will give us the stable key. Now, should the fragment frames actually change the ast for partials? Or should the parent have a mapping of partial fragments.
Note, that in a sense, the partial fragment manifests are temporal. If we are building out a complicated expression, we might precomputed all of it, a portion, or none of it.
Need to think more on this.
The text was updated successfully, but these errors were encountered: