<commit_before><div class="question textleft">
    <h1 class="top">{{ currentActivity.data.question }}</h1>
</div>

<ul class="nav nav-tabs" ng-init="html5section='source-code'">
    <li ng-class="{'active':html5section=='source-code'}" ng-click="html5section='source-code'">
        <a style="cursor:pointer">Código fonte</a>
    </li>
    <li ng-class="{'active':html5section=='expected'}" ng-click="html5section='expected'">
        <a style="cursor:pointer">Resultado esperado</a>
    </li>
</ul>

<div ng-show="html5section=='source-code'">
    <div codemirror initial-model="currentActivity.data.code" ng-model="answer.given"></div>
    <iframe framepreview cm-bind="answer.given"
            width="100%" src='/empty/' frameborder="0"
            style="border: 2px solid #dddddd; background-color: #e8e8e8;"></iframe>
</div>
<div ng-show="html5section=='expected'">
    <iframe framepreview cm-bind="currentActivity.expected"
            width="100%" frameborder="0" height="454" src='/empty/'
            style="border: 2px solid #dddddd; border-width: 0 2px 2px; background-color: #e8e8e8;"></iframe>
</div><commit_msg>fix problem with angular scopes<commit_after><div class="question textleft" ng-show="currentActivity.data.question">
    <h1 class="top">{{ currentActivity.data.question }}</h1>
</div>

<ul class="nav nav-tabs" ng-init="html5section='source-code'">
    <li ng-class="{'active':html5section=='source-code'}" ng-click="html5section='source-code'">
        <a style="cursor:pointer">Código fonte</a>
    </li>
    <li ng-class="{'active':html5section=='expected'}" ng-click="html5section='expected'">
        <a style="cursor:pointer">Resultado esperado</a>
    </li>
</ul>

<div ng-show="html5section=='source-code'">
    <div codemirror initial-model="currentActivity.data.code" ng-model="$parent.answer.given"></div>
    <iframe framepreview cm-bind="answer.given"
            width="100%" src='/empty/' frameborder="0"
            style="border: 2px solid #dddddd; background-color: #e8e8e8;"></iframe>
</div>
<div ng-show="html5section=='expected'">
    <iframe framepreview cm-bind="currentActivity.expected"
            width="100%" frameborder="0" height="454" src='/empty/'
            style="border: 2px solid #dddddd; border-width: 0 2px 2px; background-color: #e8e8e8;"></iframe>
</div>
{'fraction_non_alphanumeric': 0.19707401032702238, 'fraction_numerical': 0.02667814113597246, 'mean_word_length': 4.535714285714286, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '4884193', 'n_tokens_mistral': 818, 'n_tokens_neox': 761, 'n_words': 136}