<commit_before>/*
 * derive configuratino and capabilities of the given project.
 * this is used in the UI to only show those elements, which should work.
 */

import * as which from "which";
import { callback } from "awaiting";
import { APPS } from "../smc-webapp/frame-editors/x11-editor/apps";

import { ConfigurationAspect } from "smc-webapp/project/websocket/api";
export type Configuration = { [key: string]: object };<commit_msg>fix import path<commit_after>/*
 * derive configuratino and capabilities of the given project.
 * this is used in the UI to only show those elements, which should work.
 */

import * as which from "which";
import { callback } from "awaiting";
import { APPS } from "../smc-webapp/frame-editors/x11-editor/apps";

import { ConfigurationAspect } from "../smc-webapp/project/websocket/api";
export type Configuration = { [key: string]: object };
{'fraction_non_alphanumeric': 0.12200684150513112, 'fraction_numerical': 0.004561003420752566, 'mean_word_length': 4.289156626506024, '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': '7227293', 'n_tokens_mistral': 257, 'n_tokens_neox': 254, 'n_words': 94}