<commit_before>import React from 'react';
import {Decorator as Cerebral} from 'cerebral-react';
import Editable from './Editable.jsx';
import Note from './Note.jsx';

@Cerebral({})
export default class Notes extends React.Component {
  constructor(props) {
    super(props);

    this.renderNote = this.renderNote.bind(this);
    this.moveNote = this.moveNote.bind(this);
  }
  render() {
    const notes = this.props.items;

    return <ul className="notes">{notes.map(this.renderNote)}</ul>;
  }
  renderNote(note) {
    // onMove={LaneActions.move}
    return (
      <Note className="note" onMove={this.moveNote}
        id={note.id} key={`note${note.id}`}>
        <Editable
          value={note.task}
          onEdit={this.props.onEdit.bind(null, note.id)}
          onDelete={this.props.onDelete.bind(null, note.id)} />
      </Note>
    );
  }
  moveNote({sourceId, targetId}) {
    this.props.signals.noteMoved({sourceId, targetId});
  }
}
<commit_msg>Drop redundant comment<commit_after>import React from 'react';
import {Decorator as Cerebral} from 'cerebral-react';
import Editable from './Editable.jsx';
import Note from './Note.jsx';

@Cerebral({})
export default class Notes extends React.Component {
  constructor(props) {
    super(props);

    this.renderNote = this.renderNote.bind(this);
    this.moveNote = this.moveNote.bind(this);
  }
  render() {
    const notes = this.props.items;

    return <ul className="notes">{notes.map(this.renderNote)}</ul>;
  }
  renderNote(note) {
    return (
      <Note className="note" onMove={this.moveNote}
        id={note.id} key={`note${note.id}`}>
        <Editable
          value={note.task}
          onEdit={this.props.onEdit.bind(null, note.id)}
          onDelete={this.props.onDelete.bind(null, note.id)} />
      </Note>
    );
  }
  moveNote({sourceId, targetId}) {
    this.props.signals.noteMoved({sourceId, targetId});
  }
}

{'fraction_non_alphanumeric': 0.1619348054679285, 'fraction_numerical': 0.0, 'mean_word_length': 3.266816143497758, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3934356', 'n_tokens_mistral': 647, 'n_tokens_neox': 636, 'n_words': 115}