<commit_before>package net.somethingdreadful.MAL;

public class MangaRecord extends GenericMALRecord {

    private int volumesTotal;
    private int chaptersTotal;
    private int volumesRead;
    private int chaptersRead;

    public static final String STATUS_WATCHING = "reading";
    public static final String STATUS_PLANTOWATCH = "plan to read";

    public MangaRecord(int id, String name, String type, String status, String myStatus,
            int readVolumes, int readChapters, int totalVolumes, int totalChapters,
            float memberScore, int myScore, String synopsis, String imageUrl, int dirty) {
        this.recordID = id;
        this.recordName = name;
        this.recordType = type;
        this.imageUrl = imageUrl;
        this.recordStatus = status;
        this.myStatus = myStatus;
        this.memberScore = memberScore;
        this.myScore = myScore;
        this.synopsis = synopsis;

        this.volumesTotal = totalVolumes;
        this.chaptersTotal = totalChapters;
        this.volumesRead = readVolumes;
        this.chaptersRead = readChapters;

        this.dirty = dirty;
    }

    public MangaRecord(int id, String name, String type, String status, String myStatus,
            int readVolumes, int readChapters, int totalVolumes, int totalChapters,
            int myScore, String imageUrl, int dirty) {
        this.recordID = id;
        this.recordName = name;
        this.recordType = type;
        this.imageUrl = imageUrl;
        this.recordStatus = status;
        this.myStatus = myStatus;
        this.myScore = myScore;

        this.volumesTotal = totalVolumes;
        this.chaptersTotal = totalChapters;
        this.volumesRead = readVolumes;
        this.chaptersRead = readChapters;

        this.dirty = dirty;

    }

    public String getVolumeTotal() {
        return Integer.toString(chaptersTotal);
    }
    @Override
    public String getTotal() {
        return Integer.toString(chaptersTotal);
    }

    public void setVolumesRead(int read) {
        this.volumesRead = read;
    }

    public void setChaptersRead(int read) {
        this.chaptersRead = read;
    }

    public int getVolumeProgress() {
        return volumesRead;
    }

    @Override
    public int getPersonalProgress() {
        return chaptersRead;
    }

    @Override
    public void setPersonalProgress(int amount) {
        this.chaptersRead = amount;<commit_msg>Fix Method to return Total Volume Count<commit_after>package net.somethingdreadful.MAL;

public class MangaRecord extends GenericMALRecord {

    private int volumesTotal;
    private int chaptersTotal;
    private int volumesRead;
    private int chaptersRead;

    public static final String STATUS_WATCHING = "reading";
    public static final String STATUS_PLANTOWATCH = "plan to read";

    public MangaRecord(int id, String name, String type, String status, String myStatus,
            int readVolumes, int readChapters, int totalVolumes, int totalChapters,
            float memberScore, int myScore, String synopsis, String imageUrl, int dirty) {
        this.recordID = id;
        this.recordName = name;
        this.recordType = type;
        this.imageUrl = imageUrl;
        this.recordStatus = status;
        this.myStatus = myStatus;
        this.memberScore = memberScore;
        this.myScore = myScore;
        this.synopsis = synopsis;

        this.volumesTotal = totalVolumes;
        this.chaptersTotal = totalChapters;
        this.volumesRead = readVolumes;
        this.chaptersRead = readChapters;

        this.dirty = dirty;
    }

    public MangaRecord(int id, String name, String type, String status, String myStatus,
            int readVolumes, int readChapters, int totalVolumes, int totalChapters,
            int myScore, String imageUrl, int dirty) {
        this.recordID = id;
        this.recordName = name;
        this.recordType = type;
        this.imageUrl = imageUrl;
        this.recordStatus = status;
        this.myStatus = myStatus;
        this.myScore = myScore;

        this.volumesTotal = totalVolumes;
        this.chaptersTotal = totalChapters;
        this.volumesRead = readVolumes;
        this.chaptersRead = readChapters;

        this.dirty = dirty;

    }

    public String getVolumeTotal() {
        return Integer.toString(volumesTotal);
    }
    @Override
    public String getTotal() {
        return Integer.toString(chaptersTotal);
    }

    public void setVolumesRead(int read) {
        this.volumesRead = read;
    }

    public void setChaptersRead(int read) {
        this.chaptersRead = read;
    }

    public int getVolumeProgress() {
        return volumesRead;
    }

    @Override
    public int getPersonalProgress() {
        return chaptersRead;
    }

    @Override
    public void setPersonalProgress(int amount) {
        this.chaptersRead = amount;
{'fraction_non_alphanumeric': 0.07323595967907838, 'fraction_numerical': 0.0, 'mean_word_length': 2.4903086862885857, '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': '7581261', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1321, 'n_words': 365}