<commit_before>#!/usr/local/bin/tcsh -f
#################################################################
#								#
# Copyright (c) 2013-2015 Fidelity National Information		#
# Services, Inc. and/or its subsidiaries. All rights reserved.	#
#                                                               #
# Copyright (c) 2017 YottaDB LLC. and/or its subsidiaries.	#
# All rights reserved.                                          #
#								#
#	This source code contains the intellectual property	#
#	of its copyright holder(s), and is made available	#
#	under a license.  If you do not know the terms of	#
#	the license, please stop and do not read further.	#
#								#
#################################################################
#
# the script picks a random version to test from a list of available set of versions.
# The script is called with an argument that will say which list of versions to be picked up.
# It can be
#	"V4"         - pickup a random V4 version
#	"ds"	     - pick up a random V4 or V5 (that is dualsite) version
#	"ms"         - pick up any of the available prior multisite versions
#	"any"        - pick up any of all available prior versions
#	"non_replcmp"- pick any version prior to V53003 that does not support compression with replication
#
# To force the prior version to always be one version at test start-up, either doall.csh or
# gtmtest.csh, add -env gtm_force_prior_ver=VERSION to the command.
#

set echo
set verbose
if ( 0 == $#argv ) then
	echo "Usage: \$gtm_tst/com/random_ver.csh [-gt|-gte] <version> ||  [-lt|-lte] <version> || -type <version>"
	echo "Sample usage:"
	echo "\$gtm_tst/com/random_ver.csh -type V4"
	echo "\$gtm_tst/com/random_ver.csh -gte V44002 -lt V51000"<commit_msg>Fix debug commands that should not have been added in previous commit<commit_after>#!/usr/local/bin/tcsh -f
#################################################################
#								#
# Copyright (c) 2013-2015 Fidelity National Information		#
# Services, Inc. and/or its subsidiaries. All rights reserved.	#
#                                                               #
# Copyright (c) 2017 YottaDB LLC. and/or its subsidiaries.	#
# All rights reserved.                                          #
#								#
#	This source code contains the intellectual property	#
#	of its copyright holder(s), and is made available	#
#	under a license.  If you do not know the terms of	#
#	the license, please stop and do not read further.	#
#								#
#################################################################
#
# the script picks a random version to test from a list of available set of versions.
# The script is called with an argument that will say which list of versions to be picked up.
# It can be
#	"V4"         - pickup a random V4 version
#	"ds"	     - pick up a random V4 or V5 (that is dualsite) version
#	"ms"         - pick up any of the available prior multisite versions
#	"any"        - pick up any of all available prior versions
#	"non_replcmp"- pick any version prior to V53003 that does not support compression with replication
#
# To force the prior version to always be one version at test start-up, either doall.csh or
# gtmtest.csh, add -env gtm_force_prior_ver=VERSION to the command.
#

if ( 0 == $#argv ) then
	echo "Usage: \$gtm_tst/com/random_ver.csh [-gt|-gte] <version> ||  [-lt|-lte] <version> || -type <version>"
	echo "Sample usage:"
	echo "\$gtm_tst/com/random_ver.csh -type V4"
	echo "\$gtm_tst/com/random_ver.csh -gte V44002 -lt V51000"
{'fraction_non_alphanumeric': 0.15911035072711718, 'fraction_numerical': 0.018819503849443968, 'mean_word_length': 2.7965367965367967, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1954966', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1011, 'n_words': 412}