<commit_before><?php

class Ubersmith
{
  private $endpoint, $auth_string, $arguments_to_send, $result, $request_url, $response;

  function __construct($api_ip, $api_user, $api_pass)
  {
    $this->endpoint    = 'http://' . $api_ip . '/api/2.0/?';
    $this->curl_handle = curl_init();
    $this->auth_string = $api_user . ':' . $api_pass;<commit_msg>ubersmith api documentation specificaly says https<commit_after><?php

class Ubersmith
{
  private $endpoint, $auth_string, $arguments_to_send, $result, $request_url, $response;

  function __construct($api_ip, $api_user, $api_pass)
  {
    $this->endpoint    = 'https://' . $api_ip . '/api/2.0/?';
    $this->curl_handle = curl_init();
    $this->auth_string = $api_user . ':' . $api_pass;
{'fraction_non_alphanumeric': 0.1752021563342318, 'fraction_numerical': 0.005390835579514825, 'mean_word_length': 4.232394366197183, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 1, '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': '4758610', 'n_tokens_mistral': 280, 'n_tokens_neox': 273, 'n_words': 50}