Commit 68a18d9
fix: soft-fail code detection in prompt pipeline
Change from sys.exit(1) to logging.warning when Python code is
detected in prompt.txt. Let test_syntax.py in the grader handle
scoring (2 pts deduction) rather than hard-failing the pipeline,
which would prevent all grading feedback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5377996 commit 68a18d9
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments