<commit_before>
:- if(current_logtalk_flag(prolog_dialect, swi)).
	:- set_prolog_flag(verbose_load, false).
:- elif((current_logtalk_flag(prolog_dialect, sictus), current_logtalk_flag(prolog_version, (4, _, _)))).
	:- set_prolog_flag(informational, off).
:- endif.

load_interpreters([]).
load_interpreters([I|Is]) :-
	functor(I, Name, _),
	logtalk_load(Name, [hook(debug_expansion(production)), report(off)]),
	load_interpreters(Is).

:- initialization((
	Interpreters = [dfs_interpreter - rule_expansion(production),
					bfs_interpreter - rule_expansion(production),
					iddfs_interpreter(_Inc) - rule_expansion(production),
					bup_interpreter - magic_expansion(production),
					a_star_interpreter(_W) - heuristic_expansion(production)],
	logtalk_load(
		[library(types_loader),
		 library(metapredicates_loader),
		 library(random_loader)],
		[report(off)]
	),
	logtalk_load(
		[library(heapp),
		 library(heaps)],
		[report(off)]
	),
	logtalk_load(counter, [report(off)]),
	logtalk_load(magic, [report(off)]),
	logtalk_load(flatting, [report(off)]),
	logtalk_load(debug_expansion, [report(off)]),
	logtalk_load(rule_expansion, [report(off)]),
	logtalk_load(magic_expansion, [report(off)]),
	logtalk_load(shell_expansion, [report(off)]),
	logtalk_load(heuristic_expansion, [report(off)]),
	logtalk_load(benchmark_generators, [report(off)]),
	logtalk_load(databasep, [report(off)]),
	logtalk_load(demodb, [hook(rule_expansion(production)), report(off)]),
	logtalk_load(interpreterp, [report(off)]),
	logtalk_load(best_first, [report(off)]),
	pairs::keys(Interpreters, Interpreters1),
	load_interpreters(Interpreters1),
	logtalk_load(shell, [hook(debug_expansion(production)), report(off)]),
	shell(Interpreters)::init)).
<commit_msg>Update the `verdi_neruda` contribution loader to avoid loading twice some of the library files<commit_after>
:- if(current_logtalk_flag(prolog_dialect, swi)).
	:- set_prolog_flag(verbose_load, false).
:- elif((current_logtalk_flag(prolog_dialect, sictus), current_logtalk_flag(prolog_version, (4, _, _)))).
	:- set_prolog_flag(informational, off).
:- endif.

load_interpreters([]).
load_interpreters([I|Is]) :-
	functor(I, Name, _),
	logtalk_load(Name, [hook(debug_expansion(production)), report(off)]),
	load_interpreters(Is).

:- initialization((
	Interpreters = [dfs_interpreter - rule_expansion(production),
					bfs_interpreter - rule_expansion(production),
					iddfs_interpreter(_Inc) - rule_expansion(production),
					bup_interpreter - magic_expansion(production),
					a_star_interpreter(_W) - heuristic_expansion(production)],
	logtalk_load(
		[library(types_loader),
		 library(metapredicates_loader),
		 library(random_loader)],
		[report(off)]
	),
	logtalk_load(counter, [report(off)]),
	logtalk_load(magic, [report(off)]),
	logtalk_load(flatting, [report(off)]),
	logtalk_load(debug_expansion, [report(off)]),
	logtalk_load(rule_expansion, [report(off)]),
	logtalk_load(magic_expansion, [report(off)]),
	logtalk_load(shell_expansion, [report(off)]),
	logtalk_load(heuristic_expansion, [report(off)]),
	logtalk_load(benchmark_generators, [report(off)]),
	logtalk_load(databasep, [report(off)]),
	logtalk_load(demodb, [hook(rule_expansion(production)), report(off)]),
	logtalk_load(interpreterp, [report(off)]),
	logtalk_load(best_first, [report(off)]),
	pairs::keys(Interpreters, Interpreters1),
	load_interpreters(Interpreters1),
	logtalk_load(shell, [hook(debug_expansion(production)), report(off)]),
	shell(Interpreters)::init)).

{'fraction_non_alphanumeric': 0.1562948092916547, 'fraction_numerical': 0.0017206767995411529, 'mean_word_length': 8.743016759776536, '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': '7541616', 'n_tokens_mistral': 1328, 'n_tokens_neox': 1262, 'n_words': 159}