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

class Track extends Component {
  // renderSocialLinks() {
  //   return this.props.metadatas.map((meta, i) => {
  //     const className = `fa fa-${meta.provider} fa-3x`
  //     return (
  //       <a key={i}
  //          onClick={() => {
  //            chrome.tabs.create({url: meta.link})
  //         }}>
  //         <i className={className}></i>
  //       </a>
  //     )
  //   })
  // }

  render() {
    return (
      <div className='card'>
        <div className='card-image'>
          <div className='cover valign-wrapper'>
            {(this.props.metadatas && this.props.metadatas.length) &&
              <Cover coverUrl={this.props.metadatas[0].cover}/>
            }
          </div>
        </div>
        <div className='card-content track-info'>
          {(this.props.title && this.props.artist) &&
            <div>
              <h5>{this.props.title}</h5>
              <span className='caption grey-text'>par {this.props.artist}</span>
            </div>}

          <SocialLinks metadatas={this.props.metadatas} /><commit_msg>oups ! forgot to remove commented snippet<commit_after>import React, { Component } from 'react';
import { connect } from 'react-redux';
import Cover from './Cover';
import SocialLinks from './SocialLinks';

class Track extends Component {
  render() {
    return (
      <div className='card'>
        <div className='card-image'>
          <div className='cover valign-wrapper'>
            {(this.props.metadatas && this.props.metadatas.length) &&
              <Cover coverUrl={this.props.metadatas[0].cover}/>
            }
          </div>
        </div>
        <div className='card-content track-info'>
          {(this.props.title && this.props.artist) &&
            <div>
              <h5>{this.props.title}</h5>
              <span className='caption grey-text'>par {this.props.artist}</span>
            </div>}

          <SocialLinks metadatas={this.props.metadatas} />
{'fraction_non_alphanumeric': 0.16555977229601518, 'fraction_numerical': 0.003320683111954459, 'mean_word_length': 1.983026874115983, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, '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': '6800013', 'n_tokens_mistral': 653, 'n_tokens_neox': 621, 'n_words': 123}