Ticket XYZ fails but I'm sure my implementation is correct!

There have been a few cases now that people have reported they are sure their implementation is correct but they still can’t pass the unit tests, or the status page is failing to validate but “unit test is passing”.

After connecting to several clusters and helping individual students, please keep the following in mind:

  1. Change the secret key in your application.properties file
  2. Ensure you have the dataset correctly loaded. If the first test fails, especially on checking for 23539 documents you do not have the correct data and will not be able to pass all the tests
  3. Do not alter the unit tests or the API layer in any way. This is a bit like selecting 4 as the answer to “what is 2 + 3” and then erasing the 3 and replacing it with a 2.
  4. Really look at the unit tests. Most of them give implementation details!
  5. Please try to do the tickets in order. We’ve decoupled as much as we can, but some later functionality is dependent on previous implementation. If you skip the Create/Update user ticket, for example, none of the other user centric tickets will work correctly.

If you’ve done all this and searched the forums and you are still convinced something is amiss please bring it up and we’ll look into it further.