summaryrefslogtreecommitdiff
path: root/evals/cases/git-workflow-and-versioning.json
blob: 0cc72d039c49f57193a36a62249fbecf8dc25f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "skill_name": "git-workflow-and-versioning",
  "trigger": {
    "positive": [
      {
        "prompt": "Split this messy working tree into clean atomic commits",
        "top_k": 3
      },
      {
        "prompt": "Resolve the merge conflict on this feature branch",
        "top_k": 3
      },
      {
        "prompt": "How should we tag and version this release?",
        "top_k": 3
      },
      {
        "prompt": "Commit this work and open a pull request",
        "top_k": 3
      },
      {
        "prompt": "Write me a commit message for this diff.",
        "top_k": 1
      },
      {
        "prompt": "Write the changelog entry for this diff.",
        "top_k": 1
      }
    ],
    "negative": [
      {
        "prompt": "Add a loading spinner to the submit button"
      },
      {
        "prompt": "Write integration tests for the payments API",
        "owner": "test-driven-development"
      },
      {
        "prompt": "This test started failing right after this change, here is the diff, what broke?",
        "owner": "debugging-and-error-recovery"
      }
    ]
  },
  "evals": [
    {
      "id": 1,
      "prompt": "The working tree mixes a refactor, a bug fix, and a new feature. Turn it into a clean history.",
      "expected_output": "Separate atomic commits with clear messages, each independently green",
      "files": [
        "git-workflow-and-versioning"
      ],
      "expectations": [
        "Refactor, fix, and feature land as separate commits",
        "Commit messages are imperative and standalone",
        "Each commit leaves the tree in a working state"
      ]
    }
  ]
}