Integrate transcription checkpoints across lifecycle
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"encoding/hex"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"slices"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -126,6 +127,14 @@ func seedCurrentTranscribeEvidence(
|
||||
record := m.Stages["transcribe"]
|
||||
record.TranscribeStateVersion = manifest.TranscribeStateContractVersion
|
||||
record.TranscribeSpeakers = records
|
||||
if len(record.Outputs) == 0 {
|
||||
for _, speakerRecord := range records {
|
||||
record.Outputs = append(record.Outputs, speakerRecord.Output)
|
||||
}
|
||||
slices.SortFunc(record.Outputs, func(a, b manifest.ArtifactRecord) int {
|
||||
return strings.Compare(a.LocalPath, b.LocalPath)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func loadConfigForSemanticEvidence(t *testing.T, pipelinePath, campaignPath, sessionPath string) *config.Config {
|
||||
|
||||
Reference in New Issue
Block a user