zad4 test3
This commit is contained in:
parent
ba6d1e4519
commit
f6ab8efe52
@ -11,8 +11,11 @@ srr_matching=$(grep -x "0" clear.txt | wc -l)
|
|||||||
all=$(cat clear.txt | wc -l)
|
all=$(cat clear.txt | wc -l)
|
||||||
srr=$(echo "($srr_matching/$all)*100" | bc -l)
|
srr=$(echo "($srr_matching/$all)*100" | bc -l)
|
||||||
|
|
||||||
echo "$avg%" >> average.txt
|
echo "$avg%" >> averagewer.txt
|
||||||
echo "$srr%" >> average.txt
|
echo "$srr%" >> averagesrr.txt
|
||||||
|
|
||||||
|
tail -n 50 averagewer.txt > averagewer.txt
|
||||||
|
tail -n 50 averagesrr.txt > averagesrr.txt
|
||||||
|
|
||||||
echo "Avg WER: $avg%" >> clear.txt
|
echo "Avg WER: $avg%" >> clear.txt
|
||||||
echo "SRR: $srr%" >> clear.txt
|
echo "SRR: $srr%" >> clear.txt
|
||||||
|
@ -9,7 +9,7 @@ pipeline {
|
|||||||
stage('Copy Artifacts') {
|
stage('Copy Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||||
copyArtifacts filter: 'average.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Count words') {
|
stage('Count words') {
|
||||||
@ -21,7 +21,8 @@ sh label: '', script: './count2.sh wikiniews_results.tsv'
|
|||||||
stage('Archive atifacts') {
|
stage('Archive atifacts') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts 'clear.txt'
|
archiveArtifacts 'clear.txt'
|
||||||
archiveArtifacts 'average.txt'
|
archiveArtifacts 'averagesrr.txt'
|
||||||
|
archiveArtifacts 'averagewer.txt'
|
||||||
archiveArtifacts 'wikiniews_results.tsv'
|
archiveArtifacts 'wikiniews_results.tsv'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user