<commit_before>package config

import (
	"encoding/json"
	"log"

	"github.com/artemnikitin/devicefarm-ci-tool/errors"
)

var m = map[string]string{
	"APPIUM_JAVA_JUNIT":      "APPIUM_JAVA_JUNIT_TEST_PACKAGE",
	"APPIUM_JAVA_TESTNG":     "APPIUM_JAVA_TESTNG_TEST_PACKAGE",
	"APPIUM_PYTHON":          "APPIUM_PYTHON_TEST_PACKAGE",
	"CALABASH":               "CALABASH_TEST_PACKAGE",
	"INSTRUMENTATION":        "INSTRUMENTATION_TEST_PACKAGE",
	"UIAUTOMATOR":            "UIAUTOMATOR_TEST_PACKAGE",
	"XCTEST":                 "XCTEST_TEST_PACKAGE",
	"APPIUM_WEB_JAVA_JUNIT":  "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE",
	"APPIUM_WEB_JAVA_TESTNG": "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE",
	"APPIUM_WEB_PYTHON":      "APPIUM_WEB_PYTHON_TEST_PACKAGE",
}

// RunConfig contains serialized representation of run config from JSON file
type RunConfig struct {
	RunName string `json:"runName"`
	Test    struct {
		Filter          string            `json:"filter"`
		Parameters      map[string]string `json:"parameters"`<commit_msg>Add missing options<commit_after>package config

import (
	"encoding/json"
	"log"

	"github.com/artemnikitin/devicefarm-ci-tool/errors"
)

const m = map[string]string{
	"EXTERNAL_DATA":          "EXTERNAL_DATA",
	"APPIUM_JAVA_JUNIT":      "APPIUM_JAVA_JUNIT_TEST_PACKAGE",
	"APPIUM_JAVA_TESTNG":     "APPIUM_JAVA_TESTNG_TEST_PACKAGE",
	"APPIUM_PYTHON":          "APPIUM_PYTHON_TEST_PACKAGE",
	"CALABASH":               "CALABASH_TEST_PACKAGE",
	"INSTRUMENTATION":        "INSTRUMENTATION_TEST_PACKAGE",
	"UIAUTOMATOR":            "UIAUTOMATOR_TEST_PACKAGE",
	"XCTEST":                 "XCTEST_TEST_PACKAGE",
	"XCTEST_UI":              "XCTEST_UI_TEST_PACKAGE",
	"APPIUM_WEB_JAVA_JUNIT":  "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE",
	"APPIUM_WEB_JAVA_TESTNG": "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE",
	"APPIUM_WEB_PYTHON":      "APPIUM_WEB_PYTHON_TEST_PACKAGE",
}

// RunConfig contains serialized representation of run config from JSON file
type RunConfig struct {
	RunName string `json:"runName"`
	Test    struct {
		Filter          string            `json:"filter"`
		Parameters      map[string]string `json:"parameters"`
{'fraction_non_alphanumeric': 0.10352941176470588, 'fraction_numerical': 0.0, 'mean_word_length': 4.147699757869249, 'pattern_counts': {'":': 22, '<': 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': '715939', 'n_tokens_mistral': 844, 'n_tokens_neox': 825, 'n_words': 111}