<commit_before># For ABC, the showresults needs to do different things...
import copy
import numpy as np
import matplotlib.pyplot as plt
from dnest4 import logsumexp, logdiffexp

def postprocess(temperature=1E300, numResampleLogX=1, plot=True, loaded=[], \
			cut=0., save=True, zoom_in=True, compression_bias_min=1., compression_scatter=0., moreSamples=1., compression_assert=None):
	if len(loaded) == 0:
		levels_orig = np.atleast_2d(np.loadtxt("levels.txt"))
		sample_info = np.atleast_2d(np.loadtxt("sample_info.txt"))
		sample = np.atleast_2d(np.loadtxt("sample.txt"))
		#if(sample.shape[0] == 1):
		#	sample = sample.T
	else:
		levels_orig, sample_info, sample = loaded[0], loaded[1], loaded[2]<commit_msg>Correct import statement<commit_after># For ABC, the showresults needs to do different things...
import copy
import numpy as np
import matplotlib.pyplot as plt
from dnest4.classic import logsumexp, logdiffexp

def postprocess(temperature=1E300, numResampleLogX=1, plot=True, loaded=[], \
			cut=0., save=True, zoom_in=True, compression_bias_min=1., compression_scatter=0., moreSamples=1., compression_assert=None):
	if len(loaded) == 0:
		levels_orig = np.atleast_2d(np.loadtxt("levels.txt"))
		sample_info = np.atleast_2d(np.loadtxt("sample_info.txt"))
		sample = np.atleast_2d(np.loadtxt("sample.txt"))
		#if(sample.shape[0] == 1):
		#	sample = sample.T
	else:
		levels_orig, sample_info, sample = loaded[0], loaded[1], loaded[2]
{'fraction_non_alphanumeric': 0.1392931392931393, 'fraction_numerical': 0.026334026334026334, 'mean_word_length': 5.876190476190477, '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': '4603821', 'n_tokens_mistral': 552, 'n_tokens_neox': 512, 'n_words': 115}