<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Consumer extends CI_Controller {
  
  public function __construct(){
    parent::__construct();
    
    $this->Customerid=$_GET['Customer'];

    if(isset($_GET['Lang'])){
      $this->Languagename=$_GET['Lang'];
    }
    else{
      foreach($this->getCustomerLanguages() as $l){
        if($l['Isdefault']==true){
          $this->Languagename=$l['LanguageName'];
          break;
        }
        else{
          $this->Languagename='English';
        }
      }
    }
  }

  private function getCustomerLanguages(){
    $data = array(
      'Customerid'=>$this->Customerid
    );

    $data_url='?'.http_build_query($data);<commit_msg>testing<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Consumer extends CI_Controller {
  
  public function __construct(){
    parent::__construct();
    
    
    $this->Customerid=$_GET['Customer'];

    if(isset($_GET['Lang'])){
      $this->Languagename=$_GET['Lang'];
    }
    else{
      foreach($this->getCustomerLanguages() as $l){
        if($l['Isdefault']==true){
          $this->Languagename=$l['LanguageName'];
          break;
        }
        else{
          $this->Languagename='English';
        }
      }
    }
  }

  private function getCustomerLanguages(){
    $data = array(
      'Customerid'=>$this->Customerid
    );

    $data_url='?'.http_build_query($data);
{'fraction_non_alphanumeric': 0.16814764183185235, 'fraction_numerical': 0.0, 'mean_word_length': 2.7927461139896375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '803991', 'n_tokens_mistral': 455, 'n_tokens_neox': 446, 'n_words': 69}