@@ -135,7 +135,7 @@ predicate summaryModel(string row) { any(SummaryModelCsv s).row(row) }
135
135
/** Holds if a source model exists for the given parameters. */
136
136
predicate sourceModel (
137
137
string namespace , string type , boolean subtypes , string name , string signature , string ext ,
138
- string output , string kind , boolean generated
138
+ string output , string kind , string provenance
139
139
) {
140
140
exists ( string row |
141
141
sourceModel ( row ) and
@@ -149,13 +149,13 @@ predicate sourceModel(
149
149
row .splitAt ( ";" , 6 ) = output and
150
150
row .splitAt ( ";" , 7 ) = kind
151
151
) and
152
- generated = false
152
+ provenance = "manual"
153
153
}
154
154
155
155
/** Holds if a sink model exists for the given parameters. */
156
156
predicate sinkModel (
157
157
string namespace , string type , boolean subtypes , string name , string signature , string ext ,
158
- string input , string kind , boolean generated
158
+ string input , string kind , string provenance
159
159
) {
160
160
exists ( string row |
161
161
sinkModel ( row ) and
@@ -169,13 +169,13 @@ predicate sinkModel(
169
169
row .splitAt ( ";" , 6 ) = input and
170
170
row .splitAt ( ";" , 7 ) = kind
171
171
) and
172
- generated = false
172
+ provenance = "manual"
173
173
}
174
174
175
175
/** Holds if a summary model exists for the given parameters. */
176
176
predicate summaryModel (
177
177
string namespace , string type , boolean subtypes , string name , string signature , string ext ,
178
- string input , string output , string kind , boolean generated
178
+ string input , string output , string kind , string provenance
179
179
) {
180
180
exists ( string row |
181
181
summaryModel ( row ) and
@@ -190,7 +190,7 @@ predicate summaryModel(
190
190
row .splitAt ( ";" , 7 ) = output and
191
191
row .splitAt ( ";" , 8 ) = kind
192
192
) and
193
- generated = false
193
+ provenance = "manual"
194
194
}
195
195
196
196
private predicate relevantNamespace ( string namespace ) {
@@ -224,25 +224,25 @@ predicate modelCoverage(string namespace, int namespaces, string kind, string pa
224
224
part = "source" and
225
225
n =
226
226
strictcount ( string subns , string type , boolean subtypes , string name , string signature ,
227
- string ext , string output , boolean generated |
227
+ string ext , string output , string provenance |
228
228
canonicalNamespaceLink ( namespace , subns ) and
229
- sourceModel ( subns , type , subtypes , name , signature , ext , output , kind , generated )
229
+ sourceModel ( subns , type , subtypes , name , signature , ext , output , kind , provenance )
230
230
)
231
231
or
232
232
part = "sink" and
233
233
n =
234
234
strictcount ( string subns , string type , boolean subtypes , string name , string signature ,
235
- string ext , string input , boolean generated |
235
+ string ext , string input , string provenance |
236
236
canonicalNamespaceLink ( namespace , subns ) and
237
- sinkModel ( subns , type , subtypes , name , signature , ext , input , kind , generated )
237
+ sinkModel ( subns , type , subtypes , name , signature , ext , input , kind , provenance )
238
238
)
239
239
or
240
240
part = "summary" and
241
241
n =
242
242
strictcount ( string subns , string type , boolean subtypes , string name , string signature ,
243
- string ext , string input , string output , boolean generated |
243
+ string ext , string input , string output , string provenance |
244
244
canonicalNamespaceLink ( namespace , subns ) and
245
- summaryModel ( subns , type , subtypes , name , signature , ext , input , output , kind , generated )
245
+ summaryModel ( subns , type , subtypes , name , signature , ext , input , output , kind , provenance )
246
246
)
247
247
)
248
248
}
0 commit comments