<commit_before>pistApp.controller('AdvancedWeatherController', ['$scope', '$http', "$interval", function($scope, $http, $interval){
    $scope.control = function(){
        $http.get('http://kgb.emn.fr:8001/channels/5/feed.json?key=ZSAVTBI11WQOSJWY&results=1')
	.then(function(result) {
		var feed = result.data.feeds[0];
		$scope.temp = parseFloat(feed.field2).toFixed(1);
		$scope.humidity = Math.floor(feed.field3);
		$scope.direction = Math.floor(feed.field7);
        $scope.speed = Math.floor(feed.field8);
            $scope.intermediaire =(17,27*$scope.temp)/(237,7+$scope.temp)+Math.log($scope.humidity);
            $scope.tempF=Math.floor($scope.temp*1.8+32);
            $scope.dewpoint=parseFloat((237,7*$scope.intermediaire)/(17,27-$scope.intermediaire)).toFixed(1);
            $scope.intermed=parseFloat(-42,379+2,049*$scope.tempF+10,143*$scope.humidity*100-0.225*$scope.tempF*$scope.humidity*100).toFixed(1);
            $scope.tempercu=($scope.intermed-32)/1,8;
                                                                             
    });
          };
    $scope.control2 = function(){
     
    };
    
    $scope.control();
    $scope.control2();
    }]);
    <commit_msg>blabla<commit_after>pistApp.controller('AdvancedWeatherController', ['$scope', '$http', "$interval", function($scope, $http, $interval){
    $scope.control = function(){
        $http.get('http://kgb.emn.fr:8001/channels/5/feed.json?key=ZSAVTBI11WQOSJWY&results=1')
	.then(function(result) {
		var feed = result.data.feeds[0];
		$scope.temp = parseFloat(feed.field2).toFixed(1);
		$scope.humidity = Math.floor(feed.field3);
		$scope.direction = Math.floor(feed.field7);
        $scope.speed = Math.floor(feed.field8);
            $scope.intermediaire =(17,27*$scope.temp)/(237,7+$scope.temp)+Math.log($scope.humidity);
            $scope.tempF=Math.floor($scope.temp*1.8+32);
            $scope.dewpoint=parseFloat((237,7*$scope.intermediaire)/(17,27-$scope.intermediaire)).toFixed(1);
            $scope.intermed=-42,379+2,049*$scope.tempF+10,143*$scope.humidity-0.225*$scope.tempF*$scope.humidity;
            $scope.tempercu=($scope.intermed-32)/1,8;
                                                                             
    });
          };
    $scope.control2 = function(){
     
    };
    
    $scope.control();
    $scope.control2();
    }]);
    
{'fraction_non_alphanumeric': 0.18824027072758037, 'fraction_numerical': 0.05287648054145516, 'mean_word_length': 2.7185534591194966, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2611608', 'n_tokens_mistral': 877, 'n_tokens_neox': 803, 'n_words': 64}