<commit_before><accordion close-others="false">
  <accordion-group is-open="droit.open"
               class="resultats-accordion"
               ng-repeat="(droitId, droit) in list|orderObjectBy:'label'"
               ng-class="{'resultats-accordion-needs-n-2': shouldDisplayYM2Warning(droit), 'panel-opened': droit.open}">
    <accordion-heading>
      <div class="row">
        <div class="col-xs-2 col-sm-1">
          <img class="droit-logo"
               ng-src="/img/{{ droit.imgSrc }}"
               alt="">
        </div>

        <div class="col-xs-6 col-sm-8 description">
          <span>{{ droit.label }}<span>
        </div>

        <div class="col-xs-3 col-sm-2">
          <div class="montant">
            <span ng-if="isNumber(droit.montant)">{{ round(droit) }}&nbsp;{{ droit.unit || '€' }}</span>
            <span ng-if="isString(droit.montant)" class="montant-inconnu">?</span>
            <i class="fa fa-warning text-warning" ng-if="shouldDisplayYM2Warning(droit)"></i>
          </div>

          <div ng-if="isNumber(droit.montant)" class="montant-detail">
            {{ droit.legend || (droit.isMontantAnnuel ? '/ an' : '/ mois') }}
          </div>

        </div>

        <div class="col-sm-1 hidden-xs description">
          <i class="fa" ng-class="{'fa-chevron-down': droit.open, 'fa-chevron-right': !droit.open}" aria-hidden="true"></i>
        </div>
      </div>
    </accordion-heading>

    <div class="caption">
      <div ng-if="droit.montant">
        <p>{{ droit.description }}</p>
        <div ng-if="droit.conditions">
          Pour en bénéficier, vous devez également :
          <ul>
            <li ng-repeat="condition in droit.conditions">
              <i class="fa fa-check" aria-hidden="true"></i>
              <span ng-bind-html="condition"></span>
            </li>
          </ul>
        </div>

        <div ng-if="isString(droit.montant)" class="alert alert-warning-inverse">
          <p>Malheureusement, nous ne pouvons pas estimer le montant de cette prestation, car <span ng-bind-html="droit.uncomputability[droit.montant].reason"></span>.</p>
          <p ng-if="droit.uncomputability[droit.montant].solution"><strong ng-bind-html="droit.uncomputability[droit.montant].solution"></strong></p>
        </div>

        <div class="alert alert-warning-inverse" ng-if="droit.isBaseRessourcesYearMoins2 && ! ressourcesYearMoins2Captured && ! isString(droit.montant)">
          <i class="fa fa-warning" aria-hidden="true"></i> Cette aide se base sur vos ressources de l'année {{ yearMoins2 }}.
          <a ui-sref="foyer.ressourcesYearMoins2">Déclarez vos ressources {{ yearMoins2 }}</a>
        </div>
      </div>

      <div class="row">
        <div class="col-sm-3">
          <a
            class="btn btn-sm btn-default btn-block"
            href="{{ droit.link }}"
            target="_blank">
            <i class="fa fa-external-link" aria-hidden="true"></i>
            Plus d'informations
          </a>
        </div>
        <div ng-if="droit.id == 'ppa'"
          class="col-sm-5 col-sm-offset-1">
          <a
            class="btn btn-sm btn-secondary btn-block"
            href="http://www.msa.fr/lfr/web/msa/espace-prive">
            Démarches pour les professions agricoles
          </a>
        </div>
        <div ng-if="droit.teleservice || droit.form"
          class="col-sm-3 {{ (droit.id != 'ppa') && 'col-sm-offset-6' }}">
          <a href="{{ droit.teleservice || droit.form }}"
            target="_blank"<commit_msg>Make wording less apologetic<commit_after><accordion close-others="false">
  <accordion-group is-open="droit.open"
               class="resultats-accordion"
               ng-repeat="(droitId, droit) in list|orderObjectBy:'label'"
               ng-class="{'resultats-accordion-needs-n-2': shouldDisplayYM2Warning(droit), 'panel-opened': droit.open}">
    <accordion-heading>
      <div class="row">
        <div class="col-xs-2 col-sm-1">
          <img class="droit-logo"
               ng-src="/img/{{ droit.imgSrc }}"
               alt="">
        </div>

        <div class="col-xs-6 col-sm-8 description">
          <span>{{ droit.label }}<span>
        </div>

        <div class="col-xs-3 col-sm-2">
          <div class="montant">
            <span ng-if="isNumber(droit.montant)">{{ round(droit) }}&nbsp;{{ droit.unit || '€' }}</span>
            <span ng-if="isString(droit.montant)" class="montant-inconnu">?</span>
            <i class="fa fa-warning text-warning" ng-if="shouldDisplayYM2Warning(droit)"></i>
          </div>

          <div ng-if="isNumber(droit.montant)" class="montant-detail">
            {{ droit.legend || (droit.isMontantAnnuel ? '/ an' : '/ mois') }}
          </div>

        </div>

        <div class="col-sm-1 hidden-xs description">
          <i class="fa" ng-class="{'fa-chevron-down': droit.open, 'fa-chevron-right': !droit.open}" aria-hidden="true"></i>
        </div>
      </div>
    </accordion-heading>

    <div class="caption">
      <div ng-if="droit.montant">
        <p>{{ droit.description }}</p>
        <div ng-if="droit.conditions">
          Pour en bénéficier, vous devez également :
          <ul>
            <li ng-repeat="condition in droit.conditions">
              <i class="fa fa-check" aria-hidden="true"></i>
              <span ng-bind-html="condition"></span>
            </li>
          </ul>
        </div>

        <div ng-if="isString(droit.montant)" class="alert alert-warning-inverse">
          <p>Nous ne pouvons pas estimer le montant de cette prestation, car <span ng-bind-html="droit.uncomputability[droit.montant].reason"></span>.</p>
          <p ng-if="droit.uncomputability[droit.montant].solution"><strong ng-bind-html="droit.uncomputability[droit.montant].solution"></strong></p>
        </div>

        <div class="alert alert-warning-inverse" ng-if="droit.isBaseRessourcesYearMoins2 && ! ressourcesYearMoins2Captured && ! isString(droit.montant)">
          <i class="fa fa-warning" aria-hidden="true"></i> Cette aide se base sur vos ressources de l'année {{ yearMoins2 }}.
          <a ui-sref="foyer.ressourcesYearMoins2">Déclarez vos ressources {{ yearMoins2 }}</a>
        </div>
      </div>

      <div class="row">
        <div class="col-sm-3">
          <a
            class="btn btn-sm btn-default btn-block"
            href="{{ droit.link }}"
            target="_blank">
            <i class="fa fa-external-link" aria-hidden="true"></i>
            Plus d'informations
          </a>
        </div>
        <div ng-if="droit.id == 'ppa'"
          class="col-sm-5 col-sm-offset-1">
          <a
            class="btn btn-sm btn-secondary btn-block"
            href="http://www.msa.fr/lfr/web/msa/espace-prive">
            Démarches pour les professions agricoles
          </a>
        </div>
        <div ng-if="droit.teleservice || droit.form"
          class="col-sm-3 {{ (droit.id != 'ppa') && 'col-sm-offset-6' }}">
          <a href="{{ droit.teleservice || droit.form }}"
            target="_blank"
{'fraction_non_alphanumeric': 0.1783683911313246, 'fraction_numerical': 0.005685048322910745, 'mean_word_length': 2.171248310049572, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3304318', 'n_tokens_mistral': 2352, 'n_tokens_neox': 2310, 'n_words': 413}