<commit_before>//TODO create a reducer with config if we want to allow hot updates of remote
//urls
var config = {
  dev :  true,
  baseURL : 'http://localhost:4000',
  poguesPath : '/exist/pogues',
  persistPath : '',
  stromaePath : '/stromae/publisher', 
  log : {
    level : 'DEBUG',
    activeNamespaces : ['Components', 'Actions', 'Stores', 'Utils', 'Models']
  },
  codeLists: {
    repoURLSpecs: 'http://localhost:4000/repo/specs',
    repoURLCList: 'http://localhost:4000/repo/clist'
  }
}

//TODO see if this all the parameters should be exposed and modifiable
//from the config editor
function makeRepoURLSpecs() {
  const repoURL = 'http://dvrmessnclas01.ad.insee.intra:80s80'
  const query = `
    // PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
    // PREFIX xkos:<http://rdf-vocabulary.ddialliance.org/xkos#>

    // SELECT ?niveau ?label ?retrievalQuery WHERE {
    //   ?niveau a xkos:ClassificationLevel ; skos:prefLabel ?label .
    //   BIND(CONCAT("PREFIX skos:<http://www.w3.org/2004/02/skos/core#> PREFIX xkos:<http://rdf-vocabulary.ddialliance.org/xkos#> SELECT ?code ?intitule  WHERE {<", STR(?niveau), "> skos:member ?poste . ?poste skos:notation ?code ; skos:prefLabel ?intitule .} ORDER BY ?code") AS ?retrievalQuery)
    // }`
  return `${repoURL}/sparql?query=${encodeURIComponent(query)}`
}

export default config
<commit_msg>Update local confir to allow removal of questionnaires<commit_after>//TODO create a reducer with config if we want to allow hot updates of remote
//urls
var config = {
  dev :  true,
  allowRemovalOfQuestionnaire: true,
  baseURL : 'http://localhost:4000',
  poguesPath : '',
  persistPath : '',
  stromaePath : '/stromae/publisher', 
  log : {
    level : 'DEBUG',
    activeNamespaces : ['Components', 'Actions', 'Stores', 'Utils', 'Models']
  },
  codeLists: {
    repoURLSpecs: 'http://localhost:4000/repo/specs',
    repoURLCList: 'http://localhost:4000/repo/clist'
  }
}

//TODO see if this all the parameters should be exposed and modifiable
//from the config editor
function makeRepoURLSpecs() {
  const repoURL = 'http://dvrmessnclas01.ad.insee.intra:80s80'
  const query = `
    // PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
    // PREFIX xkos:<http://rdf-vocabulary.ddialliance.org/xkos#>

    // SELECT ?niveau ?label ?retrievalQuery WHERE {
    //   ?niveau a xkos:ClassificationLevel ; skos:prefLabel ?label .
    //   BIND(CONCAT("PREFIX skos:<http://www.w3.org/2004/02/skos/core#> PREFIX xkos:<http://rdf-vocabulary.ddialliance.org/xkos#> SELECT ?code ?intitule  WHERE {<", STR(?niveau), "> skos:member ?poste . ?poste skos:notation ?code ; skos:prefLabel ?intitule .} ORDER BY ?code") AS ?retrievalQuery)
    // }`
  return `${repoURL}/sparql?query=${encodeURIComponent(query)}`
}

export default config

{'fraction_non_alphanumeric': 0.15682062298603652, 'fraction_numerical': 0.022914428929466525, 'mean_word_length': 3.817241379310345, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1757670', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1009, 'n_words': 216}