<commit_before>package edacc.model;

import java.io.File;


public class Solver extends BaseModel implements IntegerPKModel {
    private int id;
    private String name;
    private String binaryName;
    private File binaryFile;
    private String description;
    private String md5;
    private File codeFile;
    
    public Solver() {
        this.setNew();
    }

    public String getBinaryName() {
        return binaryName;
    }

    public void setBinaryName(String binaryName) {
        this.binaryName = binaryName;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public int getId() {
        return id;
    }

    protected void setId(int id) {
        this.id = id;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    protected File getBinaryFile() {
        return binaryFile;
    }

    public void setBinaryFile(File binaryFile) {
        this.binaryFile = binaryFile;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    protected File getCodeFile() {
        return codeFile;
    }

    public void setCodeFile(File codeFile) {
        this.codeFile = codeFile;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Solver other = (Solver) obj;
        if (this.id != other.id) {
            return false;
        }
        if ((this.name == null) ? (other.name != null) : !this.name.equals(other.name)) {
            return false;
        }
        if ((this.binaryName == null) ? (other.binaryName != null) : !this.binaryName.equals(other.binaryName)) {
            return false;
        }
        if (this.binaryFile != other.binaryFile && (this.binaryFile == null || !this.binaryFile.equals(other.binaryFile))) {
            return false;
        }
        if ((this.description == null) ? (other.description != null) : !this.description.equals(other.description)) {
            return false;
        }
        if ((this.md5 == null) ? (other.md5 != null) : !this.md5.equals(other.md5)) {
            return false;
        }
        if (this.codeFile != other.codeFile && (this.codeFile == null || !this.codeFile.equals(other.codeFile))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 29 * hash + this.id;
        return hash;
    }


}<commit_msg>fixed bug preventing parameters of newly added solvers to be saved<commit_after>package edacc.model;

import java.io.File;


public class Solver extends BaseModel implements IntegerPKModel {
    private int id;
    private String name;
    private String binaryName;
    private File binaryFile;
    private String description;
    private String md5;
    private File codeFile;
    
    public Solver() {
        this.setNew();
    }

    public String getBinaryName() {
        return binaryName;
    }

    public void setBinaryName(String binaryName) {
        this.binaryName = binaryName;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public int getId() {
        return id;
    }

    protected void setId(int id) {
        this.id = id;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    protected File getBinaryFile() {
        return binaryFile;
    }

    public void setBinaryFile(File binaryFile) {
        this.binaryFile = binaryFile;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    protected File getCodeFile() {
        return codeFile;
    }

    public void setCodeFile(File codeFile) {
        this.codeFile = codeFile;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Solver other = (Solver) obj;
        if ((this.md5 == null) ? (other.md5 != null) : !this.md5.equals(other.md5)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 29 * hash + (this.md5 != null ? this.md5.hashCode() : 0);
        return hash;
    }


}
{'fraction_non_alphanumeric': 0.1082558775287042, 'fraction_numerical': 0.005649717514124294, 'mean_word_length': 1.744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5601267', 'n_tokens_mistral': 1614, 'n_tokens_neox': 1575, 'n_words': 398}