<commit_before>account = Account.create!(name: 'Test Corp')

patrick = User.create!(email: '<EMAIL>', password: 'password')
Membership.create!(account: account, user: patrick, role: 'owner')
Person.create!(name: 'Patrick', email: '<EMAIL>', user: patrick)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: 'The styling seems to be broken on the home page. Could you take a look?', person: patrick.person)

dave = User.create!(email: '<EMAIL>', password: 'password')
Person.create!(name: 'Dave', email: '<EMAIL>', user: dave, account: account)

jesse = User.create!(email: '<EMAIL>', password: 'password')
Membership.create!(account: account, user: jesse, role: 'agent')
Person.create!(name: 'Jesse', email: '<EMAIL>', user: jesse, account: account)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: "Where's the espresso machine? Wasn't it supposed to be delivered today?", person: dave.person)
conversation.messages.create(content: "Oh bummer. They sent it to 15th street for some reason. I'll give them a call and see what's up.", person: jesse.person)

chris = User.create!(email: '<EMAIL>', password: 'password')
Person.create!(name: 'Chris', email: '<EMAIL>', user: chris, account: account)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: 'Do you want to grab breakfast to chat about Helpful?', person: chris.person)
conversation.archive!

# Rough billing outline
# These are some example IDs that correspond to the Chargify dev subdomain 'helpful-dev'
BillingPlan.create slug: 'bronze',
                   name: "Bronze",
                   chargify_product_id: '3362368',
                   max_conversations: 25,
                   price: 39

BillingPlan.create slug: 'silver',
                   name: "Silver",
                   chargify_product_id: '3362369',
                   max_conversations: 250,
                   price: 99

BillingPlan.create slug: 'gold',
                   name: "Gold",
                   chargify_product_id: '3362370',
                   max_conversations: 1000,
                   price: 199<commit_msg>New billing plan seeds<commit_after>account = Account.create!(name: 'Test Corp')

patrick = User.create!(email: '<EMAIL>', password: 'password')
Membership.create!(account: account, user: patrick, role: 'owner')
Person.create!(name: 'Patrick', email: '<EMAIL>', user: patrick)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: 'The styling seems to be broken on the home page. Could you take a look?', person: patrick.person)

dave = User.create!(email: '<EMAIL>', password: 'password')
Person.create!(name: 'Dave', email: '<EMAIL>', user: dave, account: account)

jesse = User.create!(email: '<EMAIL>', password: 'password')
Membership.create!(account: account, user: jesse, role: 'agent')
Person.create!(name: 'Jesse', email: '<EMAIL>', user: jesse, account: account)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: "Where's the espresso machine? Wasn't it supposed to be delivered today?", person: dave.person)
conversation.messages.create(content: "Oh bummer. They sent it to 15th street for some reason. I'll give them a call and see what's up.", person: jesse.person)

chris = User.create!(email: '<EMAIL>', password: 'password')
Person.create!(name: 'Chris', email: '<EMAIL>', user: chris, account: account)

conversation = Conversation.create!(account: account)
conversation.messages.create(content: 'Do you want to grab breakfast to chat about Helpful?', person: chris.person)
conversation.archive!

# Current billing plans
BillingPlan.create slug: 'starter-kit',
                   name: "Starter Kit",
                   max_conversations: 25,
                   price: 0

BillingPlan.create slug: 'growing',
                   name: "Growing",
                   max_conversations: 50,
                   price: 29

BillingPlan.create slug: 'premium',
                   name: "Premium",
                   max_conversations: 150,
                   price: 59

BillingPlan.create slug: 'super',
                   name: "Super",
                   max_conversations: 300,
                   price: 199
{'fraction_non_alphanumeric': 0.1301706006076186, 'fraction_numerical': 0.01378826828698294, 'mean_word_length': 3.52431289640592, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '1939374', 'n_tokens_mistral': 1309, 'n_tokens_neox': 1205, 'n_words': 379}