<commit_before># Creer
The automatic code generating script for the Cadre framework, intending to create base code for a simple game strcture for the rest of the framework.

![{Cadre}](http://i.imgur.com/17wwI3f.png)

All inspiration taken from [MS&T's SIG-GAME framework](https://github.com/siggame), and most of the terminology is assuming some familiarity with it as this is a spiritual successor to it.

## How to use
`python main.py -m {main.data file} -i {../list/of/folders ./that/have/a/_templates/folder/ in/them} -o {path/to/output/folder}`

## Templates
Every folder in the `-i` input folders should have a `_templates/` folder present inside it. the folder/file names inside it should be using Mako syntax. if the file contains `${obj_key}` then every game class within the game data you are evaluating for will be generated. For examples look at the Cerveau and Joeur clients that are part of the Cadre framework.

## Other notes
Try to have git installed via your command line `git` so the version of this repo can be added to the generated files. This will help in tracking if files were updated when pushed.

## Other notes

This is a polished proof-of-concept part of the Cadre framework. There are plently of bugs and issues present. The purpose at this time is not to be perfect, but to show that this framework is robust and meets all the needs of MS&T's ACM SIG-GAME.
<commit_msg>MS&T -> MST for JacobFischer/Cadre#1<commit_after># Creer
The automatic code generating script for the Cadre framework, intending to create base code for a simple game strcture for the rest of the framework.

![{Cadre}](http://i.imgur.com/17wwI3f.png)

All inspiration taken from [MST's SIG-GAME framework](https://github.com/siggame), and most of the terminology is assuming some familiarity with it as this is a spiritual successor to it.

## How to use
`python main.py -m {main.data file} -i {../list/of/folders ./that/have/a/_templates/folder/ in/them} -o {path/to/output/folder}`

## Templates
Every folder in the `-i` input folders should have a `_templates/` folder present inside it. the folder/file names inside it should be using Mako syntax. if the file contains `${obj_key}` then every game class within the game data you are evaluating for will be generated. For examples look at the Cerveau and Joeur clients that are part of the Cadre framework.

## Other notes
Try to have git installed via your command line `git` so the version of this repo can be added to the generated files. This will help in tracking if files were updated when pushed.

## Other notes

This is a polished proof-of-concept part of the Cadre framework. There are plently of bugs and issues present. The purpose at this time is not to be perfect, but to show that this framework is robust and meets all the needs of MST's ACM SIG-GAME.

{'fraction_non_alphanumeric': 0.07190931633014523, 'fraction_numerical': 0.002479631597591215, 'mean_word_length': 4.106690777576854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '5637382', 'n_tokens_mistral': 782, 'n_tokens_neox': 763, 'n_words': 429}