<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE testproblem SYSTEM "regressiontest.dtd">
<testproblem>
  <name>Stokes-3d-busse-1a-p2p1</name>
  <owner userid="rhodrid"/>
  <tags>flml</tags>

  <problem_definition length="medium" nprocs="1">
    <command_line>fluidity -v2 -l Stokes-3d-busse-1a-p2p1.flml </command_line>
  </problem_definition>

<variables>  

<variable name="nu_top" language="python">
from fluidity_tools import stat_parser as stat
nu_top = -(stat("Busse_3D_C1.stat")["Mantle"]["Temperature"]["surface_integral%Top"][-1]) / 0.63326357
</variable>

<variable name="rms_vel" language="python">
from fluidity_tools import stat_parser as stat
rms_vel=(stat("Busse_3D_C1.stat")["Mantle"]["Velocity%magnitude"]["l2norm"][-1]) * 1.256630937
</variable>

</variables>

<pass_tests>

<test name="Surface Nusselt Number Validity: 3.6 .lt. Nu .lt. 3.7" language="python">
assert(abs(nu_top-3.65) &lt; 0.05)
</test>

<test name="RMS Velocity Validity: 40.9 .lt. V_RMS .lt. 41.0" language="python">
assert(abs(rms_vel-40.95) &lt; 0.05)
</test>

</pass_tests>                                                                                                                                                                                                

<warn_tests>
</warn_tests>

</testproblem>


<commit_msg>Loosening test tolerances slightly on Rhodri's request to allow for slight numerical changes in natty compared to maverick.<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE testproblem SYSTEM "regressiontest.dtd">
<testproblem>
  <name>Stokes-3d-busse-1a-p2p1</name>
  <owner userid="rhodrid"/>
  <tags>flml</tags>

  <problem_definition length="medium" nprocs="1">
    <command_line>fluidity -v2 -l Stokes-3d-busse-1a-p2p1.flml </command_line>
  </problem_definition>

<variables>  

<variable name="nu_top" language="python">
from fluidity_tools import stat_parser as stat
nu_top = -(stat("Busse_3D_C1.stat")["Mantle"]["Temperature"]["surface_integral%Top"][-1]) / 0.63326357
</variable>

<variable name="rms_vel" language="python">
from fluidity_tools import stat_parser as stat
rms_vel=(stat("Busse_3D_C1.stat")["Mantle"]["Velocity%magnitude"]["l2norm"][-1]) * 1.256630937
</variable>

</variables>

<pass_tests>

<test name="Surface Nusselt Number Validity: 3.6 .lt. Nu .lt. 3.7" language="python">
assert(abs(nu_top-3.65) &lt; 0.05)
</test>

<test name="RMS Velocity Validity: 40.9 .lt. V_RMS .lt. 41.1" language="python">
assert(abs(rms_vel-41.0) &lt; 0.1)
</test>

</pass_tests>                                                                                                                                                                                                

<warn_tests>
</warn_tests>

</testproblem>



{'fraction_non_alphanumeric': 0.15451263537906137, 'fraction_numerical': 0.04404332129963899, 'mean_word_length': 2.749661705006766, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 2, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1886949', 'n_tokens_mistral': 1018, 'n_tokens_neox': 953, 'n_words': 181}