<commit_before>/*
  Retrieve useful information about OpenStack
  a dictionnary of instances
   * Id of instance
   * User
   * Creation date
   * Last time we see the instance
   * Last lease date
   * Lease expiration
*/
function instancesStatus() {
    return $.getJSON("/instances", function(data) {
        return data;
    });
}

/**/
function buildInstanceView(instance, details) {
    return '<tr>' +
           '<td>' + details.name + '</td>' +
           '<td>' + details.project_id + '</td>' +
           '<td>' + details.created_at + '</td>' +
           '<td>' + details.lease_end + '<span class="waves-effect waves-light new badge hoverable"' +<commit_msg>Add project support<commit_after>/*
  Retrieve useful information about OpenStack
  a dictionnary of instances
   * Id of instance
   * User
   * Creation date
   * Last time we see the instance
   * Last lease date
   * Lease expiration
*/
function instancesStatus() {
    return $.getJSON("/instances", function(data) {
        return data;
    });
}

/**/
function buildInstanceView(instance, details) {
    return '<tr>' +
           '<td>' + details.name + '</td>' +
           '<td>' + details.project + '</td>' +
           '<td>' + details.created_at + '</td>' +
           '<td>' + details.lease_end + '<span class="waves-effect waves-light new badge hoverable"' +
{'fraction_non_alphanumeric': 0.14743112434847358, 'fraction_numerical': 0.0, 'mean_word_length': 2.6422764227642275, 'pattern_counts': {'":': 0, '<': 21, '<?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': '2362170', 'n_tokens_mistral': 395, 'n_tokens_neox': 392, 'n_words': 114}