File size: 3,312 Bytes
35e80ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
  "$defs": {
    "DrillNote": {
      "properties": {
        "how": {
          "description": "One short sentence on how to do it, using the drill's rep scheme",
          "title": "How",
          "type": "string"
        },
        "name": {
          "description": "Exact name of one drill offered for the priority fix",
          "title": "Name",
          "type": "string"
        }
      },
      "required": [
        "name",
        "how"
      ],
      "title": "DrillNote",
      "type": "object"
    },
    "SolidItem": {
      "properties": {
        "metric_key": {
          "description": "Key of an in-range metric from the input with High or Medium confidence",
          "title": "Metric Key",
          "type": "string"
        },
        "text": {
          "description": "One short friendly sentence on what looks solid. Max 25 words.",
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "metric_key",
        "text"
      ],
      "title": "SolidItem",
      "type": "object"
    },
    "WorkOnItem": {
      "properties": {
        "evidence": {
          "description": "Metric keys from that problem's evidence list that show it",
          "items": {
            "type": "string"
          },
          "title": "Evidence",
          "type": "array"
        },
        "fault_key": {
          "description": "Key of one of the input's problems. Your priority fix comes first.",
          "title": "Fault Key",
          "type": "string"
        },
        "text": {
          "description": "One or two short sentences: what to work on and why. Max 40 words.",
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "fault_key",
        "evidence",
        "text"
      ],
      "title": "WorkOnItem",
      "type": "object"
    }
  },
  "description": "The coaching note shown to the player. Use only facts present in the input.",
  "properties": {
    "caveats": {
      "description": "0 to 3 short honesty notes about data quality",
      "items": {
        "type": "string"
      },
      "title": "Caveats",
      "type": "array"
    },
    "cue": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The priority fix's cue in one short phrase; null if no problems",
      "title": "Cue"
    },
    "drill": {
      "anyOf": [
        {
          "$ref": "#/$defs/DrillNote"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "One drill for the priority fix; null if no problems"
    },
    "headline": {
      "description": "One encouraging sentence summarising the session. Max 18 words.",
      "title": "Headline",
      "type": "string"
    },
    "looks_solid": {
      "description": "0 to 3 items",
      "items": {
        "$ref": "#/$defs/SolidItem"
      },
      "title": "Looks Solid",
      "type": "array"
    },
    "work_on": {
      "description": "0 to 2 items, priority fix first",
      "items": {
        "$ref": "#/$defs/WorkOnItem"
      },
      "title": "Work On",
      "type": "array"
    }
  },
  "required": [
    "headline"
  ],
  "title": "CoachNote",
  "type": "object"
}