<commit_before>#Instalation:
- download composer
curl -sS https://getcomposer.org/installer | php
- clone repository
git clone https://github.com/tmagiera/code-challenge.git && cd code-challenge
- update vendors
php ../composer.phar update --prefer-dist
- edit configuration data
[edit] app/confi/parameters.yml -> database connection & facebook auth
- create db schema
php app/console doctrine:schema:create
- import sample data
php app/console doctrine:fixtures:load
- download facebook feed
php app/console facebook:update
- run internal server
php app/console server:run

#Run:
now please visit:
    - main site: http://localhost:8000/
    - api documentation: http://localhost:8000/api/doc/
    - rest service : http://localhost:8000/api/builds


#Comment:
I couldn't force Doctrine to update builds with current = false on build update - related code is in : Code\Bundle\ChallengeBundle\Event\BuildSubsriber but something is wrong. Sorry, but i don't have enough time for this excercise.<commit_msg>Some markdown readme fixes<commit_after>#Instalation:
- download composer
curl -sS https://getcomposer.org/installer | php
- clone repository
git clone https://github.com/tmagiera/code-challenge.git && cd code-challenge
- update vendors
php ../composer.phar update --prefer-dist
- edit configuration data
[edit] app/confi/parameters.yml -> database connection & facebook auth
- create db schema
php app/console doctrine:schema:create
- import sample data
php app/console doctrine:fixtures:load
- download facebook feed
php app/console facebook:update
- run internal server
php app/console server:run

#Run:
now please visit:
- main site: http://localhost:8000/
- api documentation: http://localhost:8000/api/doc/
- rest service : http://localhost:8000/api/builds


#Comment:
I couldn't force Doctrine to update builds with current = false on build update - related code is in : Code\Bundle\ChallengeBundle\Event\BuildSubsriber but something is wrong. Sorry, but i don't have enough time for this excercise.
{'fraction_non_alphanumeric': 0.09646941819990054, 'fraction_numerical': 0.011934361014420686, 'mean_word_length': 4.408602150537634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5334663', 'n_tokens_mistral': 605, 'n_tokens_neox': 553, 'n_words': 200}