<commit_before><div>    
    <ol class="breadcrumb">
        <li><a href="#/series">Series</a></li>
        <li class="active">{{seriesDetailsCtrl.series.title}}</li>
    </ol>

    <hr class="browse-divider">

    <div class="row">
        <div class="col-sm-3 hidden-xs">

            
                <div class="panel-body">
                    <img ng-src="{{seriesDetailsCtrl.series.poster}}" class="img-responsive"/>
                
                <h2>
                    {{seriesDetailsCtrl.series.title}} <small>({{seriesDetailsCtrl.series.releaseYear}})</small>
                </h2>
                <p>
                    [{{seriesDetailsCtrl.series.rated}}] 
                    {{seriesDetailsCtrl.series.runtime}} min 
                    -
                    <span ng-repeat="genre in seriesDetailsCtrl.series.genres">
                        {{genre}}<span ng-if="!$last">,</span>
                    </span>
                    -
                    {{seriesDetailsCtrl.series.releaseYear}}
                </p>
                <div class="progress">
                    <div class="progress-bar" role="progressbar" style="width: calc({{seriesDetailsCtrl.series.imdbRating}}%*10);">
                        {{seriesDetailsCtrl.series.imdbRating}} 
                        <span class="glyphicon glyphicon-star"></span> 
                    </div>
                </div>

                <div>
                    <hr>
                    <p>
                        {{seriesDetailsCtrl.series.plot}}
                    </p>
                     <hr>
                    <p>
                        <b>Stars:  </b> <span ng-repeat="actor in seriesDetailsCtrl.series.actors| limitTo: 4">
                            <a href="#/actors/{{actor.id}}">{{actor.name}}</a><span ng-if="!$last">,</span>
                        </span>
                    </p>
                </div>
            </div>


        </div>
        <div class="col-sm-9 col-xs-12">
            <table class="list table table-hover table-bordered table-striped">
                <thead>
                    <tr>
                        <td>Title</td>
                        <td>Episode</td>
                        <td>Season</td>
                    </tr>
                </thead>
                <tbody ng-show="seriesDetailsCtrl.series.episodes.length">
                    <tr class="browsingRow" ng-repeat="episode in seriesDetailsCtrl.series.episodes" 
                        ng-click="seriesDetailsCtrl.goTo('series/' + seriesDetailsCtrl.series.id + '/episode/' + episode.id)">
                        <td>{{episode.title}}</td>
                        <td>{{episode.episode}}</td>
                        <td>{{episode.season}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>


</div><commit_msg>Episode list now ordered by season and episode numbering<commit_after><div>    
    <ol class="breadcrumb">
        <li><a href="#/series">Series</a></li>
        <li class="active">{{seriesDetailsCtrl.series.title}}</li>
    </ol>

    <hr class="browse-divider">

    <div class="row">
        <div class="col-sm-3 hidden-xs">

            
                <div class="panel-body">
                    <img ng-src="{{seriesDetailsCtrl.series.poster}}" class="img-responsive"/>
                
                <h2>
                    {{seriesDetailsCtrl.series.title}} <small>({{seriesDetailsCtrl.series.releaseYear}})</small>
                </h2>
                <p>
                    [{{seriesDetailsCtrl.series.rated}}] 
                    {{seriesDetailsCtrl.series.runtime}} min 
                    -
                    <span ng-repeat="genre in seriesDetailsCtrl.series.genres">
                        {{genre}}<span ng-if="!$last">,</span>
                    </span>
                    -
                    {{seriesDetailsCtrl.series.releaseYear}}
                </p>
                <div class="progress">
                    <div class="progress-bar" role="progressbar" style="width: calc({{seriesDetailsCtrl.series.imdbRating}}%*10);">
                        {{seriesDetailsCtrl.series.imdbRating}} 
                        <span class="glyphicon glyphicon-star"></span> 
                    </div>
                </div>

                <div>
                    <hr>
                    <p>
                        {{seriesDetailsCtrl.series.plot}}
                    </p>
                     <hr>
                    <p>
                        <b>Stars:  </b> <span ng-repeat="actor in seriesDetailsCtrl.series.actors| limitTo: 4">
                            <a href="#/actors/{{actor.id}}">{{actor.name}}</a><span ng-if="!$last">,</span>
                        </span>
                    </p>
                </div>
            </div>


        </div>
        <div class="col-sm-9 col-xs-12">
            <table class="list table table-hover table-bordered table-striped">
                <thead>
                    <tr>
                        <td>Title</td>
                        <td>Episode</td>
                        <td>Season</td>
                    </tr>
                </thead>
                <tbody ng-show="seriesDetailsCtrl.series.episodes.length">
                    <tr class="browsingRow" ng-repeat="episode in seriesDetailsCtrl.series.episodes | orderBy:['season','episode']" 
                        ng-click="seriesDetailsCtrl.goTo('series/' + seriesDetailsCtrl.series.id + '/episode/' + episode.id)">
                        <td>{{episode.title}}</td>
                        <td>{{episode.episode}}</td>
                        <td>{{episode.season}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>


</div>
{'fraction_non_alphanumeric': 0.14866735894773278, 'fraction_numerical': 0.003115264797507788, 'mean_word_length': 1.1491260691706955, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '827602', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1463, 'n_words': 226}