<commit_before>import React from 'react'
import './DatasetDetail.css'
import { doneSince } from '../../helpers/doneSince'

const styles = {
  resume: {
    display: 'flex',
    flexDirection: 'column',
  },
  infos: {
    display: 'flex',
  },
}

const DatasetSection = ({dataset}) => {
  const type = dataset.metadata.type || 'inconnu'
  const license = dataset.metadata.license || 'non déterminé'
  const revisionDate = doneSince(dataset.revisionDate)

  return (
    <div style={styles.resume} className="dataset-section">
      <h1 className="dataset-title">{dataset.metadata.title}</h1>
      <div style={styles.infos} className="infos">
        <div>Type : <span>{type}</span></div>
        <div>license : <span>{license}</span></div>
        <div>Dernière mise à jour : <span>{revisionDate}</span></div>
      </div>
      <div>Identifiant du jeu de données : <span>{dataset.metadata.id}</span></div>
      <p>{dataset.metadata.description}</p>
      <p>Origine de la donnée : {dataset.metadata.lineage}</p>
    </div><commit_msg>Add uppercase<commit_after>import React from 'react'
import './DatasetDetail.css'
import { doneSince } from '../../helpers/doneSince'

const styles = {
  resume: {
    display: 'flex',
    flexDirection: 'column',
  },
  infos: {
    display: 'flex',
  },
}

const DatasetSection = ({dataset}) => {
  const type = dataset.metadata.type || 'inconnu'
  const license = dataset.metadata.license || 'non déterminé'
  const revisionDate = doneSince(dataset.revisionDate)

  return (
    <div style={styles.resume} className="dataset-section">
      <h1 className="dataset-title">{dataset.metadata.title}</h1>
      <div style={styles.infos} className="infos">
        <div>Type : <span>{type}</span></div>
        <div>License : <span>{license}</span></div>
        <div>Dernière mise à jour : <span>{revisionDate}</span></div>
      </div>
      <div>Identifiant du jeu de données : <span>{dataset.metadata.id}</span></div>
      <p>{dataset.metadata.description}</p>
      <p>Origine de la donnée : {dataset.metadata.lineage}</p>
    </div>
{'fraction_non_alphanumeric': 0.1755062680810029, 'fraction_numerical': 0.0019286403085824494, 'mean_word_length': 3.53056768558952, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '1676795', 'n_tokens_mistral': 660, 'n_tokens_neox': 671, 'n_words': 134}