<commit_before><?php

namespace Databox;

use Guzzle\Service\Client;
use Databox\Client\DataboxClientInterface;
use Guzzle\Service\Description\ServiceDescription;

/**
 * Databox client
 *
 * @method \Guzzle\Service\Resource\Model setPushData(array $args = array())
 * @method \Guzzle\Service\Resource\Model getPushDataLog(array $args = array())
 */
class DataboxClient extends Client implements DataboxClientInterface
{

    const DATABOX_API_BASEURL = 'https://api.databox.com';

    protected $userAgent = 'Databox-PHP-SDK/1.2';

    private $authListener;

    private $userAccessToken;

    public function __construct($accessToken, $baseUrl = self::DATABOX_API_BASEURL)
    {<commit_msg>Updated base URL and API version<commit_after><?php

namespace Databox;

use Guzzle\Service\Client;
use Databox\Client\DataboxClientInterface;
use Guzzle\Service\Description\ServiceDescription;

/**
 * Databox client
 *
 * @method \Guzzle\Service\Resource\Model setPushData(array $args = array())
 * @method \Guzzle\Service\Resource\Model getPushDataLog(array $args = array())
 */
class DataboxClient extends Client implements DataboxClientInterface
{

    const DATABOX_API_BASEURL = 'http://push2new.databox.com:8080';

    protected $userAgent = 'Databox-PHP-SDK/2.0';

    private $authListener;

    private $userAccessToken;

    public function __construct($accessToken, $baseUrl = self::DATABOX_API_BASEURL)
    {
{'fraction_non_alphanumeric': 0.11244695898161244, 'fraction_numerical': 0.006364922206506365, 'mean_word_length': 4.945378151260504, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7222972', 'n_tokens_mistral': 467, 'n_tokens_neox': 437, 'n_words': 89}