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