<commit_before>#!/bin/bash -ex

cd $(dirname $0)/../../git-bits-service-client

bundle install && bundle exec rspec spec<commit_msg>Work around flaky DNS resolution<commit_after>#!/bin/bash -ex

cd $(dirname $0)/../../git-bits-service-client

# work around flaky DNS resolution
for i in $(seq 1 254); do
  echo 10.250.0.$i 10.250.0.$i.xip.io >> /etc/hosts
done

bundle install && bundle exec rspec spec
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.04477611940298507, 'mean_word_length': 3.5280898876404496, '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': '7576273', 'n_tokens_mistral': 155, 'n_tokens_neox': 135, 'n_words': 42}