This commit is contained in:
vagrant 2020-04-22 21:52:24 +00:00
parent 63256fd3b0
commit 39ef912af2
2 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@ -9,8 +9,8 @@ pipeline {
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
// copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
// copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
}
}
stage('countLines') {

View File

@ -18,8 +18,8 @@ awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < results | awk '{ print ($2 + $3 +
paste wikiniews_results.tsv wer.tsv > wikiniews_results.tsv
# tail -n 50 wer.txt > wer.txt
# tail -n 50 srr.txt > srr.txt
tail -n 50 wer.txt > wer.txt
tail -n 50 srr.txt > srr.txt
awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt
awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt