<commit_before>define('app/views/log_list_item', ['app/views/list_item'],
    //
    //  Log List Item View
    //
    //  @returns Class
    //
    function (ListItemView) {

        'use strict';

        return ListItemView.extend({


            //
            //
            //  Properties
            //
            //


            log: null,
            tagName: 'li',
            isCollapsed: true,


            //
            //
            //  Computed Properties
            //
            //


            details: function () {
                var details = [];
                forIn(this.log, function (value, property) {
                    if (property == 'time')
                        return;
                    details.push({
                        key: property,
                        value: value instanceof Object ? JSON.stringify(value) : value
                    });
                })
                return details.sort(function (a, b) {
                    if (a.key > b.key)
                        return 1;
                    if (a.key < b.key)
                        return -1;
                    return 0;
                });
            }.property('log'),<commit_msg>Don't show null properties<commit_after>define('app/views/log_list_item', ['app/views/list_item'],
    //
    //  Log List Item View
    //
    //  @returns Class
    //
    function (ListItemView) {

        'use strict';

        return ListItemView.extend({


            //
            //
            //  Properties
            //
            //


            log: null,
            tagName: 'li',
            isCollapsed: true,


            //
            //
            //  Computed Properties
            //
            //


            details: function () {
                var details = [];
                forIn(this.log, function (value, property) {
                    if (property == 'time')
                        return;
                    if (value !== undefined && value !== null)
                        details.push({
                            key: property,
                            value: value instanceof Object ? JSON.stringify(value) : value
                        });
                })
                return details.sort(function (a, b) {
                    if (a.key > b.key)
                        return 1;
                    if (a.key < b.key)
                        return -1;
                    return 0;
                });
            }.property('log'),
{'fraction_non_alphanumeric': 0.10938743038981702, 'fraction_numerical': 0.002386634844868735, 'mean_word_length': 0.7636746143057503, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1209163', 'n_tokens_mistral': 627, 'n_tokens_neox': 568, 'n_words': 129}