<commit_before>import os
import sys

from appium import webdriver
import _init
import _get_devices
import _ui_elements_helper

class new_squire:
    _apk_path = ""
    _appt_path = ""
    _adb_path = ""
    _ui_elements = {}
    _driver = None
    _desired_caps = None #do we actually need this?

    def set_apk_path(self, path):
        self._apk_path = path

    def set_aapt_path(self, path):
        self._aapt_path = path

    def set_adb_path(self, path):
        self._adb_path = path

    def get_adb_path(self):
        return self._adb_path

    def get_aapt_path(self):
        return self._aapt_path

    def get_adb_path(self):
        return self._adb_path

    def get_web_driver(self):
        return self._driver

    def kill_appium(self):
        _init.kill_appium_server()

    def init (self, device):
        _init.init_server(self, device)

    def add_element(self, element, name):
        _ui_elements_helper.add_element(self, element, name)

    def get_element(self, name):
        return _ui_elements_helper.get_element(self, name)

    def get_elements(self):
        return _ui_elements`

    def get_devices(self):
        return _get_devices.get_info()<commit_msg>new public functions<commit_after>import os
import sys

from appium import webdriver
import _init
import _get_devices
import _ui_elements_helper

class new_squire:
    _apk_path = ""
    _appt_path = ""
    _adb_path = ""
    _ui_elements = {}
    _driver = None
    _desired_caps = None #do we actually need this?

    def set_apk_path(self, path):
        self._apk_path = path

    def set_aapt_path(self, path):
        self._aapt_path = path

    def set_adb_path(self, path):
        self._adb_path = path

    def get_adb_path(self):
        return self._adb_path

    def get_aapt_path(self):
        return self._aapt_path

    def get_adb_path(self):
        return self._adb_path

    def get_web_driver(self):
        return self._driver

    def kill_appium(self):
        _init.kill_appium_server()

    def init (self, device):
        _init.init_server(self, device)

    def add_element(self, element, name):
        _ui_elements_helper.add_element(self, element, name)

    def get_element(self, name):
        return _ui_elements_helper.get_element(self, name)

    def get_elements(self):
        return _ui_elements

    def get_devices(self):
        return _get_devices.get_info()
{'fraction_non_alphanumeric': 0.07958333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 2.86634460547504, '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': '4354879', 'n_tokens_mistral': 826, 'n_tokens_neox': 793, 'n_words': 181}