Skip to content

Commit 889c54a

Browse files
test: Optimize test file sizes for faster CI execution (batch 2) (#1151)
## Summary This PR continues the test file optimization effort to reduce CI execution time by optimizing large test data files while maintaining test coverage. (Replaces #1150 - rebased onto latest main to fix workflow issues) ## Changes Optimized 5 large test files by reducing redundant data rows while keeping representative samples: ### Files Optimized 1. **Perkin Elmer Envision luminescence_example01.csv** - Reduced from 263 to 151 lines (kept rows A, E, I, M from 16-row plates) - JSON: 3.95MB → 965KB (76% reduction) 2. **Methodical Mind methodical_test_2.txt** - Reduced from 8 to 4 representative rows (A, C, E, G) - JSON: 1.77MB → 867KB (51% reduction) 3. **Agilent Gen5 endpoint_singleplate_filter.txt** - Reduced 384-well plate from 16 to 5 rows (A, D, H, L, P) - JSON: 1.8MB → 567KB (69% reduction) 4. **Agilent Gen5 endpoint_fluorescence_polarization.txt** - Reduced 384-well plate from 16 to 5 rows - JSON: 3.6MB → 1.1MB (69% reduction) 5. **BMG MARS 24-10-16 15-09-52 Luminescence 1536.csv** - Reduced 1536-well plate from 32 to 6 rows (A, G, M, S, Y, e) - JSON: 2.4MB → 460KB (81% reduction) ## Impact - **Total JSON size reduced**: ~14.6MB reduced to ~3.9MB (73% overall reduction) - **Test coverage maintained**: All tests pass with optimized files - **CI speed improvement**: Significantly faster test execution due to smaller files ## Testing - ✅ All parser tests pass with optimized files - ✅ Representative data patterns preserved for proper test coverage - ✅ Linting and type checking pass ## Related - Follows up on #1144 (first batch of optimizations) - Part of ongoing effort to reduce CI execution time --------- Co-authored-by: Claude Opus 4.1 <noreply@anthropic.com>
1 parent 29a9661 commit 889c54a

10 files changed

Lines changed: 22116 additions & 214787 deletions

tests/parsers/agilent_gen5/testdata/fluorescence/endpoint_fluorescence_polarization.json

Lines changed: 2080 additions & 50656 deletions
Large diffs are not rendered by default.

tests/parsers/agilent_gen5/testdata/fluorescence/endpoint_fluorescence_polarization.txt

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Procedure Details
2020

2121
Plate Type Corning 384 well black clear bottom
2222
Well Selection Runtime
23-
Eject plate on completion
23+
Eject plate on completion
2424
Set Temperature Setpoint 25°C, Gradient 0 °C
2525
Preheat before moving to next step
2626
Shake Orbital: 0:10 (MM:SS)
@@ -42,20 +42,9 @@ Read FP Read
4242
Layout
4343
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
4444
A SPL1 SPL6 SPL11 SPL16 SPL21 SPL26 SPL31 SPL36 SPL41 SPL46 SPL51 SPL56 SPL61 SPL66 SPL71 SPL76 SPL81 SPL86 SPL91 SPL96 SPL101 SPL106 SPL111 SPL116 Well ID
45-
B SPL1 SPL6 SPL11 SPL16 SPL21 SPL26 SPL31 SPL36 SPL41 SPL46 SPL51 SPL56 SPL61 SPL66 SPL71 SPL76 SPL81 SPL86 SPL91 SPL96 SPL101 SPL106 SPL111 SPL116 Well ID
46-
C SPL1 SPL6 SPL11 SPL16 SPL21 SPL26 SPL31 SPL36 SPL41 SPL46 SPL51 SPL56 SPL61 SPL66 SPL71 SPL76 SPL81 SPL86 SPL91 SPL96 SPL101 SPL106 SPL111 SPL116 Well ID
4745
D SPL2 SPL7 SPL12 SPL17 SPL22 SPL27 SPL32 SPL37 SPL42 SPL47 SPL52 SPL57 SPL62 SPL67 SPL72 SPL77 SPL82 SPL87 SPL92 SPL97 SPL102 SPL107 SPL112 SPL117 Well ID
48-
E SPL2 SPL7 SPL12 SPL17 SPL22 SPL27 SPL32 SPL37 SPL42 SPL47 SPL52 SPL57 SPL62 SPL67 SPL72 SPL77 SPL82 SPL87 SPL92 SPL97 SPL102 SPL107 SPL112 SPL117 Well ID
49-
F SPL2 SPL7 SPL12 SPL17 SPL22 SPL27 SPL32 SPL37 SPL42 SPL47 SPL52 SPL57 SPL62 SPL67 SPL72 SPL77 SPL82 SPL87 SPL92 SPL97 SPL102 SPL107 SPL112 SPL117 Well ID
50-
G SPL3 SPL8 SPL13 SPL18 SPL23 SPL28 SPL33 SPL38 SPL43 SPL48 SPL53 SPL58 SPL63 SPL68 SPL73 SPL78 SPL83 SPL88 SPL93 SPL98 SPL103 SPL108 SPL113 SPL118 Well ID
5146
H SPL3 SPL8 SPL13 SPL18 SPL23 SPL28 SPL33 SPL38 SPL43 SPL48 SPL53 SPL58 SPL63 SPL68 SPL73 SPL78 SPL83 SPL88 SPL93 SPL98 SPL103 SPL108 SPL113 SPL118 Well ID
52-
I SPL3 SPL8 SPL13 SPL18 SPL23 SPL28 SPL33 SPL38 SPL43 SPL48 SPL53 SPL58 SPL63 SPL68 SPL73 SPL78 SPL83 SPL88 SPL93 SPL98 SPL103 SPL108 SPL113 SPL118 Well ID
53-
J SPL4 SPL9 SPL14 SPL19 SPL24 SPL29 SPL34 SPL39 SPL44 SPL49 SPL54 SPL59 SPL64 SPL69 SPL74 SPL79 SPL84 SPL89 SPL94 SPL99 SPL104 SPL109 SPL114 SPL119 Well ID
54-
K SPL4 SPL9 SPL14 SPL19 SPL24 SPL29 SPL34 SPL39 SPL44 SPL49 SPL54 SPL59 SPL64 SPL69 SPL74 SPL79 SPL84 SPL89 SPL94 SPL99 SPL104 SPL109 SPL114 SPL119 Well ID
5547
L SPL4 SPL9 SPL14 SPL19 SPL24 SPL29 SPL34 SPL39 SPL44 SPL49 SPL54 SPL59 SPL64 SPL69 SPL74 SPL79 SPL84 SPL89 SPL94 SPL99 SPL104 SPL109 SPL114 SPL119 Well ID
56-
M SPL5 SPL10 SPL15 SPL20 SPL25 SPL30 SPL35 SPL40 SPL45 SPL50 SPL55 SPL60 SPL65 SPL70 SPL75 SPL80 SPL85 SPL90 SPL95 SPL100 SPL105 SPL110 SPL115 SPL120 Well ID
57-
N SPL5 SPL10 SPL15 SPL20 SPL25 SPL30 SPL35 SPL40 SPL45 SPL50 SPL55 SPL60 SPL65 SPL70 SPL75 SPL80 SPL85 SPL90 SPL95 SPL100 SPL105 SPL110 SPL115 SPL120 Well ID
58-
O SPL5 SPL10 SPL15 SPL20 SPL25 SPL30 SPL35 SPL40 SPL45 SPL50 SPL55 SPL60 SPL65 SPL70 SPL75 SPL80 SPL85 SPL90 SPL95 SPL100 SPL105 SPL110 SPL115 SPL120 Well ID
5948
P SPL1 SPL2 SPL3 SPL4 SPL5 SPL6 SPL7 SPL8 SPL9 SPL10 SPL11 SPL12 SPL13 SPL14 SPL15 SPL16 SPL17 SPL18 SPL19 SPL20 SPL21 SPL22 SPL23 SPL24 Well ID
6049

6150

@@ -73,76 +62,21 @@ A 523 518 415 369 321 282 275 255 273 262 229 259 829 853 849 841 829 842 868 85
7362
523 518 415 369 321 282 275 255 273 262 229 259 829 853 849 841 829 842 868 854 892 905 867 908 Parallel Intensity
7463
433 372 281 243 195 164 156 141 155 145 120 142 602 611 601 585 566 563 562 538 544 548 522 561 Perpendicular Intensity
7564
145 164 193 206 244 265 276 288 276 287 312 292 159 165 171 123 189 199 214 227 242 246 248 236 Polarization
76-
B 569 513 413 368 327 319 297 273 275 274 242 262 837 884 858 886 851 862 871 914 886 916 910 954 FP Read:485/20,528/20 [Parallel]
77-
414 361 278 238 201 199 174 154 152 150 130 142 605 640 601 614 576 576 562 577 542 563 552 587 FP Read:485/20,528/20 [Perpendicular]
78-
569 513 413 368 327 319 297 273 275 274 242 262 837 884 858 886 851 862 871 914 886 916 910 954 Parallel Intensity
79-
414 361 278 238 201 199 174 154 152 150 130 142 605 640 601 614 576 576 562 577 542 563 552 587 Perpendicular Intensity
80-
158 174 195 215 239 232 261 279 288 292 301 297 161 160 176 181 193 199 216 226 241 239 245 238 Polarization
81-
C 557 543 433 381 352 340 308 286 291 313 259 309 860 886 870 904 889 899 908 944 958 933 943 987 FP Read:485/20,528/20 [Parallel]
82-
400 392 286 248 216 205 177 163 162 177 136 179 619 640 609 629 598 597 585 597 582 573 565 609 FP Read:485/20,528/20 [Perpendicular]
83-
557 543 433 381 352 340 308 286 291 313 259 309 860 886 870 904 889 899 908 944 958 933 943 987 Parallel Intensity
84-
400 392 286 248 216 205 177 163 162 177 136 179 619 640 609 629 598 597 585 597 582 573 565 609 Perpendicular Intensity
85-
164 161 204 211 239 248 270 274 285 278 311 266 163 161 176 179 196 202 216 225 244 239 251 237 Polarization
8665
D 770 766 717 665 617 553 508 464 344 277 291 223 239 815 811 821 795 817 230 840 890 895 872 951 FP Read:485/20,528/20 [Parallel]
8766
681 670 615 561 504 446 393 355 227 161 165 155 657 657 634 638 595 608 566 572 561 549 525 577 FP Read:485/20,528/20 [Perpendicular]
8867
770 766 717 665 617 553 508 464 344 277 291 223 239 815 811 821 795 817 230 840 890 895 872 951 Parallel Intensity
8968
681 670 615 561 504 446 393 355 227 161 165 155 657 657 634 638 595 608 566 572 561 549 525 577 Perpendicular Intensity
9069
61 67 77 85 101 107 128 133 205 265 276 287 104 107 122 125 144 147 171 190 227 240 248 245 Polarization
91-
E 777 769 719 677 633 573 536 481 335 279 288 269 239 239 820 823 234 824 819 838 901 895 884 934 FP Read:485/20,528/20 [Parallel]
92-
689 678 620 579 519 468 426 366 220 158 161 149 661 658 644 644 606 609 578 569 565 548 530 569 FP Read:485/20,528/20 [Perpendicular]
93-
777 769 719 677 633 573 536 481 335 279 288 269 239 239 820 823 234 824 819 838 901 895 884 934 Parallel Intensity
94-
689 678 620 579 519 468 426 366 220 158 161 149 661 658 644 644 606 609 578 569 565 548 530 569 Perpendicular Intensity
95-
60 63 74 78 99 101 114 136 207 277 283 287 101 103 120 122 140 150 173 191 229 240 250 243 Polarization
96-
F 232 767 731 693 668 613 556 521 367 287 300 282 236 837 837 849 839 866 871 864 937 941 918 950 FP Read:485/20,528/20 [Parallel]
97-
706 676 621 595 546 505 438 397 248 165 168 156 656 684 660 659 631 642 622 593 588 575 558 584 FP Read:485/20,528/20 [Perpendicular]
98-
232 767 731 693 668 613 556 521 367 287 300 282 236 837 837 849 839 866 871 864 937 941 918 950 Parallel Intensity
99-
706 676 621 595 546 505 438 397 248 165 168 156 656 684 660 659 631 642 622 593 588 575 558 584 Perpendicular Intensity
100-
64 63 81 76 100 97 119 135 193 270 282 288 103 101 118 126 141 149 167 186 229 241 244 239 Polarization
101-
G 18 38 26 36 33 29 30 28 33 27 28 32 31 25 26 23 26 24 25 23 33 22 20 17 FP Read:485/20,528/20 [Parallel]
102-
12 24 15 23 21 19 19 19 23 21 22 22 21 19 19 17 18 15 16 13 19 12 12 10 FP Read:485/20,528/20 [Perpendicular]
103-
18 38 26 36 33 29 30 28 33 27 28 32 31 25 26 23 26 24 25 23 33 22 20 17 Parallel Intensity
104-
12 24 15 23 21 19 19 19 23 21 22 22 21 19 19 17 18 15 16 13 19 12 12 10 Perpendicular Intensity
105-
200 226 268 220 222 208 224 191 179 125 120 185 192 136 156 150 182 231 220 278 269 294 250 259 Polarization
10670
H 16 16 16 16 16 15 16 16 16 14 14 20 18 15 15 15 16 16 16 16 17 16 16 16 FP Read:485/20,528/20 [Parallel]
10771
9 9 10 10 9 10 11 10 10 10 12 17 14 11 10 10 10 9 9 9 10 9 8 10 FP Read:485/20,528/20 [Perpendicular]
10872
16 16 16 16 16 15 16 16 16 14 14 20 18 15 15 15 16 16 16 16 17 16 16 16 Parallel Intensity
10973
9 9 10 10 9 10 11 10 10 10 12 17 14 11 10 10 10 9 9 9 10 9 8 10 Perpendicular Intensity
11074
223 223 231 231 223 200 185 231 231 167 77 81 125 154 200 200 231 223 223 223 259 223 333 231 Polarization
111-
I 16 17 16 16 15 15 15 15 15 15 15 25 21 14 15 15 15 16 15 16 17 16 16 16 FP Read:485/20,528/20 [Parallel]
112-
10 10 9 10 9 10 10 10 10 10 11 19 15 12 10 10 9 10 9 10 9 10 9 9 FP Read:485/20,528/20 [Perpendicular]
113-
16 17 16 16 15 15 15 15 15 15 15 25 21 14 15 15 15 16 15 16 17 16 16 16 Parallel Intensity
114-
10 10 9 10 9 10 10 10 10 10 11 19 15 12 10 10 9 10 9 10 9 10 9 9 Perpendicular Intensity
115-
231 259 223 231 250 200 200 200 200 200 154 136 167 77 200 200 250 231 250 231 308 231 223 223 Polarization
116-
J 15 16 15 16 15 15 15 14 14 13 13 22 21 14 13 14 15 15 15 16 16 17 16 16 FP Read:485/20,528/20 [Parallel]
117-
10 10 10 10 10 10 11 11 11 12 12 15 15 12 11 10 10 10 11 10 10 10 9 10 FP Read:485/20,528/20 [Perpendicular]
118-
15 16 15 16 15 15 15 14 14 13 13 22 21 14 13 14 15 15 15 16 16 17 16 16 Parallel Intensity
119-
10 10 10 10 10 10 11 11 11 12 12 15 15 12 11 10 10 10 11 10 10 10 9 10 Perpendicular Intensity
120-
200 231 200 231 200 200 154 120 120 40 40 189 167 77 83 167 200 200 154 231 231 259 223 231 Polarization
121-
K 15 16 15 15 15 15 13 14 14 13 14 21 19 14 13 14 14 14 13 14 15 16 14 15 FP Read:485/20,528/20 [Parallel]
122-
11 9 10 11 10 11 11 12 12 12 11 14 12 11 11 12 11 11 10 10 10 10 10 10 FP Read:485/20,528/20 [Perpendicular]
123-
15 16 15 15 15 15 13 14 14 13 14 21 19 14 13 14 14 14 13 14 15 16 14 15 Parallel Intensity
124-
11 9 10 11 10 11 11 12 12 12 11 14 12 11 11 12 11 11 10 10 10 10 10 10 Perpendicular Intensity
125-
154 223 200 154 200 154 83 77 77 40 120 200 226 120 83 77 120 120 130 167 200 231 167 200 Polarization
12675
L 14 15 15 14 14 14 13 13 13 14 14 20 19 14 13 13 13 14 13 14 15 15 15 14 FP Read:485/20,528/20 [Parallel]
12776
10 10 10 10 11 11 11 11 12 11 11 12 11 10 11 11 11 11 11 11 10 10 9 11 FP Read:485/20,528/20 [Perpendicular]
12877
14 15 15 14 14 14 13 13 13 14 14 20 19 14 13 13 13 14 13 14 15 15 15 14 Parallel Intensity
12978
10 10 10 10 11 11 11 11 12 11 11 12 11 10 11 11 11 11 11 11 10 10 9 11 Perpendicular Intensity
13079
167 200 200 167 120 120 83 83 40 120 120 250 267 167 83 83 83 120 83 120 200 200 250 120 Polarization
131-
M 14 15 14 15 13 14 14 14 14 14 14 21 20 14 13 14 13 13 13 15 14 15 15 15 FP Read:485/20,528/20 [Parallel]
132-
10 10 10 10 10 11 11 12 11 11 10 13 12 10 10 11 11 10 11 11 10 10 9 10 FP Read:485/20,528/20 [Perpendicular]
133-
14 15 14 15 13 14 14 14 14 14 14 21 20 14 13 14 13 13 13 15 14 15 15 15 Parallel Intensity
134-
10 10 10 10 10 11 11 12 11 11 10 13 12 10 10 11 11 10 11 11 10 10 9 10 Perpendicular Intensity
135-
167 200 167 200 130 120 120 77 120 120 167 235 250 167 130 120 83 130 83 154 167 200 250 200 Polarization
136-
N 14 16 14 15 14 14 13 13 14 15 14 19 20 15 14 15 14 14 13 14 14 15 15 15 FP Read:485/20,528/20 [Parallel]
137-
11 10 10 10 10 10 11 10 10 10 9 11 10 9 10 11 10 11 11 10 10 9 10 10 FP Read:485/20,528/20 [Perpendicular]
138-
14 16 14 15 14 14 13 13 14 15 14 19 20 15 14 15 14 14 13 14 14 15 15 15 Parallel Intensity
139-
11 10 10 10 10 10 11 10 10 10 9 11 10 9 10 11 10 11 11 10 10 9 10 10 Perpendicular Intensity
140-
120 231 167 200 167 167 83 130 167 200 217 267 333 250 167 154 167 120 83 167 167 250 200 200 Polarization
141-
O 28 26 26 31 29 24 22 24 22 30 23 24 29 26 24 24 21 20 19 18 19 21 18 25 FP Read:485/20,528/20 [Parallel]
142-
16 15 15 17 17 16 15 15 13 18 13 13 16 15 14 14 13 14 13 11 12 12 11 16 FP Read:485/20,528/20 [Perpendicular]
143-
28 26 26 31 29 24 22 24 22 30 23 24 29 26 24 24 21 20 19 18 19 21 18 25 Parallel Intensity
144-
16 15 15 17 17 16 15 15 13 18 13 13 16 15 14 14 13 14 13 11 12 12 11 16 Perpendicular Intensity
145-
273 268 268 292 261 200 189 231 257 250 278 297 289 268 263 263 235 176 188 241 226 273 241 220 Polarization
14680
P 992 985 1049 1888 1857 1903 1881 1236 1846 1870 1860 1786 1736 1736 1779 1724 753 742 749 757 758 777 772 769 FP Read:485/20,528/20 [Parallel]
14781
677 671 715 1278 1251 1290 1276 1225 1250 1263 1265 1209 1187 1187 1222 1188 479 475 478 481 485 492 496 494 FP Read:485/20,528/20 [Perpendicular]
14882
992 985 1049 1888 1857 1903 1881 1236 1846 1870 1860 1786 1736 1736 1779 1724 753 742 749 757 758 777 772 769 Parallel Intensity

0 commit comments

Comments
 (0)