Commit 6847dc5
Fix algorithm choice test to use AppleAccelerateLUFactorization from DefaultAlgorithmChoice enum
This commit fixes the algorithm choice verification test to use
AppleAccelerateLUFactorization which is actually in the DefaultAlgorithmChoice
enum, instead of FastLUFactorization which maps to standard LUFactorization.
## Algorithm Choice Correction
### **Updated Size Category Algorithm Map**
```julia
size_algorithm_map = [
("tiny", "GenericLUFactorization"),
("small", "RFLUFactorization"),
("medium", "AppleAccelerateLUFactorization"), # Changed from FastLU
("large", "MKLLUFactorization"),
("big", "LUFactorization")
]
```
### **Test Verification**
- **Size 200 (medium)** → Should choose `AppleAccelerateLUFactorization` ✅
- **Boundary tests** → Updated to expect AppleAccelerate for medium category ✅
- **All algorithms** → Now properly in DefaultAlgorithmChoice enum ✅
## Why This Change
**AppleAccelerateLUFactorization** is a proper DefaultAlgorithmChoice enum member,
unlike FastLUFactorization which maps to standard LUFactorization internally.
This allows us to test explicit algorithm choice verification correctly.
## Test Results
**All 109 Tests Pass** ✅:
- Algorithm choice verification works with valid enum members
- Size category boundaries correctly tested
- Each size category has distinct algorithm preference
- Boundary transitions validated at all critical points
This provides accurate testing of the preference system's ability to choose
specific algorithms from the DefaultAlgorithmChoice enum for each size category.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 89bcb9e commit 6847dc5
1 file changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
340 | 339 | | |
341 | | - | |
| 340 | + | |
342 | 341 | | |
343 | 342 | | |
344 | 343 | | |
| |||
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | | - | |
360 | | - | |
| 358 | + | |
361 | 359 | | |
362 | 360 | | |
363 | 361 | | |
| |||
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
373 | | - | |
374 | 371 | | |
375 | 372 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
384 | 381 | | |
385 | 382 | | |
386 | 383 | | |
| |||
0 commit comments