<commit_before>- [ ] How to have robust single writer/several readers?
- [ ] protocol DatabaseEquatable, with default implementation for MutablePersistable
- [ ] Query builder
    - [ ] SELECT readers.*, books.* FROM ... JOIN ...
    - [ ] date functions
    - [ ] NOW
    - [ ] RANDOM() https://www.sqlite.org/lang_corefunc.html
    - [ ] LIKE https://www.sqlite.org/lang_expr.html
    - [ ] GLOB https://www.sqlite.org/lang_expr.html
    - [ ] MATCH https://www.sqlite.org/lang_expr.html
    - [ ] REGEXP https://www.sqlite.org/lang_expr.html
    - [ ] CASE x WHEN w1 THEN r1 WHEN w2 THEN r2 ELSE r3 END https://www.sqlite.org/lang_expr.html
- [ ] DatabasePool
    - [ ] Tests :-)
    - [ ] Allow only readOnly statement in readers
    - [ ] Forbid transactions and save points in readers
    - [ ] Remove Statement.readOnly since a readOnly database refuses to execute modification statements. We need tests for this assertion.

Not sure:<commit_msg>TODO.md<commit_after>- [ ] How to have robust single writer/several readers?
- [ ] protocol DatabaseEquatable, with default implementation for MutablePersistable
- [ ] Query builder
    - [ ] SELECT readers.*, books.* FROM ... JOIN ...
    - [ ] date functions
    - [ ] NOW
    - [ ] RANDOM() https://www.sqlite.org/lang_corefunc.html
    - [ ] LIKE https://www.sqlite.org/lang_expr.html
    - [ ] GLOB https://www.sqlite.org/lang_expr.html
    - [ ] MATCH https://www.sqlite.org/lang_expr.html
    - [ ] REGEXP https://www.sqlite.org/lang_expr.html
    - [ ] CASE x WHEN w1 THEN r1 WHEN w2 THEN r2 ELSE r3 END https://www.sqlite.org/lang_expr.html
- [ ] DatabasePool
    - [ ] Tests :-)
    - [ ] Allow only readOnly statement in readers
        - [ ] Remove Statement.readOnly since a readOnly database refuses to execute modification statements. We need tests for this assertion.
    - [ ] Forbid transactions and save points in readers
    - [ ] Database schema cache should be shared accross connections in a pool.
    - [ ] DatabasePool.checkpoint() https://www.sqlite.org/c3ref/wal_checkpoint_v2.html
    - [ ] Concurrency tests:
        - [ ] Iterate rows concurrently.
        - [ ] Iterate rows, and concurrently, update the database rows. Is the selection modified?
        - [ ] Iterate rows, and concurrently, update the database rows and then checkpoint. Is the selection modified?

Not sure:
{'fraction_non_alphanumeric': 0.11822033898305084, 'fraction_numerical': 0.005084745762711864, 'mean_word_length': 2.7416798732171155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 13, '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': '1471550', 'n_tokens_mistral': 734, 'n_tokens_neox': 694, 'n_words': 210}