<commit_before>/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */


// This is mock data used while the front-end is not communicating with the macros
// The data structure is not definitive, and may change to match the final specs

define({

  query: {
    properties: ["doc_title", "age", "country", "job", "other"],

    source: {
      id: "...",
      url: "...",
    },

    hiddenFilters: {},

    filters: [
      {
        property: "country",
        matchAll: true,
        constrains: [
          {operator: "equals", value: "france"},
        ],
      },
    ],

    sort: [ {property: "age", descending: false} ],

    offset: 0,
    limit: 25,

  },



  meta: {

    layouts: ["table", "cards"],
    defaultLayout: "table",

    layoutDescriptors: [
      {
        id: "table",
        name: "Table",
        icon: {iconSetName: 'Font Awesome', cssClass: 'fa fa-table'}
        ,
      },
      {
        id: "cards",
        name: "Cards",
        icon: {iconSetName: 'Font Awesome', cssClass: 'fa fa-th'}
      },
    ],

    propertyDescriptors: [
      {
        id: "doc_title",
        name: "Name",
        type: "string",
        displayer: {
          id: 'link',
          propertyHref: "doc_url",
        },
      },
      {
        id: "age",
        name: "Age",
        type: "number",
        displayer: {
          id: 'number',
        },
      },
      {<commit_msg>[Misc] Fix comma linting issue in LD mock data<commit_after>/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */


// This is mock data used while the front-end is not communicating with the macros
// The data structure is not definitive, and may change to match the final specs

define({

  query: {
    properties: ["doc_title", "age", "country", "job", "other"],

    source: {
      id: "...",
      url: "...",
    },

    hiddenFilters: {},

    filters: [
      {
        property: "country",
        matchAll: true,
        constrains: [
          {operator: "equals", value: "france"},
        ],
      },
    ],

    sort: [ {property: "age", descending: false} ],

    offset: 0,
    limit: 25,

  },



  meta: {

    layouts: ["table", "cards"],
    defaultLayout: "table",

    layoutDescriptors: [
      {
        id: "table",
        name: "Table",
        icon: {iconSetName: 'Font Awesome', cssClass: 'fa fa-table'},
      },
      {
        id: "cards",
        name: "Cards",
        icon: {iconSetName: 'Font Awesome', cssClass: 'fa fa-th'},
      },
    ],

    propertyDescriptors: [
      {
        id: "doc_title",
        name: "Name",
        type: "string",
        displayer: {
          id: 'link',
          propertyHref: "doc_url",
        },
      },
      {
        id: "age",
        name: "Age",
        type: "number",
        displayer: {
          id: 'number',
        },
      },
      {
{'fraction_non_alphanumeric': 0.11810325725681364, 'fraction_numerical': 0.0070906270773321515, 'mean_word_length': 2.1923620933521923, 'pattern_counts': {'":': 0, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '988806', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1261, 'n_words': 498}