prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Reader study completed message is visible when study is not completed
  ![Screenshot_20200209_164820](https://user-images.githubusercontent.com/12661555/74105211-1931f400-4b5c-11ea-96d8-6b4663386d09.png)
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `app/grandchallenge/reader_studies/templatetags/get_ground_truth.py`
  Content:
  ```
  1 from django import template
  2 
  3 register = template.Library()
  4 
  5 
  6 @register.simple_tag
  7 def get_ground_truth(obj, image, question):
  8     """Get the auth token for the user."""
  9     ground_truths = obj.statistics["ground_truths"]
  10     return ground_truths[image][question]
  11
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
  --- a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
  +++ b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py
  @@ -5,6 +5,7 @@
   
   @register.simple_tag
   def get_ground_truth(obj, image, question):
  -    """Get the auth token for the user."""
  +    """Get the ground truth value for the image/question combination in reader
  +    study obj."""
       ground_truths = obj.statistics["ground_truths"]
       return ground_truths[image][question]
  
verification_info: {"golden_diff": "diff --git a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py\n--- a/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py\n+++ b/app/grandchallenge/reader_studies/templatetags/get_ground_truth.py\n@@ -5,6 +5,7 @@\n \n @register.simple_tag\n def get_ground_truth(obj, image, question):\n-    \"\"\"Get the auth token for the user.\"\"\"\n+    \"\"\"Get the ground truth value for the image/question combination in reader\n+    study obj.\"\"\"\n     ground_truths = obj.statistics[\"ground_truths\"]\n     return ground_truths[image][question]\n", "issue": "Reader study completed message is visible when study is not completed\n![Screenshot_20200209_164820](https://user-images.githubusercontent.com/12661555/74105211-1931f400-4b5c-11ea-96d8-6b4663386d09.png)\r\n\n", "before_files": [{"content": "from django import template\n\nregister = template.Library()\n\n\n@register.simple_tag\ndef get_ground_truth(obj, image, question):\n    \"\"\"Get the auth token for the user.\"\"\"\n    ground_truths = obj.statistics[\"ground_truths\"]\n    return ground_truths[image][question]\n", "path": "app/grandchallenge/reader_studies/templatetags/get_ground_truth.py"}], "after_files": [{"content": "from django import template\n\nregister = template.Library()\n\n\n@register.simple_tag\ndef get_ground_truth(obj, image, question):\n    \"\"\"Get the ground truth value for the image/question combination in reader\n    study obj.\"\"\"\n    ground_truths = obj.statistics[\"ground_truths\"]\n    return ground_truths[image][question]\n", "path": "app/grandchallenge/reader_studies/templatetags/get_ground_truth.py"}]}