import{s as et,a as at,n as st,o as lt}from"../chunks/scheduler.3a17fb72.js";import{S as it,i as nt,e as p,s as l,c as x,h as mt,a as f,d as a,b as i,f as U,g as _,j as D,k as J,l as pt,m as s,n as k,t as C,o as T,p as M}from"../chunks/index.093f8863.js";import{C as ft,H as tt,E as rt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.2631eeef.js";import{C as Y}from"../chunks/CodeBlock.b3d2386f.js";function $t(Z){let m,G,E,I,r,P,$,y,o,O="Browse and inspect tasks available in LightEval.",j,n,Q,z,u,X="List all tasks:",H,c,N,g,q,d,K="Inspect a task to view its config, metrics, and requirements:",R,h,B,v,V="Example:",L,b,S,w,W,F,A;return r=new ft({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),$=new tt({props:{title:"Available tasks",local:"available-tasks",headingTag:"h1"}}),c=new Y({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBsaXN0",highlighted:"lighteval tasks list",wrap:!1}}),g=new tt({props:{title:"Inspect specific tasks",local:"inspect-specific-tasks",headingTag:"h3"}}),h=new Y({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBpbnNwZWN0JTIwJTNDdGFza19uYW1lJTNF",highlighted:"lighteval tasks inspect &lt;task_name&gt;",wrap:!1}}),b=new Y({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBpbnNwZWN0JTIwJTIybGlnaHRldmFsJTdDdHJ1dGhmdWxxYSUzQW1jJTdDMCUyMg==",highlighted:'lighteval tasks inspect <span class="hljs-string">&quot;lighteval|truthfulqa:mc|0&quot;</span>',wrap:!1}}),w=new rt({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/available-tasks.mdx"}}),{c(){m=p("meta"),G=l(),E=p("p"),I=l(),x(r.$$.fragment),P=l(),x($.$$.fragment),y=l(),o=p("p"),o.textContent=O,j=l(),n=p("iframe"),z=l(),u=p("p"),u.textContent=X,H=l(),x(c.$$.fragment),N=l(),x(g.$$.fragment),q=l(),d=p("p"),d.textContent=K,R=l(),x(h.$$.fragment),B=l(),v=p("p"),v.textContent=V,L=l(),x(b.$$.fragment),S=l(),x(w.$$.fragment),W=l(),F=p("p"),this.h()},l(t){const e=mt("svelte-u9bgzb",document.head);m=f(e,"META",{name:!0,content:!0}),e.forEach(a),G=i(t),E=f(t,"P",{}),U(E).forEach(a),I=i(t),_(r.$$.fragment,t),P=i(t),_($.$$.fragment,t),y=i(t),o=f(t,"P",{"data-svelte-h":!0}),D(o)!=="svelte-hgljgt"&&(o.textContent=O),j=i(t),n=f(t,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),U(n).forEach(a),z=i(t),u=f(t,"P",{"data-svelte-h":!0}),D(u)!=="svelte-1fpv4x5"&&(u.textContent=X),H=i(t),_(c.$$.fragment,t),N=i(t),_(g.$$.fragment,t),q=i(t),d=f(t,"P",{"data-svelte-h":!0}),D(d)!=="svelte-1pg5996"&&(d.textContent=K),R=i(t),_(h.$$.fragment,t),B=i(t),v=f(t,"P",{"data-svelte-h":!0}),D(v)!=="svelte-11lpom8"&&(v.textContent=V),L=i(t),_(b.$$.fragment,t),S=i(t),_(w.$$.fragment,t),W=i(t),F=f(t,"P",{}),U(F).forEach(a),this.h()},h(){J(m,"name","hf:doc:metadata"),J(m,"content",ot),at(n.src,Q="https://openevals-benchmark-finder.hf.space")||J(n,"src",Q),J(n,"frameborder","0"),J(n,"width","850"),J(n,"height","450")},m(t,e){pt(document.head,m),s(t,G,e),s(t,E,e),s(t,I,e),k(r,t,e),s(t,P,e),k($,t,e),s(t,y,e),s(t,o,e),s(t,j,e),s(t,n,e),s(t,z,e),s(t,u,e),s(t,H,e),k(c,t,e),s(t,N,e),k(g,t,e),s(t,q,e),s(t,d,e),s(t,R,e),k(h,t,e),s(t,B,e),s(t,v,e),s(t,L,e),k(b,t,e),s(t,S,e),k(w,t,e),s(t,W,e),s(t,F,e),A=!0},p:st,i(t){A||(C(r.$$.fragment,t),C($.$$.fragment,t),C(c.$$.fragment,t),C(g.$$.fragment,t),C(h.$$.fragment,t),C(b.$$.fragment,t),C(w.$$.fragment,t),A=!0)},o(t){T(r.$$.fragment,t),T($.$$.fragment,t),T(c.$$.fragment,t),T(g.$$.fragment,t),T(h.$$.fragment,t),T(b.$$.fragment,t),T(w.$$.fragment,t),A=!1},d(t){t&&(a(G),a(E),a(I),a(P),a(y),a(o),a(j),a(n),a(z),a(u),a(H),a(N),a(q),a(d),a(R),a(B),a(v),a(L),a(S),a(W),a(F)),a(m),M(r,t),M($,t),M(c,t),M(g,t),M(h,t),M(b,t),M(w,t)}}}const ot='{"title":"Available tasks","local":"available-tasks","sections":[{"title":"Inspect specific tasks","local":"inspect-specific-tasks","sections":[],"depth":3}],"depth":1}';function ut(Z){return lt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class vt extends it{constructor(m){super(),nt(this,m,ut,$t,et,{})}}export{vt as component};
