<commit_before>export const REQUEST_DECK_LIST = 'REQUEST_DECK_LIST';
export const REQUEST_DECK_LIST_SUCCESS = 'REQUEST_DECK_LIST_SUCCESS';
export const REQUEST_DECK_LIST_FAILURE = 'REQUEST_DECK_LIST_FAILURE';
export const DECK_DELETION_REQUEST = 'DECK_DELETION_REQUEST';
export const DECK_DELETION_REQUEST_SUCCESS = 'DECK_DELETION_REQUEST_SUCCESS';
export const DECK_DELETION_REQUEST_FAILURE = 'DECK_DELETION_REQUEST_FAILURE';

export function requestDeckDeletion(deckID) {
  return {
    type: DECK_DELETION_REQUEST,
    meta: deckID,
  };
}

export function deckDeletionFailure(message) {
  return {
    type: DECK_DELETION_REQUEST_FAILURE,
    payload: message,
  };
}<commit_msg>Added action to request own list of decks<commit_after>export const REQUEST_DECK_LIST = 'REQUEST_DECK_LIST';
export const REQUEST_DECK_LIST_SUCCESS = 'REQUEST_DECK_LIST_SUCCESS';
export const REQUEST_DECK_LIST_FAILURE = 'REQUEST_DECK_LIST_FAILURE';
export const DECK_DELETION_REQUEST = 'DECK_DELETION_REQUEST';
export const DECK_DELETION_REQUEST_SUCCESS = 'DECK_DELETION_REQUEST_SUCCESS';
export const DECK_DELETION_REQUEST_FAILURE = 'DECK_DELETION_REQUEST_FAILURE';

export function requestDeckDeletion(deckID) {
  return {
    type: DECK_DELETION_REQUEST,
    meta: deckID,
  };
}

export function deckDeletionFailure(message) {
  return {
    type: DECK_DELETION_REQUEST_FAILURE,
    payload: message,
  };
}

export function requestOwnDecks(userID) {
  return {
    type: DECK_DELETION_REQUEST,
    meta: userID,
  };
}
{'fraction_non_alphanumeric': 0.07237715803452856, 'fraction_numerical': 0.0, 'mean_word_length': 6.890052356020942, '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': '243732', 'n_tokens_mistral': 523, 'n_tokens_neox': 520, 'n_words': 95}