<commit_before><?php

/**
 * Test cases for TCPlayer
 * Documentation: https://cloud.tencent.com/document/product/267/9498
 */

include "vendor/autoload.php";

use TencentTH\TCPlayer\Testcase;
use TencentTH\TCPlayer\Constants;

$SCRIPTS = Constants::getScripts();
$TESTCASES = Constants::getTestcases();

$script_key = array_key_exists('s', $_REQUEST)
  ? $_REQUEST['s']
  : "vod-ima-0.1.10";
$script = array_key_exists($script_key, $SCRIPTS)
  ? $SCRIPTS[$script_key]
  : NULL;

$testcase_key = array_key_exists('t', $_REQUEST)
  ? $_REQUEST['t']
  : NULL;
$testcase = array_key_exists($testcase_key, $TESTCASES)
  ? $TESTCASES[$testcase_key]
  : NULL;
$testcase_html = $testcase !== NULL && file_exists("testcase/{$testcase->file}")
  ? file_get_contents("testcase/{$testcase->file}")
  : NULL;

?>
<html>
<head>
  <title>Tencent Player Test</title>
  <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script>
  <script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
  <script src="<?php echo $script; ?>"></script>
</head><commit_msg>bump default version to 0.1.14<commit_after><?php

/**
 * Test cases for TCPlayer
 * Documentation: https://cloud.tencent.com/document/product/267/9498
 */

include "vendor/autoload.php";

use TencentTH\TCPlayer\Testcase;
use TencentTH\TCPlayer\Constants;

$SCRIPTS = Constants::getScripts();
$TESTCASES = Constants::getTestcases();

$script_key = array_key_exists('s', $_REQUEST)
  ? $_REQUEST['s']
  : "vod-ima-0.1.14";
$script = array_key_exists($script_key, $SCRIPTS)
  ? $SCRIPTS[$script_key]
  : NULL;

$testcase_key = array_key_exists('t', $_REQUEST)
  ? $_REQUEST['t']
  : NULL;
$testcase = array_key_exists($testcase_key, $TESTCASES)
  ? $TESTCASES[$testcase_key]
  : NULL;
$testcase_html = $testcase !== NULL && file_exists("testcase/{$testcase->file}")
  ? file_get_contents("testcase/{$testcase->file}")
  : NULL;

?>
<html>
<head>
  <title>Tencent Player Test</title>
  <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script>
  <script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
  <script src="<?php echo $script; ?>"></script>
</head>
{'fraction_non_alphanumeric': 0.1974933535890619, 'fraction_numerical': 0.017470565894417017, 'mean_word_length': 5.13986013986014, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, 'https://': 2, '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': '2512798', 'n_tokens_mistral': 1035, 'n_tokens_neox': 1006, 'n_words': 131}