<commit_before><?php
class LesJoiesDuCodeBridge extends BridgeAbstract{

	public $maintainer = "<EMAIL>";
	public $name = "<NAME>";
	public $uri = "http://lesjoiesducode.fr/";
	public $description = "LesJoiesDuCode";

    public function collectData(){
        $html = $this->getSimpleHTMLDOM('http://lesjoiesducode.fr/') or $this->returnServerError('Could not request LesJoiesDuCode.');

        foreach($html->find('div.blog-post') as $element) {
            $item = array();<commit_msg>[LesJoiesDuCodeBridge] code simplification<commit_after><?php
class LesJoiesDuCodeBridge extends BridgeAbstract{

	public $maintainer = "<EMAIL>";
	public $name = "<NAME>";
	public $uri = "http://lesjoiesducode.fr/";
	public $description = "LesJoiesDuCode";

    public function collectData(){
        $html = $this->getSimpleHTMLDOM($this->uri)
            or $this->returnServerError('Could not request LesJoiesDuCode.');

        foreach($html->find('div.blog-post') as $element) {
            $item = array();
{'fraction_non_alphanumeric': 0.15568862275449102, 'fraction_numerical': 0.0, 'mean_word_length': 4.170103092783505, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 14, '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': '7127479', 'n_tokens_mistral': 309, 'n_tokens_neox': 300, 'n_words': 65}