<commit_before>import { SetValueModel, SetFilterModelValuesType } from './setValueModel';
import { Constants, ColDef, RowNode, IClientSideRowModel, ValueFormatterService } from '@ag-grid-community/core';
import { mock } from '../test-utils/mock';

function createSetValueModel(
    gridValues: any[] = ['A', 'B', 'C'],
    filterParams?: any,
    doesRowPassOtherFilters: (row: RowNode) => boolean = _ => true,
    suppressSorting = false) {<commit_msg>AG-4688 - ensure object is passed for params in tests<commit_after>import { SetValueModel, SetFilterModelValuesType } from './setValueModel';
import { Constants, ColDef, RowNode, IClientSideRowModel, ValueFormatterService } from '@ag-grid-community/core';
import { mock } from '../test-utils/mock';

function createSetValueModel(
    gridValues: any[] = ['A', 'B', 'C'],
    filterParams: any = {},
    doesRowPassOtherFilters: (row: RowNode) => boolean = _ => true,
    suppressSorting = false) {
{'fraction_non_alphanumeric': 0.1431578947368421, 'fraction_numerical': 0.004210526315789474, 'mean_word_length': 5.018987341772152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5628671', 'n_tokens_mistral': 282, 'n_tokens_neox': 283, 'n_words': 74}