<commit_before>/*
 *  This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
 *  License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
 */

import {
  NBGraderAPIOptions,
  NBGraderAPIResponse,
} from "../smc-webapp/jupyter/nbgrader/api";

export async function nbgrader(
  client,
  logger,
  opts: NBGraderAPIOptions
): Promise<NBGraderAPIResponse> {
  logger.debug("nbgrader", opts);
  client = client;
  return { output: opts };
}<commit_msg>update a stub to work with some new typescript bindings<commit_after>/*
 *  This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
 *  License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
 */

// THIS IS STILL JUST A STUB.

import {
  NBGraderAPIOptions,
  NBGraderAPIResponse,
} from "../smc-webapp/jupyter/nbgrader/api";

export async function nbgrader(
  client,
  logger,
  opts: NBGraderAPIOptions
): Promise<NBGraderAPIResponse> {
  logger.debug("nbgrader STUB", opts);
  client = client;
  return { output: opts, ids: [] };
}
{'fraction_non_alphanumeric': 0.11897738446411013, 'fraction_numerical': 0.00983284169124877, 'mean_word_length': 3.9901960784313726, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5405810', 'n_tokens_mistral': 377, 'n_tokens_neox': 359, 'n_words': 103}