<commit_before>package org.xcolab.view.pages.proposals.wrappers;

import org.xcolab.client.proposals.ProposalJudgeRatingClientUtil;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingType;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingValue;

import java.util.List;

public class ProposalRatingTypeWrapper {

    private final ProposalRatingType proposalRatingType;

    public ProposalRatingTypeWrapper(ProposalRatingType proposalRatingType) {
        this.proposalRatingType = proposalRatingType;
    }

    public List<ProposalRatingValue> getRatingValues() {
        return ProposalJudgeRatingClientUtil.getProposalRatingValuesByProposalRatingTypeId(this.proposalRatingType.getId());
    }

    public Long getId() {
        return this.proposalRatingType.getId();
    }

    public String getLabel() {
        return this.proposalRatingType.getLabel();
    }
    public String getDescription() {
        return this.proposalRatingType.getDescription();
    }

    public boolean getIsActive()<commit_msg>Fix serialization error<commit_after>package org.xcolab.view.pages.proposals.wrappers;

import org.xcolab.client.proposals.ProposalJudgeRatingClientUtil;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingType;
import org.xcolab.client.proposals.pojo.evaluation.judges.ProposalRatingValue;

import java.io.Serializable;
import java.util.List;

public class ProposalRatingTypeWrapper implements Serializable {

    private final ProposalRatingType proposalRatingType;

    public ProposalRatingTypeWrapper(ProposalRatingType proposalRatingType) {
        this.proposalRatingType = proposalRatingType;
    }

    public List<ProposalRatingValue> getRatingValues() {
        return ProposalJudgeRatingClientUtil
                .getProposalRatingValuesByProposalRatingTypeId(this.proposalRatingType.getId());
    }

    public Long getId() {
        return this.proposalRatingType.getId();
    }

    public String getLabel() {
        return this.proposalRatingType.getLabel();
    }

    public String getDescription() {
        return this.proposalRatingType.getDescription();
    }

    public boolean getIsActive()
{'fraction_non_alphanumeric': 0.07888736890104879, 'fraction_numerical': 0.0, 'mean_word_length': 4.444168734491315, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6545785', 'n_tokens_mistral': 670, 'n_tokens_neox': 617, 'n_words': 96}