<commit_before>#!/bin/bash

set -e # fail fast

cat > ~/.bosh_config <<EOF
---
aliases:
  target:
    bosh-lite: ${bosh_target}
auth:
  ${bosh_target}:
    username: ${bosh_username}
    password: <PASSWORD>}
EOF

bosh target ${bosh_target}

bosh disks --orphaned | grep n/a | awk '{print $2}' | xargs -L1 bosh -n delete disk<commit_msg>ok for orphan clean up to fail<commit_after>#!/bin/bash

set +e # ok to fail; its just clean up efforts

cat > ~/.bosh_config <<EOF
---
aliases:
  target:
    bosh-lite: ${bosh_target}
auth:
  ${bosh_target}:
    username: ${bosh_username}
    password: ${<PASSWORD>}
EOF

bosh target ${bosh_target}

bosh disks --orphaned | grep n/a | awk '{print $2}' | xargs -L1 bosh -n delete disk
{'fraction_non_alphanumeric': 0.1539528432732316, 'fraction_numerical': 0.005547850208044383, 'mean_word_length': 3.45679012345679, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '3860350', 'n_tokens_mistral': 288, 'n_tokens_neox': 276, 'n_words': 83}