<commit_before>// Copyright 2015
// Author: <NAME>

#include <algorithm>
#include <iostream>
#include <memory>
#include <vector>
#include "common/log/log.h"
#include "common/thread/threadpool.h"
#include "printer/base/mesh.h"
#include "printer/base/octree.h"
#include "printer/execute/driver.h"
#include "printer/execute/marching_cubes.h"
#include "printer/execute/print_box.h"
#include "printer/execute/voxel_fill.h"
#include "printer/simplify/face_reduction.h"
#include "printer/simplify/simplifier.h"
#include "printer/objects/object.h"

DEFINE_bool(driver_run_face_reduction, true,
            "If false, disable face reduction.");

DEFINE_bool(driver_run_simplifier, true,
            "If false, disable simplification.");

DEFINE_int32(driver_min_triangles_to_simplify, -1,
             "If >= 0, the maximum number of triangles to take before we run "
             "the simplification process.");

DEFINE_double(driver_iso_level, 0.5,
              "ISO value to use when generating cubes.");

DEFINE_double(driver_outer_boundary_iso_level, 0.9,
              "ISO value of outer boundary to use when simplifying. You will "
              "need to set --driver_boundary_is_single_voxel=false for this "
              "to be used.");

DEFINE_double(driver_inner_boundary_iso_level, 0.1,
              "ISO value of inner boundary to use when simplifying. You will "
              "need to set --driver_boundary_is_single_voxel=false for this "
              "to be used.");

DEFINE_bool(driver_boundary_is_single_voxel, true,
            "Overrides inner/outer boundary to be the voxel that contains "
            "our initial points, rather than an iso surface defined by "
            "driver_*_boundary_iso_level.");

DEFINE_int32(driver_default_parallelism, -1,
             "Specifies the number of parallel threads we use for some "
             "operations.");<commit_msg>outer is actually a smaller iso cutoff<commit_after>// Copyright 2015
// Author: <NAME>

#include <algorithm>
#include <iostream>
#include <memory>
#include <vector>
#include "common/log/log.h"
#include "common/thread/threadpool.h"
#include "printer/base/mesh.h"
#include "printer/base/octree.h"
#include "printer/execute/driver.h"
#include "printer/execute/marching_cubes.h"
#include "printer/execute/print_box.h"
#include "printer/execute/voxel_fill.h"
#include "printer/simplify/face_reduction.h"
#include "printer/simplify/simplifier.h"
#include "printer/objects/object.h"

DEFINE_bool(driver_run_face_reduction, true,
            "If false, disable face reduction.");

DEFINE_bool(driver_run_simplifier, true,
            "If false, disable simplification.");

DEFINE_int32(driver_min_triangles_to_simplify, -1,
             "If >= 0, the maximum number of triangles to take before we run "
             "the simplification process.");

DEFINE_double(driver_iso_level, 0.5,
              "ISO value to use when generating cubes.");

DEFINE_double(driver_outer_boundary_iso_level, 0.1,
              "ISO value of outer boundary to use when simplifying. You will "
              "need to set --driver_boundary_is_single_voxel=false for this "
              "to be used.");

DEFINE_double(driver_inner_boundary_iso_level, 0.9,
              "ISO value of inner boundary to use when simplifying. You will "
              "need to set --driver_boundary_is_single_voxel=false for this "
              "to be used.");

DEFINE_bool(driver_boundary_is_single_voxel, true,
            "Overrides inner/outer boundary to be the voxel that contains "
            "our initial points, rather than an iso surface defined by "
            "driver_*_boundary_iso_level.");

DEFINE_int32(driver_default_parallelism, -1,
             "Specifies the number of parallel threads we use for some "
             "operations.");
{'fraction_non_alphanumeric': 0.09960474308300395, 'fraction_numerical': 0.008959156785243741, 'mean_word_length': 3.2989807474518686, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '6686719', 'n_tokens_mistral': 1209, 'n_tokens_neox': 1132, 'n_words': 311}