<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE testproblem SYSTEM "regressiontest.dtd">

<testproblem>
  <name>test_shallow_water</name>
  <owner userid="colin"/>
  <tags>flml swml</tags>
  <problem_definition length="medium" nprocs="1">
    <command_line>shallow_water -v 3 balanced.swml &amp;&gt; sw.log</command_line>
  </problem_definition>
  <variables>
    <variable name="DeltaD" language="python">
import vtktools
start_v = vtktools.vtu("balanced_0.vtu")
end_v = vtktools.vtu("balanced_2.vtu")
DeltaD = max(start_v.GetScalarField("LayerThickness")-end_v.GetScalarField("LayerThickness")) 
    </variable>
  </variables>
  <pass_tests>
    <test name="DeltaD" language="python">
assert abs(DeltaD) &lt; 1.0e-9
    </test>
  </pass_tests>
  <warn_tests>
  </warn_tests>
</testproblem><commit_msg>The last dump is now balanced_1.vtu, not balanced_2.vtu<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE testproblem SYSTEM "regressiontest.dtd">

<testproblem>
  <name>test_shallow_water</name>
  <owner userid="colin"/>
  <tags>flml swml</tags>
  <problem_definition length="medium" nprocs="1">
    <command_line>shallow_water -v 3 balanced.swml &amp;&gt; sw.log</command_line>
  </problem_definition>
  <variables>
    <variable name="DeltaD" language="python">
import vtktools
start_v = vtktools.vtu("balanced_0.vtu")
end_v = vtktools.vtu("balanced_1.vtu")
DeltaD = max(start_v.GetScalarField("LayerThickness")-end_v.GetScalarField("LayerThickness")) 
    </variable>
  </variables>
  <pass_tests>
    <test name="DeltaD" language="python">
assert abs(DeltaD) &lt; 1.0e-9
    </test>
  </pass_tests>
  <warn_tests>
  </warn_tests>
</testproblem>
{'fraction_non_alphanumeric': 0.1634958382877527, 'fraction_numerical': 0.013079667063020214, 'mean_word_length': 5.57421875, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 2, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5993393', 'n_tokens_mistral': 652, 'n_tokens_neox': 619, 'n_words': 106}