<commit_before>package org.neda.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * Make Earthquake table with the related columns
 */
@Entity
@Table(name = "earthquake")
public class Earthquake {

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE)
    @Column(nullable = false, name = "e_id")
    private Long earthquakeId;

    @Column(name = "e_location_id")
    private long localizationId;

    @Column(name = "latitude")
    private Double latitude;

    @Column(name = "longitude")
    private Double longitude;

    @Column(name = "eq_depth")
    private Double depth;

    @Column(name = "magnitude")
    private Double magnitude;

    @Column(name = "happened_on")
    private Date happenedOn;


    public Long getEarthquakeId() {
        return earthquakeId;<commit_msg>Added nullable constraint for magnitude. #9<commit_after>package org.neda.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * Make Earthquake table with the related columns
 */
@Entity
@Table(name = "earthquake")
public class Earthquake {

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE)
    @Column(nullable = false, name = "e_id")
    private Long earthquakeId;

    @Column(name = "e_location_id")
    private long localizationId;

    @Column(name = "latitude")
    private Double latitude;

    @Column(name = "longitude")
    private Double longitude;

    @Column(name = "eq_depth")
    private Double depth;

    @Column(nullable = false, name = "magnitude")
    private Double magnitude;

    @Column(name = "happened_on")
    private Date happenedOn;


    public Long getEarthquakeId() {
        return earthquakeId;
{'fraction_non_alphanumeric': 0.10778443113772455, 'fraction_numerical': 0.0005988023952095808, 'mean_word_length': 3.616022099447514, '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': '2274860', 'n_tokens_mistral': 523, 'n_tokens_neox': 490, 'n_words': 134}