<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestEase;

namespace Tweek.ApiService.SmokeTests
{
    public static class TweekApiServiceFactory
    {
        public static ITweekApi GetTweekApiClient()
        {
            var targetBaseUrl = "http://localhost:56240";//Environment.GetEnvironmentVariable("TWEEK_SMOKE_TARGET");

            if (string.IsNullOrEmpty(targetBaseUrl))
            {
                throw new ArgumentException("Missing smoke tests target environment variable, make sure you set up 'TWEEK_SMOKE_TARGET' to the target hostname.");
            }

            return RestClient.For<ITweekApi>(targetBaseUrl);
        }
    }
}<commit_msg>fix env variable<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestEase;

namespace Tweek.ApiService.SmokeTests
{
    public static class TweekApiServiceFactory
    {
        public static ITweekApi GetTweekApiClient()
        {
            var targetBaseUrl = Environment.GetEnvironmentVariable("TWEEK_SMOKE_TARGET");

            if (string.IsNullOrEmpty(targetBaseUrl))
            {
                throw new ArgumentException("Missing smoke tests target environment variable, make sure you set up 'TWEEK_SMOKE_TARGET' to the target hostname.");
            }

            return RestClient.For<ITweekApi>(targetBaseUrl);
        }
    }
}
{'fraction_non_alphanumeric': 0.07986577181208054, 'fraction_numerical': 0.003355704697986577, 'mean_word_length': 3.018867924528302, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3222032', 'n_tokens_mistral': 409, 'n_tokens_neox': 396, 'n_words': 96}