{% set n_tasks_updated = updated_tasks|length %}
{% if n_tasks_updated > 0 %}
Updated Tasks ({{ n_tasks_updated }})
{% for task in updated_tasks -%}
- {{ task.name }} ({{ task.modified_at }})
{%- endfor %}
{% elif task_updates_count > 0 %}
Task Updates ({{ task_updates_count }})
{% endif %}
{% set n_released_models = released_models|length %}
{% if n_released_models > 0 %}
Released AI Models ({{ n_released_models }})
{% for model in released_models -%}
- {{ model.name }} ({{ model.created_at }})
{%- endfor %}
{% elif model_releases_count > 0 %}
AI Model Releases ({{ model_releases_count }})
{% endif %}
{% set n_example_comments = example_comments|length %}
{% if n_example_comments > 0 %}
Example Comments ({{ n_example_comments }})
{% endif %}
{% for example_id, comment in example_comments -%}
- {{ example_id }}: "{{ comment.message }}" ({{ comment.created_at }})
{%- endfor %}
{% if example_comments_count > 0 %}
Example Comments ({{ example_comments_count }})
{% endif %}
{% set n_examples_updated = example_updates|length %}
{% if n_examples_updated > 0 %}
Updated Examples ({{ n_examples_updated }})
{% for example in example_updates -%}
- {{ example.uuid }} ({{ example.modified_at }})
{%- endfor %}
{% elif example_updates_count > 0 %}
Example Updates ({{ example_updates_count }})
{% endif %}
{% set n_examples_deleted = example_deletions|length %}
{% if n_examples_deleted > 0 %}
Deleted Examples ({{ n_examples_deleted }})
{% for notification in example_deletions -%}
- {{ notification.source_uuid }} ({{ notification.created_at }})
{%- endfor %}
{% elif example_deletions_count > 0 %}
Deleted Examples ({{ example_deletions_count }})
{% endif %}
{% set n_examples_created = example_creations|length %}
{% if n_examples_created > 0 %}
Created Examples ({{ n_examples_created }})
{% if n_examples_created > 50 %}
- {{ n_examples_created }} examples created
{% else %}
{% for example in example_creations -%}
- {{ example.uuid }} ({{ example.created_at }})
{%- endfor %}
{% endif %}
{% elif example_creations_count > 0 %}
Created Examples ({{ example_creations_count }})
{% endif %}