<commit_before>import React, {Component} from 'react';
import {connect} from 'react-redux';
import './list.css';

export class List extends Component {
    render() {
        return (
            <ul className="c-list">
                {this.props.countries.map(country => {
                    return (
                        <li className="c-list__item" key={country.shortName}>
                            <div className="c-list__block">
                              <h2 className="c-list__title">{country.name}</h2>
                              <img className="c-list__image" src={country.photo} />
                            </div>
                        </li>
                    )
                })}
            </ul>
        );
    }
}

const mapStateToProps = (state) => {
    const countries = state.countries;
    return {
        countries
    };
};
<commit_msg>Add alt tag to image<commit_after>import React, {Component} from 'react';
import {connect} from 'react-redux';
import './list.css';

export class List extends Component {
    render() {
        return (
            <ul className="c-list">
                {this.props.countries.map(country => {
                    return (
                        <li className="c-list__item" key={country.shortName}>
                            <div className="c-list__block">
                              <h2 className="c-list__title">{country.name}</h2>
                              <img alt="{country.name}" className="c-list__image" src={country.photo} />
                            </div>
                        </li>
                    )
                })}
            </ul>
        );
    }
}

const mapStateToProps = (state) => {
    const countries = state.countries;
    return {
        countries
    };
};

{'fraction_non_alphanumeric': 0.12751677852348994, 'fraction_numerical': 0.0022371364653243847, 'mean_word_length': 1.2789808917197452, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, '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': '7364006', 'n_tokens_mistral': 472, 'n_tokens_neox': 458, 'n_words': 91}