<commit_before>package edu.oregonstate.mist.osuevents

import edu.oregonstate.mist.osuevents.core.Event
import edu.oregonstate.mist.osuevents.core.Instance

import java.time.ZonedDateTime

class EventTest {
    public static Event validSampleEvent = new Event(
            eventID: "some-nasty-uuid-here",
            title: "Unit Testing",
            description: "Do unit testing.",
            locationID: "1337",
            otherLocationName: null, //if a location ID is used, this field should be null
            room: "Down the hall and to the left.",
            address: null, //if a location ID is used, this field should be null
            city: null, //if a location ID is used, this field should be null
            state: null, //if a location ID is used, this field should be null
            countyIDs: ["Benton"], //this doesn't need to be null if a locationID is given
            eventURL: "https://example.com/foo",
            photoURL: "https://example.com/foo.jpg",
            ticketURL: "https://someticketplace.com/foo",
            ticketCost: "This can be any string.",
            hashtag: "foo",
            keywords: ["foo", "bar", "eggplant"],
            tags: ["unit-testing", "testing"],
            allowsReviews: true,
            allowUserActivity: true,
            departmentIDs: ["1", "2", "3"],
            contactName: "Jared",
            contactEmail: "<EMAIL>",
            contactPhone: "555-555-5555",
            eventTypeIDs: ["2", "1"],
            eventTopicIDs: ["2", "3"],
            audienceIDs: ["3", "4"],
            instances: [
                    new Instance(
                            start: ZonedDateTime.now(),
                            end: ZonedDateTime.now().plusHours(1)
                    ),
                    new Instance(
                            start: ZonedDateTime.now().plusDays(1),
                            end: null
                    )
            ]
    )
}<commit_msg>add visibility to unit test<commit_after>package edu.oregonstate.mist.osuevents

import edu.oregonstate.mist.osuevents.core.Event
import edu.oregonstate.mist.osuevents.core.Instance

import java.time.ZonedDateTime

class EventTest {
    public static Event validSampleEvent = new Event(
            eventID: "some-nasty-uuid-here",
            title: "Unit Testing",
            description: "Do unit testing.",
            locationID: "1337",
            otherLocationName: null, //if a location ID is used, this field should be null
            room: "Down the hall and to the left.",
            address: null, //if a location ID is used, this field should be null
            city: null, //if a location ID is used, this field should be null
            state: null, //if a location ID is used, this field should be null
            countyIDs: ["Benton"], //this doesn't need to be null if a locationID is given
            eventURL: "https://example.com/foo",
            photoURL: "https://example.com/foo.jpg",
            ticketURL: "https://someticketplace.com/foo",
            ticketCost: "This can be any string.",
            hashtag: "foo",
            keywords: ["foo", "bar", "eggplant"],
            tags: ["unit-testing", "testing"],
            allowsReviews: true,
            allowUserActivity: true,
            departmentIDs: ["1", "2", "3"],
            contactName: "Jared",
            contactEmail: "<EMAIL>",
            contactPhone: "555-555-5555",
            eventTypeIDs: ["2", "1"],
            eventTopicIDs: ["2", "3"],
            audienceIDs: ["3", "4"],
            visibility: "Hidden",
            instances: [
                    new Instance(
                            start: ZonedDateTime.now(),
                            end: ZonedDateTime.now().plusHours(1)
                    ),
                    new Instance(
                            start: ZonedDateTime.now().plusDays(1),
                            end: null
                    )
            ]
    )
}
{'fraction_non_alphanumeric': 0.1135678391959799, 'fraction_numerical': 0.01256281407035176, 'mean_word_length': 1.6036625245258338, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '1217767', 'n_tokens_mistral': 1078, 'n_tokens_neox': 1040, 'n_words': 320}