<commit_before>declare class Request {
    url: string;
}
declare class Response {
    clone(): Response;
}
declare function fetch(url: string | Request): Promise<Response>;

declare class ExtendableEvent extends Event {
    waitUntil<T>(promise: Promise<T>): void;
}

declare class InstallEvent extends ExtendableEvent { }
declare class FetchEvent extends ExtendableEvent {
    request: Request;
    respondWith(promise: Promise<Response>): void;
}
declare class ActivateEvent extends ExtendableEvent { }

declare class Cache {
    addAll(requests: string[]): Promise<void>;
    put(request: Request, response: Response): void;
}

declare const caches: {
    delete: (cacheName: string) => Promise<boolean>;
    has: (cacheName: string) => Promise<boolean>;
    open: (cacheName: string) => Promise<Cache>;
    keys: () => Promise<string[]>;
    match(request: Request | string, options?: Partial<{ ignoreSearch: boolean; ignoreMethod: boolean; ignoreVary: boolean; cacheName: string }>): Promise<Response>;
};

const versions = require("./version.json");

const rootPath = "/";
const version = "v2";<commit_msg>fix path<commit_after>declare class Request {
    url: string;
}
declare class Response {
    clone(): Response;
}
declare function fetch(url: string | Request): Promise<Response>;

declare class ExtendableEvent extends Event {
    waitUntil<T>(promise: Promise<T>): void;
}

declare class InstallEvent extends ExtendableEvent { }
declare class FetchEvent extends ExtendableEvent {
    request: Request;
    respondWith(promise: Promise<Response>): void;
}
declare class ActivateEvent extends ExtendableEvent { }

declare class Cache {
    addAll(requests: string[]): Promise<void>;
    put(request: Request, response: Response): void;
}

declare const caches: {
    delete: (cacheName: string) => Promise<boolean>;
    has: (cacheName: string) => Promise<boolean>;
    open: (cacheName: string) => Promise<Cache>;
    keys: () => Promise<string[]>;
    match(request: Request | string, options?: Partial<{ ignoreSearch: boolean; ignoreMethod: boolean; ignoreVary: boolean; cacheName: string }>): Promise<Response>;
};

const versions = require("./version.json");

const rootPath = "/ws-tool/";
const version = "v2";
{'fraction_non_alphanumeric': 0.13189771197846567, 'fraction_numerical': 0.0008972633467922835, 'mean_word_length': 5.1602209944751385, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 33, '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': '1630907', 'n_tokens_mistral': 646, 'n_tokens_neox': 627, 'n_words': 189}