<commit_before>%% Create initial set.
{ok, S1} = lasp:declare(riak_dt_orset),

%% Add elements to initial set and update.
{ok, _} = lasp:update(S1, {add_all, [1,2,3]}, a),

%% Create a second set.
{ok, S2} = lasp:declare(riak_dt_orset),

%% Apply map.
ok = lasp:map(S1, fun(X) -> X * 2 end, S2).
<commit_msg>Fix set typo.<commit_after>%% Create initial set.
{ok, S1} = lasp:declare(lasp_orset),

%% Add elements to initial set and update.
{ok, _} = lasp:update(S1, {add_all, [1,2,3]}, a),

%% Create a second set.
{ok, S2} = lasp:declare(lasp_orset),

%% Apply map.
ok = lasp:map(S1, fun(X) -> X * 2 end, S2).

{'fraction_non_alphanumeric': 0.19836065573770492, 'fraction_numerical': 0.029508196721311476, 'mean_word_length': 4.455357142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3987065', 'n_tokens_mistral': 276, 'n_tokens_neox': 269, 'n_words': 72}