<commit_before>/*
 */
package org.datadryad.rest.models;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
 *
 * @author1 <NAME> <<EMAIL>>
 */
@XmlRootElement
public class Manuscript {
    public static final String MANUSCRIPT_ID = "manuscriptId";

    public static final String STATUS_SUBMITTED = "submitted";
    public static final String STATUS_ACCEPTED = "accepted";
    public static final String STATUS_REJECTED = "rejected";
    public static final String STATUS_NEEDS_REVISION = "needs revision";
    public static final String STATUS_PUBLISHED = "published";

    public static final List<String> MANUSCRIPT_STATUSES = Arrays.asList(
            STATUS_SUBMITTED,
            STATUS_ACCEPTED,
            STATUS_REJECTED,
            STATUS_NEEDS_REVISION,
            STATUS_PUBLISHED
    );

    static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    @XmlElement(name="abstract")
    public String manuscript_abstract; // how to annotate this as "abstract"
    public AuthorsList authors;<commit_msg>Cleanup stray comment<commit_after>/*
 */
package org.datadryad.rest.models;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
 *
 * @author1 <NAME> <<EMAIL>>
 */
@XmlRootElement
public class Manuscript {
    public static final String MANUSCRIPT_ID = "manuscriptId";

    public static final String STATUS_SUBMITTED = "submitted";
    public static final String STATUS_ACCEPTED = "accepted";
    public static final String STATUS_REJECTED = "rejected";
    public static final String STATUS_NEEDS_REVISION = "needs revision";
    public static final String STATUS_PUBLISHED = "published";

    public static final List<String> MANUSCRIPT_STATUSES = Arrays.asList(
            STATUS_SUBMITTED,
            STATUS_ACCEPTED,
            STATUS_REJECTED,
            STATUS_NEEDS_REVISION,
            STATUS_PUBLISHED
    );

    static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    @XmlElement(name="abstract")
    public String manuscript_abstract;
    public AuthorsList authors;
{'fraction_non_alphanumeric': 0.08835027365129007, 'fraction_numerical': 0.0007818608287724785, 'mean_word_length': 3.94015444015444, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4559815', 'n_tokens_mistral': 804, 'n_tokens_neox': 746, 'n_words': 183}