My QAOA code is passing public tests, but repeatedly failing private tests.
Hi @Shaurya!
Thanks for reaching out! You are likely in the right track if your implementation is passing the public tests ![]()
While we’d like to go into more details of your implementation with you, our support team isn’t able to help with debugging or provide hints for coding challenges to keep the competition fair for everyone (please see the details of the extent of the support in the About the QHack 2026 category post).
That being said, private tests failing while public tests pass usually comes down to edge cases/params not being satisfied. Double checking those might help you identify the issue.
Best of luck with the challenge!