<commit_before>multi_test "Test that we can be reinvited to a room we created",
   requires => [qw(
      local_users remote_users
      can_change_power_levels
   )],

   check => sub {
      my ( $local_users, $remote_users ) = @_;
      my ( $user_1 ) = @$local_users;
      my ( $user_2 ) = @$remote_users;

      my $room_id;

      matrix_create_room( $user_1 )
         ->SyTest::pass_on_done( "User A created a room" )
      ->then( sub {
         ( $room_id ) = @_;

         matrix_put_room_state( $user_1, $room_id,<commit_msg>Have 90jira/SYN-442.pl prepare its own test users<commit_after>multi_test "Test that we can be reinvited to a room we created",
   requires => [ local_user_preparer(), remote_user_preparer(),
                 qw( can_change_power_levels )],

   check => sub {
      my ( $user_1, $user_2 ) = @_;

      my $room_id;

      matrix_create_room( $user_1 )
         ->SyTest::pass_on_done( "User A created a room" )
      ->then( sub {
         ( $room_id ) = @_;

         matrix_put_room_state( $user_1, $room_id,
{'fraction_non_alphanumeric': 0.12106768350810296, 'fraction_numerical': 0.012392755004766444, 'mean_word_length': 2.5353535353535355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7213806', 'n_tokens_mistral': 382, 'n_tokens_neox': 364, 'n_words': 87}