Skip to content

Developers: Basic Tests

Tyler edited this page Oct 26, 2017 · 1 revision

Before moving on to more sophisticated tests, we should pass this test.

  1. Download test file.
  2. Create a new challenge (use the iris.jpg file for logo).
  3. Upload the dataset iris_data_split.zip. Check the result in the data page (page 1) is: image and in the split page (page 2): image
  4. Go back to the data page and upload the iris_data_no_split.zip file [the difference in NO split). The data page table should be the same.
  5. In page 2, change the proportions of the data split to 80/10/10, the result should be: image
  6. Go back to the data page (page 1) and re-upload iris_data_split.zip (this is important for the rest of the test). Check the on page 2 the split is again 70/10/20 and cannot be changed.
  7. On page 3 (metrics), select one of the default metrics. Check the 3 fields Name, Description, AND Code are changed.
  8. Stay on page 3 (metrics) and upload sample_metric.py. Check the 3 fields Name, Description, AND Code are changed. The code should correspond to the contents of sample_metric.py.
  9. Stay on page 3 (metrics) and select the default metric classification>bac_multiclass (important to the rest of the test) then save.
  10. Select dates on the protocol page (page 4) then in page 5 (baseline definition), upload iris_baseline.zip.
  11. Make a small change to the documentation (page 6) then go to recap, then "package and publish".
  12. In the "package and publish" page, click "build", then "download".
  13. Upload the bundle to a server, e.g. http://13.82.145.119/ or http://13.82.145.119/.
  14. Check all pages look fine then go to "Participate". Download the starting kit from the "Files" tab and submit it in the "Submit/View results" tab.
  15. Check that the score on the leaderboard is image
  16. Click on "View" in the column "Detailed results". You should see: ======= Set 1 (Iris_test): score(bac_multiclass)=1.000000000000 ======= BAC (multiclass) --> 1.0 BAC (multilabel) --> 1.0 AUC (multilabel) --> 1.0 PAC (multilabel) --> 0.984161273648 F1 (multiclass) --> 1.0 PAC (multiclass) --> 0.983304692724 Regression ABS --> 0.983986801242 F1 (multilabel) --> 1.0 Regression R2 --> 0.994662267081