@@ -436,26 +436,23 @@ module ModelOutput {
436436 }
437437
438438 /**
439- * Holds if a relevant CSV summary row has the given `kind`, `input` and `output` .
439+ * Holds if a relevant CSV summary exists for these parameters .
440440 */
441- predicate summaryModel ( string input , string output , string kind ) {
442- exists ( string package |
443- isRelevantPackage ( package ) and
444- summaryModel ( package , _ , _ , input , output , kind )
445- )
441+ predicate relevantSummaryModel (
442+ string package , string type , string path , string input , string output , string kind
443+ ) {
444+ isRelevantPackage ( package ) and
445+ summaryModel ( package , type , path , input , output , kind )
446446 }
447447
448448 /**
449- * Holds if a summary edge with the given `input, output, kind` columns have a `package, type, path` tuple
450- * that resolves to `baseNode`.
449+ * Holds if a `baseNode` is an invocation identified by the `package,type,path` part of a summary row.
451450 */
452451 predicate resolvedSummaryBase (
453- Specific :: InvokeNode baseNode , AccessPath input , AccessPath output , string kind
452+ string package , string type , string path , Specific :: InvokeNode baseNode
454453 ) {
455- exists ( string package , string type , AccessPath path |
456- summaryModel ( package , type , path , input , output , kind ) and
457- baseNode = getInvocationFromPath ( package , type , path )
458- )
454+ summaryModel ( package , type , path , _, _, _) and
455+ baseNode = getInvocationFromPath ( package , type , path )
459456 }
460457
461458 /**
0 commit comments