<commit_before>@no-txn
Feature: Shell user imports a csv file of contacts
  As a person using the shell
  I want to import contacts
  In order to associate phone calls to users

  Scenario: Non-existing file
    When I request a contact import using "/non/existant/path"
    Then bell should tell me that "/non/existant/path" does not exist

  Scenario: Directory
    Given a directory named "tmp"
    When I request a contact import using "tmp"
    Then bell should tell me that "tmp" is a directory

  Scenario: Invalid contacts file
    Given a file named "invalid.csv" with:
    """
    "john",1234123412
    "bob
    """
    When I request a contact import using "invalid.csv"<commit_msg>Better feature explanation.<commit_after>@no-txn
Feature: Shell user imports a csv file of a user's contacts
  As a person using the shell
  I want to import user contacts
  In order to associate phone calls to users

  Scenario: Non-existing file
    When I request a contact import using "/non/existant/path"
    Then bell should tell me that "/non/existant/path" does not exist

  Scenario: Directory
    Given a directory named "tmp"
    When I request a contact import using "tmp"
    Then bell should tell me that "tmp" is a directory

  Scenario: Invalid contacts file
    Given a file named "invalid.csv" with:
    """
    "john",1234123412
    "bob
    """
    When I request a contact import using "invalid.csv"
{'fraction_non_alphanumeric': 0.06223479490806223, 'fraction_numerical': 0.014144271570014143, 'mean_word_length': 3.198813056379822, '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': '6185477', 'n_tokens_mistral': 411, 'n_tokens_neox': 382, 'n_words': 194}