<commit_before>/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */

const express = require("express");
const msal = require("@azure/msal-node");
const extensions = require("@azure/msal-node-extensions");
const process = require("process");
const path = require("path");

const SERVER_PORT = process.env.PORT || 3000;
const cachePath = path.join(__dirname, "./cache.json");

createPersistence().then((filePersistence) => {

    const publicClientConfig = {
        auth: {
            clientId: "99cab759-2aab-420b-91d8-5e3d8d4f063b",
            authority: "https://login.microsoftonline.com/90b8faa8-cc95-460e-a618-ee770bee1759",
        }
    };

    if (filePersistence.verifyPersistence()) {
        console.log("Persistence verified...");<commit_msg>fix: fix the sample code<commit_after>/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */

const express = require("express");
const msal = require("@azure/msal-node");
const extensions = require("@azure/msal-node-extensions");
const process = require("process");
const path = require("path");

const SERVER_PORT = process.env.PORT || 3000;
const cachePath = path.join(__dirname, "./cache.json");

createPersistence().then((filePersistence) => {

    const publicClientConfig = {
        auth: {
            clientId: "99cab759-2aab-420b-91d8-5e3d8d4f063b",
            authority: "https://login.microsoftonline.com/90b8faa8-cc95-460e-a618-ee770bee1759",
        }
    };

    const persistenceVerified = await filePersistence.verifyPersistence();
    if (persistenceVerified) {
        console.log("Persistence verified...");
{'fraction_non_alphanumeric': 0.14548693586698339, 'fraction_numerical': 0.0498812351543943, 'mean_word_length': 3.7869318181818183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2972807', 'n_tokens_mistral': 561, 'n_tokens_neox': 512, 'n_words': 103}