<commit_before>package algore;

import java.util.Set;

public class PlaylistNode {
	public Integer _popularity;
	public Set<Integer> _songSet;

	public PlaylistNode(Integer popularity, Set<Integer> songSet) {
		_popularity = popularity;
		_songSet = songSet;
    }
}<commit_msg>Made playlistnode comparable based on popularity. Added getters to it<commit_after>package algore;

import java.util.Set;
import java.util.ArrayList;

public class PlaylistNode implements Comparable {
	public Integer _popularity;
	public Set<Integer> _songSet;

	public PlaylistNode(Integer popularity, Set<Integer> songSet) {
		_popularity = popularity;
		_songSet = songSet;
    }

    public Set<Integer> getSongSet() {
    	return _songSet;
    }

    public Integer getPopularity() {
    	return _popularity;
    }

    @Override
	public int compareTo(Object other) {
    	if (_popularity < ((PlaylistNode)other).getPopularity()) {
    	    return -1;
    	}
    	if (_popularity > ((PlaylistNode)other).getPopularity()) {
    	    return 1;
    	}
    	return 0;
	}	
}
{'fraction_non_alphanumeric': 0.09220532319391635, 'fraction_numerical': 0.0028517110266159697, 'mean_word_length': 3.700892857142857, 'pattern_counts': {'":': 0, '<': 9, '<?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': '4110127', 'n_tokens_mistral': 361, 'n_tokens_neox': 333, 'n_words': 84}