Skip to content

Commit

Permalink
Add additional examples from egglog
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook committed Jul 26, 2023
1 parent c0c0129 commit 507f9fc
Show file tree
Hide file tree
Showing 14 changed files with 123,451 additions and 123,442 deletions.
1,718 changes: 859 additions & 859 deletions tests-viz/diff_power_simple-inlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,404 changes: 1,204 additions & 1,200 deletions tests-viz/diff_power_simple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests-viz/fibonacci-demand.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nodes":{"v24___-0":{"op":"v24___","children":[],"eclass":"0","cost":9.223372036854776e18},"v22___-0":{"op":"v22___","children":[],"eclass":"0","cost":9.223372036854776e18},"i64-4208978898528913939":{"op":"7","children":[],"eclass":"i64-4208978898528913939","cost":0.0},"Fib-4208978898528913939":{"op":"Fib","children":["i64-4208978898528913939"],"eclass":"0","cost":1.0},"i64-16783941965674463102":{"op":"6","children":[],"eclass":"i64-16783941965674463102","cost":0.0},"Fib-16783941965674463102":{"op":"Fib","children":["i64-16783941965674463102"],"eclass":"1","cost":1.0},"i64-10912160959110460649":{"op":"5","children":[],"eclass":"i64-10912160959110460649","cost":0.0},"Fib-10912160959110460649":{"op":"Fib","children":["i64-10912160959110460649"],"eclass":"2","cost":1.0},"i64-5040379952546458196":{"op":"4","children":[],"eclass":"i64-5040379952546458196","cost":0.0},"Fib-5040379952546458196":{"op":"Fib","children":["i64-5040379952546458196"],"eclass":"4","cost":1.0},"i64-17615343019692007359":{"op":"3","children":[],"eclass":"i64-17615343019692007359","cost":0.0},"Fib-17615343019692007359":{"op":"Fib","children":["i64-17615343019692007359"],"eclass":"6","cost":1.0},"i64-11743562013128004906":{"op":"2","children":[],"eclass":"i64-11743562013128004906","cost":0.0},"Fib-11743562013128004906":{"op":"Fib","children":["i64-11743562013128004906"],"eclass":"8","cost":1.0},"i64-0":{"op":"0","children":[],"eclass":"i64-0","cost":0.0},"Fib-0":{"op":"Fib","children":["i64-0"],"eclass":"13","cost":1.0},"i64-5871781006564002453":{"op":"1","children":[],"eclass":"i64-5871781006564002453","cost":0.0},"Fib-5871781006564002453":{"op":"Fib","children":["i64-5871781006564002453"],"eclass":"8","cost":1.0},"Num-0":{"op":"Num","children":["i64-0"],"eclass":"13","cost":1.0},"Num-5871781006564002453":{"op":"Num","children":["i64-5871781006564002453"],"eclass":"8","cost":1.0},"Num-11743562013128004906":{"op":"Num","children":["i64-11743562013128004906"],"eclass":"6","cost":1.0},"Num-17615343019692007359":{"op":"Num","children":["i64-17615343019692007359"],"eclass":"4","cost":1.0},"Num-10912160959110460649":{"op":"Num","children":["i64-10912160959110460649"],"eclass":"2","cost":1.0},"i64-10080759905092916392":{"op":"8","children":[],"eclass":"i64-10080759905092916392","cost":0.0},"Num-10080759905092916392":{"op":"Num","children":["i64-10080759905092916392"],"eclass":"1","cost":1.0},"i64-2546176790493825425":{"op":"13","children":[],"eclass":"i64-2546176790493825425","cost":0.0},"Num-2546176790493825425":{"op":"Num","children":["i64-2546176790493825425"],"eclass":"0","cost":1.0},"f7-0":{"op":"f7","children":[],"eclass":"0","cost":9.223372036854776e18},"v23___-0":{"op":"v23___","children":[],"eclass":"i64-4208978898528913939","cost":9.223372036854776e18},"Add-7659469028595837896":{"op":"Add","children":["Fib-16783941965674463102","Fib-10912160959110460649"],"eclass":"0","cost":1.0},"Add-15318938057191675792":{"op":"Add","children":["Num-10912160959110460649","Fib-5040379952546458196"],"eclass":"1","cost":1.0},"Add-17179538364779065510":{"op":"Add","children":["Num-17615343019692007359","Fib-17615343019692007359"],"eclass":"2","cost":1.0},"Add-16545935510313822457":{"op":"Add","children":["Num-11743562013128004906","Fib-11743562013128004906"],"eclass":"4","cost":1.0},"Add-15912332655848579404":{"op":"Add","children":["Num-5871781006564002453","Num-0"],"eclass":"8","cost":1.0},"Add-16743733709866123661":{"op":"Add","children":["Add-15912332655848579404","Fib-11743562013128004906"],"eclass":"6","cost":1.0}},"root_eclasses":[],"class_data":{"0":{"type":"Expr"},"i64-4208978898528913939":{"type":"i64"},"1":{"type":"Expr"},"i64-16783941965674463102":{"type":"i64"},"2":{"type":"Expr"},"i64-10912160959110460649":{"type":"i64"},"4":{"type":"Expr"},"i64-5040379952546458196":{"type":"i64"},"6":{"type":"Expr"},"i64-17615343019692007359":{"type":"i64"},"8":{"type":"Expr"},"i64-11743562013128004906":{"type":"i64"},"13":{"type":"Expr"},"i64-0":{"type":"i64"},"i64-5871781006564002453":{"type":"i64"},"i64-10080759905092916392":{"type":"i64"},"i64-2546176790493825425":{"type":"i64"}}}
1 change: 1 addition & 0 deletions tests-viz/fibonacci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nodes":{"i64-5871781006564002453":{"op":"1","children":[],"eclass":"i64-5871781006564002453","cost":0.0},"v1___-0":{"op":"v1___","children":[],"eclass":"i64-5871781006564002453","cost":9.223372036854776e18},"i64-0":{"op":"0","children":[],"eclass":"i64-0","cost":0.0},"fib-0":{"op":"fib","children":["i64-0"],"eclass":"i64-0","cost":1.0},"fib-5871781006564002453":{"op":"fib","children":["i64-5871781006564002453"],"eclass":"i64-5871781006564002453","cost":1.0},"i64-11743562013128004906":{"op":"2","children":[],"eclass":"i64-11743562013128004906","cost":0.0},"fib-11743562013128004906":{"op":"fib","children":["i64-11743562013128004906"],"eclass":"i64-5871781006564002453","cost":1.0},"i64-17615343019692007359":{"op":"3","children":[],"eclass":"i64-17615343019692007359","cost":0.0},"fib-17615343019692007359":{"op":"fib","children":["i64-17615343019692007359"],"eclass":"i64-11743562013128004906","cost":1.0},"i64-5040379952546458196":{"op":"4","children":[],"eclass":"i64-5040379952546458196","cost":0.0},"fib-5040379952546458196":{"op":"fib","children":["i64-5040379952546458196"],"eclass":"i64-17615343019692007359","cost":1.0},"i64-10912160959110460649":{"op":"5","children":[],"eclass":"i64-10912160959110460649","cost":0.0},"fib-10912160959110460649":{"op":"fib","children":["i64-10912160959110460649"],"eclass":"i64-10912160959110460649","cost":1.0},"i64-10080759905092916392":{"op":"8","children":[],"eclass":"i64-10080759905092916392","cost":0.0},"i64-16783941965674463102":{"op":"6","children":[],"eclass":"i64-16783941965674463102","cost":0.0},"fib-16783941965674463102":{"op":"fib","children":["i64-16783941965674463102"],"eclass":"i64-10080759905092916392","cost":1.0},"i64-2546176790493825425":{"op":"13","children":[],"eclass":"i64-2546176790493825425","cost":0.0},"i64-4208978898528913939":{"op":"7","children":[],"eclass":"i64-4208978898528913939","cost":0.0},"fib-4208978898528913939":{"op":"fib","children":["i64-4208978898528913939"],"eclass":"i64-2546176790493825425","cost":1.0},"i64-12626936695586741817":{"op":"21","children":[],"eclass":"i64-12626936695586741817","cost":0.0},"fib-10080759905092916392":{"op":"fib","children":["i64-10080759905092916392"],"eclass":"i64-12626936695586741817","cost":1.0},"v0___-0":{"op":"v0___","children":[],"eclass":"i64-0","cost":9.223372036854776e18}},"root_eclasses":[],"class_data":{"i64-5871781006564002453":{"type":"i64"},"i64-0":{"type":"i64"},"i64-11743562013128004906":{"type":"i64"},"i64-17615343019692007359":{"type":"i64"},"i64-5040379952546458196":{"type":"i64"},"i64-10912160959110460649":{"type":"i64"},"i64-10080759905092916392":{"type":"i64"},"i64-16783941965674463102":{"type":"i64"},"i64-2546176790493825425":{"type":"i64"},"i64-4208978898528913939":{"type":"i64"},"i64-12626936695586741817":{"type":"i64"}}}
Loading

0 comments on commit 507f9fc

Please sign in to comment.