<commit_before>gemforce
========

Gem combining program for GC2:CS - Written in C.

***

### Results and tables:

All resulting schemes (recipes) are placed in "results" folder.  
Precomputed tables up to 1 MB are placed in "gem_tables" folder.  
More info on both can be found on the respective folders' README.

***

### HOWTO use our programs:

**manual compilation:**  
  `gcc -O2 -lm -I "include" file.c -o output`
  
**automatic setup (*NIX shell required):**  
  in the repo root run `./auto_setup.sh`  
  everything you typically need will be placed in `bin/`

**run:**  
  `./file -[flags] number(s)`
  
where flags are:  
  p - print best gem parens formula  
  t - print best gem tree formula  
  e - print best gem equations formula  
  c - print best gems table (for each value best gem stats)   
  i - info  
  f (filepath) - change table file (build/query only)  
  l (num) - limit hard gem computation to num (amps only)  
  s (num) - change chunk size (you should not need this)  
  number - value of gem to be computed  
  numbers - spec value and comb value (omnia programs only)
  
to specify if you want a speccing or a combining recipe out of a general program
(e.g. managemquery) use (num)s or (num)c (default is speccing)  
global mode in (m/k)gaquery is toggled via (num)g (you should not need this)

**example:**  
  `./file -pet 32`  


<commit_msg>Updated README with new flags<commit_after>gemforce
========

Gem combining program for GC2:CS - Written in C.

***

### Results and tables:

All resulting schemes (recipes) are placed in "results" folder.  
Precomputed tables up to 1 MB are placed in "gem_tables" folder.  
More info on both can be found on the respective folders' README.

***

### HOWTO use our programs:

**manual compilation:**  
  `gcc -O2 -lm -I "include" file.c -o output`
  
**automatic setup (*NIX shell required):**  
  in the repo root run `./auto_setup.sh`  
  everything you typically need will be placed in `bin/`

**run:**  
  `./file -[flags] number(s)`
  
where flags are:  
  p - print best gem parens formula  
  t - print best gem tree formula  
  e - print best gem equations formula  
  c - print best gems table (for each value best gem stats)   
  i - info  
  q - quiet, print only final gem
  u - upto, at the end consider the best gem up to N, not the Nth
  f (filepath) - change table file (build/query only)  
  s (num) - change chunk size (you should not need this)  
  number - value of gem to be computed  
  numbers - spec value and comb value (omnia programs only)
  
to specify if you want a speccing or a combining recipe out of a general program
(e.g. managemquery) use (num)s or (num)c (default is speccing)  
global mode in (m/k)gaquery is toggled via (num)g (you should not need this)

**example:**  
  `./file -pet 32`  



{'fraction_non_alphanumeric': 0.09757834757834757, 'fraction_numerical': 0.0035612535612535613, 'mean_word_length': 3.024355300859599, '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': '1387286', 'n_tokens_mistral': 904, 'n_tokens_neox': 880, 'n_words': 417}