<commit_before>from __future__ import absolute_import

import libother_core
from libother_core import *
from numpy import inf

def decimate(mesh, max_collapses=(1<<31)-1, max_angle_error=90, max_quadric_error=inf):
  return libother_core.decimate(mesh,max_collapses,max_angle_error,max_quadric_error)<commit_msg>fixed python interface for decimate<commit_after>from __future__ import absolute_import

import libother_core
from libother_core import *
from numpy import inf

def decimate(mesh, max_collapses=(1<<31)-1, max_angle_error=90, max_quadric_error=inf, min_quality=1e-5,min_boundary_dot=.99):
  return libother_core.decimate(mesh,max_collapses,max_angle_error,max_quadric_error,min_quality,min_boundary_dot)
{'fraction_non_alphanumeric': 0.0784313725490196, 'fraction_numerical': 0.022408963585434174, 'mean_word_length': 10.916666666666666, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6397002', 'n_tokens_mistral': 251, 'n_tokens_neox': 237, 'n_words': 44}