<commit_before>hqDefine('app_manager/js/manage_releases_by_app_profile', [
    'jquery',
    'knockout',
    'underscore',
    'hqwebapp/js/initial_page_data',
    'hqwebapp/js/assert_properties',
    'translations/js/app_translations',
], function (
    $,
    ko,
    _,
    initialPageData,
    assertProperties
) {
    'use strict';
    $(function () {
        var AppRelease = function (details) {
            var self = {};
            assertProperties.assertRequired(details, ['id', 'app_id', 'active', 'app_name', 'profile_name',
                'version']);
            self.id = details.id;
            self.active = ko.observable(details.active);
            self.status = details.active ? gettext('Active') : gettext('Inactive');
            self.appName = details.app_name;
            self.version = details.version;
            self.profileName = details.profile_name;
            self.domId = "restriction_" + self.id;
            self.errorMessage = ko.observable();
            self.domId = "restriction_" + self.id;
            self.ajaxInProgress = ko.observable(false);
            self.actionText = ko.computed(function () {<commit_msg>remove duplicate<commit_after>hqDefine('app_manager/js/manage_releases_by_app_profile', [
    'jquery',
    'knockout',
    'underscore',
    'hqwebapp/js/initial_page_data',
    'hqwebapp/js/assert_properties',
    'translations/js/app_translations',
], function (
    $,
    ko,
    _,
    initialPageData,
    assertProperties
) {
    'use strict';
    $(function () {
        var AppRelease = function (details) {
            var self = {};
            assertProperties.assertRequired(details, ['id', 'app_id', 'active', 'app_name', 'profile_name',
                'version']);
            self.id = details.id;
            self.active = ko.observable(details.active);
            self.status = details.active ? gettext('Active') : gettext('Inactive');
            self.appName = details.app_name;
            self.version = details.version;
            self.profileName = details.profile_name;
            self.domId = "restriction_" + self.id;
            self.errorMessage = ko.observable();
            self.ajaxInProgress = ko.observable(false);
            self.actionText = ko.computed(function () {
{'fraction_non_alphanumeric': 0.13271604938271606, 'fraction_numerical': 0.0, 'mean_word_length': 2.3614814814814813, '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': '1893859', 'n_tokens_mistral': 682, 'n_tokens_neox': 665, 'n_words': 104}