{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import jo_wilder\n\nenv = jo_wilder.make_env()\niter_test = env.iter_test()\n\nfor i, (test, sample_submission) in enumerate(iter_test):\n    sample_submission[\"correct\"] = 0  # Always incorrect!\n    env.predict(sample_submission)\n\n    # Raise `AssertionError` intentionally at submission\n    if i > 0:  # Public test set iteration ends in only 1 loop\n        assert 1 == 0","metadata":{"execution":{"iopub.status.busy":"2023-03-23T01:29:17.157950Z","iopub.execute_input":"2023-03-23T01:29:17.158737Z","iopub.status.idle":"2023-03-23T01:29:17.283250Z","shell.execute_reply.started":"2023-03-23T01:29:17.158697Z","shell.execute_reply":"2023-03-23T01:29:17.282124Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"i","metadata":{"execution":{"iopub.status.busy":"2023-03-23T01:29:17.286922Z","iopub.execute_input":"2023-03-23T01:29:17.287519Z","iopub.status.idle":"2023-03-23T01:29:17.294856Z","shell.execute_reply.started":"2023-03-23T01:29:17.287460Z","shell.execute_reply":"2023-03-23T01:29:17.293629Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test","metadata":{"execution":{"iopub.status.busy":"2023-03-23T01:29:17.296153Z","iopub.execute_input":"2023-03-23T01:29:17.296582Z","iopub.status.idle":"2023-03-23T01:29:17.342681Z","shell.execute_reply.started":"2023-03-23T01:29:17.296550Z","shell.execute_reply":"2023-03-23T01:29:17.341611Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sample_submission","metadata":{"execution":{"iopub.status.busy":"2023-03-23T01:29:17.344602Z","iopub.execute_input":"2023-03-23T01:29:17.344921Z","iopub.status.idle":"2023-03-23T01:29:17.356762Z","shell.execute_reply.started":"2023-03-23T01:29:17.344890Z","shell.execute_reply":"2023-03-23T01:29:17.355740Z"},"trusted":true},"execution_count":null,"outputs":[]}]}