<commit_before>test "A room can be created",
   requires => [qw( users )],

   do => sub {
      my ( $USERS ) = @_;
      my $first_user = $USERS->[0]; # We just use the first client

      $first_user->create_room( "test-room" )
         ->on_done( sub {
            my ( $room, $alias ) = @_;

            provide first_room => $room;
            provide room_alias => $alias;
         });
   },

   provides => [qw( first_room room_alias )];

test "Other clients can join the room",
   requires => [qw( users first_room room_alias )],

   do => sub {
      my ( $USERS, $FIRST_ROOM, $ROOM_ALIAS ) = @_;<commit_msg>Rename 60create-room's 'room_alias' test env. key to 'legacy_room_alias' as I'm about to make another of that name<commit_after>test "A room can be created",
   requires => [qw( users )],

   do => sub {
      my ( $USERS ) = @_;
      my $first_user = $USERS->[0]; # We just use the first client

      $first_user->create_room( "test-room" )
         ->on_done( sub {
            my ( $room, $alias ) = @_;

            provide first_room => $room;
            provide legacy_room_alias => $alias;
         });
   },

   provides => [qw( first_room legacy_room_alias )];

test "Other clients can join the room",
   requires => [qw( users first_room legacy_room_alias )],

   do => sub {
      my ( $USERS, $FIRST_ROOM, $ROOM_ALIAS ) = @_;
{'fraction_non_alphanumeric': 0.14432989690721648, 'fraction_numerical': 0.0029455081001472753, 'mean_word_length': 2.372208436724566, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '1840913', 'n_tokens_mistral': 469, 'n_tokens_neox': 454, 'n_words': 130}