Skip to content

Commit

Permalink
Stable stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 16, 2020
1 parent 547168d commit d8231a0
Show file tree
Hide file tree
Showing 25 changed files with 30 additions and 4,575 deletions.
55 changes: 1 addition & 54 deletions examples/output/1d-N-mark.results.json
@@ -1,54 +1 @@
{
"name": "",
"path": "",
"items": [
{
"name": "Origin",
"path": "/Origin",
"items": [
{
"name": "xy:Origin",
"path": "/Origin/xy:Origin",
"items": [
{
"name": "xy:Origin",
"path": "/Origin/xy:Origin/xy:Origin",
"items": [
"point|x:Origin,n",
"rect|x:Origin,n"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
"field",
"aggregate",
"bin",
"timeUnit",
"stack"
],
"orderGroupBy": "aggregationQuality"
}
{"groupBy":["field","aggregate","bin","timeUnit","stack"],"items":[{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["point|x:Origin,n","rect|x:Origin,n"],"name":"xy:Origin","path":"/Origin/xy:Origin/xy:Origin"}],"name":"xy:Origin","orderGroupBy":"effectiveness","path":"/Origin/xy:Origin"}],"name":"Origin","orderGroupBy":"effectiveness","path":"/Origin"}],"name":"","orderGroupBy":"aggregationQuality","path":""}
59 changes: 1 addition & 58 deletions examples/output/1d-N.results.json
@@ -1,58 +1 @@
{
"name": "",
"path": "",
"items": [
{
"name": "Origin|autocount()",
"path": "/Origin|autocount()",
"items": [
{
"name": "xy:Origin|xy:autocount()",
"path": "/Origin|autocount()/xy:Origin|xy:autocount()",
"items": [
{
"name": "xy:Origin|xy:autocount()",
"path": "/Origin|autocount()/xy:Origin|xy:autocount()/xy:Origin|xy:autocount()",
"items": [
"bar|x:count(*,q)|y:Origin,n",
"bar|x:Origin,n|y:count(*,q)",
"point|x:count(*,q)|y:Origin,n",
"point|x:Origin,n|y:count(*,q)",
"tick|x:count(*,q)|y:Origin,n",
"tick|x:Origin,n|y:count(*,q)"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
"field",
"aggregate",
"bin",
"timeUnit",
"stack"
],
"orderGroupBy": "aggregationQuality"
}
{"groupBy":["field","aggregate","bin","timeUnit","stack"],"items":[{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["bar|x:count(*,q)|y:Origin,n","bar|x:Origin,n|y:count(*,q)","point|x:count(*,q)|y:Origin,n","point|x:Origin,n|y:count(*,q)","tick|x:count(*,q)|y:Origin,n","tick|x:Origin,n|y:count(*,q)"],"name":"xy:Origin|xy:autocount()","path":"/Origin|autocount()/xy:Origin|xy:autocount()/xy:Origin|xy:autocount()"}],"name":"xy:Origin|xy:autocount()","orderGroupBy":"effectiveness","path":"/Origin|autocount()/xy:Origin|xy:autocount()"}],"name":"Origin|autocount()","orderGroupBy":"effectiveness","path":"/Origin|autocount()"}],"name":"","orderGroupBy":"aggregationQuality","path":""}
63 changes: 1 addition & 62 deletions examples/output/1d-O.results.json
@@ -1,62 +1 @@
{
"name": "",
"path": "",
"items": [
{
"name": "Cylinders|autocount()",
"path": "/Cylinders|autocount()",
"items": [
{
"name": "xy:Cylinders|xy:autocount()",
"path": "/Cylinders|autocount()/xy:Cylinders|xy:autocount()",
"items": [
{
"name": "xy:Cylinders|xy:autocount()",
"path": "/Cylinders|autocount()/xy:Cylinders|xy:autocount()/xy:Cylinders|xy:autocount()",
"items": [
"bar|x:count(*,q)|y:Cylinders,o",
"bar|x:Cylinders,o|y:count(*,q)",
"point|x:count(*,q)|y:Cylinders,o",
"point|x:Cylinders,o|y:count(*,q)",
"tick|x:count(*,q)|y:Cylinders,o",
"tick|x:Cylinders,o|y:count(*,q)",
"line|x:count(*,q)|y:Cylinders,o",
"area|x:count(*,q)|y:Cylinders,o",
"line|x:Cylinders,o|y:count(*,q)",
"area|x:Cylinders,o|y:count(*,q)"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
"field",
"aggregate",
"bin",
"timeUnit",
"stack"
],
"orderGroupBy": "aggregationQuality"
}
{"groupBy":["field","aggregate","bin","timeUnit","stack"],"items":[{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["bar|x:count(*,q)|y:Cylinders,o","bar|x:Cylinders,o|y:count(*,q)","point|x:count(*,q)|y:Cylinders,o","point|x:Cylinders,o|y:count(*,q)","tick|x:count(*,q)|y:Cylinders,o","tick|x:Cylinders,o|y:count(*,q)","line|x:count(*,q)|y:Cylinders,o","area|x:count(*,q)|y:Cylinders,o","line|x:Cylinders,o|y:count(*,q)","area|x:Cylinders,o|y:count(*,q)"],"name":"xy:Cylinders|xy:autocount()","path":"/Cylinders|autocount()/xy:Cylinders|xy:autocount()/xy:Cylinders|xy:autocount()"}],"name":"xy:Cylinders|xy:autocount()","orderGroupBy":"effectiveness","path":"/Cylinders|autocount()/xy:Cylinders|xy:autocount()"}],"name":"Cylinders|autocount()","orderGroupBy":"effectiveness","path":"/Cylinders|autocount()"}],"name":"","orderGroupBy":"aggregationQuality","path":""}
55 changes: 1 addition & 54 deletions examples/output/1d-Q-mark.results.json
@@ -1,54 +1 @@
{
"name": "",
"path": "",
"items": [
{
"name": "Horsepower",
"path": "/Horsepower",
"items": [
{
"name": "xy:Horsepower",
"path": "/Horsepower/xy:Horsepower",
"items": [
{
"name": "xy:Horsepower",
"path": "/Horsepower/xy:Horsepower/xy:Horsepower",
"items": [
"tick|x:Horsepower,q",
"point|x:Horsepower,q"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
"field",
"aggregate",
"bin",
"timeUnit",
"stack"
],
"orderGroupBy": "aggregationQuality"
}
{"groupBy":["field","aggregate","bin","timeUnit","stack"],"items":[{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["tick|x:Horsepower,q","point|x:Horsepower,q"],"name":"xy:Horsepower","path":"/Horsepower/xy:Horsepower/xy:Horsepower"}],"name":"xy:Horsepower","orderGroupBy":"effectiveness","path":"/Horsepower/xy:Horsepower"}],"name":"Horsepower","orderGroupBy":"effectiveness","path":"/Horsepower"}],"name":"","orderGroupBy":"aggregationQuality","path":""}
149 changes: 1 addition & 148 deletions examples/output/1d-Q.results.json
@@ -1,148 +1 @@
{
"name": "",
"path": "",
"items": [
{
"name": "Miles_per_Gallon",
"path": "/Miles_per_Gallon",
"items": [
{
"name": "xy:Miles_per_Gallon",
"path": "/Miles_per_Gallon/xy:Miles_per_Gallon",
"items": [
{
"name": "xy:Miles_per_Gallon",
"path": "/Miles_per_Gallon/xy:Miles_per_Gallon/xy:Miles_per_Gallon",
"items": [
"tick|x:Miles_per_Gallon,q",
"tick|y:Miles_per_Gallon,q",
"point|x:Miles_per_Gallon,q",
"point|y:Miles_per_Gallon,q"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
},
{
"name": "autocount()|bin(Miles_per_Gallon)",
"path": "/autocount()|bin(Miles_per_Gallon)",
"items": [
{
"name": "xy:autocount()|xy:bin(Miles_per_Gallon)",
"path": "/autocount()|bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)",
"items": [
{
"name": "xy:autocount()|xy:bin(Miles_per_Gallon)",
"path": "/autocount()|bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)",
"items": [
"bar|x:bin(Miles_per_Gallon,q)|y:count(*,q)",
"bar|x:count(*,q)|y:bin(Miles_per_Gallon,q)",
"point|x:bin(Miles_per_Gallon,q)|y:count(*,q)",
"point|x:count(*,q)|y:bin(Miles_per_Gallon,q)",
"tick|x:bin(Miles_per_Gallon,q)|y:count(*,q)",
"tick|x:count(*,q)|y:bin(Miles_per_Gallon,q)",
"line|x:bin(Miles_per_Gallon,q)|y:count(*,q)",
"area|x:bin(Miles_per_Gallon,q)|y:count(*,q)",
"line|x:count(*,q)|y:bin(Miles_per_Gallon,q)",
"area|x:count(*,q)|y:bin(Miles_per_Gallon,q)"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
},
{
"name": "mean(Miles_per_Gallon)",
"path": "/mean(Miles_per_Gallon)",
"items": [
{
"name": "xy:mean(Miles_per_Gallon)",
"path": "/mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)",
"items": [
{
"name": "xy:mean(Miles_per_Gallon)",
"path": "/mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)",
"items": [
"bar|x:mean(Miles_per_Gallon,q)",
"bar|y:mean(Miles_per_Gallon,q)",
"point|x:mean(Miles_per_Gallon,q)",
"point|y:mean(Miles_per_Gallon,q)",
"tick|x:mean(Miles_per_Gallon,q)",
"tick|y:mean(Miles_per_Gallon,q)"
]
}
],
"groupBy": [
"channel"
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
{
"property": "channel",
"replace": {
"x": "xy",
"y": "xy",
"color": "style",
"size": "style",
"shape": "style",
"opacity": "style",
"row": "facet",
"column": "facet"
}
}
],
"orderGroupBy": "effectiveness"
}
],
"groupBy": [
"field",
"aggregate",
"bin",
"timeUnit",
"stack"
],
"orderGroupBy": "aggregationQuality"
}
{"groupBy":["field","aggregate","bin","timeUnit","stack"],"items":[{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["tick|x:Miles_per_Gallon,q","tick|y:Miles_per_Gallon,q","point|x:Miles_per_Gallon,q","point|y:Miles_per_Gallon,q"],"name":"xy:Miles_per_Gallon","path":"/Miles_per_Gallon/xy:Miles_per_Gallon/xy:Miles_per_Gallon"}],"name":"xy:Miles_per_Gallon","orderGroupBy":"effectiveness","path":"/Miles_per_Gallon/xy:Miles_per_Gallon"}],"name":"Miles_per_Gallon","orderGroupBy":"effectiveness","path":"/Miles_per_Gallon"},{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["bar|x:bin(Miles_per_Gallon,q)|y:count(*,q)","bar|x:count(*,q)|y:bin(Miles_per_Gallon,q)","point|x:bin(Miles_per_Gallon,q)|y:count(*,q)","point|x:count(*,q)|y:bin(Miles_per_Gallon,q)","tick|x:bin(Miles_per_Gallon,q)|y:count(*,q)","tick|x:count(*,q)|y:bin(Miles_per_Gallon,q)","line|x:bin(Miles_per_Gallon,q)|y:count(*,q)","area|x:bin(Miles_per_Gallon,q)|y:count(*,q)","line|x:count(*,q)|y:bin(Miles_per_Gallon,q)","area|x:count(*,q)|y:bin(Miles_per_Gallon,q)"],"name":"xy:autocount()|xy:bin(Miles_per_Gallon)","path":"/autocount()|bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)"}],"name":"xy:autocount()|xy:bin(Miles_per_Gallon)","orderGroupBy":"effectiveness","path":"/autocount()|bin(Miles_per_Gallon)/xy:autocount()|xy:bin(Miles_per_Gallon)"}],"name":"autocount()|bin(Miles_per_Gallon)","orderGroupBy":"effectiveness","path":"/autocount()|bin(Miles_per_Gallon)"},{"groupBy":[{"property":"channel","replace":{"color":"style","column":"facet","opacity":"style","row":"facet","shape":"style","size":"style","x":"xy","y":"xy"}}],"items":[{"groupBy":["channel"],"items":[{"items":["bar|x:mean(Miles_per_Gallon,q)","bar|y:mean(Miles_per_Gallon,q)","point|x:mean(Miles_per_Gallon,q)","point|y:mean(Miles_per_Gallon,q)","tick|x:mean(Miles_per_Gallon,q)","tick|y:mean(Miles_per_Gallon,q)"],"name":"xy:mean(Miles_per_Gallon)","path":"/mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)"}],"name":"xy:mean(Miles_per_Gallon)","orderGroupBy":"effectiveness","path":"/mean(Miles_per_Gallon)/xy:mean(Miles_per_Gallon)"}],"name":"mean(Miles_per_Gallon)","orderGroupBy":"effectiveness","path":"/mean(Miles_per_Gallon)"}],"name":"","orderGroupBy":"aggregationQuality","path":""}

0 comments on commit d8231a0

Please sign in to comment.