Skip to content

Commit

Permalink
FDR failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshuman Raina committed Nov 13, 2024
1 parent 6a0f9a0 commit 88aa407
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,18 @@ jobs:
- name: Extract and Check FDR Values
run: |
grep -A 5 "FPR Accuracy Recall FDR" job_output.txt > results_section.txt
if awk -v threshold="$FDR_THRESHOLD" 'NR > 1 { if ($5 > threshold) { print "Error: FDR too high in row " NR " with FDR=" $5; exit 1 } }' results_section.txt; then
if awk -v threshold="$FDR_THRESHOLD" '
NR > 1 {
if ($5 > threshold) {
print "Error: FDR too high in row " NR " with FDR=" $5
exit 1
}
}
' results_section.txt; then
echo "All FDR values are within acceptable range."
else
exit 1
fi
- name: Upload Output as Artifact
Expand Down

0 comments on commit 88aa407

Please sign in to comment.