<commit_before><% outcome = @presenter.current_node %>
<% content_for :outcome_title do %>
  <% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %>
<% end %>
<% content_for :head do %>
  <meta name="robots" content="noindex">
<% end %>

<%= render "smart_answers/shared/hide_this_page" %>

<div class="govuk-grid-row">
  <div id="result-info" class="govuk-grid-column-two-thirds outcome">
    <%= render 'smart_answers/shared/debug' %>
    <%= render "govuk_publishing_components/components/title", {
      title: outcome.heading_title
    } %>

    <div class="govuk-!-margin-bottom-6" data-module="track-results" data-flow-name="<%= @name %>">
      <% if outcome.title.present? %>
        <%= render "govuk_publishing_components/components/heading", {
          text: outcome.title,
          margin_bottom: 6
        } unless outcome.title_as_heading? %>
      <% end %>
<commit_msg>Update headings to use context inside option for outcome page<commit_after><% outcome = @presenter.current_node %>
<% content_for :outcome_title do %>
  <% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %>
<% end %>
<% content_for :head do %>
  <meta name="robots" content="noindex">
<% end %>

<%= render "smart_answers/shared/hide_this_page" %>

<div class="govuk-grid-row">
  <div id="result-info" class="govuk-grid-column-two-thirds outcome">
    <%= render 'smart_answers/shared/debug' %>
    <%= render "govuk_publishing_components/components/title", {
      title: "Information based on your answers",
      context: outcome.heading_title + ":",
      context_inside: true,
    } %>

    <div class="govuk-!-margin-bottom-6" data-module="track-results" data-flow-name="<%= @name %>">
      <% if outcome.title.present? %>
        <%= render "govuk_publishing_components/components/heading", {
          text: outcome.title,
          margin_bottom: 6
        } unless outcome.title_as_heading? %>
      <% end %>

{'fraction_non_alphanumeric': 0.17340153452685422, 'fraction_numerical': 0.0020460358056265983, 'mean_word_length': 3.701923076923077, 'pattern_counts': {'":': 1, '<': 43, '<?xml version=': 0, '>': 43, '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': '2478601', 'n_tokens_mistral': 688, 'n_tokens_neox': 620, 'n_words': 117}