test: add unit test suite for core utility modules

Add initial test infrastructure covering:
- skillopt/utils/scoring.py (compute_score, skill_hash)
- skillopt/utils/json_utils.py (extract_json, extract_json_array)
- skillopt/types.py (Edit, Patch dataclass serialization)

All tested functions are pure/deterministic with no LLM dependencies.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Claude Code Agent
2026-06-01 02:04:22 +08:00
parent 8ebede0efd
commit dd8cd993b5
4 changed files with 467 additions and 0 deletions
View File