<commit_before>Ext.define('CustomApp', {
    extend: 'Rally.app.App',
    componentCls: 'app',
    items:{ html:'<a href="https://help.rallydev.com/apps/2.0rc2/doc/">App SDK 2.0rc2 Docs</a>'},
    launch: function(){
	console.log("Hello World");
	this._loadData();
    },
    //get data from Rally
    _loadData: function(){
	var myStore = Ext.create('Rally.data.wsapi.Store', {
	model: 'User Story',
	autoLoad: true,
	//events that will fire
	listeners: {
	    load: function(myStore, myData, success) {
	    //add grid logic after store loaded...
	    this. _loadGrid(myStore);
	    
	    },
	    scope: this
	},
	fetch: ['FormattedID', 'Name', 'ScheduleState']
       });
    },
    //create and show a grid of given stories
    _loadGrid: function(myStore){
	var myGrid= Ext.create('Rally.ui.grid.Grid', {
	    store: myStore,
	    columnCfgs: [
		 'FormattedID', 'Name', 'ScheduleState'
	     ]<commit_msg>first grid working<commit_after>Ext.define('CustomApp', {
    extend: 'Rally.app.App',
    componentCls: 'app',
    launch: function(){
	console.log("Hello World");
	this._loadData();
    },
    //get data from Rally
    _loadData: function(){
	var myStore = Ext.create('Rally.data.wsapi.Store', {
	model: 'User Story',
	autoLoad: true,
	//events that will fire
	listeners: {
	    load: function(myStore, myData, success) {
	    //add grid logic after store loaded...
	    this. _loadGrid(myStore);
	    
	    },
	    scope: this
	},
	fetch: ['FormattedID', 'Name', 'ScheduleState']
       });
    },
    //create and show a grid of given stories
    _loadGrid: function(myStore){
	var myGrid= Ext.create('Rally.ui.grid.Grid', {
	    store: myStore,
	    columnCfgs: [
		 'FormattedID', 'Name', 'ScheduleState'
	     ]
{'fraction_non_alphanumeric': 0.1607865818392134, 'fraction_numerical': 0.003470213996529786, 'mean_word_length': 2.967889908256881, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '5656327', 'n_tokens_mistral': 613, 'n_tokens_neox': 586, 'n_words': 140}