<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router';

const ScoreListItem = ({ score }) => (
  <div>
    <div>
      <p>{score.quarter}</p>
      {score.isFinal && <p>Final</p>}
      {!score.isFinal && <p>{score.timeLeft}</p>}
    </div>
    <table>
      <tbody>
        <tr>
          <td>{score.homeTeam}</td>
          <td>{score.homeScore}</td>
        </tr>
        <tr>
          <td>{score.awayTeam}</td>
          <td>{score.awayScore}</td><commit_msg>add base logic for update animation<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router';

const ScoreListItem = ({ score }) => (
  <div className={score.didJustUpdate ? 'updated' : ''}>
    <div>
      <p>{score.quarter}</p>
      {score.isFinal && <p>Final</p>}
      {!score.isFinal && <p>{score.timeLeft}</p>}
    </div>
    <table>
      <tbody>
        <tr>
          <td>{score.homeTeam}</td>
          <td>{score.homeScore}</td>
        </tr>
        <tr>
          <td>{score.awayTeam}</td>
          <td>{score.awayScore}</td>
{'fraction_non_alphanumeric': 0.19839142091152814, 'fraction_numerical': 0.0, 'mean_word_length': 2.3333333333333335, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 49, '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': '2489605', 'n_tokens_mistral': 382, 'n_tokens_neox': 382, 'n_words': 70}