-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmaestroqa.annotations.view.lkml
133 lines (111 loc) · 3.24 KB
/
maestroqa.annotations.view.lkml
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
view: annotations {
sql_table_name: maestro.annotations ;;
dimension: annotation_id {
description: "Unique identifier for this annotation"
primary_key: yes
type: string
sql: ${TABLE}.annotation_id ;;
}
dimension: answer_id {
description: "ID of the answer this annotation is part of"
type: string
sql: ${TABLE}.answer_id ;;
}
dimension: template_id {
description: "ID of the rubric used for this annotation"
type: string
sql: ${TABLE}.template_id ;;
}
dimension: section_id {
description: "ID of the section containing this annotation"
type: string
sql: ${TABLE}.section_id ;;
}
dimension: question_id {
description: "ID of the question containing this annotation"
type: string
sql: ${TABLE}.question_id ;;
}
dimension: is_general_comment {
description: "If this annotation is a general comment not associated with a question"
type: yesno
sql: ${TABLE}.is_general_comment ;;
}
dimension: gradee_id {
description: "String-cast helpdesk agent ID of the agent being graded"
type: string
sql: ${TABLE}.gradee_id ;;
}
dimension: grader_email {
description: "Email address of the user doing the grading"
type: string
sql: ${TABLE}.grader_email ;;
}
dimension: annotation_type {
# values are constrained to 'text', 'audio'
description: "What type of annotation this is"
type: string
sql: ${TABLE}.annotation_type ;;
}
dimension: start_word {
description: "The first word of the highlight"
type: string
sql: ${TABLE}.start_word ;;
}
dimension: end_word {
description: "The last word of the highlight"
type: string
sql: ${TABLE}.end_word ;;
}
dimension: start_occurrence {
description: "The index of the occurrence of the start_word in the agent's interaction"
type: number
sql: ${TABLE}.start_occurrence ;;
}
dimension: end_occurrence {
description: "The index of the occurrence of the end_word in the agent's interaction"
type: number
sql: ${TABLE}.end_occurrence ;;
}
dimension: recording_timestamp {
description: "The time in seconds of the start of the audio highlight"
type: number
sql: ${TABLE}.recording_timestamp ;;
}
dimension_group: created {
description: "UTC time this annotation was created"
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.created_at ;;
}
dimension_group: updated {
description: "UTC time this annotation was last updated"
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at ;;
}
dimension: highlight {
description: "The portion of the agent's interaction selected by the grader"
type: string
sql: ${TABLE}.highlight ;;
}
dimension: feedback {
description: "The grader's comments for the agent about the highlight, if any"
type: string
sql: ${TABLE}.feedback ;;
}
dimension: is_deleted {
description: "Whether or not this annotation has been deleted"
type: yesno
sql: ${TABLE}.is_deleted ;;
}
dimension_group: row_updated {
description: "UTC time time row was last updated"
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.row_updated_at ;;
}
measure: count {
type: count
}
}