From 145c156b9602cb4495e71a1980a58b36543ad891 Mon Sep 17 00:00:00 2001 From: Daniel Khashabi Date: Thu, 10 Jun 2021 17:07:32 -0700 Subject: [PATCH] minor readme changes. --- README.md | 4 ++-- src/test_all.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e1a73e108..8bfc6e605 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ We would appreciate any external contributions! 🙏 * Make sure your task has no more 6.5k instances (input/output pairs). * If you're building your tasks based existing datasets and their crowdsourcing templates, see these [guidelines](doc/crowdsourcing.md). * Add your task to [our list of tasks](tasks/README.md). - -*TODO:* testing and visualization of the submissions + * To make sure that your addition is formatted correctly, run the tests: `> python src/test_all.py` + If you have any questions or suggestions, please use [the issues](/~https://github.com/allenai/natural-instructions-expansion/issues) feature. diff --git a/src/test_all.py b/src/test_all.py index f32683954..2c5c94f48 100644 --- a/src/test_all.py +++ b/src/test_all.py @@ -47,3 +47,5 @@ assert type(x['output']) == str, f'the output of example {x} is not a string' assert type(x['explanation']) == str, f'the explanation of example {x} is not a string' + +print("Did not find any errors! ✅") \ No newline at end of file