TestInterpreterOutputTrace( schema_name: "numbers", trace: Trace( ops: { Opid(1): TraceOp( opid: Opid(1), parent_opid: None, content: Call(ResolveStartingVertices(Vid(1))), ), Opid(2): TraceOp( opid: Opid(2), parent_opid: None, content: Call(ResolveNeighbors(Vid(1), "Composite", Eid(1))), ), Opid(3): TraceOp( opid: Opid(3), parent_opid: None, content: Call(ResolveNeighbors(Vid(1), "Composite", Eid(2))), ), Opid(4): TraceOp( opid: Opid(4), parent_opid: None, content: Call(ResolveProperty(Vid(1), "Composite", "value")), ), Opid(5): TraceOp( opid: Opid(5), parent_opid: Some(Opid(4)), content: AdvanceInputIterator, ), Opid(6): TraceOp( opid: Opid(6), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(7): TraceOp( opid: Opid(7), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(8): TraceOp( opid: Opid(8), parent_opid: Some(Opid(1)), content: YieldFrom(ResolveStartingVertices(Composite(CompositeNumber(4, [ 2, ])))), ), Opid(9): TraceOp( opid: Opid(9), parent_opid: Some(Opid(2)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, )), ), Opid(10): TraceOp( opid: Opid(10), parent_opid: Some(Opid(2)), content: YieldFrom(ResolveNeighborsOuter(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ))), ), Opid(11): TraceOp( opid: Opid(11), parent_opid: Some(Opid(10)), content: YieldFrom(ResolveNeighborsInner(0, Composite(CompositeNumber(4, [ 2, ])))), ), Opid(12): TraceOp( opid: Opid(12), parent_opid: Some(Opid(10)), content: YieldFrom(ResolveNeighborsInner(1, Composite(CompositeNumber(8, [ 2, ])))), ), Opid(13): TraceOp( opid: Opid(13), parent_opid: Some(Opid(10)), content: OutputIteratorExhausted, ), Opid(14): TraceOp( opid: Opid(14), parent_opid: None, content: Call(ResolveProperty(Vid(2), "Composite", "value")), ), Opid(15): TraceOp( opid: Opid(15), parent_opid: Some(Opid(14)), content: AdvanceInputIterator, ), Opid(16): TraceOp( opid: Opid(16), parent_opid: Some(Opid(14)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, )), ), Opid(17): TraceOp( opid: Opid(17), parent_opid: Some(Opid(14)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ), Int64(4))), ), Opid(18): TraceOp( opid: Opid(18), parent_opid: Some(Opid(14)), content: AdvanceInputIterator, ), Opid(19): TraceOp( opid: Opid(19), parent_opid: Some(Opid(14)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, )), ), Opid(20): TraceOp( opid: Opid(20), parent_opid: Some(Opid(14)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, ), Int64(8))), ), Opid(21): TraceOp( opid: Opid(21), parent_opid: Some(Opid(14)), content: AdvanceInputIterator, ), Opid(22): TraceOp( opid: Opid(22), parent_opid: Some(Opid(14)), content: InputIteratorExhausted, ), Opid(23): TraceOp( opid: Opid(23), parent_opid: Some(Opid(14)), content: OutputIteratorExhausted, ), Opid(24): TraceOp( opid: Opid(24), parent_opid: Some(Opid(3)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ), SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, ), ]), }, folded_values: { (Eid(1), "mult"): Some(Vec([ Value(Int64(4)), Value(Int64(8)), ])), }, )), ), Opid(25): TraceOp( opid: Opid(25), parent_opid: Some(Opid(3)), content: YieldFrom(ResolveNeighborsOuter(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ), SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, ), ]), }, folded_values: { (Eid(1), "mult"): Some(Vec([ Value(Int64(4)), Value(Int64(8)), ])), }, ))), ), Opid(26): TraceOp( opid: Opid(26), parent_opid: Some(Opid(25)), content: YieldFrom(ResolveNeighborsInner(0, Neither(NeitherNumber(1)))), ), Opid(27): TraceOp( opid: Opid(27), parent_opid: Some(Opid(25)), content: YieldFrom(ResolveNeighborsInner(1, Prime(PrimeNumber(2)))), ), Opid(28): TraceOp( opid: Opid(28), parent_opid: Some(Opid(25)), content: OutputIteratorExhausted, ), Opid(29): TraceOp( opid: Opid(29), parent_opid: None, content: Call(ResolveProperty(Vid(3), "Number", "value")), ), Opid(30): TraceOp( opid: Opid(30), parent_opid: Some(Opid(29)), content: AdvanceInputIterator, ), Opid(31): TraceOp( opid: Opid(31), parent_opid: Some(Opid(29)), content: YieldInto(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(3): Some(Neither(NeitherNumber(1))), }, )), ), Opid(32): TraceOp( opid: Opid(32), parent_opid: Some(Opid(29)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(3): Some(Neither(NeitherNumber(1))), }, ), Int64(1))), ), Opid(33): TraceOp( opid: Opid(33), parent_opid: Some(Opid(29)), content: AdvanceInputIterator, ), Opid(34): TraceOp( opid: Opid(34), parent_opid: Some(Opid(29)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(3): Some(Prime(PrimeNumber(2))), }, )), ), Opid(35): TraceOp( opid: Opid(35), parent_opid: Some(Opid(29)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(3): Some(Prime(PrimeNumber(2))), }, ), Int64(2))), ), Opid(36): TraceOp( opid: Opid(36), parent_opid: Some(Opid(29)), content: AdvanceInputIterator, ), Opid(37): TraceOp( opid: Opid(37), parent_opid: Some(Opid(29)), content: InputIteratorExhausted, ), Opid(38): TraceOp( opid: Opid(38), parent_opid: Some(Opid(29)), content: OutputIteratorExhausted, ), Opid(39): TraceOp( opid: Opid(39), parent_opid: Some(Opid(4)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ), SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, ), ]), Eid(2): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(3): Some(Neither(NeitherNumber(1))), }, ), SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(3): Some(Prime(PrimeNumber(2))), }, ), ]), }, folded_values: { (Eid(1), "mult"): Some(Vec([ Value(Int64(4)), Value(Int64(8)), ])), (Eid(2), "div"): Some(Vec([ Value(Int64(1)), Value(Int64(2)), ])), }, )), ), Opid(40): TraceOp( opid: Opid(40), parent_opid: Some(Opid(4)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ), SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(2): Some(Composite(CompositeNumber(8, [ 2, ]))), }, ), ]), Eid(2): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(3): Some(Neither(NeitherNumber(1))), }, ), SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(3): Some(Prime(PrimeNumber(2))), }, ), ]), }, folded_values: { (Eid(1), "mult"): Some(Vec([ Value(Int64(4)), Value(Int64(8)), ])), (Eid(2), "div"): Some(Vec([ Value(Int64(1)), Value(Int64(2)), ])), }, ), Int64(4))), ), Opid(41): TraceOp( opid: Opid(41), parent_opid: None, content: ProduceQueryResult({ "div": List([ Int64(1), Int64(2), ]), "mult": List([ Int64(4), Int64(8), ]), "value": Int64(4), }), ), Opid(42): TraceOp( opid: Opid(42), parent_opid: Some(Opid(4)), content: AdvanceInputIterator, ), Opid(43): TraceOp( opid: Opid(43), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(44): TraceOp( opid: Opid(44), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(45): TraceOp( opid: Opid(45), parent_opid: Some(Opid(1)), content: OutputIteratorExhausted, ), Opid(46): TraceOp( opid: Opid(46), parent_opid: Some(Opid(2)), content: InputIteratorExhausted, ), Opid(47): TraceOp( opid: Opid(47), parent_opid: Some(Opid(2)), content: OutputIteratorExhausted, ), Opid(48): TraceOp( opid: Opid(48), parent_opid: Some(Opid(3)), content: InputIteratorExhausted, ), Opid(49): TraceOp( opid: Opid(49), parent_opid: Some(Opid(3)), content: OutputIteratorExhausted, ), Opid(50): TraceOp( opid: Opid(50), parent_opid: Some(Opid(4)), content: InputIteratorExhausted, ), Opid(51): TraceOp( opid: Opid(51), parent_opid: Some(Opid(4)), content: OutputIteratorExhausted, ), }, ir_query: IRQuery( root_name: "Four", root_component: IRQueryComponent( root: Vid(1), vertices: { Vid(1): IRVertex( vid: Vid(1), type_name: "Composite", ), }, folds: { Eid(1): IRFold( eid: Eid(1), from_vid: Vid(1), to_vid: Vid(2), edge_name: "multiple", parameters: EdgeParameters( contents: { "max": Int64(2), }, ), component: IRQueryComponent( root: Vid(2), vertices: { Vid(2): IRVertex( vid: Vid(2), type_name: "Composite", ), }, outputs: { "mult": ContextField( vertex_id: Vid(2), field_name: "value", field_type: "Int", ), }, ), ), Eid(2): IRFold( eid: Eid(2), from_vid: Vid(1), to_vid: Vid(3), edge_name: "divisor", component: IRQueryComponent( root: Vid(3), vertices: { Vid(3): IRVertex( vid: Vid(3), type_name: "Number", ), }, outputs: { "div": ContextField( vertex_id: Vid(3), field_name: "value", field_type: "Int", ), }, ), ), }, outputs: { "value": ContextField( vertex_id: Vid(1), field_name: "value", field_type: "Int", ), }, ), ), ), )