@@ -135,7 +135,7 @@ predicate summaryModel(string row) { any(SummaryModelCsv s).row(row) }
135135/** Holds if a source model exists for the given parameters. */
136136predicate sourceModel (
137137 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
139139) {
140140 exists ( string row |
141141 sourceModel ( row ) and
@@ -149,13 +149,13 @@ predicate sourceModel(
149149 row .splitAt ( ";" , 6 ) = output and
150150 row .splitAt ( ";" , 7 ) = kind
151151 ) and
152- generated = false
152+ provenance = "manual"
153153}
154154
155155/** Holds if a sink model exists for the given parameters. */
156156predicate sinkModel (
157157 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
159159) {
160160 exists ( string row |
161161 sinkModel ( row ) and
@@ -169,13 +169,13 @@ predicate sinkModel(
169169 row .splitAt ( ";" , 6 ) = input and
170170 row .splitAt ( ";" , 7 ) = kind
171171 ) and
172- generated = false
172+ provenance = "manual"
173173}
174174
175175/** Holds if a summary model exists for the given parameters. */
176176predicate summaryModel (
177177 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
179179) {
180180 exists ( string row |
181181 summaryModel ( row ) and
@@ -190,7 +190,7 @@ predicate summaryModel(
190190 row .splitAt ( ";" , 7 ) = output and
191191 row .splitAt ( ";" , 8 ) = kind
192192 ) and
193- generated = false
193+ provenance = "manual"
194194}
195195
196196private predicate relevantNamespace ( string namespace ) {
@@ -224,25 +224,25 @@ predicate modelCoverage(string namespace, int namespaces, string kind, string pa
224224 part = "source" and
225225 n =
226226 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 |
228228 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 )
230230 )
231231 or
232232 part = "sink" and
233233 n =
234234 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 |
236236 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 )
238238 )
239239 or
240240 part = "summary" and
241241 n =
242242 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 |
244244 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 )
246246 )
247247 )
248248}
0 commit comments