Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve validation: YAML data files and set KADI_COMMANDS_DEFAULT_STOP #339

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions kadi/commands/tests/data/validator_dither_2022297_5_False.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
vals_compressed:
state:
- 1.0
- 1.0
- 0.0
- 0.0
state_time:
- 2022:292:00:00:04.933
- 2022:293:16:29:03.542
- 2022:293:16:29:11.742
- 2022:296:23:59:58.871
tlm:
- 1.0
- 1.0
- 0.0
- 0.0
- 1.0
- 1.0
- 0.0
- 0.0
tlm_time:
- 2022:292:00:00:04.933
- 2022:292:11:19:10.735
- 2022:292:11:19:18.935
- 2022:292:11:30:06.735
- 2022:292:11:30:14.935
- 2022:293:16:29:36.342
- 2022:293:16:29:44.542
- 2022:296:23:59:58.871
violations:
start: []
stop: []
34 changes: 34 additions & 0 deletions kadi/commands/tests/data/validator_dither_2022297_5_True.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
vals_compressed:
state:
- 1.0
- 1.0
- 0.0
- 0.0
state_time:
- 2022:292:00:00:04.933
- 2022:293:16:29:03.542
- 2022:293:16:29:11.742
- 2022:296:23:59:58.871
tlm:
- 1.0
- 1.0
- 0.0
- 0.0
- 1.0
- 1.0
- 0.0
- 0.0
tlm_time:
- 2022:292:00:00:04.933
- 2022:292:11:19:10.735
- 2022:292:11:19:18.935
- 2022:292:11:30:06.735
- 2022:292:11:30:14.935
- 2022:293:16:29:36.342
- 2022:293:16:29:44.542
- 2022:296:23:59:58.871
violations:
start:
- 2022:292:11:19:14.835
stop:
- 2022:292:11:30:10.835
36 changes: 36 additions & 0 deletions kadi/commands/tests/data/validator_hetg_2022297_5_False.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
vals_compressed:
state:
- 3.0
- 3.0
- 0.0
- 0.0
- 2.0
- 2.0
- 3.0
- 3.0
state_time:
- 2022:292:00:00:21.333
- 2022:292:03:29:43.734
- 2022:292:03:30:16.534
- 2022:292:14:56:53.336
- 2022:292:14:57:26.136
- 2022:292:14:59:37.336
- 2022:292:15:00:10.136
- 2022:296:23:59:58.871
tlm:
- 3.0
- 3.0
- 0.0
- 0.0
- 3.0
- 3.0
tlm_time:
- 2022:292:00:00:21.333
- 2022:292:03:29:10.934
- 2022:292:03:29:43.734
- 2022:292:14:56:20.536
- 2022:292:14:56:53.336
- 2022:296:23:59:58.871
violations:
start: []
stop: []
36 changes: 36 additions & 0 deletions kadi/commands/tests/data/validator_hetg_2022297_5_True.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
vals_compressed:
state:
- 3.0
- 3.0
- 0.0
- 0.0
- 2.0
- 2.0
- 3.0
- 3.0
state_time:
- 2022:292:00:00:21.333
- 2022:292:03:29:43.734
- 2022:292:03:30:16.534
- 2022:292:14:56:53.336
- 2022:292:14:57:26.136
- 2022:292:14:59:37.336
- 2022:292:15:00:10.136
- 2022:296:23:59:58.871
tlm:
- 3.0
- 3.0
- 0.0
- 0.0
- 3.0
- 3.0
tlm_time:
- 2022:292:00:00:21.333
- 2022:292:03:29:10.934
- 2022:292:03:29:43.734
- 2022:292:14:56:20.536
- 2022:292:14:56:53.336
- 2022:296:23:59:58.871
violations:
start: []
stop: []
30 changes: 30 additions & 0 deletions kadi/commands/tests/data/validator_letg_2022297_5_False.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
vals_compressed:
state:
- 3.0
- 3.0
state_time:
- 2022:292:00:00:21.333
- 2022:296:23:59:58.871
tlm:
- 3.0
- 3.0
- 0.0
- 3.0
- 3.0
- 0.0
- 0.0
- 3.0
- 3.0
tlm_time:
- 2022:292:00:00:21.333
- 2022:293:16:27:00.542
- 2022:293:16:27:33.342
- 2022:293:16:28:06.142
- 2022:294:16:31:50.947
- 2022:294:16:33:02.319
- 2022:295:17:22:38.064
- 2022:295:17:23:10.864
- 2022:296:23:59:58.871
violations:
start: []
stop: []
32 changes: 32 additions & 0 deletions kadi/commands/tests/data/validator_letg_2022297_5_True.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
vals_compressed:
state:
- 3.0
- 3.0
state_time:
- 2022:292:00:00:21.333
- 2022:296:23:59:58.871
tlm:
- 3.0
- 3.0
- 0.0
- 3.0
- 3.0
- 0.0
- 0.0
- 3.0
- 3.0
tlm_time:
- 2022:292:00:00:21.333
- 2022:293:16:27:00.542
- 2022:293:16:27:33.342
- 2022:293:16:28:06.142
- 2022:294:16:31:50.947
- 2022:294:16:33:02.319
- 2022:295:17:22:38.064
- 2022:295:17:23:10.864
- 2022:296:23:59:58.871
violations:
start:
- 2022:294:16:32:26.633
stop:
- 2022:295:17:22:54.464
168 changes: 168 additions & 0 deletions kadi/commands/tests/data/validator_obsid_2022297_5_False.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
vals_compressed:
state:
- 27307.0
- 27307.0
- 27308.0
- 27308.0
- 27309.0
- 27309.0
- 27310.0
- 27310.0
- 27311.0
- 27311.0
- 45158.0
- 45158.0
- 45157.0
- 45157.0
- 45156.0
- 45156.0
- 45155.0
- 45155.0
- 45154.0
- 45154.0
- 45153.0
- 45153.0
- 45152.0
- 45152.0
- 45151.0
- 45151.0
- 25805.0
- 25805.0
- 25194.0
- 25194.0
- 27515.0
- 27515.0
- 27511.0
- 27511.0
- 25806.0
- 25806.0
- 27506.0
- 27506.0
- 0.0
- 0.0
state_time:
- 2022:292:00:00:00.833
- 2022:292:00:42:04.383
- 2022:292:00:42:06.433
- 2022:292:01:23:53.583
- 2022:292:01:23:55.633
- 2022:292:02:05:44.833
- 2022:292:02:05:46.883
- 2022:292:02:47:34.033
- 2022:292:02:47:36.083
- 2022:292:03:29:25.284
- 2022:292:03:29:27.334
- 2022:292:05:03:06.384
- 2022:292:05:03:08.434
- 2022:292:06:10:53.584
- 2022:292:06:10:55.634
- 2022:292:07:20:58.134
- 2022:292:07:21:00.184
- 2022:292:08:06:28.735
- 2022:292:08:06:30.785
- 2022:292:08:58:14.485
- 2022:292:08:58:16.535
- 2022:292:11:57:57.485
- 2022:292:11:57:59.535
- 2022:292:13:27:53.086
- 2022:292:13:27:55.136
- 2022:292:15:16:03.386
- 2022:292:15:16:05.436
- 2022:292:19:51:20.237
- 2022:292:19:51:22.287
- 2022:293:00:40:33.488
- 2022:293:00:40:35.538
- 2022:293:05:29:46.739
- 2022:293:05:29:48.789
- 2022:293:11:08:59.141
- 2022:293:11:09:01.191
- 2022:293:14:34:52.442
- 2022:293:14:34:54.492
- 2022:293:16:27:55.892
- 2022:293:16:27:57.942
- 2022:296:23:59:58.871
tlm:
- 27307.0
- 27307.0
- 27308.0
- 27308.0
- 27309.0
- 27309.0
- 27310.0
- 27310.0
- 27311.0
- 27311.0
- 45158.0
- 45158.0
- 45157.0
- 45157.0
- 45156.0
- 45156.0
- 45155.0
- 45155.0
- 45154.0
- 45154.0
- 45153.0
- 45153.0
- 45152.0
- 45152.0
- 45151.0
- 45151.0
- 25805.0
- 25805.0
- 25194.0
- 25194.0
- 27515.0
- 27515.0
- 27511.0
- 27511.0
- 25806.0
- 25806.0
- 27506.0
- 27506.0
- 0.0
- 0.0
tlm_time:
- 2022:292:00:00:00.833
- 2022:292:00:42:04.383
- 2022:292:00:42:06.433
- 2022:292:01:23:53.583
- 2022:292:01:23:55.633
- 2022:292:02:05:42.783
- 2022:292:02:05:44.833
- 2022:292:02:47:34.033
- 2022:292:02:47:36.083
- 2022:292:03:29:23.234
- 2022:292:03:29:25.284
- 2022:292:05:03:06.384
- 2022:292:05:03:08.434
- 2022:292:06:10:53.584
- 2022:292:06:10:55.634
- 2022:292:07:20:58.134
- 2022:292:07:21:00.184
- 2022:292:08:06:28.735
- 2022:292:08:06:30.785
- 2022:292:08:58:14.485
- 2022:292:08:58:16.535
- 2022:292:11:57:55.435
- 2022:292:11:57:57.485
- 2022:292:13:27:51.036
- 2022:292:13:27:53.086
- 2022:292:15:16:03.386
- 2022:292:15:16:05.436
- 2022:292:19:51:20.237
- 2022:292:19:51:22.287
- 2022:293:00:40:31.438
- 2022:293:00:40:33.488
- 2022:293:05:29:44.689
- 2022:293:05:29:46.739
- 2022:293:11:08:57.091
- 2022:293:11:08:59.141
- 2022:293:14:34:50.392
- 2022:293:14:34:52.442
- 2022:293:16:27:55.892
- 2022:293:16:27:57.942
- 2022:296:23:59:58.871
violations:
start: []
stop: []
Loading