<commit_before>#!/bin/sh

DATA_DIR=./tests/data

# echo "Generating demo data files..."
# python tests/generate_demo_files.py

echo "Running demo..."
python bin/opengem \
  --exposure $DATA_DIR/FakeExposurePortfolio.xml \
  --vulnerability $DATA_DIR/VulnerabilityModelFile-jobber-test.xml \
  --hazard_curves $DATA_DIR/HazardOneSite.xml \
  --filter_region $DATA_DIR/rect.region $@
 

#--shakemap $DATA_DIR/shakemap.fake \<commit_msg>Touchin demo_risk again.<commit_after>#!/bin/sh

DATA_DIR=./tests/data

echo "Running demo..."
python bin/opengem \
  --exposure $DATA_DIR/FakeExposurePortfolio.xml \
  --vulnerability $DATA_DIR/VulnerabilityModelFile-jobber-test.xml \
  --hazard_curves $DATA_DIR/HazardOneSite.xml \
  --filter_region $DATA_DIR/rect.region $@
 

# --shakemap $DATA_DIR/shakemap.fake \
{'fraction_non_alphanumeric': 0.14214463840399003, 'fraction_numerical': 0.0, 'mean_word_length': 3.95679012345679, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3891971', 'n_tokens_mistral': 320, 'n_tokens_neox': 299, 'n_words': 43}