<commit_before>tetris-solver
=============

Solves tetris-fill puzzles expressed in a simple file format.

Usage:
------

    ./solver simple.puzzle

simple3.puzzle:
---------------

    x = 4
    y = 4
    
    L = 1
    T = 2
    Z = 1

Output:
-------

    Win!
    
    Piece Z at [0,0] orientation 0
                0 1 2 3
                --------
             0 |###     |
             1 |  ###   |
             2 |        |
             3 |        |
                --------
    Piece L at [2,0] orientation 1
                0 1 2 3
                --------
             0 |    ### |
             1 |      # |
             2 |      # |
             3 |        |
                --------
    Piece T at [0,1] orientation 3
                0 1 2 3
                --------
             0 |        |
             1 |#       |
             2 |###     |
             3 |#       |
                --------
    Piece T at [1,2] orientation 2
                0 1 2 3
                --------
             0 |        |
             1 |        |
             2 |    #   |
             3 |  ##### |
                --------<commit_msg>README: Update to match new output style<commit_after>tetris-solver
=============

Solves tetris-fill puzzles expressed in a simple file format.

Usage:
------

    ./solver simple.puzzle

simple3.puzzle:
---------------

    x = 4
    y = 4
    
    L = 1
    T = 2
    Z = 1

Output:
-------

    Win!
    
    Piece Z at [0,0] orientation 0
    Piece L at [2,0] orientation 1
    Piece T at [1,2] orientation 2
    Piece T at [0,1] orientation 3
                0 1 2 3
                -------
             0 |ZZZ LLL|
               |  Z   L|
             1 |T ZZZ L|
               |T     L|
             2 |TTT T L|
               |T   T  |
             3 |T TTTTT|
                -------
{'fraction_non_alphanumeric': 0.15919037199124728, 'fraction_numerical': 0.04157549234135667, 'mean_word_length': 0.6072056239015817, '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': '3761138', 'n_tokens_mistral': 581, 'n_tokens_neox': 529, 'n_words': 162}