<commit_before>properties {
    $configuration = $configuration
    $runtimeVersion = "0.0.0"
}

Include ".\core\utils.ps1"

$projectFileName = "project.json"
$solutionRoot = (get-item $PSScriptRoot).parent.fullname
$jsonlib= "$solutionRoot\packages\Newtonsoft.Json\lib\net45\Newtonsoft.Json.dll"
$artifactsRoot = "$solutionRoot\artifacts"
$artifactsBuildRoot = "$artifactsRoot\build"
$artifactsTestRoot = "$artifactsRoot\test"
$artifactsPackagesRoot = "$artifactsRoot\packages"
$srcRoot = "$solutionRoot\src"
$testsRoot = "$solutionRoot\test"
$globalFilePath = "$solutionRoot\global.json"
$appProjects = Get-ChildItem "$srcRoot\**\$projectFileName" | foreach { $_.FullName }
$testProjects = Get-ChildItem "$testsRoot\**\$projectFileName" | foreach { $_.FullName }
$packableProjectDirectories = @("$srcRoot\App.Metrics", "$srcRoot\App.Metrics.Concurrency", "$srcRoot\App.Metrics.Extensions.Middleware", "$srcRoot\App.Metrics.Formatters.Json", "$srcRoot\App.Metrics.Extensions.Reporting.TextFile","$srcRoot\App.Metrics.Extensions.Reporting.Console")

task default -depends PatchProject, TestParams, Setup, Build, RunTests, Pack

task TestParams { 
	Assert ($configuration -ne $null) '$configuration should not be null'
}

task Setup {
    if((test-path $globalFilePath) -eq $false) {<commit_msg>adding influxdb report to build script for packaging<commit_after>properties {
    $configuration = $configuration
    $runtimeVersion = "0.0.0"
}

Include ".\core\utils.ps1"

$projectFileName = "project.json"
$solutionRoot = (get-item $PSScriptRoot).parent.fullname
$jsonlib= "$solutionRoot\packages\Newtonsoft.Json\lib\net45\Newtonsoft.Json.dll"
$artifactsRoot = "$solutionRoot\artifacts"
$artifactsBuildRoot = "$artifactsRoot\build"
$artifactsTestRoot = "$artifactsRoot\test"
$artifactsPackagesRoot = "$artifactsRoot\packages"
$srcRoot = "$solutionRoot\src"
$testsRoot = "$solutionRoot\test"
$globalFilePath = "$solutionRoot\global.json"
$appProjects = Get-ChildItem "$srcRoot\**\$projectFileName" | foreach { $_.FullName }
$testProjects = Get-ChildItem "$testsRoot\**\$projectFileName" | foreach { $_.FullName }
$packableProjectDirectories = @("$srcRoot\App.Metrics", "$srcRoot\App.Metrics.Concurrency", "$srcRoot\App.Metrics.Extensions.Middleware", "$srcRoot\App.Metrics.Formatters.Json", "$srcRoot\App.Metrics.Extensions.Reporting.TextFile","$srcRoot\App.Metrics.Extensions.Reporting.Console","$srcRoot\App.Metrics.Extensions.Reporting.InfluxDB")

task default -depends PatchProject, TestParams, Setup, Build, RunTests, Pack

task TestParams { 
	Assert ($configuration -ne $null) '$configuration should not be null'
}

task Setup {
    if((test-path $globalFilePath) -eq $false) {
{'fraction_non_alphanumeric': 0.15111940298507462, 'fraction_numerical': 0.004477611940298508, 'mean_word_length': 6.3856749311294765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4696980', 'n_tokens_mistral': 856, 'n_tokens_neox': 821, 'n_words': 147}