<commit_before>const parsec = require('parser-combinator');
const F = parsec.F;
const N=parsec.N;


// Parsec needs a stream of characters
const document = '12';
const stream = parsec.stream.ofString(document);

// numberLitteral defines any int or float number
// We expect a number, then eos: End Of Stream
// We use thenLeft because we don't need the value of P.eos, we only want 12
const numberParser = N.numberLiteral.thenLeft(F.eos);
const parsing = numberParser.parse(stream);

// If the parser reached the end of stream (P.eos) without rejection, parsing is accepted
console.info(parsing.isAccepted());
// The parser has a 12 value inside the monoid
if (parsing.value !== 12){
    throw "Illegal value parsed in postpublish integration test";
}else{
    console.log('=== Post publish Integration SUCCESS ! :) ===');
}<commit_msg>Integration: Minor change on calling masala<commit_after>const {F,N, stream} = require('parser-combinator');


// Parsec needs a stream of characters
const document = '12';
const s = stream.ofString(document);

// numberLitteral defines any int or float number
// We expect a number, then eos: End Of Stream
// We use thenLeft because we don't need the value of P.eos, we only want 12
const numberParser = N.numberLiteral.thenLeft(F.eos);
const parsing = numberParser.parse(s);

// If the parser reached the end of stream (P.eos) without rejection, parsing is accepted
console.info(parsing.isAccepted());
// The parser has a 12 value inside the monoid
if (parsing.value !== 12){
    throw "Illegal value parsed in postpublish integration test";
}else{
    console.log('=== Post publish Integration SUCCESS ! :) ===');
}






{'fraction_non_alphanumeric': 0.11191335740072202, 'fraction_numerical': 0.009626955475330927, 'mean_word_length': 4.364516129032258, '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': '7631686', 'n_tokens_mistral': 507, 'n_tokens_neox': 473, 'n_words': 197}