<commit_before>﻿#I @"../../packages/build/FAKE/tools"
open Fake.Core
#r @"FakeLib.dll"

#load @"Commandline.fsx"
#load @"Projects.fsx"
#load @"Paths.fsx"
#load @"Tooling.fsx"
#load @"Versioning.fsx"

open System.IO
open Fake 
open Paths
open Projects
open Tooling
open Commandline
open Versioning


module Tests =
    open System

    let private buildingOnTravis = getEnvironmentVarAsBool "TRAVIS"
    let private buildingOnTeamCity = getEnvironmentVarAsBool "TEAMCITY_VERSION"

    let private setLocalEnvVars() = 
        let clusterFilter =  getBuildParamOrDefault "clusterfilter" ""
        let testFilter = getBuildParamOrDefault "testfilter" ""
        let numberOfConnections = getBuildParamOrDefault "numberOfConnections" ""
        setProcessEnvironVar "NEST_INTEGRATION_CLUSTER" clusterFilter
        setProcessEnvironVar "NEST_TEST_FILTER" testFilter<commit_msg>teamcity check to decide to throw or not was always false<commit_after>﻿#I @"../../packages/build/FAKE/tools"
open Fake.Core
#r @"FakeLib.dll"

#load @"Commandline.fsx"
#load @"Projects.fsx"
#load @"Paths.fsx"
#load @"Tooling.fsx"
#load @"Versioning.fsx"

open System.IO
open Fake 
open Paths
open Projects
open Tooling
open Commandline
open Versioning


module Tests =
    open System

    let private buildingOnTravis = getEnvironmentVarAsBool "TRAVIS"
    let private buildingOnTeamCity = match environVarOrNone "TEAMCITY_VERSION" with | Some x -> true | None -> false

    let private setLocalEnvVars() = 
        let clusterFilter =  getBuildParamOrDefault "clusterfilter" ""
        let testFilter = getBuildParamOrDefault "testfilter" ""
        let numberOfConnections = getBuildParamOrDefault "numberOfConnections" ""
        setProcessEnvironVar "NEST_INTEGRATION_CLUSTER" clusterFilter
        setProcessEnvironVar "NEST_TEST_FILTER" testFilter
{'fraction_non_alphanumeric': 0.08857299070530344, 'fraction_numerical': 0.0, 'mean_word_length': 4.446428571428571, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3068388', 'n_tokens_mistral': 584, 'n_tokens_neox': 564, 'n_words': 146}