diff --git a/Jenkinsfile b/Jenkinsfile index e78da9f..84dfac7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ pipeline { { steps{ copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() - copyArtifacts filter: 'srr3.txt wer2.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful() + copyArtifacts filter: 'srr_results.txt wer_resulsts.txt', fingerprintArtifacts: true, projectName: 's460929-metrics', optional: true, selector: lastSuccessful() } } @@ -34,8 +34,8 @@ pipeline { stage("Result") { steps{ - archiveArtifacts 'srr3.txt' - archiveArtifacts 'wer2.txt' + archiveArtifacts 'srr_results.txt' + archiveArtifacts 'wer_results.txt' archiveArtifacts 'newresults.tsv' archiveArtifacts 'hypothesis.trn' archiveArtifacts 'reference.trn' diff --git a/count.sh b/count.sh index 93e9236..29321b4 100644 --- a/count.sh +++ b/count.sh @@ -12,5 +12,5 @@ echo wer.txt | sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 - COUNT_DIFF=$(diff hypothesis.trn reference.trn | grep "^>" | wc -l) echo $COUNT_DIFF -echo $(echo "$COUNT_DIFF/$COUNT" | bc -l) >> srr3.txt -echo "$(tail -50 "srr3.txt")" > srr3.txt +echo $(echo "$COUNT_DIFF/$COUNT" | bc -l) >> srr_results.txt +echo "$(tail -50 "srr3.txt")" > srr_results.txt diff --git a/script.py b/script.py index 38ed99d..1c022a3 100644 --- a/script.py +++ b/script.py @@ -26,5 +26,5 @@ with open('wikiniews_results.tsv','r') as f_in: writer.writerows(result) -file = open("wer2.txt", "a") +file = open("wer_results.txt", "a") file.write(str(score) + "\n")