<commit_before>{
  "type": "delphi deploy config",
  "version": 1,
  "paths": {
    "root_web": "/var/www/html/epidata",
    "auto_web": "/home/automation/public_html/public",
    "package": "../delphi/epidata"
  },
  "actions": [

    "// client - API",
    {
      "type": "minimize-js",
      "src": "src/client/delphi_epidata.js",
      "dst": "src/client/delphi_epidata.min.js"
    },
    {
      "type": "copy",
      "src": "src/client/delphi_epidata.py",
      "dst": "[[package]]/client/delphi_epidata.py",
      "add-header-comment": true
    },
    {
      "type": "move",
      "src": "src/client/",
      "dst": "[[root_web]]/lib/",
      "match": "^delphi_epidata.*\\.(js|py|coffee|R)$",
      "add-header-comment": true
    },

    "// server - API (note: glob doesn't include dotfiles)",
    {
      "type": "move",
      "src": "src/server/",
      "dst": "[[root_web]]",
      "match": "^.*\\.(html|php)$",
      "add-header-comment": true
    },
    {
      "type": "move",
      "src": "src/server/.htaccess",
      "dst": "[[root_web]]",
      "add-header-comment": true
    },

    "// acquisition - fluview",
    {
      "type": "move",
      "src": "src/acquisition/fluview/",
      "dst": "[[package]]/acquisition/fluview/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - nidss",
    {
      "type": "move",
      "src": "src/acquisition/nidss/",
      "dst": "[[package]]/acquisition/nidss/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - cdcp",
    {
      "type": "move",
      "src": "src/acquisition/cdcp/",
      "dst": "[[package]]/acquisition/cdcp/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/cdcp/cdc_upload.php",
      "dst": "[[auto_web]]/cdc_upload/index.php",
      "add-header-comment": true
    },

    "// acquisition - ght",
    {
      "type": "move",
      "src": "src/acquisition/ght/",
      "dst": "[[package]]/acquisition/ght/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - twtr",
    {
      "type": "move",
      "src": "src/acquisition/twtr/",
      "dst": "[[package]]/acquisition/twtr/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - wiki",
    {
      "type": "copy",
      "src": "src/acquisition/wiki/wiki_download.py",
      "dst": "[[auto_web]]/wiki/wiki_download.py",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/",
      "dst": "[[package]]/acquisition/wiki/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/master.php",
      "dst": "[[auto_web]]/wiki/master.php",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/dashboard.php",
      "dst": "[[auto_web]]/wiki/index.php",
      "add-header-comment": true
    },

    "// acquisition - flusurv",
    {
      "type": "move",
      "src": "src/acquisition/flusurv/",
      "dst": "[[package]]/acquisition/flusurv/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - quidel",
    {
      "type": "move",
      "src": "src/acquisition/quidel/",
      "dst": "[[package]]/acquisition/quidel/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// run unit and coverage tests",
    {"type": "py3test"}

  ]
}
<commit_msg>fix#2 deploy for .htaccess<commit_after>{
  "type": "delphi deploy config",
  "version": 1,
  "paths": {
    "root_web": "/var/www/html/epidata",
    "auto_web": "/home/automation/public_html/public",
    "package": "../delphi/epidata"
  },
  "actions": [

    "// client - API",
    {
      "type": "minimize-js",
      "src": "src/client/delphi_epidata.js",
      "dst": "src/client/delphi_epidata.min.js"
    },
    {
      "type": "copy",
      "src": "src/client/delphi_epidata.py",
      "dst": "[[package]]/client/delphi_epidata.py",
      "add-header-comment": true
    },
    {
      "type": "move",
      "src": "src/client/",
      "dst": "[[root_web]]/lib/",
      "match": "^delphi_epidata.*\\.(js|py|coffee|R)$",
      "add-header-comment": true
    },

    "// server - API (note: glob doesn't include dotfiles)",
    {
      "type": "move",
      "src": "src/server/",
      "dst": "[[root_web]]",
      "match": "^.*\\.(html|php)$",
      "add-header-comment": true
    },
    {
      "type": "move",
      "src": "src/server/.htaccess",
      "dst": "[[root_web]]/.htaccess",
      "add-header-comment": true
    },

    "// acquisition - fluview",
    {
      "type": "move",
      "src": "src/acquisition/fluview/",
      "dst": "[[package]]/acquisition/fluview/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - nidss",
    {
      "type": "move",
      "src": "src/acquisition/nidss/",
      "dst": "[[package]]/acquisition/nidss/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - cdcp",
    {
      "type": "move",
      "src": "src/acquisition/cdcp/",
      "dst": "[[package]]/acquisition/cdcp/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/cdcp/cdc_upload.php",
      "dst": "[[auto_web]]/cdc_upload/index.php",
      "add-header-comment": true
    },

    "// acquisition - ght",
    {
      "type": "move",
      "src": "src/acquisition/ght/",
      "dst": "[[package]]/acquisition/ght/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - twtr",
    {
      "type": "move",
      "src": "src/acquisition/twtr/",
      "dst": "[[package]]/acquisition/twtr/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - wiki",
    {
      "type": "copy",
      "src": "src/acquisition/wiki/wiki_download.py",
      "dst": "[[auto_web]]/wiki/wiki_download.py",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/",
      "dst": "[[package]]/acquisition/wiki/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/master.php",
      "dst": "[[auto_web]]/wiki/master.php",
      "add-header-comment": true
    },{
      "type": "move",
      "src": "src/acquisition/wiki/dashboard.php",
      "dst": "[[auto_web]]/wiki/index.php",
      "add-header-comment": true
    },

    "// acquisition - flusurv",
    {
      "type": "move",
      "src": "src/acquisition/flusurv/",
      "dst": "[[package]]/acquisition/flusurv/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// acquisition - quidel",
    {
      "type": "move",
      "src": "src/acquisition/quidel/",
      "dst": "[[package]]/acquisition/quidel/",
      "match": "^.*\\.(py)$",
      "add-header-comment": true
    },

    "// run unit and coverage tests",
    {"type": "py3test"}

  ]
}

{'fraction_non_alphanumeric': 0.24891136395561175, 'fraction_numerical': 0.0007023458350891979, 'mean_word_length': 2.1187034603591766, 'pattern_counts': {'":': 170, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4837994', 'n_tokens_mistral': 2719, 'n_tokens_neox': 2608, 'n_words': 405}