<commit_before>goog.provide('app');

goog.require('go_map_directive');
goog.require('ol.Map');
goog.require('ol.layer.Tile');
goog.require('ol.source.OSM');
goog.require('ol.View2D');

(function() {
  var module = angular.module('app', [
    'go_map_directive'
  ]);

  module.controller('MainController', ['$scope',
      /**
       * @param {angular.Scope} $scope Scope.
       */
      function($scope) {
          $scope.map = new ol.Map({
            layers: [
              new ol.layer.Tile({
                source: new ol.source.OSM()
              })
            ],
            view: new ol.View2D({
              center: [0, 0],
              zoom: 4
            })
          });
        }]);

})();
<commit_msg>Better type cheking in simple example<commit_after>goog.provide('app');

goog.require('go_map_directive');
goog.require('ol.Map');
goog.require('ol.layer.Tile');
goog.require('ol.source.OSM');
goog.require('ol.View2D');

(function() {
  var module = angular.module('app', [
    'go_map_directive'
  ]);

  module.controller('MainController', ['$scope',
      /**
       * @param {angular.Scope} $scope Scope.
       */
      function($scope) {
          /** @type {ol.Map} */
          $scope.map = new ol.Map({
            layers: [
              new ol.layer.Tile({
                source: new ol.source.OSM()
              })
            ],
            view: new ol.View2D({
              center: [0, 0],
              zoom: 4
            })
          });
        }]);

})();

{'fraction_non_alphanumeric': 0.18175765645805592, 'fraction_numerical': 0.006657789613848202, 'mean_word_length': 1.7277676950998184, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3992204', 'n_tokens_mistral': 493, 'n_tokens_neox': 469, 'n_words': 77}