<commit_before>Lanes.Test.makeScreen = (props = {}, args = {}) ->
    class TestScreen
        render: -> React.createElement('div')
    _.extend(TestScreen.prototype, props)
    Screen = Lanes.React.Screen.extend(TestScreen)
    Lanes.Test.renderComponent(Screen, props: args)


Lanes.Test.makeComponent = (props = {}, args = {}) ->
    class TestComponent
        render: -> React.createElement('div')
    _.extend(TestComponent.prototype, props)
    Component = Lanes.React.Component.extend(TestComponent)
    Lanes.Test.renderComponent(Component, props: args)

Lanes.Test.defineModel = (props = {}) ->
    class TestModel
        constructor: -> super
    _.extend(TestModel.prototype, props)
    Lanes.Models.Base.extend(TestModel)

Lanes.Test.makeModel = (props = {}, args = {}, options = {}) ->
    Model = Lanes.Test.defineModel(props)
    return new Model(args, options)

Lanes.Test.makeCollection = (props = {}, args = {}) ->
    class TestCollection
        constructor: -> super
    _.extend(TestCollection.prototype, props)
    unless TestCollection::model
        class TestModel
            constructor: -> super
        TestCollection::model = Lanes.Models.Base.extend(TestModel)
    Lanes.Models.Collection.extend(TestCollection)
    return new TestCollection(args)<commit_msg>set FILE to dummy object<commit_after>Lanes.Test.makeScreen = (props = {}, args = {}) ->
    class TestScreen
        FILE: { path: ['test'] }
        render: -> React.createElement('div')
    _.extend(TestScreen.prototype, props)
    Screen = Lanes.React.Screen.extend(TestScreen)
    Lanes.Test.renderComponent(Screen, props: args)


Lanes.Test.makeComponent = (props = {}, args = {}) ->
    class TestComponent
        FILE: { path: ['test'] }
        render: -> React.createElement('div')
    _.extend(TestComponent.prototype, props)
    Component = Lanes.React.Component.extend(TestComponent)
    Lanes.Test.renderComponent(Component, props: args)

Lanes.Test.defineModel = (props = {}) ->
    class TestModel
        FILE: { path: ['test'] }
        constructor: -> super
    _.extend(TestModel.prototype, props)
    Lanes.Models.Base.extend(TestModel)

Lanes.Test.makeModel = (props = {}, args = {}, options = {}) ->
    Model = Lanes.Test.defineModel(props)
    return new Model(args, options)

Lanes.Test.makeCollection = (props = {}, args = {}) ->
    class TestCollection
        constructor: -> super
    _.extend(TestCollection.prototype, props)
    unless TestCollection::model
        class TestModel
            FILE: { path: ['test'] }
            constructor: -> super
        TestCollection::model = Lanes.Models.Base.extend(TestModel)
    Lanes.Models.Collection.extend(TestCollection)
    return new TestCollection(args)
{'fraction_non_alphanumeric': 0.13747714808043876, 'fraction_numerical': 0.0, 'mean_word_length': 3.2157164869029278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '4540356', 'n_tokens_mistral': 771, 'n_tokens_neox': 781, 'n_words': 151}