<commit_before>#!/bin/zsh
BASE=../CDRP\ Platform\ Development\ Seed/
for country in $0:h/countries/[A-Z][A-Z].geojson; do
  echo country: ${country:t:r}
  for geo in $BASE/Hazard/Earthquake/probabilistic/${country:t:r}*_clipped.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Hazard/Windstorm/probabilistic/${country:t:r}*_clipped.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Hazard/Flood/probabilistic/${country:t:r}*_clipped.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/GDP/${country:t:r}_gdp.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/Infrastructure/${country:t:r}_infrastructure.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/Building\ Stock/${country:t:r}_building_stock.geojson; do
       ./agg.js $geo $0:h/countries/${country:t:r}_grid.geojson
  done
done<commit_msg>Update paths<commit_after>#!/bin/zsh
BASE=../CDRP\ Platform\ Development\ Seed
for country in countries/[A-Z][A-Z].geojson; do
  echo country: ${country:t:r}
  for geo in $BASE/Hazard/Earthquake/probabilistic/${country:t:r}*_clipped.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Hazard/Windstorm/probabilistic/${country:t:r}*_clipped.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Hazard/Flood/probabilistic/${country:t:r}*_clipped.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/GDP/${country:t:r}_gdp.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/Infrastructure/${country:t:r}_infrastructure.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
  for geo in $BASE/Exposure/Building\ Stock/${country:t:r}_building_stock.geojson; do
       scripts/js/agg.js $geo countries/${country:t:r}_grid.geojson
  done
done
{'fraction_non_alphanumeric': 0.16384439359267736, 'fraction_numerical': 0.003203661327231121, 'mean_word_length': 4.180094786729858, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5917374', 'n_tokens_mistral': 861, 'n_tokens_neox': 844, 'n_words': 138}