Skip to content

Commit

Permalink
Update regression test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
aazuspan committed Dec 6, 2024
1 parent 793e551 commit 582f875
Show file tree
Hide file tree
Showing 39 changed files with 427 additions and 499 deletions.
422 changes: 191 additions & 231 deletions tests/data/test_full_repr.yml

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions tests/data/test_regression_objects_array_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>[[1, 2], [3, 4]]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: [1, 2]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>2</span></li></ul></li><li><label class=''ee-shut''>1: [3, 4]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
'<li><label>[[1, 2], [3, 4]]<input type=''checkbox''></label><ul><li><label>0: [1,
2]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>2</span></li></ul></li><li><label>1:
[3, 4]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>3</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></li></ul></li>'
18 changes: 8 additions & 10 deletions tests/data/test_regression_objects_band_dict_.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
'<li><label class=''ee-shut''>"B1", unsigned int16, EPSG:32610, 1830x1830 px<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>id:</span><span
class=''ee-v''>B1</span></li><li><span class=''ee-k''>crs:</span><span class=''ee-v''>EPSG:32610</span></li><li><label
class=''ee-shut''>data_type: unsigned int16<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span class=''ee-k''>max:</span><span
class=''ee-v''>65535</span></li><li><span class=''ee-k''>min:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></li><li><label
class=''ee-shut''>dimensions: [1830, 1830]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1830</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>1830</span></li></ul></li></ul></li>'
'<li><label>"B1", unsigned int16, EPSG:32610, 1830x1830 px<input type=''checkbox''></label><ul><li><span
class=''ee-k''>id:</span><span class=''ee-v''>B1</span></li><li><span class=''ee-k''>crs:</span><span
class=''ee-v''>EPSG:32610</span></li><li><label>data_type: unsigned int16<input
type=''checkbox''></label><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span
class=''ee-k''>max:</span><span class=''ee-v''>65535</span></li><li><span class=''ee-k''>min:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></li><li><label>dimensions:
[1830, 1830]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>1830</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>1830</span></li></ul></li></ul></li>'
4 changes: 2 additions & 2 deletions tests/data/test_regression_objects_classifier_.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<li><label class='ee-shut'>Classifier.smileKNN<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Classifier.smileKNN</span></li></ul></li>
<li><label>Classifier.smileKNN<input type='checkbox'></label><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Classifier.smileKNN</span></li></ul></li>
...
6 changes: 3 additions & 3 deletions tests/data/test_regression_objects_clusterer_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li><label class='ee-shut'>Clusterer.wekaKMeans<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Clusterer.wekaKMeans</span></li><li><span
class='ee-k'>nClusters:</span><span class='ee-v'>2</span></li></ul></li>
<li><label>Clusterer.wekaKMeans<input type='checkbox'></label><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Clusterer.wekaKMeans</span></li><li><span class='ee-k'>nClusters:</span><span
class='ee-v'>2</span></li></ul></li>
...
9 changes: 4 additions & 5 deletions tests/data/test_regression_objects_confusion_matrix_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>[[1, 2], [3, 4]]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: [1, 2]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>2</span></li></ul></li><li><label class=''ee-shut''>1: [3, 4]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
'<li><label>[[1, 2], [3, 4]]<input type=''checkbox''></label><ul><li><label>0: [1,
2]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>2</span></li></ul></li><li><label>1:
[3, 4]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>3</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></li></ul></li>'
30 changes: 14 additions & 16 deletions tests/data/test_regression_objects_constant_image_.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
'<li><label class=''ee-shut''>Image foo (1 band)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Image</span></li><li><span class=''ee-k''>id:</span><span
class=''ee-v''>foo</span></li><li><label class=''ee-shut''>bands: List (1 element)<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><label class=''ee-shut''>0:
"constant", int ∈ [0, 0], EPSG:4326<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>id:</span><span class=''ee-v''>constant</span></li><li><span class=''ee-k''>crs:</span><span
class=''ee-v''>EPSG:4326</span></li><li><label class=''ee-shut''>crs_transform:
[1, 0, 0, 0, 1, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>2:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>3:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>4:</span><span
class=''ee-v''>1</span></li><li><span class=''ee-k''>5:</span><span class=''ee-v''>0</span></li></ul></li><li><label
class=''ee-shut''>data_type: int ∈ [0, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span class=''ee-k''>max:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>min:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></li></ul></li></ul></li></ul></li>'
'<li><label>Image foo (1 band)<input type=''checkbox''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Image</span></li><li><span class=''ee-k''>id:</span><span class=''ee-v''>foo</span></li><li><label>bands:
List (1 element)<input type=''checkbox''></label><ul><li><label>0: "constant", int
∈ [0, 0], EPSG:4326<input type=''checkbox''></label><ul><li><span class=''ee-k''>id:</span><span
class=''ee-v''>constant</span></li><li><span class=''ee-k''>crs:</span><span class=''ee-v''>EPSG:4326</span></li><li><label>crs_transform:
[1, 0, 0, 0, 1, 0]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>2:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>3:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>4:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>5:</span><span class=''ee-v''>0</span></li></ul></li><li><label>data_type:
int ∈ [0, 0]<input type=''checkbox''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>PixelType</span></li><li><span class=''ee-k''>max:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>min:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>precision:</span><span
class=''ee-v''>int</span></li></ul></li></ul></li></ul></li></ul></li>'
2 changes: 1 addition & 1 deletion tests/data/test_regression_objects_date_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li><label class='ee-shut'>Date (2021-03-27 14:01:07)<input type='checkbox' class='ee-toggle'></label><ul><li><span
<li><label>Date (2021-03-27 14:01:07)<input type='checkbox'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Date</span></li><li><span class='ee-k'>value:</span><span
class='ee-v'>1616853667000</span></li></ul></li>
...
11 changes: 5 additions & 6 deletions tests/data/test_regression_objects_daterange_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>DateRange [2020-01-01 21:01:10, 2022-03-01 14:32:11]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>DateRange</span></li><li><label class=''ee-shut''>dates: [1577912470000,
1646145131000]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1577912470000</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>1646145131000</span></li></ul></li></ul></li>'
'<li><label>DateRange [2020-01-01 21:01:10, 2022-03-01 14:32:11]<input type=''checkbox''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>DateRange</span></li><li><label>dates:
[1577912470000, 1646145131000]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>1577912470000</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>1646145131000</span></li></ul></li></ul></li>'
4 changes: 2 additions & 2 deletions tests/data/test_regression_objects_dict_.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<li><label class='ee-shut'>Object (1 property)<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>foo:</span><span class='ee-v'>bar</span></li></ul></li>
<li><label>Object (1 property)<input type='checkbox'></label><ul><li><span class='ee-k'>foo:</span><span
class='ee-v'>bar</span></li></ul></li>
...
16 changes: 8 additions & 8 deletions tests/data/test_regression_objects_feature_.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'<li><label class=''ee-shut''>Feature (Point, 1 property)<input type=''checkbox''
class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>Feature</span></li><li><label
class=''ee-shut''>geometry: Point (0.00, 0.00)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Point</span></li><li><label class=''ee-shut''>coordinates:
[0, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></li></ul></li><li><label
class=''ee-shut''>properties: Object (1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></li></ul></li>'
'<li><label>Feature (Point, 1 property)<input type=''checkbox''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Feature</span></li><li><label>geometry:
Point (0.00, 0.00)<input type=''checkbox''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Point</span></li><li><label>coordinates: [0, 0]<input type=''checkbox''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>0</span></li></ul></li></ul></li><li><label>properties: Object (1
property)<input type=''checkbox''></label><ul><li><span class=''ee-k''>foo:</span><span
class=''ee-v''>bar</span></li></ul></li></ul></li>'
26 changes: 12 additions & 14 deletions tests/data/test_regression_objects_feature_collection_.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
'<li><label class=''ee-shut''>FeatureCollection (1 element, 2 columns)<input type=''checkbox''
class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>FeatureCollection</span></li><li><label
class=''ee-shut''>columns: Object (2 properties)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>String</span></li><li><span class=''ee-k''>system:index:</span><span
class=''ee-v''>String</span></li></ul></li><li><label class=''ee-shut''>features:
List (1 element)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: Feature (Point, 1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
'<li><label>FeatureCollection (1 element, 2 columns)<input type=''checkbox''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>FeatureCollection</span></li><li><label>columns:
Object (2 properties)<input type=''checkbox''></label><ul><li><span class=''ee-k''>foo:</span><span
class=''ee-v''>String</span></li><li><span class=''ee-k''>system:index:</span><span
class=''ee-v''>String</span></li></ul></li><li><label>features: List (1 element)<input
type=''checkbox''></label><ul><li><label>0: Feature (Point, 1 property)<input type=''checkbox''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Feature</span></li><li><span class=''ee-k''>id:</span><span
class=''ee-v''>0</span></li><li><label class=''ee-shut''>geometry: Point (0.00,
0.00)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Point</span></li><li><label class=''ee-shut''>coordinates: [0, 0]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></li></ul></li><li><label
class=''ee-shut''>properties: Object (1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></li></ul></li></ul></li></ul></li>'
class=''ee-v''>0</span></li><li><label>geometry: Point (0.00, 0.00)<input type=''checkbox''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Point</span></li><li><label>coordinates:
[0, 0]<input type=''checkbox''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></li></ul></li><li><label>properties:
Object (1 property)<input type=''checkbox''></label><ul><li><span class=''ee-k''>foo:</span><span
class=''ee-v''>bar</span></li></ul></li></ul></li></ul></li></ul></li>'
4 changes: 2 additions & 2 deletions tests/data/test_regression_objects_filter_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li><label class='ee-shut'>Filter.eq<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Filter.eq</span></li><li><span class='ee-k'>leftField:</span><span
<li><label>Filter.eq<input type='checkbox'></label><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Filter.eq</span></li><li><span class='ee-k'>leftField:</span><span
class='ee-v'>foo</span></li><li><span class='ee-k'>rightValue:</span><span class='ee-v'>bar</span></li></ul></li>
...
Loading

0 comments on commit 582f875

Please sign in to comment.