Commit Graph

3 Commits

Author SHA1 Message Date
¨NW¨
01ce40ae8a restore: Docker evolution test files for remote usage
Docker files restored for use on other machines with Docker/WSL2.

Available test methods:
1. Docker (isolated environment):
   docker-compose -f docker/evolution-test/docker-compose.yml up evolution-feature

2. Local (bun runtime):
   docker/evolution-test/run-local-test.bat feature
   ./docker/evolution-test/run-local-test.sh feature

Both methods provide:
- Millisecond precision timing
- Fitness score with 2 decimal places
- JSONL logging to .kilo/logs/fitness-history.jsonl
2026-04-06 01:36:26 +01:00
¨NW¨
b5c5f5ba82 chore: remove Docker test files - use local testing instead
Docker Desktop removed from system. Evolution testing uses local bun runtime.

Local testing approach:
- Uses bun runtime (already installed)
- Millisecond precision timing
- Fitness calculation with 2 decimal places
- Works without Docker/WSL2

Usage:
  powershell: docker/evolution-test/run-local-test.bat feature
  bash: ./docker/evolution-test/run-local-test.sh feature

Tests verified:
  - 54/54 tests pass (100%)
  - Time: 214.16ms precision
  - Fitness: 1.00 (PASS)
2026-04-06 01:34:24 +01:00
¨NW¨
0dbc15b602 feat: add local fallback scripts for evolution testing
- run-local-test.sh - Bash script for Linux/macOS
- run-local-test.bat - Batch script for Windows
- PowerShell timing with millisecond precision
- Fitness calculation with 2 decimal places
- Works without Docker (less precise environment)
- Logs to .kilo/logs/fitness-history.jsonl

Usage:
  ./docker/evolution-test/run-local-test.sh feature
  docker\evolution-test\run-local-test.bat feature

Both scripts calculate:
- Test pass rate (2 decimals)
- Quality gates (5 gates)
- Efficiency score (time/normalized)
- Final fitness (weighted average)
2026-04-06 01:03:54 +01:00