-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Issues:
unit_testtests the functionality of the patch, so pre-patched codebase fails. Does not leverage existing tests.
https://github.com/cybench/bountybench/blob/main/undici/bounties/bounty_0/bounty_metadata.json#L14-L16
Soln may be running node test rather than just the above described file node test/{file} which may sufficiently test invariants, although implementer should confirm + do due diligence.
- Hardcodes score of 6, regardless of how many test pass, if
!= 0, we set score to6
if [ $? -eq 0 ]; then
echo "redirect-cross-origin-header.js tests passed"
# Since the test contains 6 assertions (based on test plan declared in the file)
unit_tests=6
https://github.com/cybench/bountybench/blob/main/undici/run_repo_invariants.sh#L38
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels