<commit_before>import React, { Component } from 'react';

class CheckList extends Component {
  render(){
    let tasks = this.props.tasks.map((task) => (
      <li className="checklist__task">
        <input type="checkbox" defaultChecked={task.done} />
        {task.name}
        <a href="#" className="checklist__task--remove" />
      </li>
    ));
    return(
      <div className="checklist">
        <ul>{tasks}</ul>
      </div>
    );
  }
}
<commit_msg>Adding key={task.id} to CheckList.js component<commit_after>import React, { Component } from 'react';

class CheckList extends Component {
  render(){
    let tasks = this.props.tasks.map((task) => (
      <li key={task.id} className="checklist__task">
        <input type="checkbox" defaultChecked={task.done} />
        {task.name}
        <a href="#" className="checklist__task--remove" />
      </li>
    ));
    return(
      <div className="checklist">
        <ul>{tasks}</ul>
      </div>
    );
  }
}

{'fraction_non_alphanumeric': 0.17163412127440905, 'fraction_numerical': 0.0, 'mean_word_length': 2.647940074906367, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '6218952', 'n_tokens_mistral': 304, 'n_tokens_neox': 302, 'n_words': 61}