client: initial work on new elapsed times for loads #1035
Annotations
6 errors and 1 warning
Client Test Suite:
client/insight/src/cell-status/events.test.ts#L56
Error: Snapshot `processes last 30 events > initial 27 days ago, two days ago, and today - station cycles 1` mismatched
- Expected
+ Received
@@ -1,11 +1,14 @@
Map {
"306" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 3,
"cntr": 306,
- "isLabor": true,
+ "elapsedMinsPerMaterial": 3,
+ "endTime": 2018-01-06T09:45:05.000Z,
+ "isLabor": true,
+ "isOutlier": false,
"material": [
{
"face": 5,
"id": 5691322462308984,
"numproc": 4,
@@ -21,18 +24,19 @@
"operator": "",
"pallet": 111,
"part": "part222",
"stationGroup": "L/U",
"stationNumber": 2,
- "x": 2018-01-06T09:45:05.000Z,
- "y": 3,
},
"304" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 18,
"cntr": 304,
- "isLabor": false,
+ "elapsedMinsPerMaterial": 18,
+ "endTime": 2018-01-06T09:35:05.000Z,
+ "isLabor": false,
+ "isOutlier": false,
"material": [
{
"face": 5,
"id": 5691322462308984,
"numproc": 4,
@@ -48,18 +52,19 @@
"operator": "",
"pallet": 111,
"part": "part222",
"stationGroup": "MC",
"stationNumber": 1,
- "x": 2018-01-06T09:35:05.000Z,
- "y": 18,
},
"206" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 3,
"cntr": 206,
- "isLabor": true,
+ "elapsedMinsPerMaterial": 3,
+ "endTime": 2018-01-31T09:51:05.000Z,
+ "isLabor": true,
+ "isOutlier": false,
"material": [
{
"face": 1,
"id": 6351644318800774,
"numproc": 4,
@@ -75,18 +80,19 @@
"operator": "",
"pallet": 222,
"part": "part222",
"stationGroup": "L/U",
"stationNumber": 2,
- "x": 2018-01-31T09:51:05.000Z,
- "y": 3,
},
"300" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 6,
"cntr": 300,
- "isLabor": true,
+ "elapsedMinsPerMaterial": 6,
+ "endTime": 2018-01-06T09:09:05.000Z,
+ "isLabor": true,
+ "isOutlier": false,
"material": [
{
"face": 5,
"id": 5691322462308984,
"numproc": 4,
@@ -102,18 +108,19 @@
"operator": "",
"pallet": 111,
"part": "part222",
"stationGroup": "L/U",
"stationNumber": 1,
- "x": 2018-01-06T09:09:05.000Z,
- "y": 6,
},
"204" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 24,
"cntr": 204,
- "isLabor": false,
+ "elapsedMinsPerMaterial": 24,
+ "endTime": 2018-01-31T09:41:05.000Z,
+ "isLabor": false,
+ "isOutlier": false,
"material": [
{
"face": 1,
"id": 6351644318800774,
"numproc": 4,
@@ -129,18 +136,19 @@
"operator": "",
"pallet": 222,
"part": "part222",
"stationGroup": "MC",
"stationNumber": 1,
- "x": 2018-01-31T09:41:05.000Z,
- "y": 24,
},
"106" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 3,
"cntr": 106,
- "isLabor": true,
+ "elapsedMinsPerMaterial": 3,
+ "endTime": 2018-02-02T09:57:05.000Z,
+ "isLabor": true,
+ "isOutlier": false,
"material": [
{
"face": 10,
"id": 6334762256135281,
"numproc": 1,
@@ -156,18 +164,19 @@
"operator": "",
"pallet": 222,
"part": "part111",
"stationGroup": "L/U",
"stationNumber": 2,
- "x": 2018-02-02T09:57:05.000Z,
- "y": 3,
},
"200" => {
"MAD_aboveMinutes": 0.25,
"activeMinutes": 6,
"cntr": 200,
- "isLabor": true,
+ "elapsedMinsPerMaterial": 6,
+ "endTime": 2018-01-31T09:09:05.000Z,
+ "isLabor": true,
+ "isOutlier": false,
"material": [
{
"face": 1,
"id": 6351644318800774,
"numproc": 4,
@@ -183,18 +192,19 @@
"operator": "",
"pallet": 222,
"part": "part222",
"stationGroup": "L/U",
"stationNumber": 1,
- "x": 2018-01-31T09:09:05.000Z,
- "y": 6,
},
"104" => {
"MAD_aboveMinutes": 0.25
|
Client Test Suite:
client/insight/src/cell-status/events.test.ts#L142
Error: Snapshot `processes events in a specific month > estimated cycle times 1` mismatched
- Expected
+ Received
@@ -3,54 +3,54 @@
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
"expectedCycleMinutesForSingleMat": 6,
"medianMinutesForSingleMat": 6,
},
- "{part: part222}, statGroup: MC, operation: progu}" => {
+ "{part: part111}, statGroup: MC, operation: prog6}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 24,
+ "expectedCycleMinutesForSingleMat": 30,
- "medianMinutesForSingleMat": 24,
+ "medianMinutesForSingleMat": 30,
},
- "{part: part222}, statGroup: L/U, operation: UNLOAD-2}" => {
+ "{part: part222}, statGroup: MC, operation: progg}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 3,
+ "expectedCycleMinutesForSingleMat": 24,
- "medianMinutesForSingleMat": 3,
+ "medianMinutesForSingleMat": 24,
},
- "{part: part222}, statGroup: L/U, operation: UNLOAD-1}" => {
+ "{part: part222}, statGroup: MC, operation: progu}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 3,
+ "expectedCycleMinutesForSingleMat": 18,
- "medianMinutesForSingleMat": 3,
+ "medianMinutesForSingleMat": 18,
},
- "{part: part222}, statGroup: L/U, operation: LOAD-1}" => {
+ "{part: part222}, statGroup: L/U, operation: UNLOAD-2}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 6,
+ "expectedCycleMinutesForSingleMat": 3,
- "medianMinutesForSingleMat": 6,
+ "medianMinutesForSingleMat": 3,
},
- "{part: part111}, statGroup: MC, operation: progg}" => {
+ "{part: part222}, statGroup: L/U, operation: UNLOAD-1}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 30,
+ "expectedCycleMinutesForSingleMat": 3,
- "medianMinutesForSingleMat": 30,
+ "medianMinutesForSingleMat": 3,
},
- "{part: part111}, statGroup: L/U, operation: UNLOAD-1}" => {
+ "{part: part222}, statGroup: L/U, operation: LOAD-1}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 3,
+ "expectedCycleMinutesForSingleMat": 6,
- "medianMinutesForSingleMat": 3,
+ "medianMinutesForSingleMat": 6,
},
- "{part: part111}, statGroup: L/U, operation: LOAD-1}" => {
+ "{part: part111}, statGroup: L/U, operation: UNLOAD-1}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 6,
+ "expectedCycleMinutesForSingleMat": 3,
- "medianMinutesForSingleMat": 6,
+ "medianMinutesForSingleMat": 3,
},
- "{part: part222}, statGroup: MC, operation: proge}" => {
+ "{part: part111}, statGroup: L/U, operation: LOAD-1}" => {
"MAD_aboveMinutes": 0.25,
"MAD_belowMinutes": 0.25,
- "expectedCycleMinutesForSingleMat": 18,
+ "expectedCycleMinutesForSingleMat": 6,
- "medianMinutesForSingleMat": 18,
+ "medianMinutesForSingleMat": 6,
},
}
❯ cell-status/events.test.ts:142:67
|
Client Test Suite:
client/insight/src/data/results.cycles.test.ts#L93
TypeError: outlierLoadCycles is not a function
❯ data/results.cycles.test.ts:93:24
|
Client Test Suite:
client/insight/src/data/results.cycles.test.ts#L229
Error: Snapshot `calculates recent cycles > recent cycles 1` mismatched
- Expected
+ Received
@@ -17,11 +17,11 @@
"station": "L/U #1",
},
{
"endActive": 2018-03-05T09:52:00.000Z,
"endOccupied": 2018-03-05T10:00:00.000Z,
- "outlier": true,
+ "outlier": false,
"parts": [
{
"oper": "LOAD",
"part": "part3-1",
},
@@ -47,11 +47,11 @@
"station": "MC #1",
},
{
"endActive": 2018-03-05T07:48:00.000Z,
"endOccupied": 2018-03-05T08:00:00.000Z,
- "outlier": true,
+ "outlier": false,
"parts": [
{
"oper": "abcd",
"part": "part1-1",
},
❯ data/results.cycles.test.ts:229:60
|
Client Test Suite:
client/insight/src/data/results.oee.test.ts#L102
Error: Snapshot `bins actual cycles by day > occupied cycles binned by day and station 1` mismatched
- Expected
+ Received
@@ -3,7 +3,7 @@
"{day: 2018-03-04T06:00:00.000Z}, station: MC #1}" => 35,
"{day: 2018-03-05T06:00:00.000Z}, station: L/U #2}" => 3,
"{day: 2018-03-05T06:00:00.000Z}, station: MC #1}" => 30,
"{day: 2018-03-04T06:00:00.000Z}, station: L/U #2}" => 6,
"{day: 2018-03-05T06:00:00.000Z}, station: L/U #1}" => 5,
- "{day: 2018-03-04T06:00:00.000Z}, station: L/U #3}" => 8,
+ "{day: 2018-03-04T06:00:00.000Z}, station: L/U #3}" => 4,
}
❯ data/results.oee.test.ts:102:33
|
Client Test Suite
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading