<commit_before>{% import "toolkit/summary-table.html" as summary %}

{% if brief.status == 'live' %}
  {{ summary.heading("Question and answer session", id="question-and-answer-session") }}
  <a href="/suppliers/opportunities/{{ brief.id }}/question-and-answer-session">
    {% if current_user.is_authenticated() and current_user.role == 'supplier' %}
      View question and answer session details<commit_msg>Hide q+a session details if clarification questions are closed<commit_after>{% import "toolkit/summary-table.html" as summary %}

{% if not brief.clarificationQuestionsAreClosed %}
  {{ summary.heading("Question and answer session", id="question-and-answer-session") }}
  <a href="/suppliers/opportunities/{{ brief.id }}/question-and-answer-session">
    {% if current_user.is_authenticated() and current_user.role == 'supplier' %}
      View question and answer session details
{'fraction_non_alphanumeric': 0.14527027027027026, 'fraction_numerical': 0.0, 'mean_word_length': 5.089041095890411, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6064387', 'n_tokens_mistral': 264, 'n_tokens_neox': 248, 'n_words': 63}