I think it may be useful to implement a deterministic generative function which takes in 2 dictionaries a and b with the same set of keys, and returns a dictionary mapping from a[k] => b[k] for each key in a/b.
By the same token, it might be useful to have a mechanism like get_object_vector which gets objects in order, for situations where we actually care about the indices of objects.
I think it may be useful to implement a deterministic generative function which takes in 2 dictionaries
a
andb
with the same set of keys, and returns a dictionary mapping froma[k] => b[k]
for each key ina
/b
.The idea would be to enable things like: