<commit_before>(:~
 : See https://github.com/eXist-db/exist/issues/1550
 :)
xquery version "3.1";

module namespace ct="http://exist-db.org/xquery/closures/test";

declare namespace test="http://exist-db.org/xquery/xqsuite";

declare variable $ct:test := "123";

declare variable $ct:model := function($param) {
    let $func := function() {
        $param
    }
    return
        map {
        'test1' : $func,
        'test2' : $func(),
        'test3' : function() {
            $param
        }
        }
};<commit_msg>[ignore] Apply cosmetic changes suggested by @duncdrum<commit_after>(:~
 : @see https://github.com/eXist-db/exist/issues/1550
 :)
xquery version "3.1";

module namespace ct="http://exist-db.org/xquery/closures/test";

declare namespace test="http://exist-db.org/xquery/xqsuite";

declare variable $ct:test := "123";

declare variable $ct:model := function($param) {
    let $func := function() {
        $param
    }
    return
        map {
        'test1': $func,
        'test2': $func(),
        'test3': function() {
            $param
        }
        }
};
{'fraction_non_alphanumeric': 0.17295308187672492, 'fraction_numerical': 0.02207911683532659, 'mean_word_length': 2.4430379746835444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1367119', 'n_tokens_mistral': 380, 'n_tokens_neox': 361, 'n_words': 72}