<commit_before>import React from 'react';
import {Grid} from 'react-bootstrap';

import Problem from '../components/Problem.jsx';
import SubmissionInProgress from "../components/SubmissionInProgress.jsx";
import {LoadingInProgressActions} from "../actions/loadingInProgress.js";

export default class Problems extends React.Component {
    componentWillMount() {
        LoadingInProgressActions.LoadingInProgress('Downloading Problems');
    }
    render() {
        let problems = this.props.problems || [];

        let problemNodes = problems.map((problem, idx) => {
            return <Problem
                title={problem.title}
                timeLimit={problem.time_limit}
                memoryLimit={problem.memory_limit}
                id={problem.id}<commit_msg>- move Modal to react bootstrap - fix Modal windows<commit_after>import React from 'react';
import {Grid} from 'react-bootstrap';

import Problem from '../components/Problem.jsx';
import SubmissionInProgress from "../components/SubmissionInProgress.jsx";
import {LoadingInProgressActions} from "../actions/loadingInProgress.js";

export default class Problems extends React.Component {
    componentWillMount() {
        if (!this.props.problems) {
            LoadingInProgressActions.LoadingInProgress('Downloading Problems');
        }
    }
    render() {
        let problems = this.props.problems || [];

        let problemNodes = problems.map((problem, idx) => {
            return <Problem
                title={problem.title}
                timeLimit={problem.time_limit}
                memoryLimit={problem.memory_limit}
                id={problem.id}
{'fraction_non_alphanumeric': 0.11131386861313869, 'fraction_numerical': 0.0, 'mean_word_length': 2.8981042654028437, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7520990', 'n_tokens_mistral': 439, 'n_tokens_neox': 398, 'n_words': 95}