File size: 2,695 Bytes
ab2649c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Screenplay Revision Evaluation case",
  "description": "One line of data/cases.jsonl: a short scene, a revision constraint, the mechanical checks that measure the constraint, and the questions a human reviewer answers. Every field is required; reference_output is the only nullable one.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "title",
    "input",
    "instruction",
    "anchor",
    "max_words",
    "checks",
    "review_questions",
    "reference_output",
    "grading",
    "provenance",
    "license"
  ],
  "properties": {
    "id": {
      "description": "Unique case ID.",
      "type": "string",
      "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$"
    },
    "title": {
      "description": "The constraint in one line.",
      "type": "string",
      "minLength": 1
    },
    "input": {
      "description": "The original scene text to revise.",
      "type": "string",
      "minLength": 1
    },
    "instruction": {
      "description": "The full revision instruction given to a tool or writer.",
      "type": "string",
      "minLength": 1
    },
    "anchor": {
      "description": "Literal text that must survive the revision; it appears in the input.",
      "type": "string",
      "minLength": 1
    },
    "max_words": {
      "description": "Word ceiling for the revised scene.",
      "type": "integer",
      "minimum": 1
    },
    "checks": {
      "description": "Mechanical checks, one per kind. max_words and contains_exact repeat the fields of the same name; no_preface has an empty value.",
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["kind", "value"],
        "properties": {
          "kind": { "enum": ["max_words", "contains_exact", "no_preface"] },
          "value": { "type": "string" }
        }
      }
    },
    "review_questions": {
      "description": "Questions a human reviewer answers about dramatic quality and meaning.",
      "type": "array",
      "minItems": 1,
      "items": { "type": "string", "minLength": 1 }
    },
    "reference_output": {
      "description": "Null by design: a creative edit has more than one valid version.",
      "type": "null"
    },
    "grading": {
      "description": "How a revision is judged.",
      "type": "string",
      "minLength": 1
    },
    "provenance": {
      "description": "Where the case comes from.",
      "type": "string",
      "minLength": 1
    },
    "license": {
      "description": "SPDX identifier of the case's license.",
      "const": "CC0-1.0"
    }
  }
}