<commit_before>import Backbone from 'backbone'

export const TrialModel = Backbone.Model.extend({
    url: 'https://clinicaltrialsapi.cancer.gov/v1/clinical-trials'
})

export const TrialCollection = Backbone.Collection.extend({
    url: 'https://clinicaltrialsapi.cancer.gov/v1/clinical-trials'
})<commit_msg>added properties to models and collections<commit_after>import Backbone from 'backbone'

export const TrialModel = Backbone.Model.extend({
    url: 'https://clinicaltrialsapi.cancer.gov/v1/clinical-trials',
    idAttribute: 'id'
})

export const TrialCollection = Backbone.Collection.extend({
    url: 'https://clinicaltrialsapi.cancer.gov/v1/clinical-trials',
    model: TrialModel
})
{'fraction_non_alphanumeric': 0.12661870503597122, 'fraction_numerical': 0.0057553956834532375, 'mean_word_length': 5.214285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1861600', 'n_tokens_mistral': 237, 'n_tokens_neox': 211, 'n_words': 41}