<commit_before>#
# Test Requirements:
#
#   Each sample is expected to have a global variable called g_finished
#   that is set to true when the sample has finish initalizing and is ready
#   for a screenshot.
#
# Line Format:
#
#   TestType test-name options
#
# Valid TestTypes are:
#
#   small
#   medium
#   large
#
# options are separated by spaces.
#   screenshot : take a screenshot.  You can specify a time with
#       screenshot(seconds) as in screenshot(4), take it at the 4 second mark.
#       You can also specify more than 1 screenshot by specifying more than
#       one screenshot option as in "screenshot(4), screenshot(6.5). If no time
#       is specified 27.5 is used.
#
#       To take a screenshot the test must have a global variable "g_client"
#       that is the client plugin object from which to take a screenshot.
#
#       If the sample is animated, it is expected to have a global variable
#       called g_timeMult that can be set to 0 to stop the animation.  All of
#       its animation must be based on a global variable called g_clock, such
#       that setting g_clock to the same value will always produce the same
#       image.
#
#   timeout(milliseconds) : Set the timeout to wait for readiness.
#       Default 10000.
#
#   client(client_variable_name) : Name of client variable in javascript.
#       Default = "g_client"
#
#   pdiff_threshold_mac(number_of_pixels_allowed)
#   pdiff_threshold_win(number_of_pixels_allowed)
#   pdiff_threshold_linux(number_of_pixels_allowed)
#   pdiff_threshold(number_of_pixels_allowed) : Number of pixels
#       allowed to be perceptually different before the test fails.
#       "pdiff_threshold" specifies the threshold for all
#       platforms.  Platform specific versions override the
#       threshold for that platform.  The default threshold is 10 pixels.
#
#   except(*firefox, *iexplore, *googlechrome) : Name of the browser
#       environment(s) where the test should be skipped.
#       Default = ""
#
# NOTE! ----------------------------------------------------------------------
#
# Read the sample guidelines
# http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines
#
#
medium  2d                                screenshot pdiff_threshold(41200)
medium  animation
large   animated-scene                    screenshot timeout(45000) pdiff_threshold(200)
large   beachdemo/beachdemo               screenshot timeout(120000) pdiff_threshold(1900) downsample(1) except(*iexplore)
medium  canvas                            screenshot pdiff_threshold(4700) pdiff_threshold_mac(14600)
medium  canvas-fonts                      screenshot pdiff_threshold(1100) pdiff_threshold_mac(21900)
medium  canvas-texturedraw
medium  checkers                          screenshot pdiff_threshold(1100)
medium  convolution                       screenshot pdiff_threshold(200)
medium  culling                           screenshot pdiff_threshold(1000) downsample(1)
medium  debugging                         screenshot pdiff_threshold(2000) pdiff_threshold_mac(3000)
medium  displayfps
small   generate-texture                  screenshot pdiff_threshold(30000) except(*iexplore)
medium  hellocube                         screenshot pdiff_threshold(1000)<commit_msg>Updating the description to describe the new pdiff parameters, colorfactor and downsample. Review URL: http://codereview.chromium.org/118207<commit_after>#
# Test Requirements:
#
#   Each sample is expected to have a global variable called g_finished
#   that is set to true when the sample has finish initalizing and is ready
#   for a screenshot.
#
# Line Format:
#
#   TestType test-name options
#
# Valid TestTypes are:
#
#   small
#   medium
#   large
#
# options are separated by spaces.
#   screenshot : take a screenshot.  You can specify a time with
#       screenshot(seconds) as in screenshot(4), take it at the 4 second mark.
#       You can also specify more than 1 screenshot by specifying more than
#       one screenshot option as in "screenshot(4), screenshot(6.5). If no time
#       is specified 27.5 is used.
#
#       To take a screenshot the test must have a global variable "g_client"
#       that is the client plugin object from which to take a screenshot.
#
#       If the sample is animated, it is expected to have a global variable
#       called g_timeMult that can be set to 0 to stop the animation.  All of
#       its animation must be based on a global variable called g_clock, such
#       that setting g_clock to the same value will always produce the same
#       image.
#
#   timeout(milliseconds) : Set the timeout to wait for readiness.
#       Default 10000.
#
#   client(client_variable_name) : Name of client variable in javascript.
#       Default = "g_client"
#
#   pdiff_threshold_mac(number_of_pixels_allowed)
#   pdiff_threshold_win(number_of_pixels_allowed)
#   pdiff_threshold_linux(number_of_pixels_allowed)
#   pdiff_threshold(number_of_pixels_allowed) : Number of pixels
#       allowed to be perceptually different before the test fails.
#       "pdiff_threshold" specifies the threshold for all
#       platforms.  Platform specific versions override the
#       threshold for that platform.  The default threshold is 10 pixels.
#
#   except(*firefox, *iexplore, *googlechrome) : Name of the browser
#       environment(s) where the test should be skipped.
#       Default = ""
#
#   colorfactor(0 to 1) : Determines how important color is for comparison. A
#       value of 1 means they must be exactly the same; a value of 0 means it
#       won't factor in at all.
#
#   downsample(number_of_times_to_halve_resolution) : The resolution will be
#       cut in half this number of times before comparing. It is useful for
#       eliminating aliasing artifacts since such differences are less
#       noticeable at the lower resolution. Be careful with using this parameter
#       as it may mask other problems.
#
# NOTE! ----------------------------------------------------------------------
#
# Read the sample guidelines
# http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines
#
#
medium  2d                                screenshot pdiff_threshold(41200)
medium  animation
large   animated-scene                    screenshot timeout(45000) pdiff_threshold(200)
large   beachdemo/beachdemo               screenshot timeout(120000) pdiff_threshold(1900) downsample(1) except(*iexplore)
medium  canvas                            screenshot pdiff_threshold(4700) pdiff_threshold_mac(14600)
medium  canvas-fonts                      screenshot pdiff_threshold(1100) pdiff_threshold_mac(21900)
medium  canvas-texturedraw
medium  checkers                          screenshot pdiff_threshold(1100)
medium  convolution                       screenshot pdiff_threshold(200)
medium  culling                           screenshot pdiff_threshold(1000) downsample(1)
medium  debugging                         screenshot pdiff_threshold(2000) pdiff_threshold_mac(3000)
medium  displayfps
small   generate-texture                  screenshot pdiff_threshold(30000) except(*iexplore)
medium  hellocube                         screenshot pdiff_threshold(1000)
{'fraction_non_alphanumeric': 0.0773403811378495, 'fraction_numerical': 0.02615106412574767, 'mean_word_length': 2.70809695719443, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1766388', 'n_tokens_mistral': 2067, 'n_tokens_neox': 1913, 'n_words': 704}