<commit_before>hqDefine('userreports/js/reportbuilder/configure_report', function() {
    var initialPageData = hqImport('hqwebapp/js/initial_page_data');

    var ReportBuilder = {
      Constants: hqImport("userreports/js/constants"),
    };

    $(function() {
        var existing_report = initialPageData.get('existing_report'),
            report_description = initialPageData.get('report_description');

        var reportConfig = new reportBuilder.ReportConfig({
            "columnOptions": initialPageData.get('column_options'),
            "initialColumns": initialPageData.get('initial_columns'),
            "app": initialPageData.get('application'),
            "sourceId": initialPageData.get('source_id'),
            "sourceType": "initialPageData.get('source_type')",
            "reportPreviewUrl": "initialPageData.get('report_preview_url')",
            "previewDatasourceId": "initialPageData.get('preview_datasource_id')",
            "existingReport": existing_report ? existing_report.get_id : null,
            "existingReportType": initialPageData.get('existing_report_type'),
            "reportTitle": initialPageData.get('report_title'),
            "reportDescription": report_description ? report_description : null,
            "dataSourceProperties": initialPageData.get('data_source_properties'),
            "initialDefaultFilters": initialPageData.get('initial_default_filters'),
            "initialUserFilters": initialPageData.get('initial_user_filters'),<commit_msg>just set it on the window<commit_after>hqDefine('userreports/js/reportbuilder/configure_report', function() {
    var initialPageData = hqImport('hqwebapp/js/initial_page_data');

    window.ReportBuilder = {
        Constants: hqImport("userreports/js/constants"),
    };

    $(function() {
        var existing_report = initialPageData.get('existing_report'),
            report_description = initialPageData.get('report_description');

        var reportConfig = new reportBuilder.ReportConfig({
            "columnOptions": initialPageData.get('column_options'),
            "initialColumns": initialPageData.get('initial_columns'),
            "app": initialPageData.get('application'),
            "sourceId": initialPageData.get('source_id'),
            "sourceType": "initialPageData.get('source_type')",
            "reportPreviewUrl": "initialPageData.get('report_preview_url')",
            "previewDatasourceId": "initialPageData.get('preview_datasource_id')",
            "existingReport": existing_report ? existing_report.get_id : null,
            "existingReportType": initialPageData.get('existing_report_type'),
            "reportTitle": initialPageData.get('report_title'),
            "reportDescription": report_description ? report_description : null,
            "dataSourceProperties": initialPageData.get('data_source_properties'),
            "initialDefaultFilters": initialPageData.get('initial_default_filters'),
            "initialUserFilters": initialPageData.get('initial_user_filters'),
{'fraction_non_alphanumeric': 0.1210821511052458, 'fraction_numerical': 0.0, 'mean_word_length': 3.87459807073955, 'pattern_counts': {'":': 28, '<': 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': '6443106', 'n_tokens_mistral': 783, 'n_tokens_neox': 772, 'n_words': 105}