<commit_before>import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";
import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";

declare namespace ann = "http://zorba.io/annotations";
declare namespace ext = "http://zorba.io/extensions";

declare variable $col := xs:QName("myCollection");

declare %ann:sequential function local:test3()
{
  ddl:create($col, (<a></a>,<b></b>));

  for $x in dml:collection($col)
  return
    {
      dml:insert-nodes-last($col, <c></c>);
    }  

  dml:collection($col)
};

local:test3()
<commit_msg>Reverted additional unnecessary test modification<commit_after>import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";
import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";

declare namespace ann = "http://zorba.io/annotations";

declare variable $col := xs:QName("myCollection");

declare %ann:sequential function local:test3()
{
  ddl:create($col, (<a></a>,<b></b>));

  for $x in dml:collection($col)
  return
    {
      dml:insert-nodes-last($col, <c></c>);
    }

  dml:collection($col)
};

local:test3()

{'fraction_non_alphanumeric': 0.17980295566502463, 'fraction_numerical': 0.003284072249589491, 'mean_word_length': 4.75, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5820887', 'n_tokens_mistral': 441, 'n_tokens_neox': 425, 'n_words': 74}