<commit_before>account :usd_gateway
account :eur_gateway
account :scott
account :bartek
account :andrew

create_account :usd_gateway, :master
create_account :eur_gateway, :master
create_account :scott, :master
create_account :bartek, :master
create_account :andrew, :master

close_ledger

trust :scott,  :usd_gateway, "USD"
trust :bartek, :eur_gateway, "EUR"
trust :andrew, :usd_gateway, "USD"
trust :andrew, :eur_gateway, "EUR"

close_ledger

payment :usd_gateway, :scott,  ["USD", :usd_gateway, 1000]
payment :usd_gateway, :andrew, ["USD", :usd_gateway, 200]
payment :eur_gateway, :andrew, ["EUR", :eur_gateway, 200]
payment :eur_gateway, :bartek, ["EUR", :eur_gateway, 1000]

close_ledger

offer :andrew, {buy:["USD", :usd_gateway], with:["EUR", :eur_gateway]}, 200, 1.0

close_ledger

path_payment_strict_send :scott, :bartek, ["EUR", :eur_gateway, 10], with: ["USD", :usd_gateway, 10], path: []<commit_msg>Fix example.<commit_after>account :usd_gateway
account :eur_gateway
account :scott
account :bartek
account :andrew

create_account :usd_gateway, :master
create_account :eur_gateway, :master
create_account :scott, :master
create_account :bartek, :master
create_account :andrew, :master

close_ledger

trust :scott,  :usd_gateway, "USD"
trust :bartek, :eur_gateway, "EUR"
trust :andrew, :usd_gateway, "USD"
trust :andrew, :eur_gateway, "EUR"

close_ledger

payment :usd_gateway, :scott,  ["USD", :usd_gateway, 1000]
payment :usd_gateway, :andrew, ["USD", :usd_gateway, 200]
payment :eur_gateway, :andrew, ["EUR", :eur_gateway, 200]
payment :eur_gateway, :bartek, ["EUR", :eur_gateway, 1000]

close_ledger

offer :andrew, {buy:["USD", :usd_gateway], with:["EUR", :eur_gateway]}, 200, 1.0

close_ledger

path_payment_strict_send :scott, :bartek, ["EUR", :eur_gateway, 10], with: ["USD", :usd_gateway, 10], path: []

close_ledger
{'fraction_non_alphanumeric': 0.14986376021798364, 'fraction_numerical': 0.025068119891008173, 'mean_word_length': 7.95609756097561, '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': '1992382', 'n_tokens_mistral': 810, 'n_tokens_neox': 741, 'n_words': 178}