<commit_before>﻿module Kitos.DataProcessing.Agreement.Edit.Ref {
    "use strict";

    export class EditRefDataProcessingAgreementController {
        static $inject: Array<string> = [
            "$scope",
            "$state",
            "user",
            "notify",
            "hasWriteAccess",
            "referenceService",
            "dataProcessingAgreement",
            "dataProcessingAgreementService"
        ];

        constructor(
            private readonly $scope,
            private $state,
            private readonly user: Services.IUser,
            private notify,
            public hasWriteAccess,
            private referenceService: Services.ReferenceService,
            private dataProcessingAgreement: Models.DataProcessing.IDataProcessingAgreementDTO,
            private dataProcessingAgreementService: Services.DataProcessing.IDataProcessingAgreementService) {

            $scope.referenceName = dataProcessingAgreement.name;

            this.$scope.mainGridOptions = {
                dataSource: {
                    data: dataProcessingAgreement.references,
                    pageSize: 10
                },
                sortable: true,
                pageable: {<commit_msg>use interface<commit_after>﻿module Kitos.DataProcessing.Agreement.Edit.Ref {
    "use strict";

    export class EditRefDataProcessingAgreementController {
        static $inject: Array<string> = [
            "$scope",
            "$state",
            "user",
            "notify",
            "hasWriteAccess",
            "referenceService",
            "dataProcessingAgreement",
            "dataProcessingAgreementService"
        ];

        constructor(
            private readonly $scope,
            private $state,
            private readonly user: Services.IUser,
            private notify,
            public hasWriteAccess,
            private referenceService: Services.IReferenceService,
            private dataProcessingAgreement: Models.DataProcessing.IDataProcessingAgreementDTO,
            private dataProcessingAgreementService: Services.DataProcessing.IDataProcessingAgreementService) {

            $scope.referenceName = dataProcessingAgreement.name;

            this.$scope.mainGridOptions = {
                dataSource: {
                    data: dataProcessingAgreement.references,
                    pageSize: 10
                },
                sortable: true,
                pageable: {
{'fraction_non_alphanumeric': 0.07326007326007326, 'fraction_numerical': 0.001628001628001628, 'mean_word_length': 1.825287356321839, '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': '5633432', 'n_tokens_mistral': 579, 'n_tokens_neox': 538, 'n_words': 105}