<commit_before>#!/bin/bash

cd $WORKSPACE/$TREE_NAME
rm -rf _install_ build/
git clean -df
make distclean
export GIT_DESCRIBE=$(git describe)
build.py -i -p production -c $1
if [ $? -ne 0 ]; then
	echo "Failed to build, skipping..."
	exit 125
fi

cd $WORKSPACE/local/lava-ci/
defconfig_full=$(echo $2 | sed 's:linaro/configs/::g' | sed 's:\.conf::g')
python lava-kernel-ci-job-creator.py http://storage.kernelci.org/$TREE_NAME/$GIT_DESCRIBE/$ARCH-$defconfig_full/ --plans $3 --targets $4
python lava-job-runner.py --username $5 --token $6 --server $7 --stream /anonymous/kernel-ci/ --poll kernel-ci.json --bisect
if [ $? -ne 0 ]; then
	echo "Boot failed, git bisect bad"
	exit 1
else
	echo "Boot passed, git bisect good"
	exit 0
fi<commit_msg>Revert "kernel-ci: bisect: trim .conf from defconfigs"<commit_after>#!/bin/bash

cd $WORKSPACE/$TREE_NAME
rm -rf _install_ build/
git clean -df
make distclean
export GIT_DESCRIBE=$(git describe)
build.py -i -p production -c $1
if [ $? -ne 0 ]; then
	echo "Failed to build, skipping..."
	exit 125
fi

cd $WORKSPACE/local/lava-ci/
defconfig_full=$(echo $2 | sed 's:linaro/configs/::g')
python lava-kernel-ci-job-creator.py http://storage.kernelci.org/$TREE_NAME/$GIT_DESCRIBE/$ARCH-$defconfig_full/ --plans $3 --targets $4
python lava-job-runner.py --username $5 --token $6 --server $7 --stream /anonymous/kernel-ci/ --poll kernel-ci.json --bisect
if [ $? -ne 0 ]; then
	echo "Boot failed, git bisect bad"
	exit 1
else
	echo "Boot passed, git bisect good"
	exit 0
fi
{'fraction_non_alphanumeric': 0.15925680159256803, 'fraction_numerical': 0.0185799601857996, 'mean_word_length': 3.654320987654321, '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': '55331', 'n_tokens_mistral': 591, 'n_tokens_neox': 572, 'n_words': 169}