MCPcopy Create free account
hub / github.com/github/gh-aw / buildReportProvenance

Function buildReportProvenance

pkg/cli/logs_metrics.go:37–45  ·  view source on GitHub ↗
(run WorkflowRun, timestamp, experimentName, variant string)

Source from the content-addressed store, hash-verified

35var extractJSONMetrics = workflow.ExtractJSONMetrics
36
37func buildReportProvenance(run WorkflowRun, timestamp, experimentName, variant string) ReportProvenance {
38 return ReportProvenance{
39 Timestamp: timestamp,
40 WorkflowName: run.WorkflowName,
41 RunID: run.DatabaseID,
42 ExperimentName: experimentName,
43 Variant: variant,
44 }
45}
46
47// extractLogMetrics extracts metrics from downloaded log files
48// workflowPath is optional and can be provided to help detect GitHub Copilot coding agent runs

Callers 4

extractNoopsFromRunFunction · 0.85
processMCPFailureEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected