<commit_before>import './gennyStatus.scss';
import React, { Component } from 'react';
import { string, object, bool } from 'prop-types';
import { Status } from 'views/components';
import { BaseEntityQuery, GennyBridge } from 'utils/genny';

class GennyStatus extends Component {

    static defaultProps = {
        root: '',
    }

    static propTypes = {
        root: string,
        style: object,
        statusStyle: object,
    };

    state = {
    }

    getEntityStatus = (root) => {

        let status_color = '#5cb85c';
        let user_status_color = null;

        let be = BaseEntityQuery.getBaseEntity(root);
        if( be != null ) {

            let attributes = be.attributes;
            if( attributes != null ) {

                const userCode = GennyBridge.getUser();
<commit_msg>changed default color for status for capstone<commit_after>import './gennyStatus.scss';
import React, { Component } from 'react';
import { string, object, bool } from 'prop-types';
import { Status } from 'views/components';
import { BaseEntityQuery, GennyBridge } from 'utils/genny';

class GennyStatus extends Component {

    static defaultProps = {
        root: '',
    }

    static propTypes = {
        root: string,
        style: object,
        statusStyle: object,
    };

    state = {
    }

    getEntityStatus = (root) => {

        let status_color = '#FFCC00';
        let user_status_color = null;

        let be = BaseEntityQuery.getBaseEntity(root);
        if( be != null ) {

            let attributes = be.attributes;
            if( attributes != null ) {

                const userCode = GennyBridge.getUser();

{'fraction_non_alphanumeric': 0.11300121506682867, 'fraction_numerical': 0.003037667071688943, 'mean_word_length': 2.327272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '254179', 'n_tokens_mistral': 479, 'n_tokens_neox': 454, 'n_words': 128}