<commit_before>// return a mapping from sites => markers
Map.layer_calculators['agents'] = function(){
  var mapping = {};
  $.each(This.agents, function(){
    var id = this.id;
    var marker = new google.maps.Marker({
      icon: 'i/map/' + this.map_icon + '.png',
      position: new google.maps.LatLng(this.lat, this.lng),
      shadow: "i/map/man.shadow.png",
      title: this.title
    });
    google.maps.event.addListener(marker, 'click', function() { go('@' + id); });
    google.maps.event.addListener(marker, 'dblclick', function() { 
      GM.setCenter( marker.getPosition(), 15 ); 
    });
    mapping[this.id] = marker;
  });
  return mapping;
};
<commit_msg>fix shadow location<commit_after>// return a mapping from sites => markers
Map.layer_calculators['agents'] = function(){
  var mapping = {};
  $.each(This.agents, function(){
    var id = this.id;
    var marker = new google.maps.Marker({
      icon: 'i/map/' + this.map_icon + '.png',
      position: new google.maps.LatLng(this.lat, this.lng),
      shadow: new google.maps.MarkerImage("i/map/man.shadow.png",
        null,
        null,
        new google.maps.Point(15, 32)
      ),
      title: this.title
    });
    google.maps.event.addListener(marker, 'click', function() { go('@' + id); });
    google.maps.event.addListener(marker, 'dblclick', function() { 
      GM.setCenter( marker.getPosition(), 15 ); 
    });
    mapping[this.id] = marker;
  });
  return mapping;
};

{'fraction_non_alphanumeric': 0.1782042494859493, 'fraction_numerical': 0.0054832076764907475, 'mean_word_length': 2.945945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2331339', 'n_tokens_mistral': 493, 'n_tokens_neox': 475, 'n_words': 102}