<commit_before>#!/bin/bash
# Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0

set -ex
export RUST_BACKTRACE=full

declare -a params
if [ -z "${CHAIN_ID}" ]; then
  echo "Docker run failed to start, please set required env var CHAIN_ID"
  exit 1
fi

if [ -n "${CFG_SEED}" ]; then
    params+="-s $CFG_SEED "
fi

if [ -n "${CFG_NUM_VALIDATORS}" ]; then # Total number of nodes in this network
	  params+="-n ${CFG_NUM_VALIDATORS} "
fi

/opt/libra/bin/config-builder faucet \
    -o /opt/libra/etc \
    ${params[@]}
<commit_msg>[docker] rm unnecessary chain id env var in mint docker-run<commit_after>#!/bin/bash
# Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0

set -ex
export RUST_BACKTRACE=full

declare -a params
if [ -n "${CFG_SEED}" ]; then
    params+="-s $CFG_SEED "
fi

if [ -n "${CFG_NUM_VALIDATORS}" ]; then # Total number of nodes in this network
	  params+="-n ${CFG_NUM_VALIDATORS} "
fi

/opt/libra/bin/config-builder faucet \
    -o /opt/libra/etc \
    ${params[@]}

{'fraction_non_alphanumeric': 0.14641148325358852, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 3.587719298245614, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1042167', 'n_tokens_mistral': 396, 'n_tokens_neox': 383, 'n_words': 112}