Commit 3af9fc8
committed
fix: implement small dataset loopIteration sequencing fix
✅ PRIORITY #1 FIXED: Small dataset chaos resolved
- Before: 100, 99, 98, 97, 96, 95, 93, 94, 92... (chaotic)
- After: 0, 1, 2, 3, 4, 5, 6, 7, 8... (consecutive)
✅ Implementation:
- Sort by (loopIteration, timestamp) compound key for logical sequence
- Apply minimal monotonic time correction for blackbox_decode compatibility
- Preserves all data integrity from master (250.6V voltage, correct motor scaling)
✅ Performance verified:
- Small datasets: Perfect loopIteration sequencing
- Large datasets: Same data quality and 3244.18 Hz sample rate
- No regression in data conversion pipeline
Addresses priorities #1, #5, #6, #7 from branch analysis1 parent 19ddaec commit 3af9fc8
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
1069 | | - | |
1070 | | - | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1071 | 1087 | | |
1072 | 1088 | | |
1073 | 1089 | | |
1074 | 1090 | | |
1075 | 1091 | | |
1076 | 1092 | | |
1077 | | - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1078 | 1097 | | |
1079 | 1098 | | |
1080 | 1099 | | |
| |||
0 commit comments