<commit_before>angular
  .module('app')
  .controller('vendorEditController', [
    '$rootScope',
    '$scope',
    '$location',
    '$routeParams',
    'authService',
    'vendorService',
    'programService',
    'stateService',
    'userService',
    'googleMapsService',
    '$timeout',
    '$window',
    function($rootScope, $scope, $location, $routeParams, Auth, Vendor, Program, States, User, googleMaps, $timeout, $window) {
       
        Auth.canUserDoAction('edit-vendor');
        
        $scope.tabs = ['Basic information', 'Marlin Sales Rep', 'Rate Sheets', 'Legal Terms'];
       
        // empty vendor object
        $scope.vendor = {};
        var vendor = {};
        // empty logo object, or filepicker gets mad :)
        $scope.vendor.logo = {};
        
        //States picker
        $scope.states = States.states();
        $scope.vendor.state = $scope.states[0].abbreviation;
        <commit_msg>Make sure née vendors get the salesRepId prop.<commit_after>angular
  .module('app')
  .controller('vendorEditController', [
    '$rootScope',
    '$scope',
    '$location',
    '$routeParams',
    'authService',
    'vendorService',
    'programService',
    'stateService',
    'userService',
    'googleMapsService',
    '$timeout',
    '$window',
    function($rootScope, $scope, $location, $routeParams, Auth, Vendor, Program, States, User, googleMaps, $timeout, $window) {
       
        Auth.canUserDoAction('edit-vendor');
        
        $scope.tabs = ['Basic information', 'Marlin Sales Rep', 'Rate Sheets', 'Legal Terms'];
       
        // empty vendor object
        $scope.vendor = {};
        $scope.vendor.salesRepId = '';
        var vendor = {};
        // empty logo object, or filepicker gets mad :)
        $scope.vendor.logo = {};
        
        //States picker
        $scope.states = States.states();
        $scope.vendor.state = $scope.states[0].abbreviation;
        
{'fraction_non_alphanumeric': 0.15308770108977685, 'fraction_numerical': 0.0010378827192527244, 'mean_word_length': 2.4306049822064058, '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': '2646794', 'n_tokens_mistral': 559, 'n_tokens_neox': 552, 'n_words': 124}