<commit_before>#include <Track.h>
#include <iostream>
#include <string>

using namespace SoundCity;
using namespace std;

int main()
{
  Artist artist(1, "The White Stripes", 0.4, 1.0);
  //cout << artist.getName() << endl;
  Album album(1, "Elephant", "The White Stripes", 2012);
  //cout << album.getArtist() << endl;
  ContextData data(artist, album, 0.5);
  //cout << data.getArtistName() << endl;
  SignalData sign(0.2,0.3,0.4);
  Track test(1, sign ,data);
  cout << "Track id : " << test.getId() << endl;
  cout << "Artist id : " << test.getContextData().getArtist().getId() << endl;
  cout << "Artist name : " <<  test.getContextData().getArtist().getName() << endl;
  cout << "Artist familiarity : " << test.getContextData().getArtist().getFamiliarity() << endl;
  cout << "Artist popularity : " << test.getContextData().getArtist().getPopularity() << endl;
  cout << "Album Title : " << test.getContextData().getAlbum().getTitle() << endl;
  cout << "Album Artist : " << test.getContextData().getAlbum().getArtist() << endl;
  cout << "Album Release : " << test.getContextData().getAlbum().getReleaseDate() << endl;
  cout << "Track Popularity : " << test.getContextData().getPopularity() << endl;
  cout << "Track Rhythm : " << test.getSignalData().getRhythm() << endl;
  cout << "Track Energy : " << test.getSignalData().getEnergy() << endl;
  cout << "Track Tonality : " << test.getSignalData().getTonality() << endl;
}
<commit_msg>Mise à jour du test avec le titre du morceau<commit_after>#include <Track.h>
#include <iostream>
#include <string>

using namespace SoundCity;
using namespace std;

int main()
{
  Artist artist(1, "The White Stripes", 0.4, 1.0);
  //cout << artist.getName() << endl;
  Album album(1, "Elephant", "The White Stripes", 2012);
  //cout << album.getArtist() << endl;
  ContextData data(artist, album, 0.5);
  //cout << data.getArtistName() << endl;
  SignalData sign(0.2,0.3,0.4);
  Track test(1, "Seven Nations Army", sign ,data);
  cout << "Track id : " << test.getId() << endl;
  cout << "Track Title : " << test.getTitle() << endl;
  cout << "Artist id : " << test.getContextData().getArtist().getId() << endl;
  cout << "Artist name : " <<  test.getContextData().getArtist().getName() << endl;
  cout << "Artist familiarity : " << test.getContextData().getArtist().getFamiliarity() << endl;
  cout << "Artist popularity : " << test.getContextData().getArtist().getPopularity() << endl;
  cout << "Album Title : " << test.getContextData().getAlbum().getTitle() << endl;
  cout << "Album Artist : " << test.getContextData().getAlbum().getArtist() << endl;
  cout << "Album Release : " << test.getContextData().getAlbum().getReleaseDate() << endl;
  cout << "Track Popularity : " << test.getContextData().getPopularity() << endl;
  cout << "Track Rhythm : " << test.getSignalData().getRhythm() << endl;
  cout << "Track Energy : " << test.getSignalData().getEnergy() << endl;
  cout << "Track Tonality : " << test.getSignalData().getTonality() << endl;
}

{'fraction_non_alphanumeric': 0.20413609072715144, 'fraction_numerical': 0.012675116744496331, 'mean_word_length': 4.413357400722021, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 9, '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': '4969224', 'n_tokens_mistral': 1011, 'n_tokens_neox': 992, 'n_words': 231}