Add an end-to-end test for OsMe::CLI::ScoreRequest #1344

Open
opened 2026-10-25 21:09:48 +00:00 by jared · 0 comments
Owner

Problem

No test runs os-me-eval score end to end. OsMe::CLI::ScoreRequest has no test. Commit 9c348bb3 extracted it on 2026-10-25.

Reproduce

n/a: test-coverage gap, nothing to reproduce.

Approach

Add a test with a stubbed scorer. The test covers the EVAL_DIR path and the print-then-log output order.

Required work: none beyond the acceptance criteria.

Acceptance criteria

  1. Given a stubbed scorer and an EVAL_DIR, when OsMe::CLI::ScoreRequest runs, then it reads the EVAL_DIR path.
  2. Given a stubbed scorer, when OsMe::CLI::ScoreRequest runs, then it prints the result before it logs the result.

Origin

  • Trigger: refactor of the CLI during #1322
  • Improvised this session: none
  • Chain: no coverage ← extraction in 9c348bb3 added no test ← DESIGN (plugins/os-me/lib/os_me/cli/score_request.rb)
  • Root candidate: none found; searched ScoreRequest, score_request, os-me-eval, CLI::Score, os-me score/eval/test/cli titles
  • Where: plugins/os-me/lib/os_me/cli/score_request.rb
  • Session: eb98cdcd-6783-46a0-b7df-cf18a8fe2a56
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-ticket-1325/eb98cdcd-6783-46a0-b7df-cf18a8fe2a56.jsonl

VERDICT: CREATE

## Problem No test runs `os-me-eval score` end to end. `OsMe::CLI::ScoreRequest` has no test. Commit 9c348bb3 extracted it on 2026-10-25. ## Reproduce n/a: test-coverage gap, nothing to reproduce. ## Approach Add a test with a stubbed scorer. The test covers the EVAL_DIR path and the print-then-log output order. Required work: none beyond the acceptance criteria. ## Acceptance criteria 1. Given a stubbed scorer and an EVAL_DIR, when `OsMe::CLI::ScoreRequest` runs, then it reads the EVAL_DIR path. 2. Given a stubbed scorer, when `OsMe::CLI::ScoreRequest` runs, then it prints the result before it logs the result. ## Origin - Trigger: refactor of the CLI during #1322 - Improvised this session: none - Chain: no coverage ← extraction in 9c348bb3 added no test ← DESIGN (plugins/os-me/lib/os_me/cli/score_request.rb) - Root candidate: none found; searched ScoreRequest, score_request, os-me-eval, CLI::Score, os-me score/eval/test/cli titles - Where: plugins/os-me/lib/os_me/cli/score_request.rb - Session: eb98cdcd-6783-46a0-b7df-cf18a8fe2a56 - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-ticket-1325/eb98cdcd-6783-46a0-b7df-cf18a8fe2a56.jsonl VERDICT: CREATE
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1344
No description provided.