<commit_before>#!/usr/bin/env ruby
# ------------------------------------------------------------------------------
# SCRIPT:
#       Clear-TR-TestCase-fields.rb
#
# PURPOSE:
#       A script used to clear the values from custom fields on TestCase objects
#       in a desired TestRail Project.
#
# ASSUMPTIONS:
#       1) All custom fields are of type 'String'.
#       2) A custom field named 'foo' can be specified on the command line as
#          either 'foo' or 'custom_foo'
#       3) The user of this script will modify the variable '@stop_after' for
#          their purposes.
#
$MU = <<end_of_usage
\n--------------------------------------------------------
USAGE:  #{$PROGRAM_NAME}  ProjectName FieldName1[,FieldName2,...]  [--really-do-it]

Where:
    ProjectName    - Is the name of the TestRail Project.<commit_msg>Minor formatting.<commit_after>#!/usr/bin/env ruby
# ------------------------------------------------------------------------------
# SCRIPT:
#       Clear-TR-TestCase-fields.rb
#
# PURPOSE:
#       A script used to clear the values from custom fields on TestCase objects
#       in a desired TestRail Project.
#
# VERSION:
#       2.0
#
# ASSUMPTIONS:
#       1) All custom fields are of type 'String'.
#       2) A custom field named 'foo' can be specified on the command line as
#          either 'foo' or 'custom_foo'
#       3) The user of this script will modify the variable '@stop_after' for
#          their purposes.
#
$MU = <<end_of_usage
\n--------------------------------------------------------
USAGE:  #{$PROGRAM_NAME}  ProjectName FieldName1[,FieldName2,...]  [--really-do-it]

Where:
    ProjectName    - Is the name of the TestRail Project.
{'fraction_non_alphanumeric': 0.24896265560165975, 'fraction_numerical': 0.007113218731475993, 'mean_word_length': 1.600924499229584, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6519897', 'n_tokens_mistral': 478, 'n_tokens_neox': 451, 'n_words': 164}