Files
hiha-arvio/tests
Ismo Vuorinen e0546724f5 fix: align implementation with spec and expand estimate pools 5x
Critical fixes per spec.md requirements:
- Restructure EstimateService with two-pool algorithm (gentle vs hard shake)
- Expand all estimate pools to 5x spec size for more variety:
  * Work gentle: 7 → 35 estimates
  * Work hard: 12 → 60 estimates
  * Generic gentle: 8 → 40 estimates
  * Generic hard: 15 → 75 estimates
  * Humorous: 9 → 45 estimates
- Add NSMotionUsageDescription to iOS Info.plist (required for accelerometer)
- Add code coverage enforcement to test workflow (95% minimum per spec)
- Update all tests to match new two-pool selection algorithm
- Use 0.5 intensity threshold to choose between gentle/hard pools

All 193 tests passing.
Addresses critical spec deviations identified in code review.
2025-11-19 00:56:09 +02:00
..