kaist-cp/cs431

[Question] [HW7] Failed Basic Tests in hazard.rs

Closed this issue · 3 comments

I submitted the codes for HW7. I failed all the basic test cases in hazard.rs, even I passed all the others.

However, when I tested the same test cases in my environment, they were all passed.

I don't know the reason. Can you help me fix this issue?

스크린샷 2024-06-16 오전 6 52 31

스크린샷 2024-06-16 오전 6 53 31

Does your code still pass when the grade script is used?

I just checked that our model solution runs correctly on the gg server without error. So I guess your code has a minor bug that happens only occasionally.

Does your code still pass when the grade script is used?

Yes, the test cases from hazard.rs are all passed when I run grade-hazard-pointer.sh