{% extends 'base.html' %} {% block content %}

{% block title %} Topics {% endblock %}

{%set ext_url= url_for('app.index', _external=True, _scheme='https')%} External URL: {{ext_url}} Okay? {{external_url_ok and 'Yes' or 'No'}}
If you are planning to crowdsource tasks on platforms like MTurk, make sure to have the above URL is accessible via the (public) Internet.
More Info:
  1. set flask_config.SERVER_NAME= in config YML file to publicly visible server name/address.
  2. Install and verify your SSL certificate are correct for HTTPS connection. Example: https://certbot.eff.org/ makes it easy. However, you need a domain name for your server.
  3. Setup reverse proxy to serve this app. Example: see docs/nginx-conf.adoc file in git repository for an example Nginx config.

Set maximum thread per user:

{# {% if crowd_name %}#}

Multi-task Launch:

{# {% endif %}#}

Multi-task Creation:

Found {{ super_topics | length }} topics
{% for super_topic, num_threads in super_topics %} {% endfor %}
# Topic Num Threads Time Actions
{{loop.index}} {{super_topic.id}} {{num_threads}} Created {{super_topic.time_created|ctime}}; {{super_topic.time_modified|ctime}}
{% for topic in super_topic.topics %}
Task ID: {{ topic.id }}
  • Num of Threads = {{ topic_thread_counts_dict.get(topic.id, 0) }}
  • Endpoint: {{ topic.endpoint }}
  • Persona_id: {{ topic.persona_id }}
  • Max threads per topic: {{ topic.max_threads_per_topic }}
  • Max turns per thread: {{ topic.max_turns_per_thread }}
  • Max human users per thread: {{ topic.max_human_users_per_thread }}
  • Human moderator: {{ topic.human_moderator }}
  • Reward: {{ topic.reward }}
  • {% if topic.ext_id %} {% set task_url = topic.data.get(topic.ext_src, {}).get('ext_url') %}
  • {{topic.ext_src}}: {{topic.ext_id}}
  • Task URL
  • {% if topic.ext_src in [C.MTURK, C.MTURK_SANDBOX ] %}
  • See MTurk Assignments
  • {%endif%} {% elif crowd_name %}
  • Launch on {{crowd_name}}
  • {% else %}
  • N/A
  • {% endif %}
  • Delete Task

{% endfor %}
{% endblock %}