<commit_before><?php

ini_set('soap.wsdl_cache_enabled', '0');

require_once('config.php');

$client = new SoapClient("http://coredev.localhost/process/process.wsdl.php"); //, array('trace' => 1));

try {
	$uri = 'http://localhost/sample.3gp';
	$callback = 'http://localhost/process_callback.php?ref=123';	//will tell client app that file "123" finished processing
	$watermark_uri = 'http://localhost/watermark.png';
	$result = $client->fetchAndConvert('username', 'password', $uri, $callback, $watermark_uri);

	if (!$result) {
		echo 'Failed to add order!';
	} else {
		echo 'Order added successfully. Order ID is '.$result;
	}
} catch (Exception $e) {
	echo 'Exception: '.$e.'<br/><br/>';
	echo 'Request header: '.htmlspecialchars($client->__getLastRequestHeaders()).'<br/>';
	echo 'Request: '.htmlspecialchars($client->__getLastRequest()).'<br/>';
	echo 'Response: '.htmlspecialchars($client->__getLastResponse()).'<br/>';
}
?><commit_msg>path updated<commit_after><?php

ini_set('soap.wsdl_cache_enabled', '0');

require_once('config.php');

$client = new SoapClient("http://process.localhost/process.wsdl.php"); //, array('trace' => 1));

try {
	$uri = 'http://localhost/sample.3gp';
	$callback = 'http://localhost/process_callback.php?ref=123';	//will tell client app that file "123" finished processing
	$watermark_uri = 'http://localhost/watermark.png';
	$result = $client->fetchAndConvert('username', 'password', $uri, $callback, $watermark_uri);

	if (!$result) {
		echo 'Failed to add order!';
	} else {
		echo 'Order added successfully. Order ID is '.$result;
	}
} catch (Exception $e) {
	echo 'Exception: '.$e.'<br/><br/>';
	echo 'Request header: '.htmlspecialchars($client->__getLastRequestHeaders()).'<br/>';
	echo 'Request: '.htmlspecialchars($client->__getLastRequest()).'<br/>';
	echo 'Response: '.htmlspecialchars($client->__getLastResponse()).'<br/>';
}
?>
{'fraction_non_alphanumeric': 0.20937666489078316, 'fraction_numerical': 0.009589770911028236, 'mean_word_length': 5.589473684210526, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 25, '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': '5812167', 'n_tokens_mistral': 643, 'n_tokens_neox': 632, 'n_words': 127}