<commit_before>
function ApplicationTabGroup() {

    // create tab group, create module instance
    var self = Titanium.UI.createTabGroup();

    var LoginWindow = require('ui/common/LoginWindow');
	var MessageboardMainWindow = require('ui/common/Mb_MessageboardMainWindow');
	
	var ChatMainWindow = require('ui/common/Ct_ChatMainWindow'); 
	var ProductMainWindow = require('ui/common/Pd_ProductMainWindow');
	var ProfileMainWindow = require('ui/common/Pf_ProfileMainWindow');
	var DiscoveryMainWindow = require('ui/common/discoveryMainWindow');
	
	var chatwin = new ChatMainWindow();
	var messageboardwin = new MessageboardMainWindow(1);		
    var loginwin = new LoginWindow();
	var productwin = new ProductMainWindow();
	var profilewin = new ProfileMainWindow();
	var discoveryMainWin = new DiscoveryMainWindow();

    var chatTab = Titanium.UI.createTab({  
        icon:'/images/fugitives.png',
        title:'Chat',
        window:chatwin
    });
    chatwin.containingTab = chatTab;

    var messageboardTab = Titanium.UI.createTab({  
        icon:'/images/captured.png',
        title:'Board',
        window:messageboardwin
    });
    messageboardwin.containingTab = messageboardTab;

	var loginTab = Ti.UI.createTab({
		icon: '/images/fugitives.png',
		title: 'Login',
		window: loginwin
	});
	loginwin.containingTab = loginTab;
	
	var productTab = Ti.UI.createTab({
		icon: '/images/captured.png',
		title: 'Product',
		window: productwin
	});
	productwin.containingTab = productTab;
	
	var profileTab = Ti.UI.createTab({
		icon: '/images/fugitives.png',
		title: 'Profile',
		window: profilewin
	});
	profilewin.containingTab = profileTab;
	
	var discoveryTab = Ti.UI.createTab({
		title: 'Discovery',
		icon: '/images/tv.png',
		window: discoveryMainWin
	});
	discoveryMainWin.containingTab = discoveryTab;
	
    self.addTab(chatTab);  
    self.addTab(messageboardTab);  
    self.addTab(discoveryTab);
    self.addTab(profileTab);
   	self.addTab(loginTab);
    self.addTab(productTab);
    
    //save 1-clcik, direct to message board functionality
   	self.setActiveTab(self.tabs[2]);

    // open tab group
    return self;
};

module.exports = ApplicationTabGroup;<commit_msg>change tab group index<commit_after>
function ApplicationTabGroup() {

    // create tab group, create module instance
    var self = Titanium.UI.createTabGroup();

    var LoginWindow = require('ui/common/LoginWindow');
	var MessageboardMainWindow = require('ui/common/Mb_MessageboardMainWindow');
	
	var ChatMainWindow = require('ui/common/Ct_ChatMainWindow'); 
	var ProductMainWindow = require('ui/common/Pd_ProductMainWindow');
	var ProfileMainWindow = require('ui/common/Pf_ProfileMainWindow');
	var DiscoveryMainWindow = require('ui/common/discoveryMainWindow');
	
	var chatwin = new ChatMainWindow();
	var messageboardwin = new MessageboardMainWindow(1);		
    var loginwin = new LoginWindow();
	var productwin = new ProductMainWindow();
	var profilewin = new ProfileMainWindow();
	var discoveryMainWin = new DiscoveryMainWindow();

    var chatTab = Titanium.UI.createTab({  
        icon:'/images/fugitives.png',
        title:'Chat',
        window:chatwin
    });
    chatwin.containingTab = chatTab;

    var messageboardTab = Titanium.UI.createTab({  
        icon:'/images/captured.png',
        title:'Board',
        window:messageboardwin
    });
    messageboardwin.containingTab = messageboardTab;

	var loginTab = Ti.UI.createTab({
		icon: '/images/fugitives.png',
		title: 'Login',
		window: loginwin
	});
	loginwin.containingTab = loginTab;
	
	var productTab = Ti.UI.createTab({
		icon: '/images/captured.png',
		title: 'Product',
		window: productwin
	});
	productwin.containingTab = productTab;
	
	var profileTab = Ti.UI.createTab({
		icon: '/images/fugitives.png',
		title: 'Profile',
		window: profilewin
	});
	profilewin.containingTab = profileTab;
	
	var discoveryTab = Ti.UI.createTab({
		title: 'Discovery',
		icon: '/images/tv.png',
		window: discoveryMainWin
	});
	discoveryMainWin.containingTab = discoveryTab;
	
    self.addTab(chatTab);  
    self.addTab(messageboardTab);  
    self.addTab(discoveryTab);
    self.addTab(profileTab);
   	self.addTab(loginTab);
    self.addTab(productTab);
    
    //save 1-clcik, direct to message board functionality
   	self.setActiveTab(self.tabs[1]);

    // open tab group
    return self;
};

module.exports = ApplicationTabGroup;
{'fraction_non_alphanumeric': 0.12167990919409762, 'fraction_numerical': 0.001362088535754824, 'mean_word_length': 3.9284116331096195, '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': '4429095', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1328, 'n_words': 272}