<commit_before>! Copyright (C) 2005, 2010, 2018 <NAME>, <NAME>, and <NAME>.
USING: arrays combinators.short-circuit grouping kernel math math.matrices math.matrices.private
math.statistics math.vectors sequences sequences.deep sets tools.test ;
IN: math.matrices

<PRIVATE
: call-eq? ( obj quots -- ? )
    [ call( x -- x ) ] with map all-eq? ; !  inline
PRIVATE>
! ------------------------
! predicates

{ t } [ { }                 regular-matrix? ] unit-test
{ t } [ { { } }             regular-matrix? ] unit-test<commit_msg>math.matrices: update using on tests.<commit_after>! Copyright (C) 2005, 2010, 2018 <NAME>, <NAME>, and <NAME>.
USING: arrays assocs combinators.short-circuit grouping kernel
math math.statistics sequences sequences.deep tools.test ;
IN: math.matrices

<PRIVATE
: call-eq? ( obj quots -- ? )
    [ call( x -- x ) ] with map all-eq? ; !  inline
PRIVATE>
! ------------------------
! predicates

{ t } [ { }                 regular-matrix? ] unit-test
{ t } [ { { } }             regular-matrix? ] unit-test
{'fraction_non_alphanumeric': 0.18489835430784124, 'fraction_numerical': 0.023233301064859633, 'mean_word_length': 2.3790849673202614, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '7046562', 'n_tokens_mistral': 349, 'n_tokens_neox': 318, 'n_words': 90}