<commit_before><div class="campaign">
    <h2 class="campaign__title md-display-1"
        layout="row" layout-align="start center">
        <span>{{$ctrl.campaign[0].campaign.name}}</span>
        <span flex></span>
    </h2>

    <div class="campaign__rounds-description"
         layout="row" layout-align="space-between center">
        <span class="md-body-1" flex="30">Name</span>
        <span class="md-body-1" flex="30">Round Date</span>
        <span class="md-body-1" flex="20">Progress</span>
        <span flex></span>
        <span class="md-body-1" flex="10">Vote Method</span>
    </div>
    <md-card class="campaign__rounds">
        <div class="campaign__round md-primary md-hue-1"
             layout="row" layout-align="space-between center"
             ng-repeat="round in $ctrl.campaign"
             ng-class="$ctrl.isRoundActive(round) ? 'campaign__round--active' : 'campaign__round--inactive'"
             ng-click="$ctrl.openRound(round)">
            <span class="md-body-2" flex="30">
                {{round.name}}
                <span class="tag tag--pill"
                      ng-class="'tag--{{round.status}}'">{{round.status}}</span>
            </span>
            <span class="md-body-1" flex="30" layout="row" layout-align="start center">
                <span>
                    {{round.open_date | date}}<br />
                    <small class="muted">{{round.open_date | fromNow}}</small>
                </span>
                <span class="campaign__dash">–</span>
                <span>
                    {{round.close_date | date}}<br />
                    <small class="muted">{{round.close_date | fromNow}}</small>
                </span>
            </span>
            <span class="md-body-1" flex="20" layout="column" layout-align="start start">
                <md-progress-linear md-mode="determinate"
                                    value="{{100 - round.percent_tasks_open}}"></md-progress-linear>
                <div class="campaign__progress" layout="row" layout-align="space-between center">
                    <span>{{round.total_tasks - round.total_open_tasks}} / {{round.total_tasks}} reviewed</span>
                    <span flex></span>
                    <span class="muted">{{100 - round.percent_tasks_open}}%</span>
                </div>
            </span>
            <span flex></span>
            <span class="md-body-1" flex="10">
                <span ng-if="round.vote_method === 'yesno'"><md-icon>thumbs_up_down</md-icon> Yes/No</span>
                <span ng-if="round.vote_method === 'rating'"><md-icon>star_border</md-icon> Rating</span>
                <span ng-if="round.vote_method === 'ranking'"><md-icon>sort</md-icon> Ranking</span>
            </span>
        </div>
    </md-card>
</div><commit_msg>fix(campaign): round percentage<commit_after><div class="campaign">
    <h2 class="campaign__title md-display-1"
        layout="row" layout-align="start center">
        <span>{{$ctrl.campaign[0].campaign.name}}</span>
        <span flex></span>
    </h2>

    <div class="campaign__rounds-description"
         layout="row" layout-align="space-between center">
        <span class="md-body-1" flex="30">Name</span>
        <span class="md-body-1" flex="30">Round Date</span>
        <span class="md-body-1" flex="20">Progress</span>
        <span flex></span>
        <span class="md-body-1" flex="10">Vote Method</span>
    </div>
    <md-card class="campaign__rounds">
        <div class="campaign__round md-primary md-hue-1"
             layout="row" layout-align="space-between center"
             ng-repeat="round in $ctrl.campaign"
             ng-class="$ctrl.isRoundActive(round) ? 'campaign__round--active' : 'campaign__round--inactive'"
             ng-click="$ctrl.openRound(round)">
            <span class="md-body-2" flex="30">
                {{round.name}}
                <span class="tag tag--pill"
                      ng-class="'tag--{{round.status}}'">{{round.status}}</span>
            </span>
            <span class="md-body-1" flex="30" layout="row" layout-align="start center">
                <span>
                    {{round.open_date | date}}<br />
                    <small class="muted">{{round.open_date | fromNow}}</small>
                </span>
                <span class="campaign__dash">–</span>
                <span>
                    {{round.close_date | date}}<br />
                    <small class="muted">{{round.close_date | fromNow}}</small>
                </span>
            </span>
            <span class="md-body-1" flex="20" layout="column" layout-align="start start">
                <md-progress-linear md-mode="determinate"
                                    value="{{100 - round.percent_tasks_open}}"></md-progress-linear>
                <div class="campaign__progress" layout="row" layout-align="space-between center">
                    <span>{{round.total_tasks - round.total_open_tasks}} / {{round.total_tasks}} reviewed</span>
                    <span flex></span>
                    <span class="muted">{{100 - round.percent_tasks_open | number: 0}}%</span>
                </div>
            </span>
            <span flex></span>
            <span class="md-body-1" flex="10">
                <span ng-if="round.vote_method === 'yesno'"><md-icon>thumbs_up_down</md-icon> Yes/No</span>
                <span ng-if="round.vote_method === 'rating'"><md-icon>star_border</md-icon> Rating</span>
                <span ng-if="round.vote_method === 'ranking'"><md-icon>sort</md-icon> Ranking</span>
            </span>
        </div>
    </md-card>
</div>
{'fraction_non_alphanumeric': 0.17679459843638948, 'fraction_numerical': 0.01261549395877754, 'mean_word_length': 1.9720168954593453, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6738773', 'n_tokens_mistral': 1749, 'n_tokens_neox': 1626, 'n_words': 261}