<commit_before>/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
import express from "express";
import session from "express-session";
import { PublicClientApplication, AuthorizationCodeRequest, LogLevel, CryptoProvider } from "@azure/msal-node";
import { RequestWithPKCE } from "./types";

const SERVER_PORT = process.env.PORT || 3000;

// Before running the sample, you will need to replace the values in the config,
// including the clientSecret
const config = {
    auth: {
        clientId: "ENTER_CLIENT_ID",
        authority: "https://login.microsoftonline.com/ENTER_TENANT_ID"<commit_msg>fix: edit the in-file documentation<commit_after>/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
import express from "express";
import session from "express-session";
import { PublicClientApplication, AuthorizationCodeRequest, LogLevel, CryptoProvider } from "@azure/msal-node";
import { RequestWithPKCE } from "./types";

const SERVER_PORT = process.env.PORT || 3000;

// Before running the sample, you will need to replace the values in the config.
const config = {
    auth: {
        clientId: "ENTER_CLIENT_ID",
        authority: "https://login.microsoftonline.com/ENTER_TENANT_ID"
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.006191950464396285, 'mean_word_length': 4.410041841004184, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5391307', 'n_tokens_mistral': 358, 'n_tokens_neox': 351, 'n_words': 120}