Score quality

From OpenHands/extensions · View interactive version

Score quality is an AI agent skill from the GitHub repository OpenHands/extensions. Score code migration quality based on coverage and correctness. Evaluates how well target code represents source functionality.

How to use this skill

Skill file

Evaluate migration quality by scoring coverage and correctness for each source-target file pair.

Prerequisite: A migration mapping file must exist (see migration-mapping skill).

See references/scoring-criteria.md for the 1-5 scoring scales.

Output Format

Save scores as a JSON file:

{
  "source_file_1.cbl": {
    "coverage": 4,
    "correctness": 5,
    "justification": "All calculation logic migrated. Tax rounding matches COBOL behavior."
  }
}

Evaluation Process

For each source file and its mapped target files:

  1. Identify key functionality in the source
  1. Check coverage in the target
  1. Verify correctness
  1. Document justification

Incremental Scoring

If a score file already exists, update it with new scores rather than replacing it entirely.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.