Skip to content

Commit

Permalink
snapshots added
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahneel committed Sep 30, 2024
1 parent d1c7428 commit 0aa156e
Show file tree
Hide file tree
Showing 27 changed files with 101,767 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"integer"
},
{
"name":"invalid_activity",
"type":"string"
},
{
"name":"error_message",
"type":"string"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":0,
"invalid_activity":"invalid_activity",
"error_message":"\n Invalid List of activities or single activity. Please enter a string or list of strings of the following activities: jogging, biking, walking, sitting, lying, jumping, stairs up, stairs down, stand or transition. \n"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"integer"
},
{
"name":"invalid_activity",
"type":"string"
},
{
"name":"error_message",
"type":"string"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":0,
"invalid_activity":"running_fast",
"error_message":"\n Invalid List of activities or single activity. Please enter a string or list of strings of the following activities: jogging, biking, walking, sitting, lying, jumping, stairs up, stairs down, stand or transition. \n"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"integer"
},
{
"name":"invalid_activity",
"type":"string"
},
{
"name":"error_message",
"type":"string"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":0,
"invalid_activity":"unknown",
"error_message":"\n Invalid List of activities or single activity. Please enter a string or list of strings of the following activities: jogging, biking, walking, sitting, lying, jumping, stairs up, stairs down, stand or transition. \n"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"integer"
},
{
"name":"dataset",
"type":"string"
},
{
"name":"type",
"type":"string"
},
{
"name":"result",
"type":"string"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":0,
"dataset":"data_mat_left",
"type":"initial",
"result":"single"
},
{
"index":1,
"dataset":"data_mat_left",
"type":"detect",
"result":"single"
},
{
"index":2,
"dataset":"data_mat_right",
"type":"initial",
"result":"single"
},
{
"index":3,
"dataset":"data_mat_right",
"type":"detect",
"result":"single"
}
]
}
172 changes: 172 additions & 0 deletions tests/snapshot/test_detect_single_activity_df_mat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"string"
},
{
"name":"activity",
"type":"string"
},
{
"name":"start",
"type":"integer"
},
{
"name":"end",
"type":"integer"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":"0",
"activity":"walking",
"start":2250,
"end":2400
},
{
"index":"1",
"activity":"walking",
"start":2400,
"end":2550
},
{
"index":"2",
"activity":"walking",
"start":2550,
"end":2700
},
{
"index":"3",
"activity":"walking",
"start":3000,
"end":3150
},
{
"index":"4",
"activity":"walking",
"start":3150,
"end":3300
},
{
"index":"5",
"activity":"walking",
"start":3300,
"end":3450
},
{
"index":"6",
"activity":"walking",
"start":3450,
"end":3600
},
{
"index":"7",
"activity":"walking",
"start":3600,
"end":3750
},
{
"index":"8",
"activity":"walking",
"start":4050,
"end":4200
},
{
"index":"9",
"activity":"walking",
"start":4200,
"end":4350
},
{
"index":"10",
"activity":"walking",
"start":4350,
"end":4500
},
{
"index":"11",
"activity":"walking",
"start":4500,
"end":4650
},
{
"index":"12",
"activity":"walking",
"start":4650,
"end":4800
},
{
"index":"13",
"activity":"walking",
"start":4800,
"end":4950
},
{
"index":"14",
"activity":"walking",
"start":5400,
"end":5550
},
{
"index":"15",
"activity":"walking",
"start":5550,
"end":5700
},
{
"index":"16",
"activity":"walking",
"start":5700,
"end":5850
},
{
"index":"17",
"activity":"walking",
"start":5850,
"end":6000
},
{
"index":"18",
"activity":"walking",
"start":6000,
"end":6150
},
{
"index":"19",
"activity":"walking",
"start":6750,
"end":6900
},
{
"index":"20",
"activity":"walking",
"start":6900,
"end":7050
},
{
"index":"21",
"activity":"walking",
"start":7050,
"end":7200
},
{
"index":"22",
"activity":"walking",
"start":7200,
"end":7350
},
{
"index":"23",
"activity":"walking",
"start":7350,
"end":7500
}
]
}
29 changes: 29 additions & 0 deletions tests/snapshot/test_detect_single_data_mat_shape.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"schema":{
"fields":[
{
"name":"index",
"type":"integer"
},
{
"name":"rows",
"type":"integer"
},
{
"name":"columns",
"type":"integer"
}
],
"primaryKey":[
"index"
],
"pandas_version":"1.4.0"
},
"data":[
{
"index":0,
"rows":11311,
"columns":3
}
]
}
Loading

0 comments on commit 0aa156e

Please sign in to comment.