<commit_before>.sg-layout-block(ng-class='{"selected" : paginator.$index === $index}')
    img(ng-src='{{ paginator.getThumbUrl(layout) }}'
    ng-click="paginator.handleLayoutClick($index)"
    ng-dblclick="paginator.showInGallery()"
    hm-swipeup="paginator.showInGallery()"
    ng-class='paginator.getThumbClass(layout)')
    sg-rating.text-center(linked-object='layout' ng-show='paginator.filters.currentClient.mode === "byLayout"')
    .text-center(ng-show='paginator.filters.currentClient.mode === "byRater"'
    style='font-size: 20px')
        i.glyphicon.glyphicon-star.sg-gold-i
        | {{ layout.compareValue }}
    .sg-layoutname.text-center {{ layout.name }}<commit_msg>[+] Layout is showing reference instead of name if it exists.<commit_after>.sg-layout-block(ng-class='{"selected" : paginator.$index === $index}')
    img(ng-src='{{ paginator.getThumbUrl(layout) }}'
    ng-click="paginator.handleLayoutClick($index)"
    ng-dblclick="paginator.showInGallery()"
    hm-swipeup="paginator.showInGallery()"
    ng-class='paginator.getThumbClass(layout)')
    sg-rating.text-center(linked-object='layout' ng-show='paginator.filters.currentClient.mode === "byLayout"')
    .text-center(ng-show='paginator.filters.currentClient.mode === "byRater"'
    style='font-size: 20px')
        i.glyphicon.glyphicon-star.sg-gold-i
        | {{ layout.compareValue }}
    .sg-layoutname.text-center {{ layout.reference ? "арт. " + _.padLeft(layout.reference, 5, '0'): layout.name }}
{'fraction_non_alphanumeric': 0.18506056527590847, 'fraction_numerical': 0.004037685060565276, 'mean_word_length': 4.507407407407407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4542239', 'n_tokens_mistral': 515, 'n_tokens_neox': 494, 'n_words': 55}