<commit_before>#!/bin/bash
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

#
# Copyright 2016 Joyent, Inc.
#

if [[ "${SDC_AGENT_SKIP_LIFECYCLE:-no}" = "yes" ]]; then
    printf 'Running during package build; skipping lifecycle script.\n' >&2
    exit 0
fi

# min-platform is now 20141030T081701Z, so refuse to install if someone is
# trying to load on something older.
if [[ $(uname -v | cut -d '_' -f2 | tr -d '[A-Z]') -lt 20141030081701 ]]; then
    echo "FATAL: min-platform for this agent is 20141030T081701Z" >&2
    exit 2
fi<commit_msg>TOOLS-1983 How to avoid hard failure of most builds on Feb 22 from GitHub weak crypto removal Reviewed by: <NAME> <<EMAIL>> Approved by: <NAME> <<EMAIL>><commit_after>#!/bin/bash
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

#
# Copyright 2018 Joyent, Inc.
#

if [[ "${SDC_AGENT_SKIP_LIFECYCLE:-no}" = "yes" ]]; then
    printf 'Running during package build; skipping lifecycle script.\n' >&2
    exit 0
fi

# min-platform is now 20151126T062538Z, so refuse to install if someone is
# trying to load on something older.
if [[ $(uname -v | cut -d '_' -f2 | tr -d '[A-Z]') -lt 20151126T062538 ]]; then
    echo "FATAL: min-platform for this agent is 20151126T062538Z" >&2
    exit 2
fi
{'fraction_non_alphanumeric': 0.12134977287475665, 'fraction_numerical': 0.07527579493835172, 'mean_word_length': 3.508771929824561, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '6672592', 'n_tokens_mistral': 624, 'n_tokens_neox': 535, 'n_words': 215}