<commit_before>@(datasets: List[models.binary.DataSet])(implicit session: oxalis.view.SessionData)

@import braingames.util.Reflect

@main() {

  <div id="dataset-list" class="container">
    <div id="oxalis-header">
      <img src="@controllers.routes.Assets.at("images/oxalis.svg")">
      <div><p>Oxalis</p></div>
    </div>
    @datasets.groupBy(_.dataSource.owningTeam).map{ case (team, ds) =>

      @ds.map{ dataSet =>
        <div class="dataset img-polaroid">
          <header class="clearfix">
            <h4>@dataSet.dataSource.name</h4>
            <div class="dataset-buttons">
              <!--<a href="/levels/512c70a6e4b004e525ec5635?missionId=51f90698e4b02ee135a87368" class="edit-button">
                <i class="fa fa-pencil"></i>
              </a>-->
            </div>
          </header>
          <div class="dataset-display clearfix" style="height: 220px;">
            @dataSet.dataSource.dataLayer("color").map{ colorLayer =>
              <img src="@controllers.routes.BinaryData.requestImage(dataSet.dataSource.name, "color", 200, 200, 200, 200, 0, math.log(colorLayer.resolutions.max).toInt)" />
            }
            <a href="@controllers.routes.DataSetController.view(dataSet.dataSource.name)">
              <i class="fa fa-play"></i>
            </a>
          </div>
            <!--FIXME-->
          <div class="dataset-description clearfix">
            <h3>@team</h3>
            <h4>Original data and segmentation</h4>
            <p>@Html(dataSet.description)</p>
          </div>
        </div>
      }
    }
  </div>
  @credits()
}
<commit_msg>fixed escape of dataset description<commit_after>@(datasets: List[models.binary.DataSet])(implicit session: oxalis.view.SessionData)

@import braingames.util.Reflect

@main() {

  <div id="dataset-list" class="container">
    <div id="oxalis-header">
      <img src="@controllers.routes.Assets.at("images/oxalis.svg")">
      <div><p>Oxalis</p></div>
    </div>
    @datasets.groupBy(_.dataSource.owningTeam).map{ case (team, ds) =>

      @ds.map{ dataSet =>
        <div class="dataset img-polaroid">
          <header class="clearfix">
            <h4>@dataSet.dataSource.name</h4>
            <div class="dataset-buttons">
              <!--<a href="/levels/512c70a6e4b004e525ec5635?missionId=51f90698e4b02ee135a87368" class="edit-button">
                <i class="fa fa-pencil"></i>
              </a>-->
            </div>
          </header>
          <div class="dataset-display clearfix" style="height: 220px;">
            @dataSet.dataSource.dataLayer("color").map{ colorLayer =>
              <img src="@controllers.routes.BinaryData.requestImage(dataSet.dataSource.name, "color", 200, 200, 200, 200, 0, math.log(colorLayer.resolutions.max).toInt)" />
            }
            <a href="@controllers.routes.DataSetController.view(dataSet.dataSource.name)">
              <i class="fa fa-play"></i>
            </a>
          </div>
            <!--FIXME-->
          <div class="dataset-description clearfix">
            <h3>@team</h3>
            <h4>Original data and segmentation</h4>
            <p>@Html(dataSet.description getOrElse "")</p>
          </div>
        </div>
      }
    }
  </div>
  @credits()
}

{'fraction_non_alphanumeric': 0.17105670901766346, 'fraction_numerical': 0.03532692903625659, 'mean_word_length': 2.2838250254323498, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 85, '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': '2335324', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1044, 'n_words': 158}