Commit Graph

4 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
¨NW¨
1703247651 feat: add Docker-based evolution testing with precise measurements
- Add docker/evolution-test/Dockerfile with bun, TypeScript
- Add docker/evolution-test/docker-compose.yml for parallel workflow testing
- Add run-evolution-test.sh and .bat scripts for cross-platform
- Update pipeline-judge.md with Docker-first approach:
  - Millisecond precision timing (date +%s%3N)
  - 2 decimal places for test pass rate and coverage
  - Docker container for consistent test environment
  - Multiple workflow types (feature/bugfix/refactor/security)

Enables:
- Parallel testing with docker-compose
- Consistent environment across machines
- Precise fitness measurements (ms, 2 decimals)
- Multi-workflow testing in containers
2026-04-06 00:48:21 +01:00