<commit_before>import _10gen

db = _10gen.connect( "test" );
t = db.pydb2;
t.drop();

t.save( { "name" : "eliot" , "foo" : [ 1 , 2 ] } );
x = t.findOne();
_10gen.assert.eq( "eliot" , x.name );
_10gen.assert.eq( 2 , len( x.foo ) );
<commit_msg>broken unit test<commit_after>import _10gen

db = _10gen.connect( "test" );
t = db.pydb2;
t.drop();

t.save( { "name" : "eliot" , "foo" : [ 1 , 2 ] } );
x = t.findOne();
_10gen.assert.eq( "eliot" , x.name );
_10gen.assert.eq( 2 , len( x.foo ) );
_10gen.assert.eq( 1 , x.foo[0] );
_10gen.assert.eq( 2 , x.foo[1] );

{'fraction_non_alphanumeric': 0.24057450628366248, 'fraction_numerical': 0.05745062836624776, 'mean_word_length': 3.393700787401575, 'pattern_counts': {'":': 0, '<': 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': '3843235', 'n_tokens_mistral': 282, 'n_tokens_neox': 262, 'n_words': 54}