<commit_before><?php
//error_reporting(E_ERROR | E_PARSE);
date_default_timezone_set('UTC');

require_once "WindowsAzure/WindowsAzure.php";
use WindowsAzure\Common\ServicesBuilder;
use WindowsAzure\Common\ServiceException;

use WindowsAzure\Table\Models\Entity;
use WindowsAzure\Table\Models\EdmType;

$connectionString = getenv("CUSTOMCONNSTR_blob");
$tableRestProxy = ServicesBuilder::getInstance()->createTableService($connectionString); 

// table
try {
  if($tableRestProxy->getTable("mytable")===null)
  {
    $tableRestProxy->createTable("mytable");
  }
  
} catch(ServiceException $e){
  // Handle exception based on error codes and messages.
    // Error codes and messages are here:
    // http://msdn.microsoft.com/library/azure/dd179438.aspx
    $code = $e->getCode();
    $error_message = $e->getMessage();
    echo $code.": ".$error_message."<br />";
}

$entity = new Entity();
$entity->setPartitionKey("tasksBrno");
$entity->setRowKey("1");
$entity->addProperty("Description", null, "Take out the trash.");<commit_msg>add debug<commit_after><?php
//error_reporting(E_ERROR | E_PARSE);
date_default_timezone_set('UTC');
ini_set("display_errors", 1);

require_once "WindowsAzure/WindowsAzure.php";
use WindowsAzure\Common\ServicesBuilder;
use WindowsAzure\Common\ServiceException;

use WindowsAzure\Table\Models\Entity;
use WindowsAzure\Table\Models\EdmType;

$connectionString = getenv("CUSTOMCONNSTR_blob");
$tableRestProxy = ServicesBuilder::getInstance()->createTableService($connectionString); 

// table
try {
  if($tableRestProxy->getTable("mytable")===null)
  {
    $tableRestProxy->createTable("mytable");
  }
  
} catch(ServiceException $e){
  // Handle exception based on error codes and messages.
    // Error codes and messages are here:
    // http://msdn.microsoft.com/library/azure/dd179438.aspx
    $code = $e->getCode();
    $error_message = $e->getMessage();
    echo $code.": ".$error_message."<br />";
}

$entity = new Entity();
$entity->setPartitionKey("tasksBrno");
$entity->setRowKey("1");
$entity->addProperty("Description", null, "Take out the trash.");
{'fraction_non_alphanumeric': 0.1615678776290631, 'fraction_numerical': 0.007170172084130019, 'mean_word_length': 5.581761006289308, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 21, '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': '6215517', 'n_tokens_mistral': 664, 'n_tokens_neox': 656, 'n_words': 116}