import{s as $w,o as bw,n as Sm}from"../chunks/scheduler.01eeda35.js";import{S as Jw,i as gw,g as a,s as n,r,A as jw,h as p,f as s,c as i,j as Mw,u as d,x as o,k as Tw,y as Cw,a as l,v as m,d as f,t as u,w as c}from"../chunks/index.6dd51b66.js";import{T as Lm}from"../chunks/Tip.de9bae2b.js";import{C as w}from"../chunks/CodeBlock.864da1b0.js";import{H as h,E as Uw}from"../chunks/EditOnGithub.7faefd25.js";function vw(b){let y,T="This plugin doesn’t work with <code>-n</code> flag from <code>pytest-xdist</code>.";return{c(){y=a("p"),y.innerHTML=T},l(M){y=p(M,"P",{"data-svelte-h":!0}),o(y)!=="svelte-1p59ipz"&&(y.innerHTML=T)},m(M,$){l(M,y,$)},p:Sm,d(M){M&&s(y)}}}function _w(b){let y,T="There is another plugin <code>pytest-repeat</code>, but it doesn’t work with <code>unittest</code>.";return{c(){y=a("p"),y.innerHTML=T},l(M){y=p(M,"P",{"data-svelte-h":!0}),o(y)!=="svelte-huhi42"&&(y.innerHTML=T)},m(M,$){l(M,y,$)},p:Sm,d(M){M&&s(y)}}}function Iw(b){let y,T=`In order to run the equivalent of <code>rm -r</code> safely, only subdirs of the project repository checkout are allowed if
an explicit <code>tmp_dir</code> is used, so that by mistake no <code>/tmp</code> or similar important part of the filesystem will
get nuked. i.e. please always pass paths that start with <code>./</code>.`;return{c(){y=a("p"),y.innerHTML=T},l(M){y=p(M,"P",{"data-svelte-h":!0}),o(y)!=="svelte-1fj8gae"&&(y.innerHTML=T)},m(M,$){l(M,y,$)},p:Sm,d(M){M&&s(y)}}}function xw(b){let y,T=`Each test can register multiple temporary directories and they all will get auto-removed, unless requested
otherwise.`;return{c(){y=a("p"),y.textContent=T},l(M){y=p(M,"P",{"data-svelte-h":!0}),o(y)!=="svelte-1r50p82"&&(y.textContent=T)},m(M,$){l(M,y,$)},p:Sm,d(M){M&&s(y)}}}function kw(b){let y,T,M,$,U,Zi,v,Qm="Let’s take a look at how 🤗 Transformers models are tested and how you can write new tests and improve the existing ones.",Hi,_,Fm="There are 2 test suites in the repository:",Gi,I,Em="<li><code>tests</code> — tests for the general API</li> <li><code>examples</code> — tests primarily for various applications that aren’t part of the API</li>",Bi,x,Xi,k,Am=`<li><p>Once a PR is submitted it gets tested with 9 CircleCi jobs. Every new commit to that PR gets retested. These jobs
are defined in this <a href="https://github.com/huggingface/transformers/tree/main/.circleci/config.yml" rel="nofollow">config file</a>, so that if needed you can reproduce the same
environment on your machine.</p> <p>These CI jobs don’t run <code>@slow</code> tests.</p></li> <li><p>There are 3 jobs run by <a href="https://github.com/huggingface/transformers/actions" rel="nofollow">github actions</a>:</p> <ul><li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/github-torch-hub.yml" rel="nofollow">torch hub integration</a>: checks whether torch hub
integration works.</p></li> <li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/self-push.yml" rel="nofollow">self-hosted (push)</a>: runs fast tests on GPU only on commits on
<code>main</code>. It only runs if a commit on <code>main</code> has updated the code in one of the following folders: <code>src</code>,
<code>tests</code>, <code>.github</code> (to prevent running on added model cards, notebooks, etc.)</p></li> <li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/self-scheduled.yml" rel="nofollow">self-hosted runner</a>: runs normal and slow tests on GPU in
<code>tests</code> and <code>examples</code>:</p></li></ul></li>`,Vi,Z,Ri,H,Pm='The results can be observed <a href="https://github.com/huggingface/transformers/actions" rel="nofollow">here</a>.',Ni,G,zi,B,Wi,X,Ym=`This document goes into many details of how tests can be run. If after reading everything, you need even more details
you will find them <a href="https://docs.pytest.org/en/latest/usage.html" rel="nofollow">here</a>.`,Li,V,qm="Here are some most useful ways of running tests.",Si,R,Km="Run all:",Qi,N,Fi,z,Dm="or:",Ei,W,Ai,L,Om="Note that the latter is defined as:",Pi,S,Yi,Q,ef="which tells pytest to:",qi,F,tf="<li>run as many test processes as they are CPU cores (which could be too many if you don’t have a ton of RAM!)</li> <li>ensure that all tests from the same file will be run by the same test process</li> <li>do not capture output</li> <li>run in verbose mode</li>",Ki,E,Di,A,sf="All tests of the test suite:",Oi,P,ea,Y,lf="All tests of a given test file:",ta,q,sa,K,la,D,nf="To run an individual test module:",na,O,ia,ee,aa,te,af=`Since unittest is used inside most of the tests, to run specific subtests you need to know the name of the unittest
class containing those tests. For example, it could be:`,pa,se,oa,le,pf="Here:",ra,ne,of="<li><code>tests/test_optimization.py</code> - the file with tests</li> <li><code>OptimizationTest</code> - the name of the class</li> <li><code>test_adam_w</code> - the name of the specific test function</li>",da,ie,rf="If the file contains multiple classes, you can choose to run only tests of a given class. For example:",ma,ae,fa,pe,df="will run all the tests inside that class.",ua,oe,mf="As mentioned earlier you can see what tests are contained inside the <code>OptimizationTest</code> class by running:",ca,re,wa,de,ff="You can run tests by keyword expressions.",ha,me,uf="To run only tests whose name contains <code>adam</code>:",ya,fe,Ma,ue,cf=`Logical <code>and</code> and <code>or</code> can be used to indicate whether all keywords should match or either. <code>not</code> can be used to
negate.`,Ta,ce,wf="To run all tests except those whose name contains <code>adam</code>:",$a,we,ba,he,hf="And you can combine the two patterns in one:",Ja,ye,ga,Me,yf="For example to run both <code>test_adafactor</code> and <code>test_adam_w</code> you can use:",ja,Te,Ca,$e,Mf="Note that we use <code>or</code> here, since we want either of the keywords to match to include both.",Ua,be,Tf="If you want to include only tests that include both patterns, <code>and</code> is to be used:",va,Je,_a,ge,Ia,je,$f="Sometimes you need to run <code>accelerate</code> tests on your models. For that you can just add <code>-m accelerate_tests</code> to your command, if let’s say you want to run these tests on <code>OPT</code> run:",xa,Ce,ka,Ue,Za,ve,bf=`In order to test whether the documentation examples are correct, you should check that the <code>doctests</code> are passing.
As an example, let’s use <a href="https://github.com/huggingface/transformers/blob/1124d95dbb1a3512d3e80791d73d0f541d1d7e9f/src/transformers/models/whisper/modeling_whisper.py#L1591-L1609" rel="nofollow"><code>WhisperModel.forward</code>’s docstring</a>`,Ha,_e,Ga,Ie,Jf="Just run the following line to automatically test every docstring example in the desired file:",Ba,xe,Xa,ke,gf="If the file has a markdown extension, you should add the <code>--doctest-glob=&quot;*.md&quot;</code> argument.",Va,Ze,Ra,He,jf=`You can run the tests related to the unstaged files or the current branch (according to Git) by using <a href="https://github.com/anapaulagomes/pytest-picked" rel="nofollow">pytest-picked</a>. This is a great way of quickly testing your changes didn’t break
anything, since it won’t run the tests related to files you didn’t touch.`,Na,Ge,za,Be,Wa,Xe,Cf="All tests will be run from files and folders which are modified, but not yet committed.",La,Ve,Sa,Re,Uf=`<a href="https://github.com/pytest-dev/pytest-xdist" rel="nofollow">pytest-xdist</a> provides a very useful feature of detecting all failed
tests, and then waiting for you to modify files and continuously re-rerun those failing tests until they pass while you
fix them. So that you don’t need to re start pytest after you made the fix. This is repeated until all tests pass after
which again a full run is performed.`,Qa,Ne,Fa,ze,vf="To enter the mode: <code>pytest -f</code> or <code>pytest --looponfail</code>",Ea,We,_f=`File changes are detected by looking at <code>looponfailroots</code> root directories and all of their contents (recursively).
If the default for this value does not work for you, you can change it in your project by setting a configuration
option in <code>setup.cfg</code>:`,Aa,Le,Pa,Se,If="or <code>pytest.ini</code>/<code>tox.ini</code> files:",Ya,Qe,qa,Fe,xf=`This would lead to only looking for file changes in the respective directories, specified relatively to the ini-file’s
directory.`,Ka,Ee,kf='<a href="https://github.com/joeyespo/pytest-watch" rel="nofollow">pytest-watch</a> is an alternative implementation of this functionality.',Da,Ae,Oa,Pe,Zf=`If you want to run all test modules, except a few you can exclude them by giving an explicit list of tests to run. For
example, to run all except <code>test_modeling_*.py</code> tests:`,ep,Ye,tp,qe,sp,Ke,Hf="CI builds and when isolation is important (against speed), cache should be cleared:",lp,De,np,Oe,ip,et,Gf=`As mentioned earlier <code>make test</code> runs tests in parallel via <code>pytest-xdist</code> plugin (<code>-n X</code> argument, e.g. <code>-n 2</code>
to run 2 parallel jobs).`,ap,tt,Bf=`<code>pytest-xdist</code>’s <code>--dist=</code> option allows one to control how the tests are grouped. <code>--dist=loadfile</code> puts the
tests located in one file onto the same process.`,pp,st,Xf=`Since the order of executed tests is different and unpredictable, if running the test suite with <code>pytest-xdist</code>
produces failures (meaning we have some undetected coupled tests), use <a href="https://github.com/ESSS/pytest-replay" rel="nofollow">pytest-replay</a> to replay the tests in the same order, which should help with then somehow
reducing that failing sequence to a minimum.`,op,lt,rp,nt,Vf=`It’s good to repeat the tests several times, in sequence, randomly, or in sets, to detect any potential
inter-dependency and state-related bugs (tear down). And the straightforward multiple repetition is just good to detect
some problems that get uncovered by randomness of DL.`,dp,it,mp,at,Rf='<li><a href="https://github.com/dropbox/pytest-flakefinder" rel="nofollow">pytest-flakefinder</a>:</li>',fp,pt,up,ot,Nf="And then run every test multiple times (50 by default):",cp,rt,wp,J,hp,g,yp,dt,Mp,mt,Tp,ft,zf=`Important: the presence of <code>pytest-random-order</code> will automatically randomize tests, no configuration change or
command line options is required.`,$p,ut,Wf=`As explained earlier this allows detection of coupled tests - where one test’s state affects the state of another. When
<code>pytest-random-order</code> is installed it will print the random seed it used for that session, e.g:`,bp,ct,Jp,wt,Lf="So that if the given particular sequence fails, you can reproduce it by adding that exact seed, e.g.:",gp,ht,jp,yt,Sf=`It will only reproduce the exact order if you use the exact same list of tests (or no list at all). Once you start to
manually narrowing down the list you can no longer rely on the seed, but have to list them manually in the exact order
they failed and tell pytest to not randomize them instead using <code>--random-order-bucket=none</code>, e.g.:`,Cp,Mt,Up,Tt,Qf="To disable the shuffling for all tests:",vp,$t,_p,bt,Ff=`By default <code>--random-order-bucket=module</code> is implied, which will shuffle the files on the module levels. It can also
shuffle on <code>class</code>, <code>package</code>, <code>global</code> and <code>none</code> levels. For the complete details please see its
<a href="https://github.com/jbasko/pytest-random-order" rel="nofollow">documentation</a>.`,Ip,Jt,Ef=`Another randomization alternative is: <a href="https://github.com/pytest-dev/pytest-randomly" rel="nofollow"><code>pytest-randomly</code></a>. This
module has a very similar functionality/interface, but it doesn’t have the bucket modes available in
<code>pytest-random-order</code>. It has the same problem of imposing itself once installed.`,xp,gt,kp,jt,Zp,Ct,Af=`<a href="https://github.com/Frozenball/pytest-sugar" rel="nofollow">pytest-sugar</a> is a plugin that improves the look-n-feel, adds a
progressbar, and show tests that fail and the assert instantly. It gets activated automatically upon installation.`,Hp,Ut,Gp,vt,Pf="To run tests without it, run:",Bp,_t,Xp,It,Yf="or uninstall it.",Vp,xt,Rp,kt,qf="For a single or a group of tests via <code>pytest</code> (after <code>pip install pytest-pspec</code>):",Np,Zt,zp,Ht,Wp,Gt,Kf=`<a href="https://github.com/pytest-dev/pytest-instafail" rel="nofollow">pytest-instafail</a> shows failures and errors instantly instead of
waiting until the end of test session.`,Lp,Bt,Sp,Xt,Qp,Vt,Fp,Rt,Df="On a GPU-enabled setup, to test in CPU-only mode add <code>CUDA_VISIBLE_DEVICES=&quot;&quot;</code> for CUDA GPUs:",Ep,Nt,Ap,zt,Of=`or if you have multiple gpus, you can specify which one is to be used by <code>pytest</code>. For example, to use only the
second gpu if you have gpus <code>0</code> and <code>1</code>, you can run:`,Pp,Wt,Yp,Lt,eu="For Intel GPUs, use <code>ZE_AFFINITY_MASK</code> instead of <code>CUDA_VISIBLE_DEVICES</code> in the above example.",qp,St,tu="This is handy when you want to run different tasks on different GPUs.",Kp,Qt,su=`Some tests must be run on CPU-only, others on either CPU or GPU or TPU, yet others on multiple-GPUs. The following skip
decorators are used to set the requirements of tests CPU/GPU/XPU/TPU-wise:`,Dp,Ft,lu="<li><code>require_torch</code> - this test will run only under torch</li> <li><code>require_torch_gpu</code> - as <code>require_torch</code> plus requires at least 1 GPU</li> <li><code>require_torch_multi_gpu</code> - as <code>require_torch</code> plus requires at least 2 GPUs</li> <li><code>require_torch_non_multi_gpu</code> - as <code>require_torch</code> plus requires 0 or 1 GPUs</li> <li><code>require_torch_up_to_2_gpus</code> - as <code>require_torch</code> plus requires 0 or 1 or 2 GPUs</li> <li><code>require_torch_xla</code> - as <code>require_torch</code> plus requires at least 1 TPU</li>",Op,Et,nu="Let’s depict the GPU requirements in the following table:",eo,At,iu="<thead><tr><th>n gpus</th> <th>decorator</th></tr></thead> <tbody><tr><td><code>&gt;= 0</code></td> <td><code>@require_torch</code></td></tr> <tr><td><code>&gt;= 1</code></td> <td><code>@require_torch_gpu</code></td></tr> <tr><td><code>&gt;= 2</code></td> <td><code>@require_torch_multi_gpu</code></td></tr> <tr><td><code>&lt; 2</code></td> <td><code>@require_torch_non_multi_gpu</code></td></tr> <tr><td><code>&lt; 3</code></td> <td><code>@require_torch_up_to_2_gpus</code></td></tr></tbody>",to,Pt,au="For example, here is a test that must be run only when there are 2 or more GPUs available and pytorch is installed:",so,Yt,lo,qt,pu="If a test requires <code>tensorflow</code> use the <code>require_tf</code> decorator. For example:",no,Kt,io,Dt,ou=`These decorators can be stacked. For example, if a test is slow and requires at least one GPU under pytorch, here is
how to set it up:`,ao,Ot,po,es,ru=`Some decorators like <code>@parametrized</code> rewrite test names, therefore <code>@require_*</code> skip decorators have to be listed
last for them to work correctly. Here is an example of the correct usage:`,oo,ts,ro,ss,du=`This order problem doesn’t exist with <code>@pytest.mark.parametrize</code>, you can put it first or last and it will still
work. But it only works with non-unittests.`,mo,ls,mu="Inside tests:",fo,ns,fu="<li>How many GPUs are available:</li>",uo,is,co,as,wo,ps,uu="To run the test suite on a specific torch device add <code>TRANSFORMERS_TEST_DEVICE=&quot;$device&quot;</code> where <code>$device</code> is the target backend. For example, to test on CPU only:",ho,os,yo,rs,cu="This variable is useful for testing custom or less common PyTorch backends such as <code>mps</code>, <code>xpu</code> or <code>npu</code>. It can also be used to achieve the same effect as <code>CUDA_VISIBLE_DEVICES</code> by targeting specific GPUs or testing in CPU-only mode.",Mo,ds,wu="Certain devices will require an additional import after importing <code>torch</code> for the first time. This can be specified using the environment variable <code>TRANSFORMERS_TEST_BACKEND</code>:",To,ms,$o,fs,hu="Alternative backends may also require the replacement of device-specific functions. For example <code>torch.cuda.manual_seed</code> may need to be replaced with a device-specific seed setter like <code>torch.npu.manual_seed</code> or <code>torch.xpu.manual_seed</code> to correctly set a random seed on the device. To specify a new backend with backend-specific device functions when running the test suite, create a Python device specification file <code>spec.py</code> in the format:",bo,us,Jo,cs,yu="This format also allows for specification of any additional imports required. To use this file to replace equivalent methods in the test suite, set the environment variable <code>TRANSFORMERS_TEST_DEVICE_SPEC</code> to the path of the spec file, e.g. <code>TRANSFORMERS_TEST_DEVICE_SPEC=spec.py</code>.",go,ws,Mu="Currently, only <code>MANUAL_SEED_FN</code>, <code>EMPTY_CACHE_FN</code> and <code>DEVICE_COUNT_FN</code> are supported for device-specific dispatch.",jo,hs,Co,ys,Tu=`<code>pytest</code> can’t deal with distributed training directly. If this is attempted - the sub-processes don’t do the right
thing and end up thinking they are <code>pytest</code> and start running the test suite in loops. It works, however, if one
spawns a normal process that then spawns off multiple workers and manages the IO pipes.`,Uo,Ms,$u="Here are some tests that use it:",vo,Ts,bu='<li><a href="https://github.com/huggingface/transformers/tree/main/tests/trainer/test_trainer_distributed.py" rel="nofollow">test_trainer_distributed.py</a></li> <li><a href="https://github.com/huggingface/transformers/tree/main/tests/deepspeed/test_deepspeed.py" rel="nofollow">test_deepspeed.py</a></li>',_o,$s,Ju="To jump right into the execution point, search for the <code>execute_subprocess_async</code> call in those tests.",Io,bs,gu="You will need at least 2 GPUs to see these tests in action:",xo,Js,ko,gs,Zo,js,ju=`During test execution any output sent to <code>stdout</code> and <code>stderr</code> is captured. If a test or a setup method fails, its
according captured output will usually be shown along with the failure traceback.`,Ho,Cs,Cu="To disable output capturing and to get the <code>stdout</code> and <code>stderr</code> normally, use <code>-s</code> or <code>--capture=no</code>:",Go,Us,Bo,vs,Uu="To send test results to JUnit format output:",Xo,_s,Vo,Is,Ro,xs,vu="To have no color (e.g., yellow on white background is not readable):",No,ks,zo,Zs,Wo,Hs,_u="Creating a URL for each test failure:",Lo,Gs,So,Bs,Iu=`This will submit test run information to a remote Paste service and provide a URL for each failure. You may select
tests as usual or add for example -x if you only want to send one particular failure.`,Qo,Xs,xu="Creating a URL for a whole test session log:",Fo,Vs,Eo,Rs,Ao,Ns,ku=`🤗 transformers tests are based on <code>unittest</code>, but run by <code>pytest</code>, so most of the time features from both systems
can be used.`,Po,zs,Zu=`You can read <a href="https://docs.pytest.org/en/stable/unittest.html" rel="nofollow">here</a> which features are supported, but the important
thing to remember is that most <code>pytest</code> fixtures don’t work. Neither parametrization, but we use the module
<code>parameterized</code> that works in a similar way.`,Yo,Ws,qo,Ls,Hu=`Often, there is a need to run the same test multiple times, but with different arguments. It could be done from within
the test, but then there is no way of running that test for just one set of arguments.`,Ko,Ss,Do,Qs,Gu=`Now, by default this test will be run 3 times, each time with the last 3 arguments of <code>test_floor</code> being assigned the
corresponding arguments in the parameter list.`,Oo,Fs,Bu="and you could run just the <code>negative</code> and <code>integer</code> sets of params with:",er,Es,tr,As,Xu="or all but <code>negative</code> sub-tests, with:",sr,Ps,lr,Ys,Vu=`Besides using the <code>-k</code> filter that was just mentioned, you can find out the exact name of each sub-test and run any
or all of them using their exact names.`,nr,qs,ir,Ks,Ru="and it will list:",ar,Ds,pr,Os,Nu="So now you can run just 2 specific sub-tests:",or,el,rr,tl,zu=`The module <a href="https://pypi.org/project/parameterized/" rel="nofollow">parameterized</a> which is already in the developer dependencies
of <code>transformers</code> works for both: <code>unittests</code> and <code>pytest</code> tests.`,dr,sl,Wu=`If, however, the test is not a <code>unittest</code>, you may use <code>pytest.mark.parametrize</code> (or you may see it being used in
some existing tests, mostly under <code>examples</code>).`,mr,ll,Lu="Here is the same example, this time using <code>pytest</code>’s <code>parametrize</code> marker:",fr,nl,ur,il,Su=`Same as with <code>parameterized</code>, with <code>pytest.mark.parametrize</code> you can have a fine control over which sub-tests are
run, if the <code>-k</code> filter doesn’t do the job. Except, this parametrization function creates a slightly different set of
names for the sub-tests. Here is what they look like:`,cr,al,wr,pl,Qu="and it will list:",hr,ol,yr,rl,Fu="So now you can run just the specific test:",Mr,dl,Tr,ml,Eu="as in the previous example.",$r,fl,br,ul,Au=`In tests often we need to know where things are relative to the current test file, and it’s not trivial since the test
could be invoked from more than one directory or could reside in sub-directories with different depths. A helper class
<code>transformers.test_utils.TestCasePlus</code> solves this problem by sorting out all the basic paths and provides easy
accessors to them:`,Jr,cl,Pu="<li><p><code>pathlib</code> objects (all fully resolved):</p> <ul><li><code>test_file_path</code> - the current test file path, i.e. <code>__file__</code></li> <li><code>test_file_dir</code> - the directory containing the current test file</li> <li><code>tests_dir</code> - the directory of the <code>tests</code> test suite</li> <li><code>examples_dir</code> - the directory of the <code>examples</code> test suite</li> <li><code>repo_root_dir</code> - the directory of the repository</li> <li><code>src_dir</code> - the directory of <code>src</code> (i.e. where the <code>transformers</code> sub-dir resides)</li></ul></li> <li><p>stringified paths---same as above but these return paths as strings, rather than <code>pathlib</code> objects:</p> <ul><li><code>test_file_path_str</code></li> <li><code>test_file_dir_str</code></li> <li><code>tests_dir_str</code></li> <li><code>examples_dir_str</code></li> <li><code>repo_root_dir_str</code></li> <li><code>src_dir_str</code></li></ul></li>",gr,wl,Yu=`To start using those all you need is to make sure that the test resides in a subclass of
<code>transformers.test_utils.TestCasePlus</code>. For example:`,jr,hl,Cr,yl,qu=`If you don’t need to manipulate paths via <code>pathlib</code> or you just need a path as a string, you can always invoked
<code>str()</code> on the <code>pathlib</code> object or use the accessors ending with <code>_str</code>. For example:`,Ur,Ml,vr,Tl,_r,$l,Ku=`Using unique temporary files and directories are essential for parallel test running, so that the tests won’t overwrite
each other’s data. Also we want to get the temporary files and directories removed at the end of each test that created
them. Therefore, using packages like <code>tempfile</code>, which address these needs is essential.`,Ir,bl,Du=`However, when debugging tests, you need to be able to see what goes into the temporary file or directory and you want
to know it’s exact path and not having it randomized on every test re-run.`,xr,Jl,Ou=`A helper class <code>transformers.test_utils.TestCasePlus</code> is best used for such purposes. It’s a sub-class of
<code>unittest.TestCase</code>, so we can easily inherit from it in the test modules.`,kr,gl,ec="Here is an example of its usage:",Zr,jl,Hr,Cl,tc="This code creates a unique temporary directory, and sets <code>tmp_dir</code> to its location.",Gr,Ul,sc="<li>Create a unique temporary dir:</li>",Br,vl,Xr,_l,lc=`<code>tmp_dir</code> will contain the path to the created temporary dir. It will be automatically removed at the end of the
test.`,Vr,Il,nc="<li>Create a temporary dir of my choice, ensure it’s empty before the test starts and don’t empty it after the test.</li>",Rr,xl,Nr,kl,ic=`This is useful for debug when you want to monitor a specific directory and want to make sure the previous tests didn’t
leave any data in there.`,zr,Zl,ac=`<li><p>You can override the default behavior by directly overriding the <code>before</code> and <code>after</code> args, leading to one of the
following behaviors:</p> <ul><li><code>before=True</code>: the temporary dir will always be cleared at the beginning of the test.</li> <li><code>before=False</code>: if the temporary dir already existed, any existing files will remain there.</li> <li><code>after=True</code>: the temporary dir will always be deleted at the end of the test.</li> <li><code>after=False</code>: the temporary dir will always be left intact at the end of the test.</li></ul></li>`,Wr,j,Lr,C,Sr,Hl,Qr,Gl,pc=`If you need to temporary override <code>sys.path</code> to import from another test for example, you can use the
<code>ExtendSysPath</code> context manager. Example:`,Fr,Bl,Er,Xl,Ar,Vl,oc=`This is useful when a bug is found and a new test is written, yet the bug is not fixed yet. In order to be able to
commit it to the main repository we need make sure it’s skipped during <code>make test</code>.`,Pr,Rl,rc="Methods:",Yr,Nl,dc=`<li><p>A <strong>skip</strong> means that you expect your test to pass only if some conditions are met, otherwise pytest should skip
running the test altogether. Common examples are skipping windows-only tests on non-windows platforms, or skipping
tests that depend on an external resource which is not available at the moment (for example a database).</p></li> <li><p>A <strong>xfail</strong> means that you expect a test to fail for some reason. A common example is a test for a feature not yet
implemented, or a bug not yet fixed. When a test passes despite being expected to fail (marked with
pytest.mark.xfail), it’s an xpass and will be reported in the test summary.</p></li>`,qr,zl,mc=`One of the important differences between the two is that <code>skip</code> doesn’t run the test, and <code>xfail</code> does. So if the
code that’s buggy causes some bad state that will affect other tests, do not use <code>xfail</code>.`,Kr,Wl,Dr,Ll,fc="<li>Here is how to skip whole test unconditionally:</li>",Or,Sl,ed,Ql,uc="or via pytest:",td,Fl,sd,El,cc="or the <code>xfail</code> way:",ld,Al,nd,Pl,wc="Here’s how to skip a test based on internal checks within the test:",id,Yl,ad,ql,hc="or the whole module:",pd,Kl,od,Dl,yc="or the <code>xfail</code> way:",rd,Ol,dd,en,Mc="<li>Here is how to skip all tests in a module if some import is missing:</li>",md,tn,fd,sn,Tc="<li>Skip a test based on a condition:</li>",ud,ln,cd,nn,$c="or:",wd,an,hd,pn,bc="or skip the whole module:",yd,on,Md,rn,Jc='More details, example and ways are <a href="https://docs.pytest.org/en/latest/skipping.html" rel="nofollow">here</a>.',Td,dn,$d,mn,gc=`The library of tests is ever-growing, and some of the tests take minutes to run, therefore we can’t afford waiting for
an hour for the test suite to complete on CI. Therefore, with some exceptions for essential tests, slow tests should be
marked as in the example below:`,bd,fn,Jd,un,jc="Once a test is marked as <code>@slow</code>, to run such tests set <code>RUN_SLOW=1</code> env var, e.g.:",gd,cn,jd,wn,Cc=`Some decorators like <code>@parameterized</code> rewrite test names, therefore <code>@slow</code> and the rest of the skip decorators
<code>@require_*</code> have to be listed last for them to work correctly. Here is an example of the correct usage:`,Cd,hn,Ud,yn,Uc=`As explained at the beginning of this document, slow tests get to run on a scheduled basis, rather than in PRs CI
checks. So it’s possible that some problems will be missed during a PR submission and get merged. Such problems will
get caught during the next scheduled CI job. But it also means that it’s important to run the slow tests on your
machine before submitting the PR.`,vd,Mn,vc="Here is a rough decision making mechanism for choosing which tests should be marked as slow:",_d,Tn,_c=`If the test is focused on one of the library’s internal components (e.g., modeling files, tokenization files,
pipelines), then we should run that test in the non-slow test suite. If it’s focused on an other aspect of the library,
such as the documentation or the examples, then we should run these tests in the slow test suite. And then, to refine
this approach we should have exceptions:`,Id,$n,Ic=`<li>All tests that need to download a heavy set of weights or a dataset that is larger than ~50MB (e.g., model or
tokenizer integration tests, pipeline integration tests) should be set to slow. If you’re adding a new model, you
should create and upload to the hub a tiny version of it (with random weights) for integration tests. This is
discussed in the following paragraphs.</li> <li>All tests that need to do a training not specifically optimized to be fast should be set to slow.</li> <li>We can introduce exceptions if some of these should-be-non-slow tests are excruciatingly slow, and set them to
<code>@slow</code>. Auto-modeling tests, which save and load large files to disk, are a good example of tests that are marked
as <code>@slow</code>.</li> <li>If a test completes under 1 second on CI (including downloads if any) then it should be a normal test regardless.</li>`,xd,bn,xc=`Collectively, all the non-slow tests need to cover entirely the different internals, while remaining fast. For example,
a significant coverage can be achieved by testing with specially created tiny models with random weights. Such models
have the very minimal number of layers (e.g., 2), vocab size (e.g., 1000), etc. Then the <code>@slow</code> tests can use large
slow models to do qualitative testing. To see the use of these simply look for <em>tiny</em> models with:`,kd,Jn,Zd,gn,kc=`Here is an example of a <a href="https://github.com/huggingface/transformers/tree/main/scripts/fsmt/fsmt-make-tiny-model.py" rel="nofollow">script</a> that created the tiny model
<a href="https://huggingface.co/stas/tiny-wmt19-en-de" rel="nofollow">stas/tiny-wmt19-en-de</a>. You can easily adjust it to your specific
model’s architecture.`,Hd,jn,Zc=`It’s easy to measure the run-time incorrectly if for example there is an overheard of downloading a huge model, but if
you test it locally the downloaded files would be cached and thus the download time not measured. Hence check the
execution speed report in CI logs instead (the output of <code>pytest --durations=0 tests</code>).`,Gd,Cn,Hc=`That report is also useful to find slow outliers that aren’t marked as such, or which need to be re-written to be fast.
If you notice that the test suite starts getting slow on CI, the top listing of this report will show the slowest
tests.`,Bd,Un,Xd,vn,Gc=`In order to test functions that write to <code>stdout</code> and/or <code>stderr</code>, the test can access those streams using the
<code>pytest</code>’s <a href="https://docs.pytest.org/en/latest/capture.html" rel="nofollow">capsys system</a>. Here is how this is accomplished:`,Vd,_n,Rd,In,Bc=`And, of course, most of the time, <code>stderr</code> will come as a part of an exception, so try/except has to be used in such
a case:`,Nd,xn,zd,kn,Xc="Another approach to capturing stdout is via <code>contextlib.redirect_stdout</code>:",Wd,Zn,Ld,Hn,Vc=`An important potential issue with capturing stdout is that it may contain <code>\\r</code> characters that in normal <code>print</code>
reset everything that has been printed so far. There is no problem with <code>pytest</code>, but with <code>pytest -s</code> these
characters get included in the buffer, so to be able to have the test run with and without <code>-s</code>, you have to make an
extra cleanup to the captured output, using <code>re.sub(r&#39;~.*\\r&#39;, &#39;&#39;, buf, 0, re.M)</code>.`,Sd,Gn,Rc=`But, then we have a helper context manager wrapper to automatically take care of it all, regardless of whether it has
some <code>\\r</code>’s in it or not, so it’s a simple:`,Qd,Bn,Fd,Xn,Nc="Here is a full test example:",Ed,Vn,Ad,Rn,zc="If you’d like to capture <code>stderr</code> use the <code>CaptureStderr</code> class instead:",Pd,Nn,Yd,zn,Wc="If you need to capture both streams at once, use the parent <code>CaptureStd</code> class:",qd,Wn,Kd,Ln,Lc=`Also, to aid debugging test issues, by default these context managers automatically replay the captured streams on exit
from the context.`,Dd,Sn,Od,Qn,Sc="If you need to validate the output of a logger, you can use <code>CaptureLogger</code>:",em,Fn,tm,En,sm,An,Qc=`If you want to test the impact of environment variables for a specific test you can use a helper decorator
<code>transformers.testing_utils.mockenv</code>`,lm,Pn,nm,Yn,Fc=`At times an external program needs to be called, which requires setting <code>PYTHONPATH</code> in <code>os.environ</code> to include
multiple local paths. A helper class <code>transformers.test_utils.TestCasePlus</code> comes to help:`,im,qn,am,Kn,Ec=`Depending on whether the test file was under the <code>tests</code> test suite or <code>examples</code> it’ll correctly set up
<code>env[PYTHONPATH]</code> to include one of these two directories, and also the <code>src</code> directory to ensure the testing is
done against the current repo, and finally with whatever <code>env[PYTHONPATH]</code> was already set to before the test was
called if anything.`,pm,Dn,Ac="This helper method creates a copy of the <code>os.environ</code> object, so the original remains intact.",om,On,rm,ei,Pc=`In some situations you may want to remove randomness for your tests. To get identical reproducible results set, you
will need to fix the seed:`,dm,ti,mm,si,fm,li,Yc="To start a debugger at the point of the warning, do this:",um,ni,cm,ii,wm,ai,qc="To trigger a self-push workflow CI job, you must:",hm,pi,Kc=`<li>Create a new branch on <code>transformers</code> origin (not a fork!).</li> <li>The branch name has to start with either <code>ci_</code> or <code>ci-</code> (<code>main</code> triggers it too, but we can’t do PRs on
<code>main</code>). It also gets triggered only for specific paths - you can find the up-to-date definition in case it
changed since this document has been written <a href="https://github.com/huggingface/transformers/blob/main/.github/workflows/self-push.yml" rel="nofollow">here</a> under <em>push:</em></li> <li>Create a PR from this branch.</li> <li>Then you can see the job appear <a href="https://github.com/huggingface/transformers/actions/workflows/self-push.yml" rel="nofollow">here</a>. It may not run right away if there
is a backlog.</li>`,ym,oi,Mm,ri,Dc=`Testing CI features can be potentially problematic as it can interfere with the normal CI functioning. Therefore if a
new CI feature is to be added, it should be done as following.`,Tm,di,Oc=`<li>Create a new dedicated job that tests what needs to be tested</li> <li>The new job must always succeed so that it gives us a green ✓ (details below).</li> <li>Let it run for some days to see that a variety of different PR types get to run on it (user fork branches,
non-forked branches, branches originating from github.com UI direct file edit, various forced pushes, etc. - there
are so many) while monitoring the experimental job’s logs (not the overall job green as it’s purposefully always
green)</li> <li>When it’s clear that everything is solid, then merge the new changes into existing jobs.</li>`,$m,mi,ew="That way experiments on CI functionality itself won’t interfere with the normal workflow.",bm,fi,tw="Now how can we make the job always succeed while the new CI feature is being developed?",Jm,ui,sw=`Some CIs, like TravisCI support ignore-step-failure and will report the overall job as successful, but CircleCI and
Github Actions as of this writing don’t support that.`,gm,ci,lw="So the following workaround can be used:",jm,wi,nw="<li><code>set +euo pipefail</code> at the beginning of the run command to suppress most potential failures in the bash script.</li> <li>the last command must be a success: <code>echo &quot;done&quot;</code> or just <code>true</code> will do</li>",Cm,hi,iw="Here is an example:",Um,yi,vm,Mi,aw="For simple commands you could also do:",_m,Ti,Im,$i,pw=`Of course, once satisfied with the results, integrate the experimental step or job with the rest of the normal jobs,
while removing <code>set +euo pipefail</code> or any other things you may have added to ensure that the experimental job doesn’t
interfere with the normal CI functioning.`,xm,bi,ow=`This whole process would have been much easier if we only could set something like <code>allow-failure</code> for the
experimental step, and let it fail without impacting the overall status of PRs. But as mentioned earlier CircleCI and
Github Actions don’t support it at the moment.`,km,Ji,rw="You can vote for this feature and see where it is at these CI-specific threads:",Zm,gi,dw='<li><a href="https://github.com/actions/toolkit/issues/399" rel="nofollow">Github Actions:</a></li> <li><a href="https://ideas.circleci.com/ideas/CCI-I-344" rel="nofollow">CircleCI:</a></li>',Hm,ji,Gm,Ci,mw="For a PR that involves the DeepSpeed integration, keep in mind our CircleCI PR CI setup doesn’t have GPUs. Tests requiring GPUs are run on a different CI nightly. This means if you get a passing CI report in your PR, it doesn’t mean the DeepSpeed tests pass.",Bm,Ui,fw="To run DeepSpeed tests:",Xm,vi,Vm,_i,uw="Any changes to the modeling or PyTorch examples code requires running the model zoo tests as well.",Rm,Ii,Nm,xi,zm,ki,Wm;return U=new h({props:{title:"Testing",local:"testing",headingTag:"h1"}}),x=new h({props:{title:"How transformers are tested",local:"how-transformers-are-tested",headingTag:"h2"}}),Z=new w({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHMlMkYlMEFSVU5fU0xPVyUzRDElMjBweXRlc3QlMjBleGFtcGxlcyUyRg==",highlighted:`RUN_SLOW=1 pytest tests/
RUN_SLOW=1 pytest examples/`,wrap:!1}}),G=new h({props:{title:"Running tests",local:"running-tests",headingTag:"h2"}}),B=new h({props:{title:"Choosing which tests to run",local:"choosing-which-tests-to-run",headingTag:"h3"}}),N=new w({props:{code:"cHl0ZXN0",highlighted:"pytest",wrap:!1}}),W=new w({props:{code:"bWFrZSUyMHRlc3Q=",highlighted:'make <span class="hljs-built_in">test</span>',wrap:!1}}),S=new w({props:{code:"cHl0aG9uJTIwLW0lMjBweXRlc3QlMjAtbiUyMGF1dG8lMjAtLWRpc3QlM0Rsb2FkZmlsZSUyMC1zJTIwLXYlMjAuJTJGdGVzdHMlMkY=",highlighted:"python -m pytest -n auto --dist=loadfile -s -v ./tests/",wrap:!1}}),E=new h({props:{title:"Getting the list of all tests",local:"getting-the-list-of-all-tests",headingTag:"h3"}}),P=new w({props:{code:"cHl0ZXN0JTIwLS1jb2xsZWN0LW9ubHklMjAtcQ==",highlighted:"pytest --collect-only -q",wrap:!1}}),q=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest tests/test_optimization.py --collect-only -q",wrap:!1}}),K=new h({props:{title:"Run a specific test module",local:"run-a-specific-test-module",headingTag:"h3"}}),O=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:"pytest tests/utils/test_logging.py",wrap:!1}}),ee=new h({props:{title:"Run specific tests",local:"run-specific-tests",headingTag:"h3"}}),se=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3QlM0ElM0F0ZXN0X2FkYW1fdw==",highlighted:"pytest tests/test_optimization.py::OptimizationTest::test_adam_w",wrap:!1}}),ae=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3Q=",highlighted:"pytest tests/test_optimization.py::OptimizationTest",wrap:!1}}),re=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3QlMjAtLWNvbGxlY3Qtb25seSUyMC1x",highlighted:"pytest tests/test_optimization.py::OptimizationTest --collect-only -q",wrap:!1}}),fe=new w({props:{code:"cHl0ZXN0JTIwLWslMjBhZGFtJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:"pytest -k adam tests/test_optimization.py",wrap:!1}}),we=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJub3QlMjBhZGFtJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;not adam&quot;</span> tests/test_optimization.py',wrap:!1}}),ye=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJhZGElMjBhbmQlMjBub3QlMjBhZGFtJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;ada and not adam&quot;</span> tests/test_optimization.py',wrap:!1}}),Te=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJ0ZXN0X2FkYWZhY3RvciUyMG9yJTIwdGVzdF9hZGFtX3clMjIlMjB0ZXN0cyUyRnRlc3Rfb3B0aW1pemF0aW9uLnB5",highlighted:'pytest -k <span class="hljs-string">&quot;test_adafactor or test_adam_w&quot;</span> tests/test_optimization.py',wrap:!1}}),Je=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJ0ZXN0JTIwYW5kJTIwYWRhJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;test and ada&quot;</span> tests/test_optimization.py',wrap:!1}}),ge=new h({props:{title:"Run accelerate tests",local:"run-accelerate-tests",headingTag:"h3"}}),Ce=new w({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwLW0lMjBhY2NlbGVyYXRlX3Rlc3RzJTIwdGVzdHMlMkZtb2RlbHMlMkZvcHQlMkZ0ZXN0X21vZGVsaW5nX29wdC5weQ==",highlighted:"RUN_SLOW=1 pytest -m accelerate_tests tests/models/opt/test_modeling_opt.py",wrap:!1}}),Ue=new h({props:{title:"Run documentation tests",local:"run-documentation-tests",headingTag:"h3"}}),_e=new w({props:{code:"ciUyMiUyMiUyMiUwQVJldHVybnMlM0ElMEElMEFFeGFtcGxlJTNBJTBBJTIwJTIwJTIwJTIwJTYwJTYwJTYwcHl0aG9uJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW1wb3J0JTIwdG9yY2glMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwV2hpc3Blck1vZGVsJTJDJTIwV2hpc3BlckZlYXR1cmVFeHRyYWN0b3IlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBmcm9tJTIwZGF0YXNldHMlMjBpbXBvcnQlMjBsb2FkX2RhdGFzZXQlMEElMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBtb2RlbCUyMCUzRCUyMFdoaXNwZXJNb2RlbC5mcm9tX3ByZXRyYWluZWQoJTIyb3BlbmFpJTJGd2hpc3Blci1iYXNlJTIyKSUwQSUyMCUyMCUyMCUyMCUzRSUzRSUzRSUyMGZlYXR1cmVfZXh0cmFjdG9yJTIwJTNEJTIwV2hpc3BlckZlYXR1cmVFeHRyYWN0b3IuZnJvbV9wcmV0cmFpbmVkKCUyMm9wZW5haSUyRndoaXNwZXItYmFzZSUyMiklMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBkcyUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJoZi1pbnRlcm5hbC10ZXN0aW5nJTJGbGlicmlzcGVlY2hfYXNyX2R1bW15JTIyJTJDJTIwJTIyY2xlYW4lMjIlMkMlMjBzcGxpdCUzRCUyMnZhbGlkYXRpb24lMjIpJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW5wdXRzJTIwJTNEJTIwZmVhdHVyZV9leHRyYWN0b3IoZHMlNUIwJTVEJTVCJTIyYXVkaW8lMjIlNUQlNUIlMjJhcnJheSUyMiU1RCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW5wdXRfZmVhdHVyZXMlMjAlM0QlMjBpbnB1dHMuaW5wdXRfZmVhdHVyZXMlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBkZWNvZGVyX2lucHV0X2lkcyUyMCUzRCUyMHRvcmNoLnRlbnNvciglNUIlNUIxJTJDJTIwMSU1RCU1RCklMjAqJTIwbW9kZWwuY29uZmlnLmRlY29kZXJfc3RhcnRfdG9rZW5faWQlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBsYXN0X2hpZGRlbl9zdGF0ZSUyMCUzRCUyMG1vZGVsKGlucHV0X2ZlYXR1cmVzJTJDJTIwZGVjb2Rlcl9pbnB1dF9pZHMlM0RkZWNvZGVyX2lucHV0X2lkcykubGFzdF9oaWRkZW5fc3RhdGUlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBsaXN0KGxhc3RfaGlkZGVuX3N0YXRlLnNoYXBlKSUwQSUyMCUyMCUyMCUyMCU1QjElMkMlMjAyJTJDJTIwNTEyJTVEJTBBJTIwJTIwJTIwJTIwJTYwJTYwJTYwJTIyJTIyJTIyJTBB",highlighted:`<span class="hljs-string">r&quot;&quot;&quot;
Returns:

Example:
    \`\`\`python
    &gt;&gt;&gt; import torch
    &gt;&gt;&gt; from transformers import WhisperModel, WhisperFeatureExtractor
    &gt;&gt;&gt; from datasets import load_dataset

    &gt;&gt;&gt; model = WhisperModel.from_pretrained(&quot;openai/whisper-base&quot;)
    &gt;&gt;&gt; feature_extractor = WhisperFeatureExtractor.from_pretrained(&quot;openai/whisper-base&quot;)
    &gt;&gt;&gt; ds = load_dataset(&quot;hf-internal-testing/librispeech_asr_dummy&quot;, &quot;clean&quot;, split=&quot;validation&quot;)
    &gt;&gt;&gt; inputs = feature_extractor(ds[0][&quot;audio&quot;][&quot;array&quot;], return_tensors=&quot;pt&quot;)
    &gt;&gt;&gt; input_features = inputs.input_features
    &gt;&gt;&gt; decoder_input_ids = torch.tensor([[1, 1]]) * model.config.decoder_start_token_id
    &gt;&gt;&gt; last_hidden_state = model(input_features, decoder_input_ids=decoder_input_ids).last_hidden_state
    &gt;&gt;&gt; list(last_hidden_state.shape)
    [1, 2, 512]
    \`\`\`&quot;&quot;&quot;</span>
`,wrap:!1}}),xe=new w({props:{code:"cHl0ZXN0JTIwLS1kb2N0ZXN0LW1vZHVsZXMlMjAlM0NwYXRoX3RvX2ZpbGVfb3JfZGlyJTNF",highlighted:"pytest --doctest-modules &lt;path_to_file_or_dir&gt;",wrap:!1}}),Ze=new h({props:{title:"Run only modified tests",local:"run-only-modified-tests",headingTag:"h3"}}),Ge=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1waWNrZWQ=",highlighted:"pip install pytest-picked",wrap:!1}}),Be=new w({props:{code:"cHl0ZXN0JTIwLS1waWNrZWQ=",highlighted:"pytest --picked",wrap:!1}}),Ve=new h({props:{title:"Automatically rerun failed tests on source modification",local:"automatically-rerun-failed-tests-on-source-modification",headingTag:"h3"}}),Ne=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC14ZGlzdA==",highlighted:"pip install pytest-xdist",wrap:!1}}),Le=new w({props:{code:"JTVCdG9vbCUzQXB5dGVzdCU1RCUwQWxvb3BvbmZhaWxyb290cyUyMCUzRCUyMHRyYW5zZm9ybWVycyUyMHRlc3Rz",highlighted:`<span class="hljs-section">[tool:pytest]</span>
<span class="hljs-attr">looponfailroots</span> = transformers tests`,wrap:!1}}),Qe=new w({props:{code:"JTVCcHl0ZXN0JTVEJTBBbG9vcG9uZmFpbHJvb3RzJTIwJTNEJTIwdHJhbnNmb3JtZXJzJTIwdGVzdHM=",highlighted:`<span class="hljs-section">[pytest]</span>
<span class="hljs-attr">looponfailroots</span> = transformers tests`,wrap:!1}}),Ae=new h({props:{title:"Skip a test module",local:"skip-a-test-module",headingTag:"h3"}}),Ye=new w({props:{code:"cHl0ZXN0JTIwKmxzJTIwLTElMjB0ZXN0cyUyRipweSUyMCU3QyUyMGdyZXAlMjAtdiUyMHRlc3RfbW9kZWxpbmcq",highlighted:'pytest *<span class="hljs-built_in">ls</span> -1 tests/*py | grep -v test_modeling*',wrap:!1}}),qe=new h({props:{title:"Clearing state",local:"clearing-state",headingTag:"h3"}}),De=new w({props:{code:"cHl0ZXN0JTIwLS1jYWNoZS1jbGVhciUyMHRlc3Rz",highlighted:"pytest --cache-clear tests",wrap:!1}}),Oe=new h({props:{title:"Running tests in parallel",local:"running-tests-in-parallel",headingTag:"h3"}}),lt=new h({props:{title:"Test order and repetition",local:"test-order-and-repetition",headingTag:"h3"}}),it=new h({props:{title:"Repeat tests",local:"repeat-tests",headingTag:"h4"}}),pt=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1mbGFrZWZpbmRlcg==",highlighted:"pip install pytest-flakefinder",wrap:!1}}),rt=new w({props:{code:"cHl0ZXN0JTIwLS1mbGFrZS1maW5kZXIlMjAtLWZsYWtlLXJ1bnMlM0Q1JTIwdGVzdHMlMkZ0ZXN0X2ZhaWxpbmdfdGVzdC5weQ==",highlighted:"pytest --flake-finder --flake-runs=5 tests/test_failing_test.py",wrap:!1}}),J=new Lm({props:{$$slots:{default:[vw]},$$scope:{ctx:b}}}),g=new Lm({props:{$$slots:{default:[_w]},$$scope:{ctx:b}}}),dt=new h({props:{title:"Run tests in a random order",local:"run-tests-in-a-random-order",headingTag:"h4"}}),mt=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1yYW5kb20tb3JkZXI=",highlighted:"pip install pytest-random-order",wrap:!1}}),ct=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMEElNUIuLi4lNUQlMEFVc2luZyUyMC0tcmFuZG9tLW9yZGVyLWJ1Y2tldCUzRG1vZHVsZSUwQVVzaW5nJTIwLS1yYW5kb20tb3JkZXItc2VlZCUzRDU3MzY2Mw==",highlighted:`pytest tests
[...]
Using --random-order-bucket=module
Using --random-order-seed=573663`,wrap:!1}}),ht=new w({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItc2VlZCUzRDU3MzY2MyUwQSU1Qi4uLiU1RCUwQVVzaW5nJTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbW9kdWxlJTBBVXNpbmclMjAtLXJhbmRvbS1vcmRlci1zZWVkJTNENTczNjYz",highlighted:`pytest --random-order-seed=573663
[...]
Using --random-order-bucket=module
Using --random-order-seed=573663`,wrap:!1}}),Mt=new w({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbm9uZSUyMHRlc3RzJTJGdGVzdF9hLnB5JTIwdGVzdHMlMkZ0ZXN0X2MucHklMjB0ZXN0cyUyRnRlc3RfYi5weQ==",highlighted:"pytest --random-order-bucket=none tests/test_a.py tests/test_c.py tests/test_b.py",wrap:!1}}),$t=new w({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbm9uZQ==",highlighted:"pytest --random-order-bucket=none",wrap:!1}}),gt=new h({props:{title:"Look and feel variations",local:"look-and-feel-variations",headingTag:"h3"}}),jt=new h({props:{title:"pytest-sugar",local:"pytest-sugar",headingTag:"h4"}}),Ut=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1zdWdhcg==",highlighted:"pip install pytest-sugar",wrap:!1}}),_t=new w({props:{code:"cHl0ZXN0JTIwLXAlMjBubyUzQXN1Z2Fy",highlighted:"pytest -p no:sugar",wrap:!1}}),xt=new h({props:{title:"Report each sub-test name and its progress",local:"report-each-sub-test-name-and-its-progress",headingTag:"h4"}}),Zt=new w({props:{code:"cHl0ZXN0JTIwLS1wc3BlYyUyMHRlc3RzJTJGdGVzdF9vcHRpbWl6YXRpb24ucHk=",highlighted:"pytest --pspec tests/test_optimization.py",wrap:!1}}),Ht=new h({props:{title:"Instantly shows failed tests",local:"instantly-shows-failed-tests",headingTag:"h4"}}),Bt=new w({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1pbnN0YWZhaWw=",highlighted:"pip install pytest-instafail",wrap:!1}}),Xt=new w({props:{code:"cHl0ZXN0JTIwLS1pbnN0YWZhaWw=",highlighted:"pytest --instafail",wrap:!1}}),Vt=new h({props:{title:"To GPU or not to GPU",local:"to-gpu-or-not-to-gpu",headingTag:"h3"}}),Nt=new w({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QlMjIlMjIlMjBweXRlc3QlMjB0ZXN0cyUyRnV0aWxzJTJGdGVzdF9sb2dnaW5nLnB5",highlighted:'CUDA_VISIBLE_DEVICES=<span class="hljs-string">&quot;&quot;</span> pytest tests/utils/test_logging.py',wrap:!1}}),Wt=new w({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QlMjIxJTIyJTIwcHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:'CUDA_VISIBLE_DEVICES=<span class="hljs-string">&quot;1&quot;</span> pytest tests/utils/test_logging.py',wrap:!1}}),Yt=new w({props:{code:"JTQwcmVxdWlyZV90b3JjaF9tdWx0aV9ncHUlMEFkZWYlMjB0ZXN0X2V4YW1wbGVfd2l0aF9tdWx0aV9ncHUoKSUzQQ==",highlighted:`<span class="hljs-meta">@require_torch_multi_gpu</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_example_with_multi_gpu</span>():`,wrap:!1}}),Kt=new w({props:{code:"JTQwcmVxdWlyZV90ZiUwQWRlZiUyMHRlc3RfdGZfdGhpbmdfd2l0aF90ZW5zb3JmbG93KCklM0E=",highlighted:`<span class="hljs-meta">@require_tf</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_tf_thing_with_tensorflow</span>():`,wrap:!1}}),Ot=new w({props:{code:"JTQwcmVxdWlyZV90b3JjaF9ncHUlMEElNDBzbG93JTBBZGVmJTIwdGVzdF9leGFtcGxlX3Nsb3dfb25fZ3B1KCklM0E=",highlighted:`<span class="hljs-meta">@require_torch_gpu</span>
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_example_slow_on_gpu</span>():`,wrap:!1}}),ts=new w({props:{code:"JTQwcGFyYW1ldGVyaXplZC5leHBhbmQoLi4uKSUwQSU0MHJlcXVpcmVfdG9yY2hfbXVsdGlfZ3B1JTBBZGVmJTIwdGVzdF9pbnRlZ3JhdGlvbl9mb28oKSUzQQ==",highlighted:`<span class="hljs-meta">@parameterized.expand(<span class="hljs-params">...</span>)</span>
<span class="hljs-meta">@require_torch_multi_gpu</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`,wrap:!1}}),is=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwZ2V0X2dwdV9jb3VudCUwQSUwQW5fZ3B1JTIwJTNEJTIwZ2V0X2dwdV9jb3VudCgpJTIwJTIwJTIzJTIwd29ya3MlMjB3aXRoJTIwdG9yY2glMjBhbmQlMjB0Zg==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> get_gpu_count

n_gpu = get_gpu_count()  <span class="hljs-comment"># works with torch and tf</span>`,wrap:!1}}),as=new h({props:{title:"Testing with a specific PyTorch backend or device",local:"testing-with-a-specific-pytorch-backend-or-device",headingTag:"h3"}}),os=new w({props:{code:"VFJBTlNGT1JNRVJTX1RFU1RfREVWSUNFJTNEJTIyY3B1JTIyJTIwcHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:'TRANSFORMERS_TEST_DEVICE=<span class="hljs-string">&quot;cpu&quot;</span> pytest tests/utils/test_logging.py',wrap:!1}}),ms=new w({props:{code:"VFJBTlNGT1JNRVJTX1RFU1RfQkFDS0VORCUzRCUyMnRvcmNoX25wdSUyMiUyMHB5dGVzdCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:'TRANSFORMERS_TEST_BACKEND=<span class="hljs-string">&quot;torch_npu&quot;</span> pytest tests/utils/test_logging.py',wrap:!1}}),us=new w({props:{code:"aW1wb3J0JTIwdG9yY2glMEFpbXBvcnQlMjB0b3JjaF9ucHUlMjAlMjMlMjBmb3IlMjB4cHUlMkMlMjByZXBsYWNlJTIwaXQlMjB3aXRoJTIwJTYwaW1wb3J0JTIwaW50ZWxfZXh0ZW5zaW9uX2Zvcl9weXRvcmNoJTYwJTBBJTIzJTIwISElMjBGdXJ0aGVyJTIwYWRkaXRpb25hbCUyMGltcG9ydHMlMjBjYW4lMjBiZSUyMGFkZGVkJTIwaGVyZSUyMCEhJTBBJTBBJTIzJTIwU3BlY2lmeSUyMHRoZSUyMGRldmljZSUyMG5hbWUlMjAoZWcuJTIwJ2N1ZGEnJTJDJTIwJ2NwdSclMkMlMjAnbnB1JyUyQyUyMCd4cHUnJTJDJTIwJ21wcycpJTBBREVWSUNFX05BTUUlMjAlM0QlMjAnbnB1JyUwQSUwQSUyMyUyMFNwZWNpZnklMjBkZXZpY2Utc3BlY2lmaWMlMjBiYWNrZW5kcyUyMHRvJTIwZGlzcGF0Y2glMjB0by4lMEElMjMlMjBJZiUyMG5vdCUyMHNwZWNpZmllZCUyQyUyMHdpbGwlMjBmYWxsYmFjayUyMHRvJTIwJ2RlZmF1bHQnJTIwaW4lMjAndGVzdGluZ191dGlscy5weSU2MCUwQU1BTlVBTF9TRUVEX0ZOJTIwJTNEJTIwdG9yY2gubnB1Lm1hbnVhbF9zZWVkJTBBRU1QVFlfQ0FDSEVfRk4lMjAlM0QlMjB0b3JjaC5ucHUuZW1wdHlfY2FjaGUlMEFERVZJQ0VfQ09VTlRfRk4lMjAlM0QlMjB0b3JjaC5ucHUuZGV2aWNlX2NvdW50",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">import</span> torch_npu <span class="hljs-comment"># for xpu, replace it with \`import intel_extension_for_pytorch\`</span>
<span class="hljs-comment"># !! Further additional imports can be added here !!</span>

<span class="hljs-comment"># Specify the device name (eg. &#x27;cuda&#x27;, &#x27;cpu&#x27;, &#x27;npu&#x27;, &#x27;xpu&#x27;, &#x27;mps&#x27;)</span>
DEVICE_NAME = <span class="hljs-string">&#x27;npu&#x27;</span>

<span class="hljs-comment"># Specify device-specific backends to dispatch to.</span>
<span class="hljs-comment"># If not specified, will fallback to &#x27;default&#x27; in &#x27;testing_utils.py\`</span>
MANUAL_SEED_FN = torch.npu.manual_seed
EMPTY_CACHE_FN = torch.npu.empty_cache
DEVICE_COUNT_FN = torch.npu.device_count`,wrap:!1}}),hs=new h({props:{title:"Distributed training",local:"distributed-training",headingTag:"h3"}}),Js=new w({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QwJTJDMSUyMFJVTl9TTE9XJTNEMSUyMHB5dGVzdCUyMC1zdiUyMHRlc3RzJTJGdGVzdF90cmFpbmVyX2Rpc3RyaWJ1dGVkLnB5",highlighted:"CUDA_VISIBLE_DEVICES=0,1 RUN_SLOW=1 pytest -sv tests/test_trainer_distributed.py",wrap:!1}}),gs=new h({props:{title:"Output capture",local:"output-capture",headingTag:"h3"}}),Us=new w({props:{code:"cHl0ZXN0JTIwLXMlMjB0ZXN0cyUyRnV0aWxzJTJGdGVzdF9sb2dnaW5nLnB5",highlighted:"pytest -s tests/utils/test_logging.py",wrap:!1}}),_s=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMjAtLWp1bml0eG1sJTNEcmVzdWx0LnhtbA==",highlighted:"pytest tests --junitxml=result.xml",wrap:!1}}),Is=new h({props:{title:"Color control",local:"color-control",headingTag:"h3"}}),ks=new w({props:{code:"cHl0ZXN0JTIwLS1jb2xvciUzRG5vJTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:"pytest --color=no tests/utils/test_logging.py",wrap:!1}}),Zs=new h({props:{title:"Sending test report to online pastebin service",local:"sending-test-report-to-online-pastebin-service",headingTag:"h3"}}),Gs=new w({props:{code:"cHl0ZXN0JTIwLS1wYXN0ZWJpbiUzRGZhaWxlZCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:"pytest --pastebin=failed tests/utils/test_logging.py",wrap:!1}}),Vs=new w({props:{code:"cHl0ZXN0JTIwLS1wYXN0ZWJpbiUzRGFsbCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:"pytest --pastebin=all tests/utils/test_logging.py",wrap:!1}}),Rs=new h({props:{title:"Writing tests",local:"writing-tests",headingTag:"h2"}}),Ws=new h({props:{title:"Parametrization",local:"parametrization",headingTag:"h3"}}),Ss=new w({props:{code:"JTIzJTIwdGVzdF90aGlzMS5weSUwQWltcG9ydCUyMHVuaXR0ZXN0JTBBZnJvbSUyMHBhcmFtZXRlcml6ZWQlMjBpbXBvcnQlMjBwYXJhbWV0ZXJpemVkJTBBJTBBJTBBY2xhc3MlMjBUZXN0TWF0aFVuaXRUZXN0KHVuaXR0ZXN0LlRlc3RDYXNlKSUzQSUwQSUyMCUyMCUyMCUyMCU0MHBhcmFtZXRlcml6ZWQuZXhwYW5kKCUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJuZWdhdGl2ZSUyMiUyQyUyMC0xLjUlMkMlMjAtMi4wKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJpbnRlZ2VyJTIyJTJDJTIwMSUyQyUyMDEuMCklMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAoJTIybGFyZ2UlMjBmcmFjdGlvbiUyMiUyQyUyMDEuNiUyQyUyMDEpJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTVEJTBBJTIwJTIwJTIwJTIwKSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3RfZmxvb3Ioc2VsZiUyQyUyMG5hbWUlMkMlMjBpbnB1dCUyQyUyMGV4cGVjdGVkKSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGFzc2VydF9lcXVhbChtYXRoLmZsb29yKGlucHV0KSUyQyUyMGV4cGVjdGVkKQ==",highlighted:`<span class="hljs-comment"># test_this1.py</span>
<span class="hljs-keyword">import</span> unittest
<span class="hljs-keyword">from</span> parameterized <span class="hljs-keyword">import</span> parameterized


<span class="hljs-keyword">class</span> <span class="hljs-title class_">TestMathUnitTest</span>(unittest.TestCase):
<span class="hljs-meta">    @parameterized.expand(<span class="hljs-params">
        [
            (<span class="hljs-params"><span class="hljs-string">&quot;negative&quot;</span>, -<span class="hljs-number">1.5</span>, -<span class="hljs-number">2.0</span></span>),
            (<span class="hljs-params"><span class="hljs-string">&quot;integer&quot;</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1.0</span></span>),
            (<span class="hljs-params"><span class="hljs-string">&quot;large fraction&quot;</span>, <span class="hljs-number">1.6</span>, <span class="hljs-number">1</span></span>),
        ]
    </span>)</span>
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_floor</span>(<span class="hljs-params">self, name, <span class="hljs-built_in">input</span>, expected</span>):
        assert_equal(math.floor(<span class="hljs-built_in">input</span>), expected)`,wrap:!1}}),Es=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJuZWdhdGl2ZSUyMGFuZCUyMGludGVnZXIlMjIlMjB0ZXN0cyUyRnRlc3RfbXl0ZXN0LnB5",highlighted:'pytest -k <span class="hljs-string">&quot;negative and integer&quot;</span> tests/test_mytest.py',wrap:!1}}),Ps=new w({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJub3QlMjBuZWdhdGl2ZSUyMiUyMHRlc3RzJTJGdGVzdF9teXRlc3QucHk=",highlighted:'pytest -k <span class="hljs-string">&quot;not negative&quot;</span> tests/test_mytest.py',wrap:!1}}),qs=new w({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMS5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest test_this1.py --collect-only -q",wrap:!1}}),Ds=new w({props:{code:"dGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzBfbmVnYXRpdmUlMEF0ZXN0X3RoaXMxLnB5JTNBJTNBVGVzdE1hdGhVbml0VGVzdCUzQSUzQXRlc3RfZmxvb3JfMV9pbnRlZ2VyJTBBdGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzJfbGFyZ2VfZnJhY3Rpb24=",highlighted:`test_this1.py::TestMathUnitTest::test_floor_0_negative
test_this1.py::TestMathUnitTest::test_floor_1_integer
test_this1.py::TestMathUnitTest::test_floor_2_large_fraction`,wrap:!1}}),el=new w({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzBfbmVnYXRpdmUlMjAlMjB0ZXN0X3RoaXMxLnB5JTNBJTNBVGVzdE1hdGhVbml0VGVzdCUzQSUzQXRlc3RfZmxvb3JfMV9pbnRlZ2Vy",highlighted:"pytest test_this1.py::TestMathUnitTest::test_floor_0_negative  test_this1.py::TestMathUnitTest::test_floor_1_integer",wrap:!1}}),nl=new w({props:{code:"JTIzJTIwdGVzdF90aGlzMi5weSUwQWltcG9ydCUyMHB5dGVzdCUwQSUwQSUwQSU0MHB5dGVzdC5tYXJrLnBhcmFtZXRyaXplKCUwQSUyMCUyMCUyMCUyMCUyMm5hbWUlMkMlMjBpbnB1dCUyQyUyMGV4cGVjdGVkJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwKCUyMm5lZ2F0aXZlJTIyJTJDJTIwLTEuNSUyQyUyMC0yLjApJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwKCUyMmludGVnZXIlMjIlMkMlMjAxJTJDJTIwMS4wKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJsYXJnZSUyMGZyYWN0aW9uJTIyJTJDJTIwMS42JTJDJTIwMSklMkMlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEEpJTBBZGVmJTIwdGVzdF9mbG9vcihuYW1lJTJDJTIwaW5wdXQlMkMlMjBleHBlY3RlZCklM0ElMEElMjAlMjAlMjAlMjBhc3NlcnRfZXF1YWwobWF0aC5mbG9vcihpbnB1dCklMkMlMjBleHBlY3RlZCk=",highlighted:`<span class="hljs-comment"># test_this2.py</span>
<span class="hljs-keyword">import</span> pytest


<span class="hljs-meta">@pytest.mark.parametrize(<span class="hljs-params">
    <span class="hljs-string">&quot;name, input, expected&quot;</span>,
    [
        (<span class="hljs-params"><span class="hljs-string">&quot;negative&quot;</span>, -<span class="hljs-number">1.5</span>, -<span class="hljs-number">2.0</span></span>),
        (<span class="hljs-params"><span class="hljs-string">&quot;integer&quot;</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1.0</span></span>),
        (<span class="hljs-params"><span class="hljs-string">&quot;large fraction&quot;</span>, <span class="hljs-number">1.6</span>, <span class="hljs-number">1</span></span>),
    ],
</span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_floor</span>(<span class="hljs-params">name, <span class="hljs-built_in">input</span>, expected</span>):
    assert_equal(math.floor(<span class="hljs-built_in">input</span>), expected)`,wrap:!1}}),al=new w({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMi5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest test_this2.py --collect-only -q",wrap:!1}}),ol=new w({props:{code:"dGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJpbnRlZ2VyLTEtMS4wJTVEJTBBdGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJuZWdhdGl2ZS0tMS41LS0yLjAlNUQlMEF0ZXN0X3RoaXMyLnB5JTNBJTNBdGVzdF9mbG9vciU1QmxhcmdlJTIwZnJhY3Rpb24tMS42LTElNUQ=",highlighted:`test_this2.py::test_floor[integer-1-1.0]
test_this2.py::test_floor[negative--1.5--2.0]
test_this2.py::test_floor[large fraction-1.6-1]`,wrap:!1}}),dl=new w({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJuZWdhdGl2ZS0tMS41LS0yLjAlNUQlMjB0ZXN0X3RoaXMyLnB5JTNBJTNBdGVzdF9mbG9vciU1QmludGVnZXItMS0xLjAlNUQ=",highlighted:"pytest test_this2.py::test_floor[negative--1.5--2.0] test_this2.py::test_floor[integer-1-1.0]",wrap:!1}}),fl=new h({props:{title:"Files and directories",local:"files-and-directories",headingTag:"h3"}}),hl=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBQYXRoRXhhbXBsZVRlc3QoVGVzdENhc2VQbHVzKSUzQSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3Rfc29tZXRoaW5nX2ludm9sdmluZ19sb2NhbF9sb2NhdGlvbnMoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBkYXRhX2RpciUyMCUzRCUyMHNlbGYudGVzdHNfZGlyJTIwJTJGJTIwJTIyZml4dHVyZXMlMkZ0ZXN0c19zYW1wbGVzJTJGd210X2VuX3JvJTIy",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">PathExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_involving_local_locations</span>(<span class="hljs-params">self</span>):
        data_dir = self.tests_dir / <span class="hljs-string">&quot;fixtures/tests_samples/wmt_en_ro&quot;</span>`,wrap:!1}}),Ml=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBQYXRoRXhhbXBsZVRlc3QoVGVzdENhc2VQbHVzKSUzQSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3Rfc29tZXRoaW5nX2ludm9sdmluZ19zdHJpbmdpZmllZF9sb2NhdGlvbnMoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBleGFtcGxlc19kaXIlMjAlM0QlMjBzZWxmLmV4YW1wbGVzX2Rpcl9zdHI=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">PathExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_involving_stringified_locations</span>(<span class="hljs-params">self</span>):
        examples_dir = self.examples_dir_str`,wrap:!1}}),Tl=new h({props:{title:"Temporary files and directories",local:"temporary-files-and-directories",headingTag:"h3"}}),jl=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBFeGFtcGxlc1Rlc3RzKFRlc3RDYXNlUGx1cyklM0ElMEElMjAlMjAlMjAlMjBkZWYlMjB0ZXN0X3doYXRldmVyKHNlbGYpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwdG1wX2RpciUyMCUzRCUyMHNlbGYuZ2V0X2F1dG9fcmVtb3ZlX3RtcF9kaXIoKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">ExamplesTests</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
        tmp_dir = self.get_auto_remove_tmp_dir()`,wrap:!1}}),vl=new w({props:{code:"ZGVmJTIwdGVzdF93aGF0ZXZlcihzZWxmKSUzQSUwQSUyMCUyMCUyMCUyMHRtcF9kaXIlMjAlM0QlMjBzZWxmLmdldF9hdXRvX3JlbW92ZV90bXBfZGlyKCk=",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
    tmp_dir = self.get_auto_remove_tmp_dir()`,wrap:!1}}),xl=new w({props:{code:"ZGVmJTIwdGVzdF93aGF0ZXZlcihzZWxmKSUzQSUwQSUyMCUyMCUyMCUyMHRtcF9kaXIlMjAlM0QlMjBzZWxmLmdldF9hdXRvX3JlbW92ZV90bXBfZGlyKCUyMi4lMkZ4eHglMjIp",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
    tmp_dir = self.get_auto_remove_tmp_dir(<span class="hljs-string">&quot;./xxx&quot;</span>)`,wrap:!1}}),j=new Lm({props:{$$slots:{default:[Iw]},$$scope:{ctx:b}}}),C=new Lm({props:{$$slots:{default:[xw]},$$scope:{ctx:b}}}),Hl=new h({props:{title:"Temporary sys.path override",local:"temporary-syspath-override",headingTag:"h3"}}),Bl=new w({props:{code:"aW1wb3J0JTIwb3MlMEFmcm9tJTIwdHJhbnNmb3JtZXJzLnRlc3RpbmdfdXRpbHMlMjBpbXBvcnQlMjBFeHRlbmRTeXNQYXRoJTBBJTBBYmluZGlyJTIwJTNEJTIwb3MucGF0aC5hYnNwYXRoKG9zLnBhdGguZGlybmFtZShfX2ZpbGVfXykpJTBBd2l0aCUyMEV4dGVuZFN5c1BhdGgoZiUyMiU3QmJpbmRpciU3RCUyRi4uJTIyKSUzQSUwQSUyMCUyMCUyMCUyMGZyb20lMjB0ZXN0X3RyYWluZXIlMjBpbXBvcnQlMjBUcmFpbmVySW50ZWdyYXRpb25Db21tb24lMjAlMjAlMjMlMjBub3Fh",highlighted:`<span class="hljs-keyword">import</span> os
<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> ExtendSysPath

bindir = os.path.abspath(os.path.dirname(__file__))
<span class="hljs-keyword">with</span> ExtendSysPath(<span class="hljs-string">f&quot;<span class="hljs-subst">{bindir}</span>/..&quot;</span>):
    <span class="hljs-keyword">from</span> test_trainer <span class="hljs-keyword">import</span> TrainerIntegrationCommon  <span class="hljs-comment"># noqa</span>`,wrap:!1}}),Xl=new h({props:{title:"Skipping tests",local:"skipping-tests",headingTag:"h3"}}),Wl=new h({props:{title:"Implementation",local:"implementation",headingTag:"h4"}}),Sl=new w({props:{code:"JTQwdW5pdHRlc3Quc2tpcChyZWFzb24lM0QlMjJ0aGlzJTIwYnVnJTIwbmVlZHMlMjB0byUyMGJlJTIwZml4ZWQlMjIpJTBBZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQQ==",highlighted:`<span class="hljs-meta">@unittest.skip(<span class="hljs-params">reason=<span class="hljs-string">&quot;this bug needs to be fixed&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`,wrap:!1}}),Fl=new w({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcChyZWFzb24lM0QlMjJ0aGlzJTIwYnVnJTIwbmVlZHMlMjB0byUyMGJlJTIwZml4ZWQlMjIp",highlighted:'<span class="hljs-meta">@pytest.mark.skip(<span class="hljs-params">reason=<span class="hljs-string">&quot;this bug needs to be fixed&quot;</span></span>)</span>',wrap:!1}}),Al=new w({props:{code:"JTQwcHl0ZXN0Lm1hcmsueGZhaWwlMEFkZWYlMjB0ZXN0X2ZlYXR1cmVfeCgpJTNB",highlighted:`<span class="hljs-meta">@pytest.mark.xfail</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`,wrap:!1}}),Yl=new w({props:{code:"ZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQSUwQSUyMCUyMCUyMCUyMGlmJTIwbm90JTIwaGFzX3NvbWV0aGluZygpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcHl0ZXN0LnNraXAoJTIydW5zdXBwb3J0ZWQlMjBjb25maWd1cmF0aW9uJTIyKQ==",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():
    <span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> has_something():
        pytest.skip(<span class="hljs-string">&quot;unsupported configuration&quot;</span>)`,wrap:!1}}),Kl=new w({props:{code:"aW1wb3J0JTIwcHl0ZXN0JTBBJTBBaWYlMjBub3QlMjBweXRlc3QuY29uZmlnLmdldG9wdGlvbiglMjItLWN1c3RvbS1mbGFnJTIyKSUzQSUwQSUyMCUyMCUyMCUyMHB5dGVzdC5za2lwKCUyMi0tY3VzdG9tLWZsYWclMjBpcyUyMG1pc3NpbmclMkMlMjBza2lwcGluZyUyMHRlc3RzJTIyJTJDJTIwYWxsb3dfbW9kdWxlX2xldmVsJTNEVHJ1ZSk=",highlighted:`<span class="hljs-keyword">import</span> pytest

<span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> pytest.config.getoption(<span class="hljs-string">&quot;--custom-flag&quot;</span>):
    pytest.skip(<span class="hljs-string">&quot;--custom-flag is missing, skipping tests&quot;</span>, allow_module_level=<span class="hljs-literal">True</span>)`,wrap:!1}}),Ol=new w({props:{code:"ZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQSUwQSUyMCUyMCUyMCUyMHB5dGVzdC54ZmFpbCglMjJleHBlY3RlZCUyMHRvJTIwZmFpbCUyMHVudGlsJTIwYnVnJTIwWFlaJTIwaXMlMjBmaXhlZCUyMik=",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():
    pytest.xfail(<span class="hljs-string">&quot;expected to fail until bug XYZ is fixed&quot;</span>)`,wrap:!1}}),tn=new w({props:{code:"ZG9jdXRpbHMlMjAlM0QlMjBweXRlc3QuaW1wb3J0b3Jza2lwKCUyMmRvY3V0aWxzJTIyJTJDJTIwbWludmVyc2lvbiUzRCUyMjAuMyUyMik=",highlighted:'docutils = pytest.importorskip(<span class="hljs-string">&quot;docutils&quot;</span>, minversion=<span class="hljs-string">&quot;0.3&quot;</span>)',wrap:!1}}),ln=new w({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcGlmKHN5cy52ZXJzaW9uX2luZm8lMjAlM0MlMjAoMyUyQzYpJTJDJTIwcmVhc29uJTNEJTIycmVxdWlyZXMlMjBweXRob24zLjYlMjBvciUyMGhpZ2hlciUyMiklMEFkZWYlMjB0ZXN0X2ZlYXR1cmVfeCgpJTNB",highlighted:`<span class="hljs-meta">@pytest.mark.skipif(<span class="hljs-params">sys.version_info &lt; (<span class="hljs-params"><span class="hljs-number">3</span>,<span class="hljs-number">6</span></span>), reason=<span class="hljs-string">&quot;requires python3.6 or higher&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`,wrap:!1}}),an=new w({props:{code:"JTQwdW5pdHRlc3Quc2tpcElmKHRvcmNoX2RldmljZSUyMCUzRCUzRCUyMCUyMmNwdSUyMiUyQyUyMCUyMkNhbid0JTIwZG8lMjBoYWxmJTIwcHJlY2lzaW9uJTIyKSUwQWRlZiUyMHRlc3RfZmVhdHVyZV94KCklM0E=",highlighted:`<span class="hljs-meta">@unittest.skipIf(<span class="hljs-params">torch_device == <span class="hljs-string">&quot;cpu&quot;</span>, <span class="hljs-string">&quot;Can&#x27;t do half precision&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`,wrap:!1}}),on=new w({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcGlmKHN5cy5wbGF0Zm9ybSUyMCUzRCUzRCUyMCd3aW4zMiclMkMlMjByZWFzb24lM0QlMjJkb2VzJTIwbm90JTIwcnVuJTIwb24lMjB3aW5kb3dzJTIyKSUwQWNsYXNzJTIwVGVzdENsYXNzKCklM0ElMEElMjAlMjAlMjAlMjBkZWYlMjB0ZXN0X2ZlYXR1cmVfeChzZWxmKSUzQQ==",highlighted:`<span class="hljs-meta">@pytest.mark.skipif(<span class="hljs-params">sys.platform == <span class="hljs-string">&#x27;win32&#x27;</span>, reason=<span class="hljs-string">&quot;does not run on windows&quot;</span></span>)</span>
<span class="hljs-keyword">class</span> <span class="hljs-title class_">TestClass</span>():
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>(<span class="hljs-params">self</span>):`,wrap:!1}}),dn=new h({props:{title:"Slow tests",local:"slow-tests",headingTag:"h3"}}),fn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwc2xvdyUwQSU0MHNsb3clMEFkZWYlMjB0ZXN0X2ludGVncmF0aW9uX2ZvbygpJTNB",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> slow
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`,wrap:!1}}),cn=new w({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHM=",highlighted:"RUN_SLOW=1 pytest tests",wrap:!1}}),hn=new w({props:{code:"JTQwcGFyYW1ldGVyaXplZC5leHBhbmQoLi4uKSUwQSU0MHNsb3clMEFkZWYlMjB0ZXN0X2ludGVncmF0aW9uX2ZvbygpJTNB",highlighted:`<span class="hljs-meta">@parameterized.expand(<span class="hljs-params">...</span>)</span>
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`,wrap:!1}}),Jn=new w({props:{code:"Z3JlcCUyMHRpbnklMjB0ZXN0cyUyMGV4YW1wbGVz",highlighted:"grep tiny tests examples",wrap:!1}}),Un=new h({props:{title:"Testing the stdout/stderr output",local:"testing-the-stdoutstderr-output",headingTag:"h3"}}),_n=new w({props:{code:"aW1wb3J0JTIwc3lzJTBBJTBBJTBBZGVmJTIwcHJpbnRfdG9fc3Rkb3V0KHMpJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQocyklMEElMEElMEFkZWYlMjBwcmludF90b19zdGRlcnIocyklM0ElMEElMjAlMjAlMjAlMjBzeXMuc3RkZXJyLndyaXRlKHMpJTBBJTBBJTBBZGVmJTIwdGVzdF9yZXN1bHRfYW5kX3N0ZG91dChjYXBzeXMpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIySGVsbG8lMjIlMEElMjAlMjAlMjAlMjBwcmludF90b19zdGRvdXQobXNnKSUwQSUyMCUyMCUyMCUyMHByaW50X3RvX3N0ZGVycihtc2cpJTBBJTIwJTIwJTIwJTIwb3V0JTJDJTIwZXJyJTIwJTNEJTIwY2Fwc3lzLnJlYWRvdXRlcnIoKSUyMCUyMCUyMyUyMGNvbnN1bWUlMjB0aGUlMjBjYXB0dXJlZCUyMG91dHB1dCUyMHN0cmVhbXMlMEElMjAlMjAlMjAlMjAlMjMlMjBvcHRpb25hbCUzQSUyMGlmJTIweW91JTIwd2FudCUyMHRvJTIwcmVwbGF5JTIwdGhlJTIwY29uc3VtZWQlMjBzdHJlYW1zJTNBJTBBJTIwJTIwJTIwJTIwc3lzLnN0ZG91dC53cml0ZShvdXQpJTBBJTIwJTIwJTIwJTIwc3lzLnN0ZGVyci53cml0ZShlcnIpJTBBJTIwJTIwJTIwJTIwJTIzJTIwdGVzdCUzQSUwQSUyMCUyMCUyMCUyMGFzc2VydCUyMG1zZyUyMGluJTIwb3V0JTBBJTIwJTIwJTIwJTIwYXNzZXJ0JTIwbXNnJTIwaW4lMjBlcnI=",highlighted:`<span class="hljs-keyword">import</span> sys


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stdout</span>(<span class="hljs-params">s</span>):
    <span class="hljs-built_in">print</span>(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stderr</span>(<span class="hljs-params">s</span>):
    sys.stderr.write(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_result_and_stdout</span>(<span class="hljs-params">capsys</span>):
    msg = <span class="hljs-string">&quot;Hello&quot;</span>
    print_to_stdout(msg)
    print_to_stderr(msg)
    out, err = capsys.readouterr()  <span class="hljs-comment"># consume the captured output streams</span>
    <span class="hljs-comment"># optional: if you want to replay the consumed streams:</span>
    sys.stdout.write(out)
    sys.stderr.write(err)
    <span class="hljs-comment"># test:</span>
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> out
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> err`,wrap:!1}}),xn=new w({props:{code:"ZGVmJTIwcmFpc2VfZXhjZXB0aW9uKG1zZyklM0ElMEElMjAlMjAlMjAlMjByYWlzZSUyMFZhbHVlRXJyb3IobXNnKSUwQSUwQSUwQWRlZiUyMHRlc3Rfc29tZXRoaW5nX2V4Y2VwdGlvbigpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIyTm90JTIwYSUyMGdvb2QlMjB2YWx1ZSUyMiUwQSUyMCUyMCUyMCUyMGVycm9yJTIwJTNEJTIwJTIyJTIyJTBBJTIwJTIwJTIwJTIwdHJ5JTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcmFpc2VfZXhjZXB0aW9uKG1zZyklMEElMjAlMjAlMjAlMjBleGNlcHQlMjBFeGNlcHRpb24lMjBhcyUyMGUlM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlcnJvciUyMCUzRCUyMHN0cihlKSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGFzc2VydCUyMG1zZyUyMGluJTIwZXJyb3IlMkMlMjBmJTIyJTdCbXNnJTdEJTIwaXMlMjBpbiUyMHRoZSUyMGV4Y2VwdGlvbiUzQSU1Q24lN0JlcnJvciU3RCUyMg==",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">raise_exception</span>(<span class="hljs-params">msg</span>):
    <span class="hljs-keyword">raise</span> ValueError(msg)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_exception</span>():
    msg = <span class="hljs-string">&quot;Not a good value&quot;</span>
    error = <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-keyword">try</span>:
        raise_exception(msg)
    <span class="hljs-keyword">except</span> Exception <span class="hljs-keyword">as</span> e:
        error = <span class="hljs-built_in">str</span>(e)
        <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> error, <span class="hljs-string">f&quot;<span class="hljs-subst">{msg}</span> is in the exception:\\n<span class="hljs-subst">{error}</span>&quot;</span>`,wrap:!1}}),Zn=new w({props:{code:"ZnJvbSUyMGlvJTIwaW1wb3J0JTIwU3RyaW5nSU8lMEFmcm9tJTIwY29udGV4dGxpYiUyMGltcG9ydCUyMHJlZGlyZWN0X3N0ZG91dCUwQSUwQSUwQWRlZiUyMHByaW50X3RvX3N0ZG91dChzKSUzQSUwQSUyMCUyMCUyMCUyMHByaW50KHMpJTBBJTBBJTBBZGVmJTIwdGVzdF9yZXN1bHRfYW5kX3N0ZG91dCgpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIySGVsbG8lMjIlMEElMjAlMjAlMjAlMjBidWZmZXIlMjAlM0QlMjBTdHJpbmdJTygpJTBBJTIwJTIwJTIwJTIwd2l0aCUyMHJlZGlyZWN0X3N0ZG91dChidWZmZXIpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcHJpbnRfdG9fc3Rkb3V0KG1zZyklMEElMjAlMjAlMjAlMjBvdXQlMjAlM0QlMjBidWZmZXIuZ2V0dmFsdWUoKSUwQSUyMCUyMCUyMCUyMCUyMyUyMG9wdGlvbmFsJTNBJTIwaWYlMjB5b3UlMjB3YW50JTIwdG8lMjByZXBsYXklMjB0aGUlMjBjb25zdW1lZCUyMHN0cmVhbXMlM0ElMEElMjAlMjAlMjAlMjBzeXMuc3Rkb3V0LndyaXRlKG91dCklMEElMjAlMjAlMjAlMjAlMjMlMjB0ZXN0JTNBJTBBJTIwJTIwJTIwJTIwYXNzZXJ0JTIwbXNnJTIwaW4lMjBvdXQ=",highlighted:`<span class="hljs-keyword">from</span> io <span class="hljs-keyword">import</span> StringIO
<span class="hljs-keyword">from</span> contextlib <span class="hljs-keyword">import</span> redirect_stdout


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stdout</span>(<span class="hljs-params">s</span>):
    <span class="hljs-built_in">print</span>(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_result_and_stdout</span>():
    msg = <span class="hljs-string">&quot;Hello&quot;</span>
    buffer = StringIO()
    <span class="hljs-keyword">with</span> redirect_stdout(buffer):
        print_to_stdout(msg)
    out = buffer.getvalue()
    <span class="hljs-comment"># optional: if you want to replay the consumed streams:</span>
    sys.stdout.write(out)
    <span class="hljs-comment"># test:</span>
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> out`,wrap:!1}}),Bn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZG91dCUwQSUwQXdpdGglMjBDYXB0dXJlU3Rkb3V0KCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3Rkb3V0KCklMEFwcmludChjcy5vdXQp",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStdout

<span class="hljs-keyword">with</span> CaptureStdout() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stdout()
<span class="hljs-built_in">print</span>(cs.out)`,wrap:!1}}),Vn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZG91dCUwQSUwQW1zZyUyMCUzRCUyMCUyMlNlY3JldCUyMG1lc3NhZ2UlNUNyJTIyJTBBZmluYWwlMjAlM0QlMjAlMjJIZWxsbyUyMFdvcmxkJTIyJTBBd2l0aCUyMENhcHR1cmVTdGRvdXQoKSUyMGFzJTIwY3MlM0ElMEElMjAlMjAlMjAlMjBwcmludChtc2clMjAlMkIlMjBmaW5hbCklMEFhc3NlcnQlMjBjcy5vdXQlMjAlM0QlM0QlMjBmaW5hbCUyMCUyQiUyMCUyMiU1Q24lMjIlMkMlMjBmJTIyY2FwdHVyZWQlM0ElMjAlN0Jjcy5vdXQlN0QlMkMlMjBleHBlY3RpbmclMjAlN0JmaW5hbCU3RCUyMg==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStdout

msg = <span class="hljs-string">&quot;Secret message\\r&quot;</span>
final = <span class="hljs-string">&quot;Hello World&quot;</span>
<span class="hljs-keyword">with</span> CaptureStdout() <span class="hljs-keyword">as</span> cs:
    <span class="hljs-built_in">print</span>(msg + final)
<span class="hljs-keyword">assert</span> cs.out == final + <span class="hljs-string">&quot;\\n&quot;</span>, <span class="hljs-string">f&quot;captured: <span class="hljs-subst">{cs.out}</span>, expecting <span class="hljs-subst">{final}</span>&quot;</span>`,wrap:!1}}),Nn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZGVyciUwQSUwQXdpdGglMjBDYXB0dXJlU3RkZXJyKCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3RkZXJyKCklMEFwcmludChjcy5lcnIp",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStderr

<span class="hljs-keyword">with</span> CaptureStderr() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stderr()
<span class="hljs-built_in">print</span>(cs.err)`,wrap:!1}}),Wn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZCUwQSUwQXdpdGglMjBDYXB0dXJlU3RkKCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3Rkb3V0X2FuZF9zdGRlcnIoKSUwQXByaW50KGNzLmVyciUyQyUyMGNzLm91dCk=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStd

<span class="hljs-keyword">with</span> CaptureStd() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stdout_and_stderr()
<span class="hljs-built_in">print</span>(cs.err, cs.out)`,wrap:!1}}),Sn=new h({props:{title:"Capturing logger stream",local:"capturing-logger-stream",headingTag:"h3"}}),Fn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMGxvZ2dpbmclMEFmcm9tJTIwdHJhbnNmb3JtZXJzLnRlc3RpbmdfdXRpbHMlMjBpbXBvcnQlMjBDYXB0dXJlTG9nZ2VyJTBBJTBBbXNnJTIwJTNEJTIwJTIyVGVzdGluZyUyMDElMkMlMjAyJTJDJTIwMyUyMiUwQWxvZ2dpbmcuc2V0X3ZlcmJvc2l0eV9pbmZvKCklMEFsb2dnZXIlMjAlM0QlMjBsb2dnaW5nLmdldF9sb2dnZXIoJTIydHJhbnNmb3JtZXJzLm1vZGVscy5iYXJ0LnRva2VuaXphdGlvbl9iYXJ0JTIyKSUwQXdpdGglMjBDYXB0dXJlTG9nZ2VyKGxvZ2dlciklMjBhcyUyMGNsJTNBJTBBJTIwJTIwJTIwJTIwbG9nZ2VyLmluZm8obXNnKSUwQWFzc2VydCUyMGNsLm91dCUyQyUyMG1zZyUyMCUyQiUyMCUyMiU1Q24lMjI=",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> logging
<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureLogger

msg = <span class="hljs-string">&quot;Testing 1, 2, 3&quot;</span>
logging.set_verbosity_info()
logger = logging.get_logger(<span class="hljs-string">&quot;transformers.models.bart.tokenization_bart&quot;</span>)
<span class="hljs-keyword">with</span> CaptureLogger(logger) <span class="hljs-keyword">as</span> cl:
    logger.info(msg)
<span class="hljs-keyword">assert</span> cl.out, msg + <span class="hljs-string">&quot;\\n&quot;</span>`,wrap:!1}}),En=new h({props:{title:"Testing with environment variables",local:"testing-with-environment-variables",headingTag:"h3"}}),Pn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwbW9ja2VudiUwQSUwQSUwQWNsYXNzJTIwSGZBcmd1bWVudFBhcnNlclRlc3QodW5pdHRlc3QuVGVzdENhc2UpJTNBJTBBJTIwJTIwJTIwJTIwJTQwbW9ja2VudihUUkFOU0ZPUk1FUlNfVkVSQk9TSVRZJTNEJTIyZXJyb3IlMjIpJTBBJTIwJTIwJTIwJTIwZGVmJTIwdGVzdF9lbnZfb3ZlcnJpZGUoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlbnZfbGV2ZWxfc3RyJTIwJTNEJTIwb3MuZ2V0ZW52KCUyMlRSQU5TRk9STUVSU19WRVJCT1NJVFklMjIlMkMlMjBOb25lKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> mockenv


<span class="hljs-keyword">class</span> <span class="hljs-title class_">HfArgumentParserTest</span>(unittest.TestCase):
<span class="hljs-meta">    @mockenv(<span class="hljs-params">TRANSFORMERS_VERBOSITY=<span class="hljs-string">&quot;error&quot;</span></span>)</span>
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_env_override</span>(<span class="hljs-params">self</span>):
        env_level_str = os.getenv(<span class="hljs-string">&quot;TRANSFORMERS_VERBOSITY&quot;</span>, <span class="hljs-literal">None</span>)`,wrap:!1}}),qn=new w({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBFbnZFeGFtcGxlVGVzdChUZXN0Q2FzZVBsdXMpJTNBJTBBJTIwJTIwJTIwJTIwZGVmJTIwdGVzdF9leHRlcm5hbF9wcm9nKHNlbGYpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZW52JTIwJTNEJTIwc2VsZi5nZXRfZW52KCklMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjMlMjBub3clMjBjYWxsJTIwdGhlJTIwZXh0ZXJuYWwlMjBwcm9ncmFtJTJDJTIwcGFzc2luZyUyMCU2MGVudiU2MCUyMHRvJTIwaXQ=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">EnvExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_external_prog</span>(<span class="hljs-params">self</span>):
        env = self.get_env()
        <span class="hljs-comment"># now call the external program, passing \`env\` to it</span>`,wrap:!1}}),On=new h({props:{title:"Getting reproducible results",local:"getting-reproducible-results",headingTag:"h3"}}),ti=new w({props:{code:"c2VlZCUyMCUzRCUyMDQyJTBBJTBBJTIzJTIwcHl0aG9uJTIwUk5HJTBBaW1wb3J0JTIwcmFuZG9tJTBBJTBBcmFuZG9tLnNlZWQoc2VlZCklMEElMEElMjMlMjBweXRvcmNoJTIwUk5HcyUwQWltcG9ydCUyMHRvcmNoJTBBJTBBdG9yY2gubWFudWFsX3NlZWQoc2VlZCklMEF0b3JjaC5iYWNrZW5kcy5jdWRubi5kZXRlcm1pbmlzdGljJTIwJTNEJTIwVHJ1ZSUwQWlmJTIwdG9yY2guY3VkYS5pc19hdmFpbGFibGUoKSUzQSUwQSUyMCUyMCUyMCUyMHRvcmNoLmN1ZGEubWFudWFsX3NlZWRfYWxsKHNlZWQpJTBBJTBBJTIzJTIwbnVtcHklMjBSTkclMEFpbXBvcnQlMjBudW1weSUyMGFzJTIwbnAlMEElMEFucC5yYW5kb20uc2VlZChzZWVkKSUwQSUwQSUyMyUyMHRmJTIwUk5HJTBBaW1wb3J0JTIwdGVuc29yZmxvdyUyMGFzJTIwdGYlMjAlMEElMEF0Zi5yYW5kb20uc2V0X3NlZWQoc2VlZCk=",highlighted:`seed = <span class="hljs-number">42</span>

<span class="hljs-comment"># python RNG</span>
<span class="hljs-keyword">import</span> random

random.seed(seed)

<span class="hljs-comment"># pytorch RNGs</span>
<span class="hljs-keyword">import</span> torch

torch.manual_seed(seed)
torch.backends.cudnn.deterministic = <span class="hljs-literal">True</span>
<span class="hljs-keyword">if</span> torch.cuda.is_available():
    torch.cuda.manual_seed_all(seed)

<span class="hljs-comment"># numpy RNG</span>
<span class="hljs-keyword">import</span> numpy <span class="hljs-keyword">as</span> np

np.random.seed(seed)

<span class="hljs-comment"># tf RNG</span>
<span class="hljs-keyword">import</span> tensorflow <span class="hljs-keyword">as</span> tf 

tf.random.set_seed(seed)`,wrap:!1}}),si=new h({props:{title:"Debugging tests",local:"debugging-tests",headingTag:"h3"}}),ni=new w({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weSUyMC1XJTIwZXJyb3IlM0ElM0FVc2VyV2FybmluZyUyMC0tcGRi",highlighted:"pytest tests/utils/test_logging.py -W error::UserWarning --pdb",wrap:!1}}),ii=new h({props:{title:"Working with github actions workflows",local:"working-with-github-actions-workflows",headingTag:"h2"}}),oi=new h({props:{title:"Testing Experimental CI Features",local:"testing-experimental-ci-features",headingTag:"h2"}}),yi=new w({props:{code:"LSUyMHJ1biUzQSUwQSUyMCUyMCUyMCUyMG5hbWUlM0ElMjBydW4lMjBDSSUyMGV4cGVyaW1lbnQlMEElMjAlMjAlMjAlMjBjb21tYW5kJTNBJTIwJTdDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc2V0JTIwJTJCZXVvJTIwcGlwZWZhaWwlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlY2hvJTIwJTIyc2V0dGluZyUyMHJ1bi1hbGwtZGVzcGl0ZS1hbnktZXJyb3JzLW1vZGUlMjIlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjB0aGlzX2NvbW1hbmRfd2lsbF9mYWlsJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZWNobyUyMCUyMmJ1dCUyMGJhc2glMjBjb250aW51ZXMlMjB0byUyMHJ1biUyMiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMyUyMGVtdWxhdGUlMjBhbm90aGVyJTIwZmFpbHVyZSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGZhbHNlJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIzJTIwYnV0JTIwdGhlJTIwbGFzdCUyMGNvbW1hbmQlMjBtdXN0JTIwYmUlMjBhJTIwc3VjY2VzcyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGVjaG8lMjAlMjJkdXJpbmclMjBleHBlcmltZW50JTIwZG8lMjBub3QlMjByZW1vdmUlM0ElMjByZXBvcnRpbmclMjBzdWNjZXNzJTIwdG8lMjBDSSUyQyUyMGV2ZW4lMjBpZiUyMHRoZXJlJTIwd2VyZSUyMGZhaWx1cmVzJTIy",highlighted:`<span class="hljs-bullet">-</span> <span class="hljs-attr">run:</span>
    <span class="hljs-attr">name:</span> <span class="hljs-string">run</span> <span class="hljs-string">CI</span> <span class="hljs-string">experiment</span>
    <span class="hljs-attr">command:</span> <span class="hljs-string">|
        set +euo pipefail
        echo &quot;setting run-all-despite-any-errors-mode&quot;
        this_command_will_fail
        echo &quot;but bash continues to run&quot;
        # emulate another failure
        false
        # but the last command must be a success
        echo &quot;during experiment do not remove: reporting success to CI, even if there were failures&quot;</span>`,wrap:!1}}),Ti=new w({props:{code:"Y21kX3RoYXRfbWF5X2ZhaWwlMjAlN0MlN0MlMjB0cnVl",highlighted:'cmd_that_may_fail || <span class="hljs-literal">true</span>',wrap:!1}}),ji=new h({props:{title:"DeepSpeed integration",local:"deepspeed-integration",headingTag:"h2"}}),vi=new w({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHMlMkZkZWVwc3BlZWQlMkZ0ZXN0X2RlZXBzcGVlZC5weQ==",highlighted:"RUN_SLOW=1 pytest tests/deepspeed/test_deepspeed.py",wrap:!1}}),Ii=new w({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHMlMkZkZWVwc3BlZWQ=",highlighted:"RUN_SLOW=1 pytest tests/deepspeed",wrap:!1}}),xi=new Uw({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/en/testing.md"}}),{c(){y=a("meta"),T=n(),M=a("p"),$=n(),r(U.$$.fragment),Zi=n(),v=a("p"),v.textContent=Qm,Hi=n(),_=a("p"),_.textContent=Fm,Gi=n(),I=a("ol"),I.innerHTML=Em,Bi=n(),r(x.$$.fragment),Xi=n(),k=a("ol"),k.innerHTML=Am,Vi=n(),r(Z.$$.fragment),Ri=n(),H=a("p"),H.innerHTML=Pm,Ni=n(),r(G.$$.fragment),zi=n(),r(B.$$.fragment),Wi=n(),X=a("p"),X.innerHTML=Ym,Li=n(),V=a("p"),V.textContent=qm,Si=n(),R=a("p"),R.textContent=Km,Qi=n(),r(N.$$.fragment),Fi=n(),z=a("p"),z.textContent=Dm,Ei=n(),r(W.$$.fragment),Ai=n(),L=a("p"),L.textContent=Om,Pi=n(),r(S.$$.fragment),Yi=n(),Q=a("p"),Q.textContent=ef,qi=n(),F=a("ul"),F.innerHTML=tf,Ki=n(),r(E.$$.fragment),Di=n(),A=a("p"),A.textContent=sf,Oi=n(),r(P.$$.fragment),ea=n(),Y=a("p"),Y.textContent=lf,ta=n(),r(q.$$.fragment),sa=n(),r(K.$$.fragment),la=n(),D=a("p"),D.textContent=nf,na=n(),r(O.$$.fragment),ia=n(),r(ee.$$.fragment),aa=n(),te=a("p"),te.textContent=af,pa=n(),r(se.$$.fragment),oa=n(),le=a("p"),le.textContent=pf,ra=n(),ne=a("ul"),ne.innerHTML=of,da=n(),ie=a("p"),ie.textContent=rf,ma=n(),r(ae.$$.fragment),fa=n(),pe=a("p"),pe.textContent=df,ua=n(),oe=a("p"),oe.innerHTML=mf,ca=n(),r(re.$$.fragment),wa=n(),de=a("p"),de.textContent=ff,ha=n(),me=a("p"),me.innerHTML=uf,ya=n(),r(fe.$$.fragment),Ma=n(),ue=a("p"),ue.innerHTML=cf,Ta=n(),ce=a("p"),ce.innerHTML=wf,$a=n(),r(we.$$.fragment),ba=n(),he=a("p"),he.textContent=hf,Ja=n(),r(ye.$$.fragment),ga=n(),Me=a("p"),Me.innerHTML=yf,ja=n(),r(Te.$$.fragment),Ca=n(),$e=a("p"),$e.innerHTML=Mf,Ua=n(),be=a("p"),be.innerHTML=Tf,va=n(),r(Je.$$.fragment),_a=n(),r(ge.$$.fragment),Ia=n(),je=a("p"),je.innerHTML=$f,xa=n(),r(Ce.$$.fragment),ka=n(),r(Ue.$$.fragment),Za=n(),ve=a("p"),ve.innerHTML=bf,Ha=n(),r(_e.$$.fragment),Ga=n(),Ie=a("p"),Ie.textContent=Jf,Ba=n(),r(xe.$$.fragment),Xa=n(),ke=a("p"),ke.innerHTML=gf,Va=n(),r(Ze.$$.fragment),Ra=n(),He=a("p"),He.innerHTML=jf,Na=n(),r(Ge.$$.fragment),za=n(),r(Be.$$.fragment),Wa=n(),Xe=a("p"),Xe.textContent=Cf,La=n(),r(Ve.$$.fragment),Sa=n(),Re=a("p"),Re.innerHTML=Uf,Qa=n(),r(Ne.$$.fragment),Fa=n(),ze=a("p"),ze.innerHTML=vf,Ea=n(),We=a("p"),We.innerHTML=_f,Aa=n(),r(Le.$$.fragment),Pa=n(),Se=a("p"),Se.innerHTML=If,Ya=n(),r(Qe.$$.fragment),qa=n(),Fe=a("p"),Fe.textContent=xf,Ka=n(),Ee=a("p"),Ee.innerHTML=kf,Da=n(),r(Ae.$$.fragment),Oa=n(),Pe=a("p"),Pe.innerHTML=Zf,ep=n(),r(Ye.$$.fragment),tp=n(),r(qe.$$.fragment),sp=n(),Ke=a("p"),Ke.textContent=Hf,lp=n(),r(De.$$.fragment),np=n(),r(Oe.$$.fragment),ip=n(),et=a("p"),et.innerHTML=Gf,ap=n(),tt=a("p"),tt.innerHTML=Bf,pp=n(),st=a("p"),st.innerHTML=Xf,op=n(),r(lt.$$.fragment),rp=n(),nt=a("p"),nt.textContent=Vf,dp=n(),r(it.$$.fragment),mp=n(),at=a("ul"),at.innerHTML=Rf,fp=n(),r(pt.$$.fragment),up=n(),ot=a("p"),ot.textContent=Nf,cp=n(),r(rt.$$.fragment),wp=n(),r(J.$$.fragment),hp=n(),r(g.$$.fragment),yp=n(),r(dt.$$.fragment),Mp=n(),r(mt.$$.fragment),Tp=n(),ft=a("p"),ft.innerHTML=zf,$p=n(),ut=a("p"),ut.innerHTML=Wf,bp=n(),r(ct.$$.fragment),Jp=n(),wt=a("p"),wt.textContent=Lf,gp=n(),r(ht.$$.fragment),jp=n(),yt=a("p"),yt.innerHTML=Sf,Cp=n(),r(Mt.$$.fragment),Up=n(),Tt=a("p"),Tt.textContent=Qf,vp=n(),r($t.$$.fragment),_p=n(),bt=a("p"),bt.innerHTML=Ff,Ip=n(),Jt=a("p"),Jt.innerHTML=Ef,xp=n(),r(gt.$$.fragment),kp=n(),r(jt.$$.fragment),Zp=n(),Ct=a("p"),Ct.innerHTML=Af,Hp=n(),r(Ut.$$.fragment),Gp=n(),vt=a("p"),vt.textContent=Pf,Bp=n(),r(_t.$$.fragment),Xp=n(),It=a("p"),It.textContent=Yf,Vp=n(),r(xt.$$.fragment),Rp=n(),kt=a("p"),kt.innerHTML=qf,Np=n(),r(Zt.$$.fragment),zp=n(),r(Ht.$$.fragment),Wp=n(),Gt=a("p"),Gt.innerHTML=Kf,Lp=n(),r(Bt.$$.fragment),Sp=n(),r(Xt.$$.fragment),Qp=n(),r(Vt.$$.fragment),Fp=n(),Rt=a("p"),Rt.innerHTML=Df,Ep=n(),r(Nt.$$.fragment),Ap=n(),zt=a("p"),zt.innerHTML=Of,Pp=n(),r(Wt.$$.fragment),Yp=n(),Lt=a("p"),Lt.innerHTML=eu,qp=n(),St=a("p"),St.textContent=tu,Kp=n(),Qt=a("p"),Qt.textContent=su,Dp=n(),Ft=a("ul"),Ft.innerHTML=lu,Op=n(),Et=a("p"),Et.textContent=nu,eo=n(),At=a("table"),At.innerHTML=iu,to=n(),Pt=a("p"),Pt.textContent=au,so=n(),r(Yt.$$.fragment),lo=n(),qt=a("p"),qt.innerHTML=pu,no=n(),r(Kt.$$.fragment),io=n(),Dt=a("p"),Dt.textContent=ou,ao=n(),r(Ot.$$.fragment),po=n(),es=a("p"),es.innerHTML=ru,oo=n(),r(ts.$$.fragment),ro=n(),ss=a("p"),ss.innerHTML=du,mo=n(),ls=a("p"),ls.textContent=mu,fo=n(),ns=a("ul"),ns.innerHTML=fu,uo=n(),r(is.$$.fragment),co=n(),r(as.$$.fragment),wo=n(),ps=a("p"),ps.innerHTML=uu,ho=n(),r(os.$$.fragment),yo=n(),rs=a("p"),rs.innerHTML=cu,Mo=n(),ds=a("p"),ds.innerHTML=wu,To=n(),r(ms.$$.fragment),$o=n(),fs=a("p"),fs.innerHTML=hu,bo=n(),r(us.$$.fragment),Jo=n(),cs=a("p"),cs.innerHTML=yu,go=n(),ws=a("p"),ws.innerHTML=Mu,jo=n(),r(hs.$$.fragment),Co=n(),ys=a("p"),ys.innerHTML=Tu,Uo=n(),Ms=a("p"),Ms.textContent=$u,vo=n(),Ts=a("ul"),Ts.innerHTML=bu,_o=n(),$s=a("p"),$s.innerHTML=Ju,Io=n(),bs=a("p"),bs.textContent=gu,xo=n(),r(Js.$$.fragment),ko=n(),r(gs.$$.fragment),Zo=n(),js=a("p"),js.innerHTML=ju,Ho=n(),Cs=a("p"),Cs.innerHTML=Cu,Go=n(),r(Us.$$.fragment),Bo=n(),vs=a("p"),vs.textContent=Uu,Xo=n(),r(_s.$$.fragment),Vo=n(),r(Is.$$.fragment),Ro=n(),xs=a("p"),xs.textContent=vu,No=n(),r(ks.$$.fragment),zo=n(),r(Zs.$$.fragment),Wo=n(),Hs=a("p"),Hs.textContent=_u,Lo=n(),r(Gs.$$.fragment),So=n(),Bs=a("p"),Bs.textContent=Iu,Qo=n(),Xs=a("p"),Xs.textContent=xu,Fo=n(),r(Vs.$$.fragment),Eo=n(),r(Rs.$$.fragment),Ao=n(),Ns=a("p"),Ns.innerHTML=ku,Po=n(),zs=a("p"),zs.innerHTML=Zu,Yo=n(),r(Ws.$$.fragment),qo=n(),Ls=a("p"),Ls.textContent=Hu,Ko=n(),r(Ss.$$.fragment),Do=n(),Qs=a("p"),Qs.innerHTML=Gu,Oo=n(),Fs=a("p"),Fs.innerHTML=Bu,er=n(),r(Es.$$.fragment),tr=n(),As=a("p"),As.innerHTML=Xu,sr=n(),r(Ps.$$.fragment),lr=n(),Ys=a("p"),Ys.innerHTML=Vu,nr=n(),r(qs.$$.fragment),ir=n(),Ks=a("p"),Ks.textContent=Ru,ar=n(),r(Ds.$$.fragment),pr=n(),Os=a("p"),Os.textContent=Nu,or=n(),r(el.$$.fragment),rr=n(),tl=a("p"),tl.innerHTML=zu,dr=n(),sl=a("p"),sl.innerHTML=Wu,mr=n(),ll=a("p"),ll.innerHTML=Lu,fr=n(),r(nl.$$.fragment),ur=n(),il=a("p"),il.innerHTML=Su,cr=n(),r(al.$$.fragment),wr=n(),pl=a("p"),pl.textContent=Qu,hr=n(),r(ol.$$.fragment),yr=n(),rl=a("p"),rl.textContent=Fu,Mr=n(),r(dl.$$.fragment),Tr=n(),ml=a("p"),ml.textContent=Eu,$r=n(),r(fl.$$.fragment),br=n(),ul=a("p"),ul.innerHTML=Au,Jr=n(),cl=a("ul"),cl.innerHTML=Pu,gr=n(),wl=a("p"),wl.innerHTML=Yu,jr=n(),r(hl.$$.fragment),Cr=n(),yl=a("p"),yl.innerHTML=qu,Ur=n(),r(Ml.$$.fragment),vr=n(),r(Tl.$$.fragment),_r=n(),$l=a("p"),$l.innerHTML=Ku,Ir=n(),bl=a("p"),bl.textContent=Du,xr=n(),Jl=a("p"),Jl.innerHTML=Ou,kr=n(),gl=a("p"),gl.textContent=ec,Zr=n(),r(jl.$$.fragment),Hr=n(),Cl=a("p"),Cl.innerHTML=tc,Gr=n(),Ul=a("ul"),Ul.innerHTML=sc,Br=n(),r(vl.$$.fragment),Xr=n(),_l=a("p"),_l.innerHTML=lc,Vr=n(),Il=a("ul"),Il.innerHTML=nc,Rr=n(),r(xl.$$.fragment),Nr=n(),kl=a("p"),kl.textContent=ic,zr=n(),Zl=a("ul"),Zl.innerHTML=ac,Wr=n(),r(j.$$.fragment),Lr=n(),r(C.$$.fragment),Sr=n(),r(Hl.$$.fragment),Qr=n(),Gl=a("p"),Gl.innerHTML=pc,Fr=n(),r(Bl.$$.fragment),Er=n(),r(Xl.$$.fragment),Ar=n(),Vl=a("p"),Vl.innerHTML=oc,Pr=n(),Rl=a("p"),Rl.textContent=rc,Yr=n(),Nl=a("ul"),Nl.innerHTML=dc,qr=n(),zl=a("p"),zl.innerHTML=mc,Kr=n(),r(Wl.$$.fragment),Dr=n(),Ll=a("ul"),Ll.innerHTML=fc,Or=n(),r(Sl.$$.fragment),ed=n(),Ql=a("p"),Ql.textContent=uc,td=n(),r(Fl.$$.fragment),sd=n(),El=a("p"),El.innerHTML=cc,ld=n(),r(Al.$$.fragment),nd=n(),Pl=a("p"),Pl.textContent=wc,id=n(),r(Yl.$$.fragment),ad=n(),ql=a("p"),ql.textContent=hc,pd=n(),r(Kl.$$.fragment),od=n(),Dl=a("p"),Dl.innerHTML=yc,rd=n(),r(Ol.$$.fragment),dd=n(),en=a("ul"),en.innerHTML=Mc,md=n(),r(tn.$$.fragment),fd=n(),sn=a("ul"),sn.innerHTML=Tc,ud=n(),r(ln.$$.fragment),cd=n(),nn=a("p"),nn.textContent=$c,wd=n(),r(an.$$.fragment),hd=n(),pn=a("p"),pn.textContent=bc,yd=n(),r(on.$$.fragment),Md=n(),rn=a("p"),rn.innerHTML=Jc,Td=n(),r(dn.$$.fragment),$d=n(),mn=a("p"),mn.textContent=gc,bd=n(),r(fn.$$.fragment),Jd=n(),un=a("p"),un.innerHTML=jc,gd=n(),r(cn.$$.fragment),jd=n(),wn=a("p"),wn.innerHTML=Cc,Cd=n(),r(hn.$$.fragment),Ud=n(),yn=a("p"),yn.textContent=Uc,vd=n(),Mn=a("p"),Mn.textContent=vc,_d=n(),Tn=a("p"),Tn.textContent=_c,Id=n(),$n=a("ul"),$n.innerHTML=Ic,xd=n(),bn=a("p"),bn.innerHTML=xc,kd=n(),r(Jn.$$.fragment),Zd=n(),gn=a("p"),gn.innerHTML=kc,Hd=n(),jn=a("p"),jn.innerHTML=Zc,Gd=n(),Cn=a("p"),Cn.textContent=Hc,Bd=n(),r(Un.$$.fragment),Xd=n(),vn=a("p"),vn.innerHTML=Gc,Vd=n(),r(_n.$$.fragment),Rd=n(),In=a("p"),In.innerHTML=Bc,Nd=n(),r(xn.$$.fragment),zd=n(),kn=a("p"),kn.innerHTML=Xc,Wd=n(),r(Zn.$$.fragment),Ld=n(),Hn=a("p"),Hn.innerHTML=Vc,Sd=n(),Gn=a("p"),Gn.innerHTML=Rc,Qd=n(),r(Bn.$$.fragment),Fd=n(),Xn=a("p"),Xn.textContent=Nc,Ed=n(),r(Vn.$$.fragment),Ad=n(),Rn=a("p"),Rn.innerHTML=zc,Pd=n(),r(Nn.$$.fragment),Yd=n(),zn=a("p"),zn.innerHTML=Wc,qd=n(),r(Wn.$$.fragment),Kd=n(),Ln=a("p"),Ln.textContent=Lc,Dd=n(),r(Sn.$$.fragment),Od=n(),Qn=a("p"),Qn.innerHTML=Sc,em=n(),r(Fn.$$.fragment),tm=n(),r(En.$$.fragment),sm=n(),An=a("p"),An.innerHTML=Qc,lm=n(),r(Pn.$$.fragment),nm=n(),Yn=a("p"),Yn.innerHTML=Fc,im=n(),r(qn.$$.fragment),am=n(),Kn=a("p"),Kn.innerHTML=Ec,pm=n(),Dn=a("p"),Dn.innerHTML=Ac,om=n(),r(On.$$.fragment),rm=n(),ei=a("p"),ei.textContent=Pc,dm=n(),r(ti.$$.fragment),mm=n(),r(si.$$.fragment),fm=n(),li=a("p"),li.textContent=Yc,um=n(),r(ni.$$.fragment),cm=n(),r(ii.$$.fragment),wm=n(),ai=a("p"),ai.textContent=qc,hm=n(),pi=a("ol"),pi.innerHTML=Kc,ym=n(),r(oi.$$.fragment),Mm=n(),ri=a("p"),ri.textContent=Dc,Tm=n(),di=a("ol"),di.innerHTML=Oc,$m=n(),mi=a("p"),mi.textContent=ew,bm=n(),fi=a("p"),fi.textContent=tw,Jm=n(),ui=a("p"),ui.textContent=sw,gm=n(),ci=a("p"),ci.textContent=lw,jm=n(),wi=a("ol"),wi.innerHTML=nw,Cm=n(),hi=a("p"),hi.textContent=iw,Um=n(),r(yi.$$.fragment),vm=n(),Mi=a("p"),Mi.textContent=aw,_m=n(),r(Ti.$$.fragment),Im=n(),$i=a("p"),$i.innerHTML=pw,xm=n(),bi=a("p"),bi.innerHTML=ow,km=n(),Ji=a("p"),Ji.textContent=rw,Zm=n(),gi=a("ul"),gi.innerHTML=dw,Hm=n(),r(ji.$$.fragment),Gm=n(),Ci=a("p"),Ci.textContent=mw,Bm=n(),Ui=a("p"),Ui.textContent=fw,Xm=n(),r(vi.$$.fragment),Vm=n(),_i=a("p"),_i.textContent=uw,Rm=n(),r(Ii.$$.fragment),Nm=n(),r(xi.$$.fragment),zm=n(),ki=a("p"),this.h()},l(e){const t=jw("svelte-u9bgzb",document.head);y=p(t,"META",{name:!0,content:!0}),t.forEach(s),T=i(e),M=p(e,"P",{}),Mw(M).forEach(s),$=i(e),d(U.$$.fragment,e),Zi=i(e),v=p(e,"P",{"data-svelte-h":!0}),o(v)!=="svelte-1bfeznz"&&(v.textContent=Qm),Hi=i(e),_=p(e,"P",{"data-svelte-h":!0}),o(_)!=="svelte-1468g91"&&(_.textContent=Fm),Gi=i(e),I=p(e,"OL",{"data-svelte-h":!0}),o(I)!=="svelte-u97aul"&&(I.innerHTML=Em),Bi=i(e),d(x.$$.fragment,e),Xi=i(e),k=p(e,"OL",{"data-svelte-h":!0}),o(k)!=="svelte-1xjbri2"&&(k.innerHTML=Am),Vi=i(e),d(Z.$$.fragment,e),Ri=i(e),H=p(e,"P",{"data-svelte-h":!0}),o(H)!=="svelte-labrlq"&&(H.innerHTML=Pm),Ni=i(e),d(G.$$.fragment,e),zi=i(e),d(B.$$.fragment,e),Wi=i(e),X=p(e,"P",{"data-svelte-h":!0}),o(X)!=="svelte-iw7kd9"&&(X.innerHTML=Ym),Li=i(e),V=p(e,"P",{"data-svelte-h":!0}),o(V)!=="svelte-19u85g2"&&(V.textContent=qm),Si=i(e),R=p(e,"P",{"data-svelte-h":!0}),o(R)!=="svelte-1cr0co4"&&(R.textContent=Km),Qi=i(e),d(N.$$.fragment,e),Fi=i(e),z=p(e,"P",{"data-svelte-h":!0}),o(z)!=="svelte-ylttvt"&&(z.textContent=Dm),Ei=i(e),d(W.$$.fragment,e),Ai=i(e),L=p(e,"P",{"data-svelte-h":!0}),o(L)!=="svelte-1y7ruil"&&(L.textContent=Om),Pi=i(e),d(S.$$.fragment,e),Yi=i(e),Q=p(e,"P",{"data-svelte-h":!0}),o(Q)!=="svelte-w4pavv"&&(Q.textContent=ef),qi=i(e),F=p(e,"UL",{"data-svelte-h":!0}),o(F)!=="svelte-1if6plt"&&(F.innerHTML=tf),Ki=i(e),d(E.$$.fragment,e),Di=i(e),A=p(e,"P",{"data-svelte-h":!0}),o(A)!=="svelte-1lo9z46"&&(A.textContent=sf),Oi=i(e),d(P.$$.fragment,e),ea=i(e),Y=p(e,"P",{"data-svelte-h":!0}),o(Y)!=="svelte-1d4pkjf"&&(Y.textContent=lf),ta=i(e),d(q.$$.fragment,e),sa=i(e),d(K.$$.fragment,e),la=i(e),D=p(e,"P",{"data-svelte-h":!0}),o(D)!=="svelte-5hfpb0"&&(D.textContent=nf),na=i(e),d(O.$$.fragment,e),ia=i(e),d(ee.$$.fragment,e),aa=i(e),te=p(e,"P",{"data-svelte-h":!0}),o(te)!=="svelte-c0whf"&&(te.textContent=af),pa=i(e),d(se.$$.fragment,e),oa=i(e),le=p(e,"P",{"data-svelte-h":!0}),o(le)!=="svelte-epkwoc"&&(le.textContent=pf),ra=i(e),ne=p(e,"UL",{"data-svelte-h":!0}),o(ne)!=="svelte-danjdv"&&(ne.innerHTML=of),da=i(e),ie=p(e,"P",{"data-svelte-h":!0}),o(ie)!=="svelte-1gfp00k"&&(ie.textContent=rf),ma=i(e),d(ae.$$.fragment,e),fa=i(e),pe=p(e,"P",{"data-svelte-h":!0}),o(pe)!=="svelte-1sjtmkd"&&(pe.textContent=df),ua=i(e),oe=p(e,"P",{"data-svelte-h":!0}),o(oe)!=="svelte-191iwzc"&&(oe.innerHTML=mf),ca=i(e),d(re.$$.fragment,e),wa=i(e),de=p(e,"P",{"data-svelte-h":!0}),o(de)!=="svelte-1xohq9w"&&(de.textContent=ff),ha=i(e),me=p(e,"P",{"data-svelte-h":!0}),o(me)!=="svelte-17y24cx"&&(me.innerHTML=uf),ya=i(e),d(fe.$$.fragment,e),Ma=i(e),ue=p(e,"P",{"data-svelte-h":!0}),o(ue)!=="svelte-wm70a5"&&(ue.innerHTML=cf),Ta=i(e),ce=p(e,"P",{"data-svelte-h":!0}),o(ce)!=="svelte-1qcofvk"&&(ce.innerHTML=wf),$a=i(e),d(we.$$.fragment,e),ba=i(e),he=p(e,"P",{"data-svelte-h":!0}),o(he)!=="svelte-1v2kf44"&&(he.textContent=hf),Ja=i(e),d(ye.$$.fragment,e),ga=i(e),Me=p(e,"P",{"data-svelte-h":!0}),o(Me)!=="svelte-xpmdqr"&&(Me.innerHTML=yf),ja=i(e),d(Te.$$.fragment,e),Ca=i(e),$e=p(e,"P",{"data-svelte-h":!0}),o($e)!=="svelte-ya3osx"&&($e.innerHTML=Mf),Ua=i(e),be=p(e,"P",{"data-svelte-h":!0}),o(be)!=="svelte-1t5el5c"&&(be.innerHTML=Tf),va=i(e),d(Je.$$.fragment,e),_a=i(e),d(ge.$$.fragment,e),Ia=i(e),je=p(e,"P",{"data-svelte-h":!0}),o(je)!=="svelte-1h9dnrx"&&(je.innerHTML=$f),xa=i(e),d(Ce.$$.fragment,e),ka=i(e),d(Ue.$$.fragment,e),Za=i(e),ve=p(e,"P",{"data-svelte-h":!0}),o(ve)!=="svelte-1rasc5o"&&(ve.innerHTML=bf),Ha=i(e),d(_e.$$.fragment,e),Ga=i(e),Ie=p(e,"P",{"data-svelte-h":!0}),o(Ie)!=="svelte-1xtcf"&&(Ie.textContent=Jf),Ba=i(e),d(xe.$$.fragment,e),Xa=i(e),ke=p(e,"P",{"data-svelte-h":!0}),o(ke)!=="svelte-x564tu"&&(ke.innerHTML=gf),Va=i(e),d(Ze.$$.fragment,e),Ra=i(e),He=p(e,"P",{"data-svelte-h":!0}),o(He)!=="svelte-unvzuu"&&(He.innerHTML=jf),Na=i(e),d(Ge.$$.fragment,e),za=i(e),d(Be.$$.fragment,e),Wa=i(e),Xe=p(e,"P",{"data-svelte-h":!0}),o(Xe)!=="svelte-15u7bp5"&&(Xe.textContent=Cf),La=i(e),d(Ve.$$.fragment,e),Sa=i(e),Re=p(e,"P",{"data-svelte-h":!0}),o(Re)!=="svelte-vt8irn"&&(Re.innerHTML=Uf),Qa=i(e),d(Ne.$$.fragment,e),Fa=i(e),ze=p(e,"P",{"data-svelte-h":!0}),o(ze)!=="svelte-6ajs78"&&(ze.innerHTML=vf),Ea=i(e),We=p(e,"P",{"data-svelte-h":!0}),o(We)!=="svelte-gj7k8m"&&(We.innerHTML=_f),Aa=i(e),d(Le.$$.fragment,e),Pa=i(e),Se=p(e,"P",{"data-svelte-h":!0}),o(Se)!=="svelte-159ynhd"&&(Se.innerHTML=If),Ya=i(e),d(Qe.$$.fragment,e),qa=i(e),Fe=p(e,"P",{"data-svelte-h":!0}),o(Fe)!=="svelte-1ee4njf"&&(Fe.textContent=xf),Ka=i(e),Ee=p(e,"P",{"data-svelte-h":!0}),o(Ee)!=="svelte-1ax2n5m"&&(Ee.innerHTML=kf),Da=i(e),d(Ae.$$.fragment,e),Oa=i(e),Pe=p(e,"P",{"data-svelte-h":!0}),o(Pe)!=="svelte-avos7q"&&(Pe.innerHTML=Zf),ep=i(e),d(Ye.$$.fragment,e),tp=i(e),d(qe.$$.fragment,e),sp=i(e),Ke=p(e,"P",{"data-svelte-h":!0}),o(Ke)!=="svelte-stzunx"&&(Ke.textContent=Hf),lp=i(e),d(De.$$.fragment,e),np=i(e),d(Oe.$$.fragment,e),ip=i(e),et=p(e,"P",{"data-svelte-h":!0}),o(et)!=="svelte-1pmvtt0"&&(et.innerHTML=Gf),ap=i(e),tt=p(e,"P",{"data-svelte-h":!0}),o(tt)!=="svelte-1nsqbht"&&(tt.innerHTML=Bf),pp=i(e),st=p(e,"P",{"data-svelte-h":!0}),o(st)!=="svelte-1m3hksa"&&(st.innerHTML=Xf),op=i(e),d(lt.$$.fragment,e),rp=i(e),nt=p(e,"P",{"data-svelte-h":!0}),o(nt)!=="svelte-15ioki4"&&(nt.textContent=Vf),dp=i(e),d(it.$$.fragment,e),mp=i(e),at=p(e,"UL",{"data-svelte-h":!0}),o(at)!=="svelte-1mmgi4h"&&(at.innerHTML=Rf),fp=i(e),d(pt.$$.fragment,e),up=i(e),ot=p(e,"P",{"data-svelte-h":!0}),o(ot)!=="svelte-18b9tpg"&&(ot.textContent=Nf),cp=i(e),d(rt.$$.fragment,e),wp=i(e),d(J.$$.fragment,e),hp=i(e),d(g.$$.fragment,e),yp=i(e),d(dt.$$.fragment,e),Mp=i(e),d(mt.$$.fragment,e),Tp=i(e),ft=p(e,"P",{"data-svelte-h":!0}),o(ft)!=="svelte-f8h5dv"&&(ft.innerHTML=zf),$p=i(e),ut=p(e,"P",{"data-svelte-h":!0}),o(ut)!=="svelte-7bnqvo"&&(ut.innerHTML=Wf),bp=i(e),d(ct.$$.fragment,e),Jp=i(e),wt=p(e,"P",{"data-svelte-h":!0}),o(wt)!=="svelte-fmmfnt"&&(wt.textContent=Lf),gp=i(e),d(ht.$$.fragment,e),jp=i(e),yt=p(e,"P",{"data-svelte-h":!0}),o(yt)!=="svelte-13ddfrq"&&(yt.innerHTML=Sf),Cp=i(e),d(Mt.$$.fragment,e),Up=i(e),Tt=p(e,"P",{"data-svelte-h":!0}),o(Tt)!=="svelte-1wfinax"&&(Tt.textContent=Qf),vp=i(e),d($t.$$.fragment,e),_p=i(e),bt=p(e,"P",{"data-svelte-h":!0}),o(bt)!=="svelte-1ur3h1j"&&(bt.innerHTML=Ff),Ip=i(e),Jt=p(e,"P",{"data-svelte-h":!0}),o(Jt)!=="svelte-joumxu"&&(Jt.innerHTML=Ef),xp=i(e),d(gt.$$.fragment,e),kp=i(e),d(jt.$$.fragment,e),Zp=i(e),Ct=p(e,"P",{"data-svelte-h":!0}),o(Ct)!=="svelte-1l9hk1w"&&(Ct.innerHTML=Af),Hp=i(e),d(Ut.$$.fragment,e),Gp=i(e),vt=p(e,"P",{"data-svelte-h":!0}),o(vt)!=="svelte-imfw4r"&&(vt.textContent=Pf),Bp=i(e),d(_t.$$.fragment,e),Xp=i(e),It=p(e,"P",{"data-svelte-h":!0}),o(It)!=="svelte-14pjrdm"&&(It.textContent=Yf),Vp=i(e),d(xt.$$.fragment,e),Rp=i(e),kt=p(e,"P",{"data-svelte-h":!0}),o(kt)!=="svelte-umw6ao"&&(kt.innerHTML=qf),Np=i(e),d(Zt.$$.fragment,e),zp=i(e),d(Ht.$$.fragment,e),Wp=i(e),Gt=p(e,"P",{"data-svelte-h":!0}),o(Gt)!=="svelte-1yhn8j7"&&(Gt.innerHTML=Kf),Lp=i(e),d(Bt.$$.fragment,e),Sp=i(e),d(Xt.$$.fragment,e),Qp=i(e),d(Vt.$$.fragment,e),Fp=i(e),Rt=p(e,"P",{"data-svelte-h":!0}),o(Rt)!=="svelte-1u4prm5"&&(Rt.innerHTML=Df),Ep=i(e),d(Nt.$$.fragment,e),Ap=i(e),zt=p(e,"P",{"data-svelte-h":!0}),o(zt)!=="svelte-1udju7w"&&(zt.innerHTML=Of),Pp=i(e),d(Wt.$$.fragment,e),Yp=i(e),Lt=p(e,"P",{"data-svelte-h":!0}),o(Lt)!=="svelte-g9ucd4"&&(Lt.innerHTML=eu),qp=i(e),St=p(e,"P",{"data-svelte-h":!0}),o(St)!=="svelte-1ws7l6h"&&(St.textContent=tu),Kp=i(e),Qt=p(e,"P",{"data-svelte-h":!0}),o(Qt)!=="svelte-540k28"&&(Qt.textContent=su),Dp=i(e),Ft=p(e,"UL",{"data-svelte-h":!0}),o(Ft)!=="svelte-1y3o981"&&(Ft.innerHTML=lu),Op=i(e),Et=p(e,"P",{"data-svelte-h":!0}),o(Et)!=="svelte-utz14"&&(Et.textContent=nu),eo=i(e),At=p(e,"TABLE",{"data-svelte-h":!0}),o(At)!=="svelte-anw2cl"&&(At.innerHTML=iu),to=i(e),Pt=p(e,"P",{"data-svelte-h":!0}),o(Pt)!=="svelte-f7k590"&&(Pt.textContent=au),so=i(e),d(Yt.$$.fragment,e),lo=i(e),qt=p(e,"P",{"data-svelte-h":!0}),o(qt)!=="svelte-1h8vitx"&&(qt.innerHTML=pu),no=i(e),d(Kt.$$.fragment,e),io=i(e),Dt=p(e,"P",{"data-svelte-h":!0}),o(Dt)!=="svelte-ffnm4q"&&(Dt.textContent=ou),ao=i(e),d(Ot.$$.fragment,e),po=i(e),es=p(e,"P",{"data-svelte-h":!0}),o(es)!=="svelte-353xix"&&(es.innerHTML=ru),oo=i(e),d(ts.$$.fragment,e),ro=i(e),ss=p(e,"P",{"data-svelte-h":!0}),o(ss)!=="svelte-v3nbmf"&&(ss.innerHTML=du),mo=i(e),ls=p(e,"P",{"data-svelte-h":!0}),o(ls)!=="svelte-u2pw3h"&&(ls.textContent=mu),fo=i(e),ns=p(e,"UL",{"data-svelte-h":!0}),o(ns)!=="svelte-3jen5c"&&(ns.innerHTML=fu),uo=i(e),d(is.$$.fragment,e),co=i(e),d(as.$$.fragment,e),wo=i(e),ps=p(e,"P",{"data-svelte-h":!0}),o(ps)!=="svelte-db62h"&&(ps.innerHTML=uu),ho=i(e),d(os.$$.fragment,e),yo=i(e),rs=p(e,"P",{"data-svelte-h":!0}),o(rs)!=="svelte-d9enng"&&(rs.innerHTML=cu),Mo=i(e),ds=p(e,"P",{"data-svelte-h":!0}),o(ds)!=="svelte-178tu9q"&&(ds.innerHTML=wu),To=i(e),d(ms.$$.fragment,e),$o=i(e),fs=p(e,"P",{"data-svelte-h":!0}),o(fs)!=="svelte-xiji8b"&&(fs.innerHTML=hu),bo=i(e),d(us.$$.fragment,e),Jo=i(e),cs=p(e,"P",{"data-svelte-h":!0}),o(cs)!=="svelte-9y3zhl"&&(cs.innerHTML=yu),go=i(e),ws=p(e,"P",{"data-svelte-h":!0}),o(ws)!=="svelte-l1wddx"&&(ws.innerHTML=Mu),jo=i(e),d(hs.$$.fragment,e),Co=i(e),ys=p(e,"P",{"data-svelte-h":!0}),o(ys)!=="svelte-12mggyp"&&(ys.innerHTML=Tu),Uo=i(e),Ms=p(e,"P",{"data-svelte-h":!0}),o(Ms)!=="svelte-4caaxc"&&(Ms.textContent=$u),vo=i(e),Ts=p(e,"UL",{"data-svelte-h":!0}),o(Ts)!=="svelte-m5pydi"&&(Ts.innerHTML=bu),_o=i(e),$s=p(e,"P",{"data-svelte-h":!0}),o($s)!=="svelte-qqwmn6"&&($s.innerHTML=Ju),Io=i(e),bs=p(e,"P",{"data-svelte-h":!0}),o(bs)!=="svelte-qc147d"&&(bs.textContent=gu),xo=i(e),d(Js.$$.fragment,e),ko=i(e),d(gs.$$.fragment,e),Zo=i(e),js=p(e,"P",{"data-svelte-h":!0}),o(js)!=="svelte-1bsvp4y"&&(js.innerHTML=ju),Ho=i(e),Cs=p(e,"P",{"data-svelte-h":!0}),o(Cs)!=="svelte-1gq9tao"&&(Cs.innerHTML=Cu),Go=i(e),d(Us.$$.fragment,e),Bo=i(e),vs=p(e,"P",{"data-svelte-h":!0}),o(vs)!=="svelte-euahrc"&&(vs.textContent=Uu),Xo=i(e),d(_s.$$.fragment,e),Vo=i(e),d(Is.$$.fragment,e),Ro=i(e),xs=p(e,"P",{"data-svelte-h":!0}),o(xs)!=="svelte-dng90j"&&(xs.textContent=vu),No=i(e),d(ks.$$.fragment,e),zo=i(e),d(Zs.$$.fragment,e),Wo=i(e),Hs=p(e,"P",{"data-svelte-h":!0}),o(Hs)!=="svelte-1w4eg93"&&(Hs.textContent=_u),Lo=i(e),d(Gs.$$.fragment,e),So=i(e),Bs=p(e,"P",{"data-svelte-h":!0}),o(Bs)!=="svelte-weqhq8"&&(Bs.textContent=Iu),Qo=i(e),Xs=p(e,"P",{"data-svelte-h":!0}),o(Xs)!=="svelte-bpmeeu"&&(Xs.textContent=xu),Fo=i(e),d(Vs.$$.fragment,e),Eo=i(e),d(Rs.$$.fragment,e),Ao=i(e),Ns=p(e,"P",{"data-svelte-h":!0}),o(Ns)!=="svelte-eorfz6"&&(Ns.innerHTML=ku),Po=i(e),zs=p(e,"P",{"data-svelte-h":!0}),o(zs)!=="svelte-1ygwz5h"&&(zs.innerHTML=Zu),Yo=i(e),d(Ws.$$.fragment,e),qo=i(e),Ls=p(e,"P",{"data-svelte-h":!0}),o(Ls)!=="svelte-snf8ke"&&(Ls.textContent=Hu),Ko=i(e),d(Ss.$$.fragment,e),Do=i(e),Qs=p(e,"P",{"data-svelte-h":!0}),o(Qs)!=="svelte-1737hyy"&&(Qs.innerHTML=Gu),Oo=i(e),Fs=p(e,"P",{"data-svelte-h":!0}),o(Fs)!=="svelte-1oufrw1"&&(Fs.innerHTML=Bu),er=i(e),d(Es.$$.fragment,e),tr=i(e),As=p(e,"P",{"data-svelte-h":!0}),o(As)!=="svelte-1tl0nx7"&&(As.innerHTML=Xu),sr=i(e),d(Ps.$$.fragment,e),lr=i(e),Ys=p(e,"P",{"data-svelte-h":!0}),o(Ys)!=="svelte-19gvkao"&&(Ys.innerHTML=Vu),nr=i(e),d(qs.$$.fragment,e),ir=i(e),Ks=p(e,"P",{"data-svelte-h":!0}),o(Ks)!=="svelte-4rsktk"&&(Ks.textContent=Ru),ar=i(e),d(Ds.$$.fragment,e),pr=i(e),Os=p(e,"P",{"data-svelte-h":!0}),o(Os)!=="svelte-6ynunq"&&(Os.textContent=Nu),or=i(e),d(el.$$.fragment,e),rr=i(e),tl=p(e,"P",{"data-svelte-h":!0}),o(tl)!=="svelte-1pfiycl"&&(tl.innerHTML=zu),dr=i(e),sl=p(e,"P",{"data-svelte-h":!0}),o(sl)!=="svelte-1ygobi4"&&(sl.innerHTML=Wu),mr=i(e),ll=p(e,"P",{"data-svelte-h":!0}),o(ll)!=="svelte-qhi9ux"&&(ll.innerHTML=Lu),fr=i(e),d(nl.$$.fragment,e),ur=i(e),il=p(e,"P",{"data-svelte-h":!0}),o(il)!=="svelte-e797ol"&&(il.innerHTML=Su),cr=i(e),d(al.$$.fragment,e),wr=i(e),pl=p(e,"P",{"data-svelte-h":!0}),o(pl)!=="svelte-4rsktk"&&(pl.textContent=Qu),hr=i(e),d(ol.$$.fragment,e),yr=i(e),rl=p(e,"P",{"data-svelte-h":!0}),o(rl)!=="svelte-1pp8dat"&&(rl.textContent=Fu),Mr=i(e),d(dl.$$.fragment,e),Tr=i(e),ml=p(e,"P",{"data-svelte-h":!0}),o(ml)!=="svelte-wcwikf"&&(ml.textContent=Eu),$r=i(e),d(fl.$$.fragment,e),br=i(e),ul=p(e,"P",{"data-svelte-h":!0}),o(ul)!=="svelte-ggv3l3"&&(ul.innerHTML=Au),Jr=i(e),cl=p(e,"UL",{"data-svelte-h":!0}),o(cl)!=="svelte-jurlci"&&(cl.innerHTML=Pu),gr=i(e),wl=p(e,"P",{"data-svelte-h":!0}),o(wl)!=="svelte-91az3w"&&(wl.innerHTML=Yu),jr=i(e),d(hl.$$.fragment,e),Cr=i(e),yl=p(e,"P",{"data-svelte-h":!0}),o(yl)!=="svelte-rjyeyp"&&(yl.innerHTML=qu),Ur=i(e),d(Ml.$$.fragment,e),vr=i(e),d(Tl.$$.fragment,e),_r=i(e),$l=p(e,"P",{"data-svelte-h":!0}),o($l)!=="svelte-1vmbsy3"&&($l.innerHTML=Ku),Ir=i(e),bl=p(e,"P",{"data-svelte-h":!0}),o(bl)!=="svelte-1nqxzoj"&&(bl.textContent=Du),xr=i(e),Jl=p(e,"P",{"data-svelte-h":!0}),o(Jl)!=="svelte-1lx14g9"&&(Jl.innerHTML=Ou),kr=i(e),gl=p(e,"P",{"data-svelte-h":!0}),o(gl)!=="svelte-ga57nj"&&(gl.textContent=ec),Zr=i(e),d(jl.$$.fragment,e),Hr=i(e),Cl=p(e,"P",{"data-svelte-h":!0}),o(Cl)!=="svelte-1flfm4w"&&(Cl.innerHTML=tc),Gr=i(e),Ul=p(e,"UL",{"data-svelte-h":!0}),o(Ul)!=="svelte-1rvelqv"&&(Ul.innerHTML=sc),Br=i(e),d(vl.$$.fragment,e),Xr=i(e),_l=p(e,"P",{"data-svelte-h":!0}),o(_l)!=="svelte-1vcgtp4"&&(_l.innerHTML=lc),Vr=i(e),Il=p(e,"UL",{"data-svelte-h":!0}),o(Il)!=="svelte-1v175v7"&&(Il.innerHTML=nc),Rr=i(e),d(xl.$$.fragment,e),Nr=i(e),kl=p(e,"P",{"data-svelte-h":!0}),o(kl)!=="svelte-pk8usg"&&(kl.textContent=ic),zr=i(e),Zl=p(e,"UL",{"data-svelte-h":!0}),o(Zl)!=="svelte-17enf76"&&(Zl.innerHTML=ac),Wr=i(e),d(j.$$.fragment,e),Lr=i(e),d(C.$$.fragment,e),Sr=i(e),d(Hl.$$.fragment,e),Qr=i(e),Gl=p(e,"P",{"data-svelte-h":!0}),o(Gl)!=="svelte-1blmp1h"&&(Gl.innerHTML=pc),Fr=i(e),d(Bl.$$.fragment,e),Er=i(e),d(Xl.$$.fragment,e),Ar=i(e),Vl=p(e,"P",{"data-svelte-h":!0}),o(Vl)!=="svelte-dlsjg1"&&(Vl.innerHTML=oc),Pr=i(e),Rl=p(e,"P",{"data-svelte-h":!0}),o(Rl)!=="svelte-14pqgk8"&&(Rl.textContent=rc),Yr=i(e),Nl=p(e,"UL",{"data-svelte-h":!0}),o(Nl)!=="svelte-y68pnm"&&(Nl.innerHTML=dc),qr=i(e),zl=p(e,"P",{"data-svelte-h":!0}),o(zl)!=="svelte-1c4q1t0"&&(zl.innerHTML=mc),Kr=i(e),d(Wl.$$.fragment,e),Dr=i(e),Ll=p(e,"UL",{"data-svelte-h":!0}),o(Ll)!=="svelte-1hhtdwa"&&(Ll.innerHTML=fc),Or=i(e),d(Sl.$$.fragment,e),ed=i(e),Ql=p(e,"P",{"data-svelte-h":!0}),o(Ql)!=="svelte-15p8ism"&&(Ql.textContent=uc),td=i(e),d(Fl.$$.fragment,e),sd=i(e),El=p(e,"P",{"data-svelte-h":!0}),o(El)!=="svelte-td5r6o"&&(El.innerHTML=cc),ld=i(e),d(Al.$$.fragment,e),nd=i(e),Pl=p(e,"P",{"data-svelte-h":!0}),o(Pl)!=="svelte-11quoxt"&&(Pl.textContent=wc),id=i(e),d(Yl.$$.fragment,e),ad=i(e),ql=p(e,"P",{"data-svelte-h":!0}),o(ql)!=="svelte-1hcnf1h"&&(ql.textContent=hc),pd=i(e),d(Kl.$$.fragment,e),od=i(e),Dl=p(e,"P",{"data-svelte-h":!0}),o(Dl)!=="svelte-td5r6o"&&(Dl.innerHTML=yc),rd=i(e),d(Ol.$$.fragment,e),dd=i(e),en=p(e,"UL",{"data-svelte-h":!0}),o(en)!=="svelte-15o6zb5"&&(en.innerHTML=Mc),md=i(e),d(tn.$$.fragment,e),fd=i(e),sn=p(e,"UL",{"data-svelte-h":!0}),o(sn)!=="svelte-e2w3rp"&&(sn.innerHTML=Tc),ud=i(e),d(ln.$$.fragment,e),cd=i(e),nn=p(e,"P",{"data-svelte-h":!0}),o(nn)!=="svelte-ylttvt"&&(nn.textContent=$c),wd=i(e),d(an.$$.fragment,e),hd=i(e),pn=p(e,"P",{"data-svelte-h":!0}),o(pn)!=="svelte-1uqdrdi"&&(pn.textContent=bc),yd=i(e),d(on.$$.fragment,e),Md=i(e),rn=p(e,"P",{"data-svelte-h":!0}),o(rn)!=="svelte-mlyx41"&&(rn.innerHTML=Jc),Td=i(e),d(dn.$$.fragment,e),$d=i(e),mn=p(e,"P",{"data-svelte-h":!0}),o(mn)!=="svelte-1hy2jf0"&&(mn.textContent=gc),bd=i(e),d(fn.$$.fragment,e),Jd=i(e),un=p(e,"P",{"data-svelte-h":!0}),o(un)!=="svelte-1szno4g"&&(un.innerHTML=jc),gd=i(e),d(cn.$$.fragment,e),jd=i(e),wn=p(e,"P",{"data-svelte-h":!0}),o(wn)!=="svelte-1apnezy"&&(wn.innerHTML=Cc),Cd=i(e),d(hn.$$.fragment,e),Ud=i(e),yn=p(e,"P",{"data-svelte-h":!0}),o(yn)!=="svelte-rf3maz"&&(yn.textContent=Uc),vd=i(e),Mn=p(e,"P",{"data-svelte-h":!0}),o(Mn)!=="svelte-1tipejs"&&(Mn.textContent=vc),_d=i(e),Tn=p(e,"P",{"data-svelte-h":!0}),o(Tn)!=="svelte-7rit7z"&&(Tn.textContent=_c),Id=i(e),$n=p(e,"UL",{"data-svelte-h":!0}),o($n)!=="svelte-1kul420"&&($n.innerHTML=Ic),xd=i(e),bn=p(e,"P",{"data-svelte-h":!0}),o(bn)!=="svelte-zoj47i"&&(bn.innerHTML=xc),kd=i(e),d(Jn.$$.fragment,e),Zd=i(e),gn=p(e,"P",{"data-svelte-h":!0}),o(gn)!=="svelte-l3670z"&&(gn.innerHTML=kc),Hd=i(e),jn=p(e,"P",{"data-svelte-h":!0}),o(jn)!=="svelte-94izzk"&&(jn.innerHTML=Zc),Gd=i(e),Cn=p(e,"P",{"data-svelte-h":!0}),o(Cn)!=="svelte-14cphpq"&&(Cn.textContent=Hc),Bd=i(e),d(Un.$$.fragment,e),Xd=i(e),vn=p(e,"P",{"data-svelte-h":!0}),o(vn)!=="svelte-lkbhi"&&(vn.innerHTML=Gc),Vd=i(e),d(_n.$$.fragment,e),Rd=i(e),In=p(e,"P",{"data-svelte-h":!0}),o(In)!=="svelte-y7erom"&&(In.innerHTML=Bc),Nd=i(e),d(xn.$$.fragment,e),zd=i(e),kn=p(e,"P",{"data-svelte-h":!0}),o(kn)!=="svelte-1hn7f4z"&&(kn.innerHTML=Xc),Wd=i(e),d(Zn.$$.fragment,e),Ld=i(e),Hn=p(e,"P",{"data-svelte-h":!0}),o(Hn)!=="svelte-1apzdyq"&&(Hn.innerHTML=Vc),Sd=i(e),Gn=p(e,"P",{"data-svelte-h":!0}),o(Gn)!=="svelte-1uzq8t5"&&(Gn.innerHTML=Rc),Qd=i(e),d(Bn.$$.fragment,e),Fd=i(e),Xn=p(e,"P",{"data-svelte-h":!0}),o(Xn)!=="svelte-zun07a"&&(Xn.textContent=Nc),Ed=i(e),d(Vn.$$.fragment,e),Ad=i(e),Rn=p(e,"P",{"data-svelte-h":!0}),o(Rn)!=="svelte-ovlbpn"&&(Rn.innerHTML=zc),Pd=i(e),d(Nn.$$.fragment,e),Yd=i(e),zn=p(e,"P",{"data-svelte-h":!0}),o(zn)!=="svelte-1tcp04v"&&(zn.innerHTML=Wc),qd=i(e),d(Wn.$$.fragment,e),Kd=i(e),Ln=p(e,"P",{"data-svelte-h":!0}),o(Ln)!=="svelte-9q1cwt"&&(Ln.textContent=Lc),Dd=i(e),d(Sn.$$.fragment,e),Od=i(e),Qn=p(e,"P",{"data-svelte-h":!0}),o(Qn)!=="svelte-vnemvg"&&(Qn.innerHTML=Sc),em=i(e),d(Fn.$$.fragment,e),tm=i(e),d(En.$$.fragment,e),sm=i(e),An=p(e,"P",{"data-svelte-h":!0}),o(An)!=="svelte-kw5cnh"&&(An.innerHTML=Qc),lm=i(e),d(Pn.$$.fragment,e),nm=i(e),Yn=p(e,"P",{"data-svelte-h":!0}),o(Yn)!=="svelte-147mt1i"&&(Yn.innerHTML=Fc),im=i(e),d(qn.$$.fragment,e),am=i(e),Kn=p(e,"P",{"data-svelte-h":!0}),o(Kn)!=="svelte-1ppwycl"&&(Kn.innerHTML=Ec),pm=i(e),Dn=p(e,"P",{"data-svelte-h":!0}),o(Dn)!=="svelte-1wla2hx"&&(Dn.innerHTML=Ac),om=i(e),d(On.$$.fragment,e),rm=i(e),ei=p(e,"P",{"data-svelte-h":!0}),o(ei)!=="svelte-85vvld"&&(ei.textContent=Pc),dm=i(e),d(ti.$$.fragment,e),mm=i(e),d(si.$$.fragment,e),fm=i(e),li=p(e,"P",{"data-svelte-h":!0}),o(li)!=="svelte-10j78ug"&&(li.textContent=Yc),um=i(e),d(ni.$$.fragment,e),cm=i(e),d(ii.$$.fragment,e),wm=i(e),ai=p(e,"P",{"data-svelte-h":!0}),o(ai)!=="svelte-1i5zdaf"&&(ai.textContent=qc),hm=i(e),pi=p(e,"OL",{"data-svelte-h":!0}),o(pi)!=="svelte-16qtrad"&&(pi.innerHTML=Kc),ym=i(e),d(oi.$$.fragment,e),Mm=i(e),ri=p(e,"P",{"data-svelte-h":!0}),o(ri)!=="svelte-bmnf8q"&&(ri.textContent=Dc),Tm=i(e),di=p(e,"OL",{"data-svelte-h":!0}),o(di)!=="svelte-gem8u9"&&(di.innerHTML=Oc),$m=i(e),mi=p(e,"P",{"data-svelte-h":!0}),o(mi)!=="svelte-gr2fu5"&&(mi.textContent=ew),bm=i(e),fi=p(e,"P",{"data-svelte-h":!0}),o(fi)!=="svelte-1wcop4v"&&(fi.textContent=tw),Jm=i(e),ui=p(e,"P",{"data-svelte-h":!0}),o(ui)!=="svelte-45u4zb"&&(ui.textContent=sw),gm=i(e),ci=p(e,"P",{"data-svelte-h":!0}),o(ci)!=="svelte-puvloo"&&(ci.textContent=lw),jm=i(e),wi=p(e,"OL",{"data-svelte-h":!0}),o(wi)!=="svelte-8lbm08"&&(wi.innerHTML=nw),Cm=i(e),hi=p(e,"P",{"data-svelte-h":!0}),o(hi)!=="svelte-1240csr"&&(hi.textContent=iw),Um=i(e),d(yi.$$.fragment,e),vm=i(e),Mi=p(e,"P",{"data-svelte-h":!0}),o(Mi)!=="svelte-7dixon"&&(Mi.textContent=aw),_m=i(e),d(Ti.$$.fragment,e),Im=i(e),$i=p(e,"P",{"data-svelte-h":!0}),o($i)!=="svelte-hcmust"&&($i.innerHTML=pw),xm=i(e),bi=p(e,"P",{"data-svelte-h":!0}),o(bi)!=="svelte-61pj3v"&&(bi.innerHTML=ow),km=i(e),Ji=p(e,"P",{"data-svelte-h":!0}),o(Ji)!=="svelte-ty6adq"&&(Ji.textContent=rw),Zm=i(e),gi=p(e,"UL",{"data-svelte-h":!0}),o(gi)!=="svelte-ikwit4"&&(gi.innerHTML=dw),Hm=i(e),d(ji.$$.fragment,e),Gm=i(e),Ci=p(e,"P",{"data-svelte-h":!0}),o(Ci)!=="svelte-dysj7y"&&(Ci.textContent=mw),Bm=i(e),Ui=p(e,"P",{"data-svelte-h":!0}),o(Ui)!=="svelte-i82w3a"&&(Ui.textContent=fw),Xm=i(e),d(vi.$$.fragment,e),Vm=i(e),_i=p(e,"P",{"data-svelte-h":!0}),o(_i)!=="svelte-1awjoc2"&&(_i.textContent=uw),Rm=i(e),d(Ii.$$.fragment,e),Nm=i(e),d(xi.$$.fragment,e),zm=i(e),ki=p(e,"P",{}),Mw(ki).forEach(s),this.h()},h(){Tw(y,"name","hf:doc:metadata"),Tw(y,"content",Zw)},m(e,t){Cw(document.head,y),l(e,T,t),l(e,M,t),l(e,$,t),m(U,e,t),l(e,Zi,t),l(e,v,t),l(e,Hi,t),l(e,_,t),l(e,Gi,t),l(e,I,t),l(e,Bi,t),m(x,e,t),l(e,Xi,t),l(e,k,t),l(e,Vi,t),m(Z,e,t),l(e,Ri,t),l(e,H,t),l(e,Ni,t),m(G,e,t),l(e,zi,t),m(B,e,t),l(e,Wi,t),l(e,X,t),l(e,Li,t),l(e,V,t),l(e,Si,t),l(e,R,t),l(e,Qi,t),m(N,e,t),l(e,Fi,t),l(e,z,t),l(e,Ei,t),m(W,e,t),l(e,Ai,t),l(e,L,t),l(e,Pi,t),m(S,e,t),l(e,Yi,t),l(e,Q,t),l(e,qi,t),l(e,F,t),l(e,Ki,t),m(E,e,t),l(e,Di,t),l(e,A,t),l(e,Oi,t),m(P,e,t),l(e,ea,t),l(e,Y,t),l(e,ta,t),m(q,e,t),l(e,sa,t),m(K,e,t),l(e,la,t),l(e,D,t),l(e,na,t),m(O,e,t),l(e,ia,t),m(ee,e,t),l(e,aa,t),l(e,te,t),l(e,pa,t),m(se,e,t),l(e,oa,t),l(e,le,t),l(e,ra,t),l(e,ne,t),l(e,da,t),l(e,ie,t),l(e,ma,t),m(ae,e,t),l(e,fa,t),l(e,pe,t),l(e,ua,t),l(e,oe,t),l(e,ca,t),m(re,e,t),l(e,wa,t),l(e,de,t),l(e,ha,t),l(e,me,t),l(e,ya,t),m(fe,e,t),l(e,Ma,t),l(e,ue,t),l(e,Ta,t),l(e,ce,t),l(e,$a,t),m(we,e,t),l(e,ba,t),l(e,he,t),l(e,Ja,t),m(ye,e,t),l(e,ga,t),l(e,Me,t),l(e,ja,t),m(Te,e,t),l(e,Ca,t),l(e,$e,t),l(e,Ua,t),l(e,be,t),l(e,va,t),m(Je,e,t),l(e,_a,t),m(ge,e,t),l(e,Ia,t),l(e,je,t),l(e,xa,t),m(Ce,e,t),l(e,ka,t),m(Ue,e,t),l(e,Za,t),l(e,ve,t),l(e,Ha,t),m(_e,e,t),l(e,Ga,t),l(e,Ie,t),l(e,Ba,t),m(xe,e,t),l(e,Xa,t),l(e,ke,t),l(e,Va,t),m(Ze,e,t),l(e,Ra,t),l(e,He,t),l(e,Na,t),m(Ge,e,t),l(e,za,t),m(Be,e,t),l(e,Wa,t),l(e,Xe,t),l(e,La,t),m(Ve,e,t),l(e,Sa,t),l(e,Re,t),l(e,Qa,t),m(Ne,e,t),l(e,Fa,t),l(e,ze,t),l(e,Ea,t),l(e,We,t),l(e,Aa,t),m(Le,e,t),l(e,Pa,t),l(e,Se,t),l(e,Ya,t),m(Qe,e,t),l(e,qa,t),l(e,Fe,t),l(e,Ka,t),l(e,Ee,t),l(e,Da,t),m(Ae,e,t),l(e,Oa,t),l(e,Pe,t),l(e,ep,t),m(Ye,e,t),l(e,tp,t),m(qe,e,t),l(e,sp,t),l(e,Ke,t),l(e,lp,t),m(De,e,t),l(e,np,t),m(Oe,e,t),l(e,ip,t),l(e,et,t),l(e,ap,t),l(e,tt,t),l(e,pp,t),l(e,st,t),l(e,op,t),m(lt,e,t),l(e,rp,t),l(e,nt,t),l(e,dp,t),m(it,e,t),l(e,mp,t),l(e,at,t),l(e,fp,t),m(pt,e,t),l(e,up,t),l(e,ot,t),l(e,cp,t),m(rt,e,t),l(e,wp,t),m(J,e,t),l(e,hp,t),m(g,e,t),l(e,yp,t),m(dt,e,t),l(e,Mp,t),m(mt,e,t),l(e,Tp,t),l(e,ft,t),l(e,$p,t),l(e,ut,t),l(e,bp,t),m(ct,e,t),l(e,Jp,t),l(e,wt,t),l(e,gp,t),m(ht,e,t),l(e,jp,t),l(e,yt,t),l(e,Cp,t),m(Mt,e,t),l(e,Up,t),l(e,Tt,t),l(e,vp,t),m($t,e,t),l(e,_p,t),l(e,bt,t),l(e,Ip,t),l(e,Jt,t),l(e,xp,t),m(gt,e,t),l(e,kp,t),m(jt,e,t),l(e,Zp,t),l(e,Ct,t),l(e,Hp,t),m(Ut,e,t),l(e,Gp,t),l(e,vt,t),l(e,Bp,t),m(_t,e,t),l(e,Xp,t),l(e,It,t),l(e,Vp,t),m(xt,e,t),l(e,Rp,t),l(e,kt,t),l(e,Np,t),m(Zt,e,t),l(e,zp,t),m(Ht,e,t),l(e,Wp,t),l(e,Gt,t),l(e,Lp,t),m(Bt,e,t),l(e,Sp,t),m(Xt,e,t),l(e,Qp,t),m(Vt,e,t),l(e,Fp,t),l(e,Rt,t),l(e,Ep,t),m(Nt,e,t),l(e,Ap,t),l(e,zt,t),l(e,Pp,t),m(Wt,e,t),l(e,Yp,t),l(e,Lt,t),l(e,qp,t),l(e,St,t),l(e,Kp,t),l(e,Qt,t),l(e,Dp,t),l(e,Ft,t),l(e,Op,t),l(e,Et,t),l(e,eo,t),l(e,At,t),l(e,to,t),l(e,Pt,t),l(e,so,t),m(Yt,e,t),l(e,lo,t),l(e,qt,t),l(e,no,t),m(Kt,e,t),l(e,io,t),l(e,Dt,t),l(e,ao,t),m(Ot,e,t),l(e,po,t),l(e,es,t),l(e,oo,t),m(ts,e,t),l(e,ro,t),l(e,ss,t),l(e,mo,t),l(e,ls,t),l(e,fo,t),l(e,ns,t),l(e,uo,t),m(is,e,t),l(e,co,t),m(as,e,t),l(e,wo,t),l(e,ps,t),l(e,ho,t),m(os,e,t),l(e,yo,t),l(e,rs,t),l(e,Mo,t),l(e,ds,t),l(e,To,t),m(ms,e,t),l(e,$o,t),l(e,fs,t),l(e,bo,t),m(us,e,t),l(e,Jo,t),l(e,cs,t),l(e,go,t),l(e,ws,t),l(e,jo,t),m(hs,e,t),l(e,Co,t),l(e,ys,t),l(e,Uo,t),l(e,Ms,t),l(e,vo,t),l(e,Ts,t),l(e,_o,t),l(e,$s,t),l(e,Io,t),l(e,bs,t),l(e,xo,t),m(Js,e,t),l(e,ko,t),m(gs,e,t),l(e,Zo,t),l(e,js,t),l(e,Ho,t),l(e,Cs,t),l(e,Go,t),m(Us,e,t),l(e,Bo,t),l(e,vs,t),l(e,Xo,t),m(_s,e,t),l(e,Vo,t),m(Is,e,t),l(e,Ro,t),l(e,xs,t),l(e,No,t),m(ks,e,t),l(e,zo,t),m(Zs,e,t),l(e,Wo,t),l(e,Hs,t),l(e,Lo,t),m(Gs,e,t),l(e,So,t),l(e,Bs,t),l(e,Qo,t),l(e,Xs,t),l(e,Fo,t),m(Vs,e,t),l(e,Eo,t),m(Rs,e,t),l(e,Ao,t),l(e,Ns,t),l(e,Po,t),l(e,zs,t),l(e,Yo,t),m(Ws,e,t),l(e,qo,t),l(e,Ls,t),l(e,Ko,t),m(Ss,e,t),l(e,Do,t),l(e,Qs,t),l(e,Oo,t),l(e,Fs,t),l(e,er,t),m(Es,e,t),l(e,tr,t),l(e,As,t),l(e,sr,t),m(Ps,e,t),l(e,lr,t),l(e,Ys,t),l(e,nr,t),m(qs,e,t),l(e,ir,t),l(e,Ks,t),l(e,ar,t),m(Ds,e,t),l(e,pr,t),l(e,Os,t),l(e,or,t),m(el,e,t),l(e,rr,t),l(e,tl,t),l(e,dr,t),l(e,sl,t),l(e,mr,t),l(e,ll,t),l(e,fr,t),m(nl,e,t),l(e,ur,t),l(e,il,t),l(e,cr,t),m(al,e,t),l(e,wr,t),l(e,pl,t),l(e,hr,t),m(ol,e,t),l(e,yr,t),l(e,rl,t),l(e,Mr,t),m(dl,e,t),l(e,Tr,t),l(e,ml,t),l(e,$r,t),m(fl,e,t),l(e,br,t),l(e,ul,t),l(e,Jr,t),l(e,cl,t),l(e,gr,t),l(e,wl,t),l(e,jr,t),m(hl,e,t),l(e,Cr,t),l(e,yl,t),l(e,Ur,t),m(Ml,e,t),l(e,vr,t),m(Tl,e,t),l(e,_r,t),l(e,$l,t),l(e,Ir,t),l(e,bl,t),l(e,xr,t),l(e,Jl,t),l(e,kr,t),l(e,gl,t),l(e,Zr,t),m(jl,e,t),l(e,Hr,t),l(e,Cl,t),l(e,Gr,t),l(e,Ul,t),l(e,Br,t),m(vl,e,t),l(e,Xr,t),l(e,_l,t),l(e,Vr,t),l(e,Il,t),l(e,Rr,t),m(xl,e,t),l(e,Nr,t),l(e,kl,t),l(e,zr,t),l(e,Zl,t),l(e,Wr,t),m(j,e,t),l(e,Lr,t),m(C,e,t),l(e,Sr,t),m(Hl,e,t),l(e,Qr,t),l(e,Gl,t),l(e,Fr,t),m(Bl,e,t),l(e,Er,t),m(Xl,e,t),l(e,Ar,t),l(e,Vl,t),l(e,Pr,t),l(e,Rl,t),l(e,Yr,t),l(e,Nl,t),l(e,qr,t),l(e,zl,t),l(e,Kr,t),m(Wl,e,t),l(e,Dr,t),l(e,Ll,t),l(e,Or,t),m(Sl,e,t),l(e,ed,t),l(e,Ql,t),l(e,td,t),m(Fl,e,t),l(e,sd,t),l(e,El,t),l(e,ld,t),m(Al,e,t),l(e,nd,t),l(e,Pl,t),l(e,id,t),m(Yl,e,t),l(e,ad,t),l(e,ql,t),l(e,pd,t),m(Kl,e,t),l(e,od,t),l(e,Dl,t),l(e,rd,t),m(Ol,e,t),l(e,dd,t),l(e,en,t),l(e,md,t),m(tn,e,t),l(e,fd,t),l(e,sn,t),l(e,ud,t),m(ln,e,t),l(e,cd,t),l(e,nn,t),l(e,wd,t),m(an,e,t),l(e,hd,t),l(e,pn,t),l(e,yd,t),m(on,e,t),l(e,Md,t),l(e,rn,t),l(e,Td,t),m(dn,e,t),l(e,$d,t),l(e,mn,t),l(e,bd,t),m(fn,e,t),l(e,Jd,t),l(e,un,t),l(e,gd,t),m(cn,e,t),l(e,jd,t),l(e,wn,t),l(e,Cd,t),m(hn,e,t),l(e,Ud,t),l(e,yn,t),l(e,vd,t),l(e,Mn,t),l(e,_d,t),l(e,Tn,t),l(e,Id,t),l(e,$n,t),l(e,xd,t),l(e,bn,t),l(e,kd,t),m(Jn,e,t),l(e,Zd,t),l(e,gn,t),l(e,Hd,t),l(e,jn,t),l(e,Gd,t),l(e,Cn,t),l(e,Bd,t),m(Un,e,t),l(e,Xd,t),l(e,vn,t),l(e,Vd,t),m(_n,e,t),l(e,Rd,t),l(e,In,t),l(e,Nd,t),m(xn,e,t),l(e,zd,t),l(e,kn,t),l(e,Wd,t),m(Zn,e,t),l(e,Ld,t),l(e,Hn,t),l(e,Sd,t),l(e,Gn,t),l(e,Qd,t),m(Bn,e,t),l(e,Fd,t),l(e,Xn,t),l(e,Ed,t),m(Vn,e,t),l(e,Ad,t),l(e,Rn,t),l(e,Pd,t),m(Nn,e,t),l(e,Yd,t),l(e,zn,t),l(e,qd,t),m(Wn,e,t),l(e,Kd,t),l(e,Ln,t),l(e,Dd,t),m(Sn,e,t),l(e,Od,t),l(e,Qn,t),l(e,em,t),m(Fn,e,t),l(e,tm,t),m(En,e,t),l(e,sm,t),l(e,An,t),l(e,lm,t),m(Pn,e,t),l(e,nm,t),l(e,Yn,t),l(e,im,t),m(qn,e,t),l(e,am,t),l(e,Kn,t),l(e,pm,t),l(e,Dn,t),l(e,om,t),m(On,e,t),l(e,rm,t),l(e,ei,t),l(e,dm,t),m(ti,e,t),l(e,mm,t),m(si,e,t),l(e,fm,t),l(e,li,t),l(e,um,t),m(ni,e,t),l(e,cm,t),m(ii,e,t),l(e,wm,t),l(e,ai,t),l(e,hm,t),l(e,pi,t),l(e,ym,t),m(oi,e,t),l(e,Mm,t),l(e,ri,t),l(e,Tm,t),l(e,di,t),l(e,$m,t),l(e,mi,t),l(e,bm,t),l(e,fi,t),l(e,Jm,t),l(e,ui,t),l(e,gm,t),l(e,ci,t),l(e,jm,t),l(e,wi,t),l(e,Cm,t),l(e,hi,t),l(e,Um,t),m(yi,e,t),l(e,vm,t),l(e,Mi,t),l(e,_m,t),m(Ti,e,t),l(e,Im,t),l(e,$i,t),l(e,xm,t),l(e,bi,t),l(e,km,t),l(e,Ji,t),l(e,Zm,t),l(e,gi,t),l(e,Hm,t),m(ji,e,t),l(e,Gm,t),l(e,Ci,t),l(e,Bm,t),l(e,Ui,t),l(e,Xm,t),m(vi,e,t),l(e,Vm,t),l(e,_i,t),l(e,Rm,t),m(Ii,e,t),l(e,Nm,t),m(xi,e,t),l(e,zm,t),l(e,ki,t),Wm=!0},p(e,[t]){const cw={};t&2&&(cw.$$scope={dirty:t,ctx:e}),J.$set(cw);const ww={};t&2&&(ww.$$scope={dirty:t,ctx:e}),g.$set(ww);const hw={};t&2&&(hw.$$scope={dirty:t,ctx:e}),j.$set(hw);const yw={};t&2&&(yw.$$scope={dirty:t,ctx:e}),C.$set(yw)},i(e){Wm||(f(U.$$.fragment,e),f(x.$$.fragment,e),f(Z.$$.fragment,e),f(G.$$.fragment,e),f(B.$$.fragment,e),f(N.$$.fragment,e),f(W.$$.fragment,e),f(S.$$.fragment,e),f(E.$$.fragment,e),f(P.$$.fragment,e),f(q.$$.fragment,e),f(K.$$.fragment,e),f(O.$$.fragment,e),f(ee.$$.fragment,e),f(se.$$.fragment,e),f(ae.$$.fragment,e),f(re.$$.fragment,e),f(fe.$$.fragment,e),f(we.$$.fragment,e),f(ye.$$.fragment,e),f(Te.$$.fragment,e),f(Je.$$.fragment,e),f(ge.$$.fragment,e),f(Ce.$$.fragment,e),f(Ue.$$.fragment,e),f(_e.$$.fragment,e),f(xe.$$.fragment,e),f(Ze.$$.fragment,e),f(Ge.$$.fragment,e),f(Be.$$.fragment,e),f(Ve.$$.fragment,e),f(Ne.$$.fragment,e),f(Le.$$.fragment,e),f(Qe.$$.fragment,e),f(Ae.$$.fragment,e),f(Ye.$$.fragment,e),f(qe.$$.fragment,e),f(De.$$.fragment,e),f(Oe.$$.fragment,e),f(lt.$$.fragment,e),f(it.$$.fragment,e),f(pt.$$.fragment,e),f(rt.$$.fragment,e),f(J.$$.fragment,e),f(g.$$.fragment,e),f(dt.$$.fragment,e),f(mt.$$.fragment,e),f(ct.$$.fragment,e),f(ht.$$.fragment,e),f(Mt.$$.fragment,e),f($t.$$.fragment,e),f(gt.$$.fragment,e),f(jt.$$.fragment,e),f(Ut.$$.fragment,e),f(_t.$$.fragment,e),f(xt.$$.fragment,e),f(Zt.$$.fragment,e),f(Ht.$$.fragment,e),f(Bt.$$.fragment,e),f(Xt.$$.fragment,e),f(Vt.$$.fragment,e),f(Nt.$$.fragment,e),f(Wt.$$.fragment,e),f(Yt.$$.fragment,e),f(Kt.$$.fragment,e),f(Ot.$$.fragment,e),f(ts.$$.fragment,e),f(is.$$.fragment,e),f(as.$$.fragment,e),f(os.$$.fragment,e),f(ms.$$.fragment,e),f(us.$$.fragment,e),f(hs.$$.fragment,e),f(Js.$$.fragment,e),f(gs.$$.fragment,e),f(Us.$$.fragment,e),f(_s.$$.fragment,e),f(Is.$$.fragment,e),f(ks.$$.fragment,e),f(Zs.$$.fragment,e),f(Gs.$$.fragment,e),f(Vs.$$.fragment,e),f(Rs.$$.fragment,e),f(Ws.$$.fragment,e),f(Ss.$$.fragment,e),f(Es.$$.fragment,e),f(Ps.$$.fragment,e),f(qs.$$.fragment,e),f(Ds.$$.fragment,e),f(el.$$.fragment,e),f(nl.$$.fragment,e),f(al.$$.fragment,e),f(ol.$$.fragment,e),f(dl.$$.fragment,e),f(fl.$$.fragment,e),f(hl.$$.fragment,e),f(Ml.$$.fragment,e),f(Tl.$$.fragment,e),f(jl.$$.fragment,e),f(vl.$$.fragment,e),f(xl.$$.fragment,e),f(j.$$.fragment,e),f(C.$$.fragment,e),f(Hl.$$.fragment,e),f(Bl.$$.fragment,e),f(Xl.$$.fragment,e),f(Wl.$$.fragment,e),f(Sl.$$.fragment,e),f(Fl.$$.fragment,e),f(Al.$$.fragment,e),f(Yl.$$.fragment,e),f(Kl.$$.fragment,e),f(Ol.$$.fragment,e),f(tn.$$.fragment,e),f(ln.$$.fragment,e),f(an.$$.fragment,e),f(on.$$.fragment,e),f(dn.$$.fragment,e),f(fn.$$.fragment,e),f(cn.$$.fragment,e),f(hn.$$.fragment,e),f(Jn.$$.fragment,e),f(Un.$$.fragment,e),f(_n.$$.fragment,e),f(xn.$$.fragment,e),f(Zn.$$.fragment,e),f(Bn.$$.fragment,e),f(Vn.$$.fragment,e),f(Nn.$$.fragment,e),f(Wn.$$.fragment,e),f(Sn.$$.fragment,e),f(Fn.$$.fragment,e),f(En.$$.fragment,e),f(Pn.$$.fragment,e),f(qn.$$.fragment,e),f(On.$$.fragment,e),f(ti.$$.fragment,e),f(si.$$.fragment,e),f(ni.$$.fragment,e),f(ii.$$.fragment,e),f(oi.$$.fragment,e),f(yi.$$.fragment,e),f(Ti.$$.fragment,e),f(ji.$$.fragment,e),f(vi.$$.fragment,e),f(Ii.$$.fragment,e),f(xi.$$.fragment,e),Wm=!0)},o(e){u(U.$$.fragment,e),u(x.$$.fragment,e),u(Z.$$.fragment,e),u(G.$$.fragment,e),u(B.$$.fragment,e),u(N.$$.fragment,e),u(W.$$.fragment,e),u(S.$$.fragment,e),u(E.$$.fragment,e),u(P.$$.fragment,e),u(q.$$.fragment,e),u(K.$$.fragment,e),u(O.$$.fragment,e),u(ee.$$.fragment,e),u(se.$$.fragment,e),u(ae.$$.fragment,e),u(re.$$.fragment,e),u(fe.$$.fragment,e),u(we.$$.fragment,e),u(ye.$$.fragment,e),u(Te.$$.fragment,e),u(Je.$$.fragment,e),u(ge.$$.fragment,e),u(Ce.$$.fragment,e),u(Ue.$$.fragment,e),u(_e.$$.fragment,e),u(xe.$$.fragment,e),u(Ze.$$.fragment,e),u(Ge.$$.fragment,e),u(Be.$$.fragment,e),u(Ve.$$.fragment,e),u(Ne.$$.fragment,e),u(Le.$$.fragment,e),u(Qe.$$.fragment,e),u(Ae.$$.fragment,e),u(Ye.$$.fragment,e),u(qe.$$.fragment,e),u(De.$$.fragment,e),u(Oe.$$.fragment,e),u(lt.$$.fragment,e),u(it.$$.fragment,e),u(pt.$$.fragment,e),u(rt.$$.fragment,e),u(J.$$.fragment,e),u(g.$$.fragment,e),u(dt.$$.fragment,e),u(mt.$$.fragment,e),u(ct.$$.fragment,e),u(ht.$$.fragment,e),u(Mt.$$.fragment,e),u($t.$$.fragment,e),u(gt.$$.fragment,e),u(jt.$$.fragment,e),u(Ut.$$.fragment,e),u(_t.$$.fragment,e),u(xt.$$.fragment,e),u(Zt.$$.fragment,e),u(Ht.$$.fragment,e),u(Bt.$$.fragment,e),u(Xt.$$.fragment,e),u(Vt.$$.fragment,e),u(Nt.$$.fragment,e),u(Wt.$$.fragment,e),u(Yt.$$.fragment,e),u(Kt.$$.fragment,e),u(Ot.$$.fragment,e),u(ts.$$.fragment,e),u(is.$$.fragment,e),u(as.$$.fragment,e),u(os.$$.fragment,e),u(ms.$$.fragment,e),u(us.$$.fragment,e),u(hs.$$.fragment,e),u(Js.$$.fragment,e),u(gs.$$.fragment,e),u(Us.$$.fragment,e),u(_s.$$.fragment,e),u(Is.$$.fragment,e),u(ks.$$.fragment,e),u(Zs.$$.fragment,e),u(Gs.$$.fragment,e),u(Vs.$$.fragment,e),u(Rs.$$.fragment,e),u(Ws.$$.fragment,e),u(Ss.$$.fragment,e),u(Es.$$.fragment,e),u(Ps.$$.fragment,e),u(qs.$$.fragment,e),u(Ds.$$.fragment,e),u(el.$$.fragment,e),u(nl.$$.fragment,e),u(al.$$.fragment,e),u(ol.$$.fragment,e),u(dl.$$.fragment,e),u(fl.$$.fragment,e),u(hl.$$.fragment,e),u(Ml.$$.fragment,e),u(Tl.$$.fragment,e),u(jl.$$.fragment,e),u(vl.$$.fragment,e),u(xl.$$.fragment,e),u(j.$$.fragment,e),u(C.$$.fragment,e),u(Hl.$$.fragment,e),u(Bl.$$.fragment,e),u(Xl.$$.fragment,e),u(Wl.$$.fragment,e),u(Sl.$$.fragment,e),u(Fl.$$.fragment,e),u(Al.$$.fragment,e),u(Yl.$$.fragment,e),u(Kl.$$.fragment,e),u(Ol.$$.fragment,e),u(tn.$$.fragment,e),u(ln.$$.fragment,e),u(an.$$.fragment,e),u(on.$$.fragment,e),u(dn.$$.fragment,e),u(fn.$$.fragment,e),u(cn.$$.fragment,e),u(hn.$$.fragment,e),u(Jn.$$.fragment,e),u(Un.$$.fragment,e),u(_n.$$.fragment,e),u(xn.$$.fragment,e),u(Zn.$$.fragment,e),u(Bn.$$.fragment,e),u(Vn.$$.fragment,e),u(Nn.$$.fragment,e),u(Wn.$$.fragment,e),u(Sn.$$.fragment,e),u(Fn.$$.fragment,e),u(En.$$.fragment,e),u(Pn.$$.fragment,e),u(qn.$$.fragment,e),u(On.$$.fragment,e),u(ti.$$.fragment,e),u(si.$$.fragment,e),u(ni.$$.fragment,e),u(ii.$$.fragment,e),u(oi.$$.fragment,e),u(yi.$$.fragment,e),u(Ti.$$.fragment,e),u(ji.$$.fragment,e),u(vi.$$.fragment,e),u(Ii.$$.fragment,e),u(xi.$$.fragment,e),Wm=!1},d(e){e&&(s(T),s(M),s($),s(Zi),s(v),s(Hi),s(_),s(Gi),s(I),s(Bi),s(Xi),s(k),s(Vi),s(Ri),s(H),s(Ni),s(zi),s(Wi),s(X),s(Li),s(V),s(Si),s(R),s(Qi),s(Fi),s(z),s(Ei),s(Ai),s(L),s(Pi),s(Yi),s(Q),s(qi),s(F),s(Ki),s(Di),s(A),s(Oi),s(ea),s(Y),s(ta),s(sa),s(la),s(D),s(na),s(ia),s(aa),s(te),s(pa),s(oa),s(le),s(ra),s(ne),s(da),s(ie),s(ma),s(fa),s(pe),s(ua),s(oe),s(ca),s(wa),s(de),s(ha),s(me),s(ya),s(Ma),s(ue),s(Ta),s(ce),s($a),s(ba),s(he),s(Ja),s(ga),s(Me),s(ja),s(Ca),s($e),s(Ua),s(be),s(va),s(_a),s(Ia),s(je),s(xa),s(ka),s(Za),s(ve),s(Ha),s(Ga),s(Ie),s(Ba),s(Xa),s(ke),s(Va),s(Ra),s(He),s(Na),s(za),s(Wa),s(Xe),s(La),s(Sa),s(Re),s(Qa),s(Fa),s(ze),s(Ea),s(We),s(Aa),s(Pa),s(Se),s(Ya),s(qa),s(Fe),s(Ka),s(Ee),s(Da),s(Oa),s(Pe),s(ep),s(tp),s(sp),s(Ke),s(lp),s(np),s(ip),s(et),s(ap),s(tt),s(pp),s(st),s(op),s(rp),s(nt),s(dp),s(mp),s(at),s(fp),s(up),s(ot),s(cp),s(wp),s(hp),s(yp),s(Mp),s(Tp),s(ft),s($p),s(ut),s(bp),s(Jp),s(wt),s(gp),s(jp),s(yt),s(Cp),s(Up),s(Tt),s(vp),s(_p),s(bt),s(Ip),s(Jt),s(xp),s(kp),s(Zp),s(Ct),s(Hp),s(Gp),s(vt),s(Bp),s(Xp),s(It),s(Vp),s(Rp),s(kt),s(Np),s(zp),s(Wp),s(Gt),s(Lp),s(Sp),s(Qp),s(Fp),s(Rt),s(Ep),s(Ap),s(zt),s(Pp),s(Yp),s(Lt),s(qp),s(St),s(Kp),s(Qt),s(Dp),s(Ft),s(Op),s(Et),s(eo),s(At),s(to),s(Pt),s(so),s(lo),s(qt),s(no),s(io),s(Dt),s(ao),s(po),s(es),s(oo),s(ro),s(ss),s(mo),s(ls),s(fo),s(ns),s(uo),s(co),s(wo),s(ps),s(ho),s(yo),s(rs),s(Mo),s(ds),s(To),s($o),s(fs),s(bo),s(Jo),s(cs),s(go),s(ws),s(jo),s(Co),s(ys),s(Uo),s(Ms),s(vo),s(Ts),s(_o),s($s),s(Io),s(bs),s(xo),s(ko),s(Zo),s(js),s(Ho),s(Cs),s(Go),s(Bo),s(vs),s(Xo),s(Vo),s(Ro),s(xs),s(No),s(zo),s(Wo),s(Hs),s(Lo),s(So),s(Bs),s(Qo),s(Xs),s(Fo),s(Eo),s(Ao),s(Ns),s(Po),s(zs),s(Yo),s(qo),s(Ls),s(Ko),s(Do),s(Qs),s(Oo),s(Fs),s(er),s(tr),s(As),s(sr),s(lr),s(Ys),s(nr),s(ir),s(Ks),s(ar),s(pr),s(Os),s(or),s(rr),s(tl),s(dr),s(sl),s(mr),s(ll),s(fr),s(ur),s(il),s(cr),s(wr),s(pl),s(hr),s(yr),s(rl),s(Mr),s(Tr),s(ml),s($r),s(br),s(ul),s(Jr),s(cl),s(gr),s(wl),s(jr),s(Cr),s(yl),s(Ur),s(vr),s(_r),s($l),s(Ir),s(bl),s(xr),s(Jl),s(kr),s(gl),s(Zr),s(Hr),s(Cl),s(Gr),s(Ul),s(Br),s(Xr),s(_l),s(Vr),s(Il),s(Rr),s(Nr),s(kl),s(zr),s(Zl),s(Wr),s(Lr),s(Sr),s(Qr),s(Gl),s(Fr),s(Er),s(Ar),s(Vl),s(Pr),s(Rl),s(Yr),s(Nl),s(qr),s(zl),s(Kr),s(Dr),s(Ll),s(Or),s(ed),s(Ql),s(td),s(sd),s(El),s(ld),s(nd),s(Pl),s(id),s(ad),s(ql),s(pd),s(od),s(Dl),s(rd),s(dd),s(en),s(md),s(fd),s(sn),s(ud),s(cd),s(nn),s(wd),s(hd),s(pn),s(yd),s(Md),s(rn),s(Td),s($d),s(mn),s(bd),s(Jd),s(un),s(gd),s(jd),s(wn),s(Cd),s(Ud),s(yn),s(vd),s(Mn),s(_d),s(Tn),s(Id),s($n),s(xd),s(bn),s(kd),s(Zd),s(gn),s(Hd),s(jn),s(Gd),s(Cn),s(Bd),s(Xd),s(vn),s(Vd),s(Rd),s(In),s(Nd),s(zd),s(kn),s(Wd),s(Ld),s(Hn),s(Sd),s(Gn),s(Qd),s(Fd),s(Xn),s(Ed),s(Ad),s(Rn),s(Pd),s(Yd),s(zn),s(qd),s(Kd),s(Ln),s(Dd),s(Od),s(Qn),s(em),s(tm),s(sm),s(An),s(lm),s(nm),s(Yn),s(im),s(am),s(Kn),s(pm),s(Dn),s(om),s(rm),s(ei),s(dm),s(mm),s(fm),s(li),s(um),s(cm),s(wm),s(ai),s(hm),s(pi),s(ym),s(Mm),s(ri),s(Tm),s(di),s($m),s(mi),s(bm),s(fi),s(Jm),s(ui),s(gm),s(ci),s(jm),s(wi),s(Cm),s(hi),s(Um),s(vm),s(Mi),s(_m),s(Im),s($i),s(xm),s(bi),s(km),s(Ji),s(Zm),s(gi),s(Hm),s(Gm),s(Ci),s(Bm),s(Ui),s(Xm),s(Vm),s(_i),s(Rm),s(Nm),s(zm),s(ki)),s(y),c(U,e),c(x,e),c(Z,e),c(G,e),c(B,e),c(N,e),c(W,e),c(S,e),c(E,e),c(P,e),c(q,e),c(K,e),c(O,e),c(ee,e),c(se,e),c(ae,e),c(re,e),c(fe,e),c(we,e),c(ye,e),c(Te,e),c(Je,e),c(ge,e),c(Ce,e),c(Ue,e),c(_e,e),c(xe,e),c(Ze,e),c(Ge,e),c(Be,e),c(Ve,e),c(Ne,e),c(Le,e),c(Qe,e),c(Ae,e),c(Ye,e),c(qe,e),c(De,e),c(Oe,e),c(lt,e),c(it,e),c(pt,e),c(rt,e),c(J,e),c(g,e),c(dt,e),c(mt,e),c(ct,e),c(ht,e),c(Mt,e),c($t,e),c(gt,e),c(jt,e),c(Ut,e),c(_t,e),c(xt,e),c(Zt,e),c(Ht,e),c(Bt,e),c(Xt,e),c(Vt,e),c(Nt,e),c(Wt,e),c(Yt,e),c(Kt,e),c(Ot,e),c(ts,e),c(is,e),c(as,e),c(os,e),c(ms,e),c(us,e),c(hs,e),c(Js,e),c(gs,e),c(Us,e),c(_s,e),c(Is,e),c(ks,e),c(Zs,e),c(Gs,e),c(Vs,e),c(Rs,e),c(Ws,e),c(Ss,e),c(Es,e),c(Ps,e),c(qs,e),c(Ds,e),c(el,e),c(nl,e),c(al,e),c(ol,e),c(dl,e),c(fl,e),c(hl,e),c(Ml,e),c(Tl,e),c(jl,e),c(vl,e),c(xl,e),c(j,e),c(C,e),c(Hl,e),c(Bl,e),c(Xl,e),c(Wl,e),c(Sl,e),c(Fl,e),c(Al,e),c(Yl,e),c(Kl,e),c(Ol,e),c(tn,e),c(ln,e),c(an,e),c(on,e),c(dn,e),c(fn,e),c(cn,e),c(hn,e),c(Jn,e),c(Un,e),c(_n,e),c(xn,e),c(Zn,e),c(Bn,e),c(Vn,e),c(Nn,e),c(Wn,e),c(Sn,e),c(Fn,e),c(En,e),c(Pn,e),c(qn,e),c(On,e),c(ti,e),c(si,e),c(ni,e),c(ii,e),c(oi,e),c(yi,e),c(Ti,e),c(ji,e),c(vi,e),c(Ii,e),c(xi,e)}}}const Zw='{"title":"Testing","local":"testing","sections":[{"title":"How transformers are tested","local":"how-transformers-are-tested","sections":[],"depth":2},{"title":"Running tests","local":"running-tests","sections":[{"title":"Choosing which tests to run","local":"choosing-which-tests-to-run","sections":[],"depth":3},{"title":"Getting the list of all tests","local":"getting-the-list-of-all-tests","sections":[],"depth":3},{"title":"Run a specific test module","local":"run-a-specific-test-module","sections":[],"depth":3},{"title":"Run specific tests","local":"run-specific-tests","sections":[],"depth":3},{"title":"Run accelerate tests","local":"run-accelerate-tests","sections":[],"depth":3},{"title":"Run documentation tests","local":"run-documentation-tests","sections":[],"depth":3},{"title":"Run only modified tests","local":"run-only-modified-tests","sections":[],"depth":3},{"title":"Automatically rerun failed tests on source modification","local":"automatically-rerun-failed-tests-on-source-modification","sections":[],"depth":3},{"title":"Skip a test module","local":"skip-a-test-module","sections":[],"depth":3},{"title":"Clearing state","local":"clearing-state","sections":[],"depth":3},{"title":"Running tests in parallel","local":"running-tests-in-parallel","sections":[],"depth":3},{"title":"Test order and repetition","local":"test-order-and-repetition","sections":[{"title":"Repeat tests","local":"repeat-tests","sections":[],"depth":4},{"title":"Run tests in a random order","local":"run-tests-in-a-random-order","sections":[],"depth":4}],"depth":3},{"title":"Look and feel variations","local":"look-and-feel-variations","sections":[{"title":"pytest-sugar","local":"pytest-sugar","sections":[],"depth":4},{"title":"Report each sub-test name and its progress","local":"report-each-sub-test-name-and-its-progress","sections":[],"depth":4},{"title":"Instantly shows failed tests","local":"instantly-shows-failed-tests","sections":[],"depth":4}],"depth":3},{"title":"To GPU or not to GPU","local":"to-gpu-or-not-to-gpu","sections":[],"depth":3},{"title":"Testing with a specific PyTorch backend or device","local":"testing-with-a-specific-pytorch-backend-or-device","sections":[],"depth":3},{"title":"Distributed training","local":"distributed-training","sections":[],"depth":3},{"title":"Output capture","local":"output-capture","sections":[],"depth":3},{"title":"Color control","local":"color-control","sections":[],"depth":3},{"title":"Sending test report to online pastebin service","local":"sending-test-report-to-online-pastebin-service","sections":[],"depth":3}],"depth":2},{"title":"Writing tests","local":"writing-tests","sections":[{"title":"Parametrization","local":"parametrization","sections":[],"depth":3},{"title":"Files and directories","local":"files-and-directories","sections":[],"depth":3},{"title":"Temporary files and directories","local":"temporary-files-and-directories","sections":[],"depth":3},{"title":"Temporary sys.path override","local":"temporary-syspath-override","sections":[],"depth":3},{"title":"Skipping tests","local":"skipping-tests","sections":[{"title":"Implementation","local":"implementation","sections":[],"depth":4}],"depth":3},{"title":"Slow tests","local":"slow-tests","sections":[],"depth":3},{"title":"Testing the stdout/stderr output","local":"testing-the-stdoutstderr-output","sections":[],"depth":3},{"title":"Capturing logger stream","local":"capturing-logger-stream","sections":[],"depth":3},{"title":"Testing with environment variables","local":"testing-with-environment-variables","sections":[],"depth":3},{"title":"Getting reproducible results","local":"getting-reproducible-results","sections":[],"depth":3},{"title":"Debugging tests","local":"debugging-tests","sections":[],"depth":3}],"depth":2},{"title":"Working with github actions workflows","local":"working-with-github-actions-workflows","sections":[],"depth":2},{"title":"Testing Experimental CI Features","local":"testing-experimental-ci-features","sections":[],"depth":2},{"title":"DeepSpeed integration","local":"deepspeed-integration","sections":[],"depth":2}],"depth":1}';function Hw(b){return bw(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Nw extends Jw{constructor(y){super(),gw(this,y,Hw,kw,$w,{})}}export{Nw as component};
