Spaces:
Running
Running
thibaud frere commited on
Commit ·
99af53b
1
Parent(s): 8bb224c
update
Browse filesFiles changed (31)
- app/.astro/settings.json+3-5
- app/astro.config.mjs+3-3
- app/package.json
- app/plugins/rehype/code-copy-and-label.mjs → app/plugins/rehype/code-copy.mjsRenamed+4-2
- app/public/scripts/color-palettes.jsAdded+217
- app/scripts/export-pdf.mjs+20-5
- app/src/components/Accordion.astro+8-12
- app/src/components/Footer.astro-18
- app/src/components/RawHtml.astroAdded+6
- app/src/components/TableOfContents.astro+3-16
- app/src/content/assets/images/thumb.pngAdded
- app/src/content/embeds/against-baselines-deduplicated.html+52-32
- app/src/content/embeds/against-baselines.html+29-14
- app/src/content/embeds/all-ratings.html+1-1
- app/src/content/embeds/banner.html+9-3
- app/src/content/embeds/d3-pie.html+18-6
- app/src/content/embeds/filters-quad.html+83-78
- app/src/content/embeds/formatting-filters.html+1-1
- app/src/content/embeds/image-correspondence-filters.html+1-1
- app/src/content/embeds/internal-deduplication.html+22-9
- app/src/content/embeds/relevance-filters.html+1-1
- app/src/content/embeds/remove-ch.html+1-1
- app/src/content/embeds/s25-ratings.html+1-1
- app/src/content/embeds/ss-vs-s1.html+1-1
- app/src/content/embeds/visual-dependency-filters.html+22-9
- app/src/pages/index.astro+1-1
- app/src/styles/_layout.css+25-3
- app/src/styles/_print.css+2-2
- app/src/styles/components/_code.css+28-1
- app/src/styles/components/_table.css+3
- app/src/styles/components/_tag.css+2-2
12345{"_variables": {"lastUpdateCheck": 1756115195405}}123version https://git-lfs.github.com/spec/v1oid sha256:585e9065073b0b2528747f99b78ccc382984e713ac7e6a5c9f99a47956e3f42esize 58
7 unmodified lines89101112131438 unmodified lines53545556575859606162637 unmodified linesimport rehypeSlug from 'rehype-slug';import rehypeAutolinkHeadings from 'rehype-autolink-headings';import rehypeCitation from 'rehype-citation';import rehypeCodeCopyAndLabel from './plugins/rehype/code-copy-and-label.mjs';import rehypeReferencesAndFootnotes from './plugins/rehype/post-citation.mjs';import remarkIgnoreCitationsInCode from './plugins/remark/ignore-citations-in-code.mjs';import rehypeRestoreAtInCode from './plugins/rehype/restore-at-in-code.mjs';38 unmodified lines[rehypeCitation, {bibliography: 'src/content/bibliography.bib',linkCitations: true,csl: 'vancouver'}],rehypeReferencesAndFootnotes,rehypeRestoreAtInCode,rehypeCodeCopyAndLabel,rehypeWrapTables]}7 unmodified lines89101112131438 unmodified lines53545556575859606162637 unmodified linesimport rehypeSlug from 'rehype-slug';import rehypeAutolinkHeadings from 'rehype-autolink-headings';import rehypeCitation from 'rehype-citation';import rehypeCodeCopy from './plugins/rehype/code-copy.mjs';import rehypeReferencesAndFootnotes from './plugins/rehype/post-citation.mjs';import remarkIgnoreCitationsInCode from './plugins/remark/ignore-citations-in-code.mjs';import rehypeRestoreAtInCode from './plugins/rehype/restore-at-in-code.mjs';38 unmodified lines[rehypeCitation, {bibliography: 'src/content/bibliography.bib',linkCitations: true,csl: "vancouver"}],rehypeReferencesAndFootnotes,rehypeRestoreAtInCode,rehypeCodeCopy,rehypeWrapTables]}
12345683 unmodified lines909192// Minimal rehype plugin to wrap code blocks with a copy button and a language label// Exported as a standalone module to keep astro.config.mjs leanexport default function rehypeCodeCopyAndLabel() {return (tree) => {// Walk the tree; lightweight visitor to find <pre><code>const visit = (node, parent) => {83 unmodified lines}12345683 unmodified lines9091929394// Minimal rehype plugin to wrap code blocks with a copy button// Exported as a standalone module to keep astro.config.mjs leanexport default function rehypeCodeCopy() {return (tree) => {// Walk the tree; lightweight visitor to find <pre><code>const visit = (node, parent) => {83 unmodified lines}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217// Global color palettes generator and watcher// - Observes CSS variable --primary-color and theme changes// - Generates categorical, sequential, and diverging palettes (OKLCH/OKLab)// - Exposes results as CSS variables on :root// - Supports variable color counts per palette via CSS vars// - Dispatches a 'palettes:updated' CustomEvent after each update
(() => { const MODE = { cssRoot: document.documentElement };
const getCssVar = (name) => { try { return getComputedStyle(MODE.cssRoot).getPropertyValue(name).trim(); } catch { return ''; } }; const getIntFromCssVar = (name, fallback) => { const raw = getCssVar(name); if (!raw) return fallback; const v = parseInt(String(raw), 10); if (Number.isNaN(v)) return fallback; return v; }; const clamp = (n, min, max) => Math.max(min, Math.min(max, n));
// Color math (OKLab/OKLCH) const srgbToLinear = (u) => (u <= 0.04045 ? u / 12.92 : Math.pow((u + 0.055) / 1.055, 2.4)); const linearToSrgb = (u) => (u <= 0.0031308 ? 12.92 * u : 1.055 * Math.pow(Math.max(0, u), 1 / 2.4) - 0.055); const rgbToOklab = (r, g, b) => { const rl = srgbToLinear(r), gl = srgbToLinear(g), bl = srgbToLinear(b); const l = Math.cbrt(0.4122214708 * rl + 0.5363325363 * gl + 0.0514459929 * bl); const m = Math.cbrt(0.2119034982 * rl + 0.6806995451 * gl + 0.1073969566 * bl); const s = Math.cbrt(0.0883024619 * rl + 0.2817188376 * gl + 0.6299787005 * bl); const L = 0.2104542553 * l + 0.7936177850 * m - 0.0040720468 * s; const a = 1.9779984951 * l - 2.4285922050 * m + 0.4505937099 * s; const b2 = 0.0259040371 * l + 0.7827717662 * m - 0.8086757660 * s; return { L, a, b: b2 }; }; const oklabToRgb = (L, a, b) => { const l_ = L + 0.3963377774 * a + 0.2158037573 * b; const m_ = L - 0.1055613458 * a - 0.0638541728 * b; const s_ = L - 0.0894841775 * a - 1.2914855480 * b; const l = l_ * l_ * l_; const m = m_ * m_ * m_; const s = s_ * s_ * s_; const r = linearToSrgb(+4.0767416621 * l - 3.3077115913 * m + 0.2309699292 * s); const g = linearToSrgb(-1.2684380046 * l + 2.6097574011 * m - 0.3413193965 * s); const b3 = linearToSrgb(-0.0041960863 * l - 0.7034186147 * m + 1.7076147010 * s); return { r, g, b: b3 }; }; const oklchToOklab = (L, C, hDeg) => { const h = (hDeg * Math.PI) / 180; return { L, a: C * Math.cos(h), b: C * Math.sin(h) }; }; const oklabToOklch = (L, a, b) => { const C = Math.sqrt(a*a + b*b); let h = Math.atan2(b, a) * 180 / Math.PI; if (h < 0) h += 360; return { L, C, h }; }; const clamp01 = (x) => Math.min(1, Math.max(0, x)); const isInGamut = ({ r, g, b }) => r >= 0 && r <= 1 && g >= 0 && g <= 1 && b >= 0 && b <= 1; const toHex = ({ r, g, b }) => { const R = Math.round(clamp01(r)*255), G = Math.round(clamp01(g)*255), B = Math.round(clamp01(b)*255); const h = (n) => n.toString(16).padStart(2,'0'); return `#${h(R)}${h(G)}${h(B)}`.toUpperCase(); }; const oklchToHexSafe = (L, C, h) => { let c = C; for (let i=0;i<12;i++){ const { a, b } = oklchToOklab(L,c,h); const rgb = oklabToRgb(L,a,b); if (isInGamut(rgb)) return toHex(rgb); c = Math.max(0, c-0.02);} return toHex(oklabToRgb(L,0,0)); }; const parseCssColorToRgb = (css) => { try { const el = document.createElement('span'); el.style.color = css; document.body.appendChild(el); const cs = getComputedStyle(el).color; document.body.removeChild(el); const m = cs.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/i); if (!m) return null; return { r: Number(m[1])/255, g: Number(m[2])/255, b: Number(m[3])/255 }; } catch { return null; } };
const getPrimaryHex = () => { const css = getCssVar('--primary-color'); if (!css) return '#E889AB'; if (/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(css)) return css.toUpperCase(); const rgb = parseCssColorToRgb(css); if (rgb) return toHex(rgb); return '#E889AB'; }; const getCounts = () => { const Fallback = 6; const globalCount = clamp(getIntFromCssVar('--palette-count', Fallback), 1, 12); return { categorical: clamp(getIntFromCssVar('--palette-categorical-count', globalCount), 1, 12), sequential: clamp(getIntFromCssVar('--palette-sequential-count', globalCount), 1, 12), diverging: clamp(getIntFromCssVar('--palette-diverging-count', globalCount), 1, 12), }; };
const generators = { categorical: (baseHex, count) => { const parseHex = (h) => { const s = h.replace('#',''); const v = s.length===3 ? s.split('').map(ch=>ch+ch).join('') : s; return { r: parseInt(v.slice(0,2),16)/255, g: parseInt(v.slice(2,4),16)/255, b: parseInt(v.slice(4,6),16)/255 }; }; const { r, g, b } = parseHex(baseHex); const { L, a, b: bb } = rgbToOklab(r,g,b); const { C, h } = oklabToOklch(L,a,bb); const L0 = Math.min(0.85, Math.max(0.4, L)); const C0 = Math.min(0.35, Math.max(0.1, C || 0.2)); const total = Math.max(1, Math.min(12, count || 6)); const hueStep = 360 / total; const results = []; for (let i=0;i<total;i++) { const hDeg = (h + i*hueStep) % 360; const lVar = ((i % 3) - 1) * 0.04; results.push(oklchToHexSafe(Math.max(0.4, Math.min(0.85, L0 + lVar)), C0, hDeg)); } return results; }, sequential: (baseHex, count) => { const parseHex = (h) => { const s = h.replace('#',''); const v = s.length===3 ? s.split('').map(ch=>ch+ch).join('') : s; return { r: parseInt(v.slice(0,2),16)/255, g: parseInt(v.slice(2,4),16)/255, b: parseInt(v.slice(4,6),16)/255 }; }; const { r, g, b } = parseHex(baseHex); const { L, a, b: bb } = rgbToOklab(r,g,b); const { C, h } = oklabToOklch(L,a,bb); const total = Math.max(1, Math.min(12, count || 6)); const startL = Math.max(0.25, L - 0.18); const endL = Math.min(0.92, L + 0.18); const cBase = Math.min(0.33, Math.max(0.08, C * 0.9 + 0.06)); const out = []; for (let i=0;i<total;i++) { const t = total===1 ? 0 : i/(total-1); const lNow = startL*(1-t)+endL*t; const cNow = cBase*(0.85 + 0.15*(1 - Math.abs(0.5 - t)*2)); out.push(oklchToHexSafe(lNow, cNow, h)); } return out; }, diverging: (baseHex, count) => { const parseHex = (h) => { const s = h.replace('#',''); const v = s.length===3 ? s.split('').map(ch=>ch+ch).join('') : s; return { r: parseInt(v.slice(0,2),16)/255, g: parseInt(v.slice(2,4),16)/255, b: parseInt(v.slice(4,6),16)/255 }; }; const { r, g, b } = parseHex(baseHex); const baseLab = rgbToOklab(r,g,b); const baseLch = oklabToOklch(baseLab.L, baseLab.a, baseLab.b); const total = Math.max(1, Math.min(12, count || 6));
// Left endpoint: EXACT primary color (no darkening) const leftLab = baseLab; // Right endpoint: complement with same L and similar C (clamped safe) const compH = (baseLch.h + 180) % 360; const cSafe = Math.min(0.35, Math.max(0.08, baseLch.C)); const rightLab = oklchToOklab(baseLab.L, cSafe, compH); const whiteLab = { L: 0.98, a: 0, b: 0 }; // center near‑white
const hexFromOKLab = (L, a, b) => toHex(oklabToRgb(L, a, b)); const lerp = (a, b, t) => a + (b - a) * t; const lerpOKLabHex = (A, B, t) => hexFromOKLab(lerp(A.L, B.L, t), lerp(A.a, B.a, t), lerp(A.b, B.b, t));
const out = []; if (total % 2 === 1) { const nSide = (total - 1) >> 1; // items on each side // Left side: include left endpoint exactly at index 0 for (let i = 0; i < nSide; i++) { const t = nSide <= 1 ? 0 : (i / (nSide - 1)); // 0 .. 1 // Move from leftLab to a value close (but not equal) to white; ensure last before center is lighter const tt = t * 0.9; // keep some distance from pure white before center out.push(lerpOKLabHex(leftLab, whiteLab, tt)); } // Center out.push(hexFromOKLab(whiteLab.L, whiteLab.a, whiteLab.b)); // Right side: start near white and end EXACTLY at rightLab for (let i = 0; i < nSide; i++) { const t = nSide <= 1 ? 1 : ((i + 1) / nSide); // (1/n)..1 const tt = Math.max(0.1, t); // avoid starting at pure white out.push(lerpOKLabHex(whiteLab, rightLab, tt)); } // Ensure first and last are exact endpoints if (out.length) { out[0] = hexFromOKLab(leftLab.L, leftLab.a, leftLab.b); out[out.length - 1] = hexFromOKLab(rightLab.L, rightLab.a, rightLab.b); } } else { const nSide = total >> 1; // Left half including left endpoint, approaching white but not reaching it for (let i = 0; i < nSide; i++) { const t = nSide <= 1 ? 0 : (i / (nSide - 1)); // 0 .. 1 const tt = t * 0.9; out.push(lerpOKLabHex(leftLab, whiteLab, tt)); } // Right half: mirror from near white to exact right endpoint for (let i = 0; i < nSide; i++) { const t = nSide <= 1 ? 1 : ((i + 1) / nSide); // (1/n)..1 const tt = Math.max(0.1, t); out.push(lerpOKLabHex(whiteLab, rightLab, tt)); } if (out.length) { out[0] = hexFromOKLab(leftLab.L, leftLab.a, leftLab.b); out[out.length - 1] = hexFromOKLab(rightLab.L, rightLab.a, rightLab.b); } } return out; } };
const setCssVar = (name, value) => { try { MODE.cssRoot.style.setProperty(name, value); } catch {} }; const removeCssVar = (name) => { try { MODE.cssRoot.style.removeProperty(name); } catch {} };
let lastSignature = ''; let lastCounts = { categorical: 0, sequential: 0, diverging: 0 };
const updatePalettes = () => { const primary = getPrimaryHex(); const counts = getCounts(); const signature = `${primary}|${counts.categorical}|${counts.sequential}|${counts.diverging}`; if (signature === lastSignature) return;
const out = {}; out.categorical = generators.categorical(primary, counts.categorical); out.sequential = generators.sequential(primary, counts.sequential); out.diverging = generators.diverging(primary, counts.diverging);
setCssVar('--primary-hex', primary); setCssVar('--palette-categorical-count-current', String(out.categorical.length)); setCssVar('--palette-sequential-count-current', String(out.sequential.length)); setCssVar('--palette-diverging-count-current', String(out.diverging.length));
const applyList = (key, list, prevCount) => { for (let i=0;i<list.length;i++) setCssVar(`--palette-${key}-${i+1}`, list[i]); for (let i=list.length;i<prevCount;i++) removeCssVar(`--palette-${key}-${i+1}`); setCssVar(`--palette-${key}-json`, JSON.stringify(list)); }; applyList('categorical', out.categorical, lastCounts.categorical); applyList('sequential', out.sequential, lastCounts.sequential); applyList('diverging', out.diverging, lastCounts.diverging);
lastCounts = { categorical: out.categorical.length, sequential: out.sequential.length, diverging: out.diverging.length }; lastSignature = signature;
try { document.dispatchEvent(new CustomEvent('palettes:updated', { detail: { primary, counts, palettes: out } })); } catch {} };
const bootstrap = () => { updatePalettes(); const mo = new MutationObserver(() => updatePalettes()); mo.observe(MODE.cssRoot, { attributes: true, attributeFilter: ['style', 'data-theme'] }); setInterval(updatePalettes, 400); window.ColorPalettes = { refresh: updatePalettes, getColors: (key) => { const count = Number(getCssVar(`--palette-${key}-count-current`)) || 0; const arr = []; for (let i=0;i<count;i++) arr.push(getCssVar(`--palette-${key}-${i+1}`)); return arr.filter(Boolean); } }; };
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', bootstrap, { once: true }); else bootstrap();})();
167 unmodified lines16816917017117217317417587 unmodified lines26326426526626726840 unmodified lines30931031131231331431544 unmodified lines36036136236336436546 unmodified lines412413414415416417418419167 unmodified lines// filename can be provided, else computed from DOM (button) or page title laterlet outFileBase = (args.filename && String(args.filename).replace(/\.pdf$/i, '')) || 'article';console.log('> Building Astro site…');await run('npm', ['run', 'build']);console.log('> Starting Astro preview…');// Start preview in its own process group so we can terminate all children reliably87 unmodified lines}function fixSvg(svg){if (!svg) return;if (isSmallSvg(svg)) { lockSmallSvgSize(svg); return; }try { svg.removeAttribute('width'); } catch {}try { svg.removeAttribute('height'); } catch {}40 unmodified lines// - Ensure an SVG background (CSS background on svg element)const cssHandle = await page.addStyleTag({ content: `.hero .points { mix-blend-mode: normal !important; }.d3-galaxy svg { background: var(--surface-bg); }` });const thumbPath = resolve(cwd, 'dist', 'thumb.jpg');await page.screenshot({ path: thumbPath, type: 'jpeg', quality: 85, fullPage: false });44 unmodified lines}function fixSvg(svg){if (!svg) return;if (isSmallSvg(svg)) { lockSmallSvgSize(svg); return; }try { svg.removeAttribute('width'); } catch {}try { svg.removeAttribute('height'); } catch {}46 unmodified lines/* Banner centering & visibility */.hero .points { mix-blend-mode: normal !important; }.d3-galaxy { width: 100% !important; height: 300px; max-width: 980px !important; margin-left: auto !important; margin-right: auto !important; }.d3-galaxy svg { background: var(--surface-bg); width: 100% !important; height: auto !important; }` });} catch {}await page.pdf({167 unmodified lines16816917017117217317417517617717817918018118218318418518687 unmodified lines27427527627727827928028140 unmodified lines32232332432532632744 unmodified lines37237337437537637737837946 unmodified lines426427428429430431432433434167 unmodified lines// filename can be provided, else computed from DOM (button) or page title laterlet outFileBase = (args.filename && String(args.filename).replace(/\.pdf$/i, '')) || 'article';// Build only if dist/ does not existconst distDir = resolve(cwd, 'dist');let hasDist = false;try {const st = await fs.stat(distDir);hasDist = st && st.isDirectory();} catch {}if (!hasDist) {console.log('> Building Astro site…');await run('npm', ['run', 'build']);} else {console.log('> Skipping build (dist/ exists)…');}console.log('> Starting Astro preview…');// Start preview in its own process group so we can terminate all children reliably87 unmodified lines}function fixSvg(svg){if (!svg) return;// Do not alter banner galaxy SVG sizing; it relies on explicit width/heighttry { if (svg.closest && svg.closest('.d3-galaxy')) return; } catch {}if (isSmallSvg(svg)) { lockSmallSvgSize(svg); return; }try { svg.removeAttribute('width'); } catch {}try { svg.removeAttribute('height'); } catch {}40 unmodified lines// - Ensure an SVG background (CSS background on svg element)const cssHandle = await page.addStyleTag({ content: `.hero .points { mix-blend-mode: normal !important; }` });const thumbPath = resolve(cwd, 'dist', 'thumb.jpg');await page.screenshot({ path: thumbPath, type: 'jpeg', quality: 85, fullPage: false });44 unmodified lines}function fixSvg(svg){if (!svg) return;// Do not alter banner galaxy SVG sizing; it relies on explicit width/heighttry { if (svg.closest && svg.closest('.d3-galaxy')) return; } catch {}if (isSmallSvg(svg)) { lockSmallSvgSize(svg); return; }try { svg.removeAttribute('width'); } catch {}try { svg.removeAttribute('height'); } catch {}46 unmodified lines/* Banner centering & visibility */.hero .points { mix-blend-mode: normal !important; }/* Do NOT force a fixed height to avoid clipping in PDF */.d3-galaxy { width: 100% !important; max-width: 980px !important; margin-left: auto !important; margin-right: auto !important; }.d3-galaxy svg { width: 100% !important; height: auto !important; }` });} catch {}await page.pdf({
88 unmodified lines89909192939495969798991001011021031041051061071081091101114 unmodified lines11611711811912012112212312412512612712836 unmodified lines16516616716816917017112 unmodified lines18418518618718818919088 unmodified lines}.accordion__summary {list-style: none;display: flex;align-items: center;justify-content: center;gap: 4px;padding: 4px;cursor: pointer;color: var(--text-color);user-select: none;position: relative;}.accordion[size="big"] .accordion__summary {padding: 16px;}/* Remove conditional padding to avoid jump on close *//* Remove native marker */4 unmodified linescontent: "";}.accordion__title {font-weight: 600;}.accordion__chevron {position: absolute;right: 8px;transition: transform 220ms ease;opacity: .85;}36 unmodified linespadding: 0;}/* Separator between header and content when open (edge-to-edge) */.accordion[open] .accordion__content-wrapper::before {content: "";12 unmodified linesoutline-offset: 3px;border-radius: 8px;}</style>88 unmodified lines89909192939495969798991001011021031041051064 unmodified lines11111211311411511611711811912012112212312412512636 unmodified lines16316416516616716812 unmodified lines18118218318418518688 unmodified lines}.accordion__summary {margin: 0;list-style: none;display: flex;align-items: center;justify-content: space-between;gap: 4px;padding: var(--spacing-2) var(--spacing-3);cursor: pointer;color: var(--text-color);user-select: none;}/* Remove conditional padding to avoid jump on close *//* Remove native marker */4 unmodified linescontent: "";}.accordion[size="big"] .accordion__summary {padding: 16px;}.accordion__title {font-weight: 600;}.accordion__chevron {flex: 0 0 auto;transition: transform 220ms ease;opacity: .85;}36 unmodified linespadding: 0;}/* Separator between header and content when open (edge-to-edge) */.accordion[open] .accordion__content-wrapper::before {content: "";12 unmodified linesoutline-offset: 3px;border-radius: 8px;}</style>
214 unmodified lines215216217218219220221222223224225226227228229230231232233234235236237238214 unmodified lines}}/* Avoid duplicate numbering: hide native list markers for CSL references only */.references-block #references ol,.references-block .references ol,.references-block .bibliography ol {list-style: none;padding-left: 0;margin-left: 0;}@media (min-width: 768px) {.references-block #references ol,.references-block .references ol,.references-block .bibliography ol {padding-left: 0;margin-left: 0;}}.references-block li {margin-bottom: 1em;}214 unmodified lines215216217218219220214 unmodified lines}}.references-block li {margin-bottom: 1em;}
123456---const { html, class: className, ariaLabel } = Astro.props;---<div class={className} role="img" aria-label={ariaLabel} set:html={html} />
23 unmodified lines24252627282930313233343536373839404142434445219 unmodified lines26526626726826927023 unmodified linesconst headings = articleRoot.querySelectorAll('h2, h3, h4');if (!headings.length) return;// Filter out headings that should not appear in TOCconst normalize = (s) => String(s || '').toLowerCase().replace(/[^a-z0-9]+/g, ' ').trim();const isTocLabel = (s) => /^(table\s+of\s+contents?)$|^toc$/i.test(String(s || '').replace(/[^a-zA-Z0-9]+/g, ' ').trim());const shouldSkip = (h) => {const t = h.textContent || '';const id = String(h.id || '');const slug = normalize(t).replace(/\s+/g, '_');if (isTocLabel(t)) return true;if (isTocLabel(id.replace(/[_-]+/g, ' '))) return true;if (isTocLabel(slug.replace(/[_-]+/g, ' '))) return true;return false;};const headingsArr = Array.from(headings).filter(h => !shouldSkip(h));if (!headingsArr.length) return;// Ensure unique ids for headings (deduplicate duplicates)219 unmodified lines.table-of-contents {position: sticky;top: 32px;}.table-of-contents nav {23 unmodified lines2425262728293031219 unmodified lines25125225325425525625723 unmodified linesconst headings = articleRoot.querySelectorAll('h2, h3, h4');if (!headings.length) return;// Inclure tous les titres H2/H3/H4 sans filtrer "Table of contents"const headingsArr = Array.from(headings);if (!headingsArr.length) return;// Ensure unique ids for headings (deduplicate duplicates)219 unmodified lines.table-of-contents {position: sticky;top: 32px;margin-top: 12px;}.table-of-contents nav {
12345610 unmodified lines1718192021222324252627282930313233343536372 unmodified lines4041424344454647484950514 unmodified lines5657585960616263646566672 unmodified lines7071727374757696 unmodified lines17317417517617717817918018118218318418518618718818919019119219319419519656 unmodified lines25325425525625725825926057 unmodified lines318319320321322323324325116 unmodified lines44244344444544644744844933 unmodified lines4834844854864874884894904914924934944954964971 unmodified line499500501502503504505506507508509<div class="d3-line" style="width:100%;margin:10px 0;"></div><style>.d3-line .d3-line__controls select {font-size: 12px;padding: 8px 28px 8px 10px;border: 1px solid var(--border-color);10 unmodified linescursor: pointer;transition: border-color .15s ease, box-shadow .15s ease;}[data-theme="dark"] .d3-line .d3-line__controls select {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");}.d3-line .d3-line__controls select:hover {border-color: var(--primary-color);}.d3-line .d3-line__controls select:focus {border-color: var(--primary-color);box-shadow: 0 0 0 3px rgba(232,137,171,.25);outline: none;}.d3-line .d3-line__controls label { gap: 8px; }/* Range slider themed with --primary-color */.d3-line .d3-line__controls input[type="range"] {-webkit-appearance: none;appearance: none;width: 100%;2 unmodified linesbackground: var(--border-color);outline: none;}.d3-line .d3-line__controls input[type="range"]::-webkit-slider-runnable-track {height: 6px;background: transparent;border-radius: 999px;}.d3-line .d3-line__controls input[type="range"]::-webkit-slider-thumb {-webkit-appearance: none;appearance: none;width: 16px;4 unmodified linesmargin-top: -5px;cursor: pointer;}.d3-line .d3-line__controls input[type="range"]::-moz-range-track {height: 6px;background: transparent;border-radius: 999px;}.d3-line .d3-line__controls input[type="range"]::-moz-range-thumb {width: 16px;height: 16px;border-radius: 50%;2 unmodified linescursor: pointer;}/* Improved line color via CSS */.d3-line .lines path.improved { stroke: var(--primary-color); }</style><script>(() => {96 unmodified linesconst defs = svg.append('defs');// Clip-path to constrain drawing to chart areaconst clipId = `clip-${Math.random().toString(36).slice(2)}`;const clipPath = defs.append('clipPath').attr('id', clipId);const clipRect = clipPath.append('rect').attr('x', 0).attr('y', 0).attr('width', 0).attr('height', 0);// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');const gAreas = gRoot.append('g').attr('class', 'areas');const gLines = gRoot.append('g').attr('class', 'lines');const gPoints = gRoot.append('g').attr('class', 'points');// Apply clipping to plotted elements (areas, lines, points)gAreas.attr('clip-path', `url(#${clipId})`);gLines.attr('clip-path', `url(#${clipId})`);gPoints.attr('clip-path', `url(#${clipId})`);const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear();let yScale = d3.scaleLinear();// Line generators - simple linear connectionsconst lineGen = d3.line()57 unmodified linesconst innerHeight = height - margin.top - margin.bottom;gRoot.attr('transform', `translate(${margin.left},${margin.top})`);// Update clip rect to match inner plotting areaclipRect.attr('width', innerWidth).attr('height', innerHeight);xScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);116 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {rankTickMax = Math.max(1, Math.round(maxVal));yScale.domain([rankTickMax, 1]);} else {yScale.domain([minVal, maxVal]).nice();}33 unmodified lines// Draw linesconst paths = gLines.selectAll('path.run-line').data(series, d=>d.run);paths.enter().append('path').attr('class','run-line').attr('fill','none').attr('stroke-width',2).attr('stroke', d=>d.color).attr('opacity',0.9).attr('d', d=>lineGen(d.values)).merge(paths).transition().duration(200).attr('stroke', d=>d.color).attr('d', d=>lineGen(d.values));paths.exit().remove();// Draw markers for each data pointgPoints.selectAll('*').remove();series.forEach((s, seriesIndex) => {const pointGroup = gPoints.selectAll(`.points-${seriesIndex}`)1 unmodified line.join('g').attr('class', `points-${seriesIndex}`).attr('transform', d => `translate(${xScale(d.step)},${yScale(d.value)})`);drawMarker(pointGroup, s.marker, markerSize).attr('fill', s.color).attr('stroke', s.color).attr('stroke-width', 1.5).style('cursor', 'crosshair');});12345610 unmodified lines1718192021222324252627282930313233343536372 unmodified lines4041424344454647484950514 unmodified lines5657585960616263646566672 unmodified lines7071727374757696 unmodified lines17317417517617717817918018118218318418518618718818919019119219319419519619756 unmodified lines25425525625725825926026157 unmodified lines319320321322323324325326327328329330331332333334335336337338339340341116 unmodified lines45845946046146246346446546646746846947033 unmodified lines5045055065075085095105115125135145155165175181 unmodified line520521522523524525526527528529<div class="d3-line d3-embed--against-baselines-dd" style="width:100%;margin:10px 0;"></div><style>.d3-embed--against-baselines-dd .d3-line__controls select {font-size: 12px;padding: 8px 28px 8px 10px;border: 1px solid var(--border-color);10 unmodified linescursor: pointer;transition: border-color .15s ease, box-shadow .15s ease;}[data-theme="dark"] .d3-embed--against-baselines-dd .d3-line__controls select {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");}.d3-embed--against-baselines-dd .d3-line__controls select:hover {border-color: var(--primary-color);}.d3-embed--against-baselines-dd .d3-line__controls select:focus {border-color: var(--primary-color);box-shadow: 0 0 0 3px rgba(232,137,171,.25);outline: none;}.d3-embed--against-baselines-dd .d3-line__controls label { gap: 8px; }/* Range slider themed with --primary-color */.d3-embed--against-baselines-dd .d3-line__controls input[type="range"] {-webkit-appearance: none;appearance: none;width: 100%;2 unmodified linesbackground: var(--border-color);outline: none;}.d3-embed--against-baselines-dd .d3-line__controls input[type="range"]::-webkit-slider-runnable-track {height: 6px;background: transparent;border-radius: 999px;}.d3-embed--against-baselines-dd .d3-line__controls input[type="range"]::-webkit-slider-thumb {-webkit-appearance: none;appearance: none;width: 16px;4 unmodified linesmargin-top: -5px;cursor: pointer;}.d3-embed--against-baselines-dd .d3-line__controls input[type="range"]::-moz-range-track {height: 6px;background: transparent;border-radius: 999px;}.d3-embed--against-baselines-dd .d3-line__controls input[type="range"]::-moz-range-thumb {width: 16px;height: 16px;border-radius: 50%;2 unmodified linescursor: pointer;}/* Improved line color via CSS */.d3-embed--against-baselines-dd .lines path.improved { stroke: var(--primary-color); }</style><script>(() => {96 unmodified linesconst defs = svg.append('defs');// Clip-path to constrain drawing to chart areaconst clipId = `clip-${Math.random().toString(36).slice(2)}`;const clipPath = defs.append('clipPath').attr('id', clipId).attr('clipPathUnits', 'userSpaceOnUse');const clipRect = clipPath.append('rect').attr('x', 0).attr('y', 0).attr('width', 0).attr('height', 0);// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');// Dedicated plotting layer that will be clippedconst gPlot = gRoot.append('g').attr('class', 'plot');const gAreas = gPlot.append('g').attr('class', 'areas');const gLines = gPlot.append('g').attr('class', 'lines');const gPoints = gPlot.append('g').attr('class', 'points');// Apply clipping to the whole plotting groupgPlot.attr('clip-path', `url(#${clipId})`);const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear().clamp(true);let yScale = d3.scaleLinear().clamp(true);// Line generators - simple linear connectionsconst lineGen = d3.line()57 unmodified linesconst innerHeight = height - margin.top - margin.bottom;gRoot.attr('transform', `translate(${margin.left},${margin.top})`);// Responsive legend layout: wrap to two lines on narrower screenstry {const shouldWrapLegend = width < 1300;if (legendInline && legendInline.style) {legendInline.style.flexWrap = shouldWrapLegend ? 'wrap' : 'nowrap';legendInline.style.rowGap = shouldWrapLegend ? '4px' : '';legendInline.style.maxWidth = shouldWrapLegend ? Math.max(280, Math.round(width * 0.62)) + 'px' : 'unset';legendInline.style.alignItems = shouldWrapLegend ? 'flex-start' : 'center';}} catch {}// Update clip rect to match inner plotting area (coords local to gRoot)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);xScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);116 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {// Strict rank → arrondi au supérieur entier observé// Average rank → forcer un plancher visuel à 4 pour une petite marge en basconst bottom = isRankStrict? Math.max(1, Math.round(maxVal)): Math.max(4, Math.ceil(maxVal + 0.001));rankTickMax = bottom;yScale.domain([rankTickMax, 1]).nice();} else {yScale.domain([minVal, maxVal]).nice();}33 unmodified lines// Draw linesconst paths = gLines.selectAll('path.run-line').data(series, d=>d.run);paths.enter().append('path').attr('class','run-line').attr('fill','none').attr('stroke-width',2).attr('stroke-linejoin','round').attr('stroke-linecap','round').attr('stroke', d=>d.color).attr('opacity',0.95).attr('d', d=>lineGen(d.values)).merge(paths).attr('stroke', d=>d.color).attr('d', d=>lineGen(d.values));paths.exit().remove();// Draw markers for each data point (clipped with gPlot)gPoints.selectAll('*').remove();series.forEach((s, seriesIndex) => {const pointGroup = gPoints.selectAll(`.points-${seriesIndex}`)1 unmodified line.join('g').attr('class', `points-${seriesIndex}`).attr('transform', d => `translate(${xScale(d.step)},${yScale(d.value)})`);drawMarker(pointGroup, s.marker, markerSize).attr('fill', s.color).attr('stroke', s.color).attr('stroke-width', 1.2).style('cursor', 'crosshair');});
12345610 unmodified lines1718192021222324252627282930313233343536372 unmodified lines4041424344454647484950514 unmodified lines5657585960616263646566672 unmodified lines7071727374757689 unmodified lines1661671681691701711721731741751761773 unmodified lines181182183184185186125 unmodified lines312313314315316317<div class="d3-line" style="width:100%;margin:10px 0;"></div><style>.d3-line .d3-line__controls select {font-size: 12px;padding: 8px 28px 8px 10px;border: 1px solid var(--border-color);10 unmodified linescursor: pointer;transition: border-color .15s ease, box-shadow .15s ease;}[data-theme="dark"] .d3-line .d3-line__controls select {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");}.d3-line .d3-line__controls select:hover {border-color: var(--primary-color);}.d3-line .d3-line__controls select:focus {border-color: var(--primary-color);box-shadow: 0 0 0 3px rgba(232,137,171,.25);outline: none;}.d3-line .d3-line__controls label { gap: 8px; }/* Range slider themed with --primary-color */.d3-line .d3-line__controls input[type="range"] {-webkit-appearance: none;appearance: none;width: 100%;2 unmodified linesbackground: var(--border-color);outline: none;}.d3-line .d3-line__controls input[type="range"]::-webkit-slider-runnable-track {height: 6px;background: transparent;border-radius: 999px;}.d3-line .d3-line__controls input[type="range"]::-webkit-slider-thumb {-webkit-appearance: none;appearance: none;width: 16px;4 unmodified linesmargin-top: -5px;cursor: pointer;}.d3-line .d3-line__controls input[type="range"]::-moz-range-track {height: 6px;background: transparent;border-radius: 999px;}.d3-line .d3-line__controls input[type="range"]::-moz-range-thumb {width: 16px;height: 16px;border-radius: 50%;2 unmodified linescursor: pointer;}/* Improved line color via CSS */.d3-line .lines path.improved { stroke: var(--primary-color); }</style><script>(() => {89 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions for different shapesconst defs = svg.append('defs');// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');3 unmodified linesconst gLines = gRoot.append('g').attr('class', 'lines');const gErrors = gRoot.append('g').attr('class', 'errors');const gPoints = gRoot.append('g').attr('class', 'points');const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');125 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {12345610 unmodified lines1718192021222324252627282930313233343536372 unmodified lines4041424344454647484950514 unmodified lines5657585960616263646566672 unmodified lines7071727374757689 unmodified lines1661671681691701711721731741751761771781791801813 unmodified lines185186187188189190191192193194125 unmodified lines320321322323324325326327328329330331332<div class="d3-line d3-embed--against-baselines" style="width:100%;margin:10px 0;"></div><style>.d3-embed--against-baselines .d3-line__controls select {font-size: 12px;padding: 8px 28px 8px 10px;border: 1px solid var(--border-color);10 unmodified linescursor: pointer;transition: border-color .15s ease, box-shadow .15s ease;}[data-theme="dark"] .d3-embed--against-baselines .d3-line__controls select {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");}.d3-embed--against-baselines .d3-line__controls select:hover {border-color: var(--primary-color);}.d3-embed--against-baselines .d3-line__controls select:focus {border-color: var(--primary-color);box-shadow: 0 0 0 3px rgba(232,137,171,.25);outline: none;}.d3-embed--against-baselines .d3-line__controls label { gap: 8px; }/* Range slider themed with --primary-color */.d3-embed--against-baselines .d3-line__controls input[type="range"] {-webkit-appearance: none;appearance: none;width: 100%;2 unmodified linesbackground: var(--border-color);outline: none;}.d3-embed--against-baselines .d3-line__controls input[type="range"]::-webkit-slider-runnable-track {height: 6px;background: transparent;border-radius: 999px;}.d3-embed--against-baselines .d3-line__controls input[type="range"]::-webkit-slider-thumb {-webkit-appearance: none;appearance: none;width: 16px;4 unmodified linesmargin-top: -5px;cursor: pointer;}.d3-embed--against-baselines .d3-line__controls input[type="range"]::-moz-range-track {height: 6px;background: transparent;border-radius: 999px;}.d3-embed--against-baselines .d3-line__controls input[type="range"]::-moz-range-thumb {width: 16px;height: 16px;border-radius: 50%;2 unmodified linescursor: pointer;}/* Improved line color via CSS */.d3-embed--against-baselines .lines path.improved { stroke: var(--primary-color); }</style><script>(() => {89 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions and clipPath for chart areaconst defs = svg.append('defs');const clipId = `clip-${Math.random().toString(36).slice(2)}`;const clipPath = defs.append('clipPath').attr('id', clipId).attr('clipPathUnits', 'userSpaceOnUse');const clipRect = clipPath.append('rect').attr('x', 0).attr('y', 0).attr('width', 0).attr('height', 0);// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');3 unmodified linesconst gLines = gRoot.append('g').attr('class', 'lines');const gErrors = gRoot.append('g').attr('class', 'errors');const gPoints = gRoot.append('g').attr('class', 'points');// Constrain plotted layers to inner chart areagAreas.attr('clip-path', `url(#${clipId})`);gLines.attr('clip-path', `url(#${clipId})`);gPoints.attr('clip-path', `url(#${clipId})`);const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');125 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Update clip rect to match inner plotting area (coords of gRoot after translate)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
123438 unmodified lines434445464748495051220 unmodified lines272273274275276277278<div class="d3-galaxy" style="width:100%;margin:10px 0;aspect-ratio:3/1;min-height:360px;"></div><script>(() => {const THIS_SCRIPT = document.currentScript;38 unmodified linesconst csvUrl = (container.dataset && container.dataset.src) || '/data/banner_visualisation_data.csv';const svg = d3.select(container).append('svg').attr('width', '100%').style('display', 'block');// Tooltip (reuse style from other embeds)container.style.position = container.style.position || 'relative';220 unmodified linestipInner.innerHTML =`<div style="display:flex; gap:10px; align-items:flex-start;">` +`<img src="${imgSrc}" alt="thumb ${d.original_id}" style="width:120px;height:120px;object-fit:contain;flex:0 0 auto;border-radius:6px;border:1px solid var(--border-color);background:var(--surface-bg);" />` +`<div style="min-width:140px; max-width:200px;">` +`<div><strong>${d.category || 'Unknown'}</strong></div>` +`<div style="word-wrap:break-word; line-height:1.3; margin:4px 0;"><strong>Q:</strong> ${userText}</div>` +123438 unmodified lines434445464748495051525354555657220 unmodified lines278279280281282283284<div class="d3-galaxy" style="width:100%;margin:10px 0;aspect-ratio:3/1;min-height:360px; display:flex; align-items:center; justify-content:center;"></div><script>(() => {const THIS_SCRIPT = document.currentScript;38 unmodified linesconst csvUrl = (container.dataset && container.dataset.src) || '/data/banner_visualisation_data.csv';// Assurer un fond transparent pour l'ensemble du composantif (container && container.style) {container.style.background = 'transparent';}const svg = d3.select(container).append('svg').attr('width', '100%').style('display', 'block').style('background', 'transparent');// Tooltip (reuse style from other embeds)container.style.position = container.style.position || 'relative';220 unmodified linestipInner.innerHTML =`<div style="display:flex; gap:10px; align-items:flex-start;">` +`<img src="${imgSrc}" alt="thumb ${d.original_id}" style="width:120px;height:120px;object-fit:cover;flex:0 0 auto;border-radius:6px;border:1px solid var(--border-color);" />` +`<div style="min-width:140px; max-width:200px;">` +`<div><strong>${d.category || 'Unknown'}</strong></div>` +`<div style="word-wrap:break-word; line-height:1.3; margin:4px 0;"><strong>Q:</strong> ${userText}</div>` +
92 unmodified lines939495969798993 unmodified lines10310410510610710810911011111211311411511611756 unmodified lines17417517617717817918051 unmodified lines23223323423523623723892 unmodified linesconst CAPTION_GAP = 24; // espace entre titre et donutconst GAP_X = 20; // espace entre colonnesconst GAP_Y = 12; // espace entre lignesconst LEGEND_HEIGHT = 44; // hauteur de la légendeconst TOP_OFFSET = 4; // décalage vertical supplémentaire pour aérer le hautconst updateSize = () => {width = container.clientWidth || 800;3 unmodified lines};function renderLegend(categories, colorOf, innerWidth, legendY){const legendHeight = LEGEND_HEIGHT;gLegend.attr('x', 0).attr('y', legendY).attr('width', innerWidth).attr('height', legendHeight);const root = gLegend.selectAll('div').data([0]).join('xhtml:div');root.style('height', legendHeight + 'px').style('display', 'flex').style('align-items', 'center').style('justify-content', 'center');root.html(`<div class="items">${categories.map(c => `<div class="item"><span class="swatch" style="background:${colorOf(c)}"></span><span style="font-weight:500">${c}</span></div>`).join('')}</div>`);}function drawPies(rows){56 unmodified linesconst legendY = TOP_OFFSET + plotsHeight + 4;// Légende centrée globalement (pleine largeur du conteneur)gLegend.attr('x', 0).attr('width', innerWidth);renderLegend(categories, colorOf, innerWidth, legendY);const captions = new Map(METRICS.map(m => [m.key, `${m.title}`]));51 unmodified lines});// Définir la hauteur totale du SVG après avoir placé les élémentsconst totalHeight = Math.ceil(margin.top + TOP_OFFSET + plotsHeight + 4 + LEGEND_HEIGHT + margin.bottom);svg.attr('height', totalHeight);}92 unmodified lines939495969798993 unmodified lines10310410510610710810911011111211311411511611711811912012112212312412512612712812956 unmodified lines18618718818919019119251 unmodified lines24424524624724824925092 unmodified linesconst CAPTION_GAP = 24; // espace entre titre et donutconst GAP_X = 20; // espace entre colonnesconst GAP_Y = 12; // espace entre lignesconst BASE_LEGEND_HEIGHT = 56; // hauteur minimale de la légende (augmentée pour éviter la troncature mobile)const TOP_OFFSET = 4; // décalage vertical supplémentaire pour aérer le hautconst updateSize = () => {width = container.clientWidth || 800;3 unmodified lines};function renderLegend(categories, colorOf, innerWidth, legendY){const minHeight = BASE_LEGEND_HEIGHT;gLegend.attr('x', 0).attr('y', legendY).attr('width', innerWidth);const root = gLegend.selectAll('div').data([0]).join('xhtml:div');root.style('min-height', minHeight + 'px').style('display', 'flex').style('align-items', 'center').style('justify-content', 'center');root.html(`<div class="items">${categories.map(c => `<div class="item"><span class="swatch" style="background:${colorOf(c)}"></span><span style="font-weight:500">${c}</span></div>`).join('')}</div>`);// Mesurer la hauteur réelle (contenu potentiellement sur plusieurs lignes en mobile)let measured = minHeight;try {const n = root.node();const h1 = n && n.scrollHeight ? Math.ceil(n.scrollHeight) : 0;const h2 = n ? Math.ceil(n.getBoundingClientRect().height) : 0;measured = Math.max(minHeight, h1, h2);} catch {}gLegend.attr('height', measured);root.style('height', measured + 'px');return measured;}function drawPies(rows){56 unmodified linesconst legendY = TOP_OFFSET + plotsHeight + 4;// Légende centrée globalement (pleine largeur du conteneur)gLegend.attr('x', 0).attr('width', innerWidth);const legendHeightUsed = renderLegend(categories, colorOf, innerWidth, legendY);const captions = new Map(METRICS.map(m => [m.key, `${m.title}`]));51 unmodified lines});// Définir la hauteur totale du SVG après avoir placé les élémentsconst totalHeight = Math.ceil(margin.top + TOP_OFFSET + plotsHeight + 4 + (typeof legendHeightUsed === 'number' ? legendHeightUsed : BASE_LEGEND_HEIGHT) + margin.bottom);svg.attr('height', totalHeight);}
14 unmodified lines151617181920216 unmodified lines2829303132333438 unmodified lines73747576777828 unmodified lines10710810911011111211311411511611711811912011 unmodified lines13213313413513613727 unmodified lines16516616716816917017117212 unmodified lines18518618718818919019119219319419519619719838 unmodified lines23723823924024124224324424524624724824925025125225325425525625725825926017 unmodified lines2782792802812822832848 unmodified lines29329429529629729829930030130230330430530630730830931031131231326 unmodified lines3403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753766 unmodified lines38338438538638738838939039139239339439539639739839940040114 unmodified lines@media (max-width: 980px) { .filters-quad__grid { grid-template-columns: 1fr; } }.filters-quad__controls { display:flex; align-items:center; justify-content:center; gap:12px; margin: 6px 0 12px 0; flex-wrap:wrap; }.filters-quad__controls label { font-size:11px; color: var(--muted-color); opacity: .8; display:flex; align-items:center; gap:8px; }.filters-quad__controls select {font-size: 14px; padding: 8px 32px 8px 12px; border: 1px solid var(--border-color); border-radius: 10px;background-color: var(--surface-bg); color: var(--text-color);6 unmodified lines.filters-quad__controls select:hover { border-color: var(--primary-color); }.filters-quad__controls select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(232,137,171,.25); outline: none; }.filters-quad__legend { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; font-size:14px; color: var(--text-color); margin: 2px 0 10px 0; }.filters-quad__legend .item { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }.filters-quad__legend .swatch { width:10px; height:10px; border-radius:50%; display:inline-block; }38 unmodified liness.addEventListener('load', onReady, { once: true }); if (window.d3) onReady();};function initRunLine(cell){const d3 = window.d3;const csvPath = cell.getAttribute('data-csv');28 unmodified linesconst xScale = d3.scaleLinear(); const yScale = d3.scaleLinear();const lineGen = d3.line().x(d => xScale(d.step)).y(d => yScale(d.value));let isRankStrictFlag = false; let rankTickMax = 1;// Optional shared Y domain override (set from outside to sync the 4 charts)let yDomainOverride = null; // { metricKey, domain:[min,max] | [max,1] for rank, isRankStrict, rankTickMax }// Colors and markers (match original embeds)const primary = getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim() || '#E889AB';const pool = [primary, '#4EA5B7', '#E38A42', '#CEC0FA', ...(d3.schemeTableau10||[])];const markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 9;function drawMarker(selection, shape, size) {const s = size / 2;switch (shape) {11 unmodified linesreturn selection.append('circle').attr('r', s);}}// Ready signal for async load completionlet readyResolve = null;const ready = new Promise((res)=> { readyResolve = res; });27 unmodified linesgAxes.selectAll('*').remove();let xAxis = d3.axisBottom(xScale).tickSizeOuter(0); xAxis = xAxis.ticks(8);const yAxis = d3.axisLeft(yScale).tickValues(yTicks).tickSizeOuter(0).tickFormat(isRankStrictFlag ? d3.format('d') : d3.format('.2f'));gAxes.append('g').attr('transform', `translate(0,${innerHeight})`).call(xAxis).call(g=>{ g.selectAll('path, line').attr('stroke',axisColor); g.selectAll('text').attr('fill',tickColor).style('font-size','12px'); });gAxes.append('g').call(yAxis).call(g=>{ g.selectAll('path, line').attr('stroke',axisColor); g.selectAll('text').attr('fill',tickColor).style('font-size','12px'); });// Legend box (top-right)// Per-cell legend hidden; global legend is used12 unmodified linesruns.forEach(r => { (map[r]||[]).forEach(pt => { const v = isRankStrict ? Math.round(pt.value) : pt.value; minStep=Math.min(minStep,pt.step); maxStep=Math.max(maxStep,pt.step); maxVal=Math.max(maxVal,v); minVal=Math.min(minVal,v); }); });if (!isFinite(minStep) || !isFinite(maxStep)) return;xScale.domain([minStep, maxStep]); if (isRank) { rankTickMax = Math.max(1, Math.round(maxVal)); yScale.domain([rankTickMax, 1]); } else { yScale.domain([minVal, maxVal]).nice(); }// Apply shared Y domain override if provided for this metricif (yDomainOverride && yDomainOverride.metricKey === metricKey && Array.isArray(yDomainOverride.domain)) {isRankStrictFlag = !!yDomainOverride.isRankStrict;rankTickMax = yDomainOverride.rankTickMax != null ? yDomainOverride.rankTickMax : rankTickMax;yScale.domain(yDomainOverride.domain);} else {isRankStrictFlag = isRankStrict;}const { innerWidth, innerHeight } = updateScales();38 unmodified lines// HovergHover.selectAll('*').remove();const overlay = gHover.append('rect').attr('fill','transparent').style('cursor','crosshair').attr('x',0).attr('y',0).attr('width', innerWidth).attr('height', innerHeight);const axisColor = document.documentElement.getAttribute('data-theme') === 'dark' ? 'rgba(255,255,255,0.25)' : 'rgba(0,0,0,0.25)';const hoverLine = gHover.append('line').attr('stroke',axisColor).attr('stroke-width',1).attr('y1',0).attr('y2',innerHeight).style('display','none');const stepSet = new Set(); series.forEach(s=>s.values.forEach(v=>stepSet.add(v.step))); const steps = Array.from(stepSet).sort((a,b)=>a-b);function onMove(ev){ const [mx,my]=d3.pointer(ev, overlay.node()); const nearest = steps.reduce((best,s)=> Math.abs(s - xScale.invert(mx)) < Math.abs(best - xScale.invert(mx)) ? s : best, steps[0]); const xpx = xScale(nearest); hoverLine.attr('x1',xpx).attr('x2',xpx).style('display',null);let html = `<div><strong>${titleText}</strong></div><div><strong>step</strong> ${nearest}</div>`;const withPt = series.map(s=>{ const m=new Map(s.values.map(v=>[v.step,v])); const pt=m.get(nearest); return {s, pt}; }).filter(d=>d.pt && d.pt.value!=null);withPt.sort((a,b)=> isRankStrictFlag ? (b.pt.value - a.pt.value) : (a.pt.value - b.pt.value));const shapeSvg = (shape, color) => {const size=9, half=size/2, cx=9, cy=7, sw='1';if(shape==='circle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><circle r="${half}" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;if(shape==='square') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><rect x="${-half}" y="${-half}" width="${size}" height="${size}" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;if(shape==='triangle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><path d="M0,${-half*1.2} L${half*1.1},${half*0.6} L${-half*1.1},${half*0.6} Z" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;if(shape==='diamond') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><path d="M0,${-half*1.2} L${half*1.1},0 L0,${half*1.2} L${-half*1.1},0 Z" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;if(shape==='inverted-triangle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><path d="M0,${half*1.2} L${half*1.1},${-half*0.6} L${-half*1.1},${-half*0.6} Z" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(${cx},${cy})"><circle r="${half}" fill="${color}" stroke="${color}" stroke-width="${sw}"/></g></svg>`;};withPt.forEach(({s,pt})=>{ const fmt=(vv)=> (isRankStrictFlag? d3.format('d')(vv) : (+vv).toFixed(4)); const err=(pt.stderr!=null && isFinite(pt.stderr) && pt.stderr>0)? ` ± ${fmt(pt.stderr)}` : ''; html+=`<div style="display:flex;align-items:center;gap:6px;white-space:nowrap;">${shapeSvg(s.marker, s.color)}<strong>${s.run}</strong> ${fmt(pt.value)}${err}</div>`; });tipInner.innerHTML = html; const offsetX=12, offsetY=12; tip.style.opacity='1'; tip.style.transform=`translate(${Math.round(mx+offsetX+margin.left)}px, ${Math.round(my+offsetY+margin.top)}px)`; }function onLeave(){ tip.style.opacity='0'; tip.style.transform='translate(-9999px, -9999px)'; hoverLine.style('display','none'); }overlay.on('mousemove', onMove).on('mouseleave', onLeave);}17 unmodified linesmetricList = Array.from(new Set(rows.map(r=>r.metric))).sort();runList = Array.from(new Set(rows.map(r=>r.run))).sort(); runOrder = runList;metricList.forEach(m => { const map={}; runList.forEach(r=>map[r]=[]); rows.filter(r=>r.metric===m).forEach(r=>{ if(!isNaN(r.step)&&!isNaN(r.value)) map[r.run].push({ step:r.step, value:r.value, stderr:r.stderr }); }); dataByMetric.set(m, map); });const def = metricList.find(m => /average_rank/i.test(m)) || metricList[0];renderMetric(def);const ro = window.ResizeObserver ? new ResizeObserver(()=>renderMetric(def)) : null; if (ro) ro.observe(cell);if (typeof readyResolve === 'function') readyResolve();8 unmodified linesreturn {ready,getMetrics: () => metricList.slice(),setMetric: (m) => { if (m) renderMetric(m); },// Expose extent for a given metric so the host can compute a shared Y domaingetExtent: (metricKey) => {const map = dataByMetric.get(metricKey) || {};const runs = runOrder;let maxVal = -Infinity, minVal = Infinity;const isRank = /rank/i.test(metricKey); const isAverage = /average/i.test(metricKey); const isRankStrict = isRank && !isAverage;runs.forEach(r => { (map[r]||[]).forEach(pt => { const v = isRankStrict ? Math.round(pt.value) : pt.value; if (isFinite(v)) { maxVal=Math.max(maxVal,v); minVal=Math.min(minVal,v); } }); });if (!isFinite(minVal) || !isFinite(maxVal)) return null;return { min: minVal, max: maxVal, isRankStrict };},// Allow host to set a shared Y domain override (persisted across resizes)setYDomainOverride: (metricKey, domain, isRankStrict, sharedRankTickMax) => {yDomainOverride = { metricKey, domain, isRankStrict: !!isRankStrict, rankTickMax: sharedRankTickMax };}};}26 unmodified linesconst intersect = (arrs) => arrs.reduce((acc, cur) => acc.filter(x => cur.includes(x)));let metrics = lists.length ? intersect(lists) : [];if (!metrics.length) { metrics = lists[0] || []; }const def = metrics.find(m => /average_rank/i.test(m)) || metrics[0] || '';let ctrl = host.querySelector('.filters-quad__controls');if (!ctrl) { ctrl = document.createElement('div'); ctrl.className = 'filters-quad__controls'; host.insertBefore(ctrl, host.firstChild); }ctrl.innerHTML = '';const label = document.createElement('label'); label.textContent = 'Metric';const select = document.createElement('select');metrics.forEach(m => { const o=document.createElement('option'); o.value=m; o.textContent=m; select.appendChild(o); });if (def) select.value = def;label.appendChild(select); ctrl.appendChild(label);const applyAll = (v) => {// Compute shared Y domain across all instances for selected metricconst isRank = /rank/i.test(v); const isAverage = /average/i.test(v); const isRankStrict = isRank && !isAverage;const extents = instances.map(i => (i && typeof i.getExtent === 'function') ? i.getExtent(v) : null).filter(Boolean);if (!extents.length) { instances.forEach(i => i && typeof i.setMetric === 'function' && i.setMetric(v)); return; }let globalMin = Math.min(...extents.map(e => e.min));let globalMax = Math.max(...extents.map(e => e.max));let domain, rankTickMax;if (isRankStrict) {rankTickMax = Math.max(1, Math.round(globalMax));domain = [rankTickMax, 1];} else {domain = [globalMin, globalMax];}// Apply override then renderinstances.forEach(i => {if (i && typeof i.setYDomainOverride === 'function') i.setYDomainOverride(v, domain, isRankStrict, rankTickMax);if (i && typeof i.setMetric === 'function') i.setMetric(v);});};if (def) applyAll(def);select.addEventListener('change', () => applyAll(select.value));6 unmodified linesif (r.ok && window.d3 && window.d3.csvParse) {const txt = await r.text();const rows = window.d3.csvParse(txt);let runList = Array.from(new Set(rows.map(row => String(row.run||'').trim()).filter(Boolean)));if (runList.includes('FineVision')) { runList = ['FineVision', ...runList.filter(r => r !== 'FineVision')]; }const primary = getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim() || '#E889AB';const pool = [primary, '#4EA5B7', '#E38A42', '#CEC0FA', ...((window.d3 && window.d3.schemeTableau10) ? window.d3.schemeTableau10 : ['#4e79a7','#f28e2b','#e15759','#76b7b2','#59a14f','#edc948','#b07aa1','#ff9da7','#9c755f','#bab0ab'])];const markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const shapeSVG = (shape, color) => {const size = 9; const s = size/2; const stroke = color;if (shape === 'circle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><circle r="${s}" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;if (shape === 'square') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><rect x="${-s}" y="${-s}" width="${size}" height="${size}" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;if (shape === 'triangle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><path d="M0,${-s*1.2} L${s*1.1},${s*0.6} L${-s*1.1},${s*0.6} Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;if (shape === 'diamond') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><path d="M0,${-s*1.2} L${s*1.1},0 L0,${s*1.2} L${-s*1.1},0 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;if (shape === 'inverted-triangle') return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><path d="M0,${s*1.2} L${s*1.1},${-s*0.6} L${-s*1.1},${-s*0.6} Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;return `<svg width="18" height="14" viewBox="0 0 18 14" aria-hidden="true"><g transform="translate(9,7)"><circle r="${s}" fill="${color}" stroke="${stroke}" stroke-width="1" /></g></svg>`;};legendHost.innerHTML = runList.map((name, i)=> {const color = pool[i % pool.length];14 unmodified lines151617181920216 unmodified lines2829303132333438 unmodified lines737475767778798081828384858687888990919293949596979828 unmodified lines12712812913013113213313413513613713811 unmodified lines15015115215315415515615715815916016116216316416516616716816917017117217327 unmodified lines20120220320420520620720812 unmodified lines22122222322422522622738 unmodified lines26626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529617 unmodified lines3143153163173183193203213228 unmodified lines33133233333433533633726 unmodified lines3643653663673683693703713723733743753763773783793803813826 unmodified lines38939039139239339439539639739839940040140240340440540614 unmodified lines@media (max-width: 980px) { .filters-quad__grid { grid-template-columns: 1fr; } }.filters-quad__controls { display:flex; align-items:center; justify-content:center; gap:12px; margin: 6px 0 12px 0; flex-wrap:wrap; }.filters-quad__controls label { font-size:14px; color: var(--text-color); font-weight:600; display:flex; align-items:center; gap:8px; }.filters-quad__controls select {font-size: 14px; padding: 8px 32px 8px 12px; border: 1px solid var(--border-color); border-radius: 10px;background-color: var(--surface-bg); color: var(--text-color);6 unmodified lines.filters-quad__controls select:hover { border-color: var(--primary-color); }.filters-quad__controls select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(232,137,171,.25); outline: none; }.filters-quad__legend { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; font-size:12px; color: var(--text-color); margin: 2px 0 10px 0; }.filters-quad__legend .item { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }.filters-quad__legend .swatch { width:10px; height:10px; border-radius:50%; display:inline-block; }38 unmodified liness.addEventListener('load', onReady, { once: true }); if (window.d3) onReady();};// Mapping métrique -> libellé lisible (aligné avec les autres embeds)const metricTitleMapping = {'docvqa_val_anls': 'DocVQA','infovqa_val_anls': 'InfoVQA','mme_total_score': 'MME Total','mmmu_val_mmmu_acc': 'MMMU','mmstar_average': 'MMStar','ocrbench_ocrbench_accuracy': 'OCRBench','scienceqa_exact_match': 'ScienceQA','textvqa_val_exact_match': 'TextVQA','average': 'Average','average_rank': 'Average Rank','ai2d_exact_match': 'AI2D','chartqa_relaxed_overall': 'ChartQA','seedbench_seed_all': 'SeedBench'};function getMetricDisplayName(metricKey){return metricTitleMapping[metricKey] || metricKey;}function initRunLine(cell){const d3 = window.d3;const csvPath = cell.getAttribute('data-csv');28 unmodified linesconst xScale = d3.scaleLinear(); const yScale = d3.scaleLinear();const lineGen = d3.line().x(d => xScale(d.step)).y(d => yScale(d.value));let isRankStrictFlag = false; let rankTickMax = 1;// Colors and markers (match original embeds)const primary = getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim() || '#E889AB';const pool = [primary, '#4EA5B7', '#E38A42', '#CEC0FA', ...(d3.schemeTableau10||[])];const markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;function drawMarker(selection, shape, size) {const s = size / 2;switch (shape) {11 unmodified linesreturn selection.append('circle').attr('r', s);}}// Small SVG markup for marker shape (used in hover)function shapeSvgMarkup(shape, color) {const stroke = color;switch (shape) {case 'circle':return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><circle r="5" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;case 'square':return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><rect x="-5" y="-5" width="10" height="10" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;case 'triangle':return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,-6 L5,3 L-5,3 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;case 'diamond':return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,-6 L6,0 L0,6 L-6,0 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;case 'inverted-triangle':return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,6 L5,-3 L-5,-3 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;default:return `<svg width="14" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><circle r="5" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;}}// Ready signal for async load completionlet readyResolve = null;const ready = new Promise((res)=> { readyResolve = res; });27 unmodified linesgAxes.selectAll('*').remove();let xAxis = d3.axisBottom(xScale).tickSizeOuter(0); xAxis = xAxis.ticks(8);const yAxis = d3.axisLeft(yScale).tickValues(yTicks).tickSizeOuter(0).tickFormat(isRankStrictFlag ? d3.format('d') : d3.format('.2f'));gAxes.append('g').attr('transform', `translate(0,${innerHeight})`).call(xAxis).call(g=>{ g.selectAll('path, line').attr('stroke',axisColor); g.selectAll('text').attr('fill',tickColor).style('font-size','11px'); });gAxes.append('g').call(yAxis).call(g=>{ g.selectAll('path, line').attr('stroke',axisColor); g.selectAll('text').attr('fill',tickColor).style('font-size','11px'); });// Legend box (top-right)// Per-cell legend hidden; global legend is used12 unmodified linesruns.forEach(r => { (map[r]||[]).forEach(pt => { const v = isRankStrict ? Math.round(pt.value) : pt.value; minStep=Math.min(minStep,pt.step); maxStep=Math.max(maxStep,pt.step); maxVal=Math.max(maxVal,v); minVal=Math.min(minVal,v); }); });if (!isFinite(minStep) || !isFinite(maxStep)) return;xScale.domain([minStep, maxStep]); if (isRank) { rankTickMax = Math.max(1, Math.round(maxVal)); yScale.domain([rankTickMax, 1]); } else { yScale.domain([minVal, maxVal]).nice(); }isRankStrictFlag = isRankStrict;const { innerWidth, innerHeight } = updateScales();38 unmodified lines// HovergHover.selectAll('*').remove();const overlay = gHover.append('rect').attr('fill','transparent').style('cursor','crosshair').attr('x',0).attr('y',0).attr('width', innerWidth).attr('height', innerHeight);const hoverLine = gHover.append('line').attr('stroke','rgba(0,0,0,0.25)').attr('stroke-width',1).attr('y1',0).attr('y2',innerHeight).style('display','none');const stepSet = new Set(); series.forEach(s=>s.values.forEach(v=>stepSet.add(v.step))); const steps = Array.from(stepSet).sort((a,b)=>a-b);function onMove(ev){const [mx,my] = d3.pointer(ev, overlay.node());const nearest = steps.reduce((best,s)=> Math.abs(s - xScale.invert(mx)) < Math.abs(best - xScale.invert(mx)) ? s : best, steps[0]);const xpx = xScale(nearest);hoverLine.attr('x1',xpx).attr('x2',xpx).style('display',null);let html = `<div><strong>${titleText}</strong></div><div><strong>step</strong> ${nearest}</div>`;const items = [];series.forEach(s => {const m = new Map(s.values.map(v=>[v.step, v]));const pt = m.get(nearest);if (pt && pt.value != null) items.push({ s, pt });});const fmt = (vv)=> (isRankStrictFlag ? d3.format('d')(vv) : (+vv).toFixed(4));items.sort((a,b)=> isRankStrictFlag ? (b.pt.value - a.pt.value) : (a.pt.value - b.pt.value));items.forEach(({ s, pt }) => {const err = (pt.stderr!=null && isFinite(pt.stderr) && pt.stderr>0) ? ` ± ${fmt(pt.stderr)}` : '';html += `<div style=\"display:flex;align-items:center;gap:6px;\">${shapeSvgMarkup(s.marker, s.color)}<strong>${s.run}</strong> ${fmt(pt.value)}${err}</div>`;});tipInner.innerHTML = html;const offsetX=12, offsetY=12;tip.style.opacity='1';tip.style.transform=`translate(${Math.round(mx+offsetX+margin.left)}px, ${Math.round(my+offsetY+margin.top)}px)`;}function onLeave(){ tip.style.opacity='0'; tip.style.transform='translate(-9999px, -9999px)'; hoverLine.style('display','none'); }overlay.on('mousemove', onMove).on('mouseleave', onLeave);}17 unmodified linesmetricList = Array.from(new Set(rows.map(r=>r.metric))).sort();runList = Array.from(new Set(rows.map(r=>r.run))).sort(); runOrder = runList;metricList.forEach(m => { const map={}; runList.forEach(r=>map[r]=[]); rows.filter(r=>r.metric===m).forEach(r=>{ if(!isNaN(r.step)&&!isNaN(r.value)) map[r.run].push({ step:r.step, value:r.value, stderr:r.stderr }); }); dataByMetric.set(m, map); });// Par défaut, privilégier average_rank, sinon premier dispoconst preferred = metricList.find(m => /average_rank/i.test(m)) || metricList.find(m => m === 'ai2d_exact_match');const def = preferred || metricList[0];renderMetric(def);const ro = window.ResizeObserver ? new ResizeObserver(()=>renderMetric(def)) : null; if (ro) ro.observe(cell);if (typeof readyResolve === 'function') readyResolve();8 unmodified linesreturn {ready,getMetrics: () => metricList.slice(),setMetric: (m) => { if (m) renderMetric(m); }};}26 unmodified linesconst intersect = (arrs) => arrs.reduce((acc, cur) => acc.filter(x => cur.includes(x)));let metrics = lists.length ? intersect(lists) : [];if (!metrics.length) { metrics = lists[0] || []; }// Par défaut: average_rank si présent (pas AI2D)const def = (metrics.find(m => /average_rank/i.test(m)) || metrics[0] || '');let ctrl = host.querySelector('.filters-quad__controls');if (!ctrl) { ctrl = document.createElement('div'); ctrl.className = 'filters-quad__controls'; host.insertBefore(ctrl, host.firstChild); }ctrl.innerHTML = '';const label = document.createElement('label'); label.textContent = 'Metric';const select = document.createElement('select');metrics.forEach(m => { const o=document.createElement('option'); o.value=m; o.textContent=getMetricDisplayName(m); select.appendChild(o); });if (def) select.value = def;label.appendChild(select); ctrl.appendChild(label);const applyAll = (v) => instances.forEach(i => i && typeof i.setMetric === 'function' && i.setMetric(v));if (def) applyAll(def);select.addEventListener('change', () => applyAll(select.value));6 unmodified linesif (r.ok && window.d3 && window.d3.csvParse) {const txt = await r.text();const rows = window.d3.csvParse(txt);const runList = Array.from(new Set(rows.map(row => String(row.run||'').trim()).filter(Boolean)));const primary = getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim() || '#E889AB';const pool = [primary, '#4EA5B7', '#E38A42', '#CEC0FA', ...((window.d3 && window.d3.schemeTableau10) ? window.d3.schemeTableau10 : ['#4e79a7','#f28e2b','#e15759','#76b7b2','#59a14f','#edc948','#b07aa1','#ff9da7','#9c755f','#bab0ab'])];const markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const shapeSVG = (shape, color) => {const size = 12; const s = size/2; const stroke = color;if (shape === 'circle') return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><circle r="5" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;if (shape === 'square') return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><rect x="-5" y="-5" width="10" height="10" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;if (shape === 'triangle') return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,-6 L5,3 L-5,3 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;if (shape === 'diamond') return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,-6 L6,0 L0,6 L-6,0 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;if (shape === 'inverted-triangle') return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><path d="M0,6 L5,-3 L-5,-3 Z" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;return `<svg width="12" height="12" viewBox="-6 -6 12 12" aria-hidden="true"><circle r="5" fill="${color}" stroke="${stroke}" stroke-width="1" /></svg>`;};legendHost.innerHTML = runList.map((name, i)=> {const color = pool[i % pool.length];
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
165 unmodified lines16616716816917017117217317417517617717817918018118218318418556 unmodified lines24224324424524624724824960 unmodified lines310311312313314315112 unmodified lines428429430431432433434435165 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions for different shapesconst defs = svg.append('defs');// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');const gAreas = gRoot.append('g').attr('class', 'areas');const gLines = gRoot.append('g').attr('class', 'lines');const gPoints = gRoot.append('g').attr('class', 'points');const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear();let yScale = d3.scaleLinear();// Line generators - simple linear connectionsconst lineGen = d3.line()60 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {112 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {rankTickMax = Math.max(1, Math.round(maxVal));yScale.domain([rankTickMax, 1]);} else {yScale.domain([minVal, maxVal]).nice();}165 unmodified lines16616716816917017117217317417517617717817918018118218318418518618718818919019156 unmodified lines24824925025125225325425560 unmodified lines316317318319320321322323324325326327328112 unmodified lines441442443444445446447448165 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions and clipPath for chart areaconst defs = svg.append('defs');const clipId = `clip-${Math.random().toString(36).slice(2)}`;const clipPath = defs.append('clipPath').attr('id', clipId).attr('clipPathUnits', 'userSpaceOnUse');const clipRect = clipPath.append('rect').attr('x', 0).attr('y', 0).attr('width', 0).attr('height', 0);// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');// Dedicated plotting layer that will be clippedconst gPlot = gRoot.append('g').attr('class', 'plot');const gAreas = gPlot.append('g').attr('class', 'areas');const gLines = gPlot.append('g').attr('class', 'lines');const gPoints = gPlot.append('g').attr('class', 'points');const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear().clamp(true);let yScale = d3.scaleLinear().clamp(true);// Line generators - simple linear connectionsconst lineGen = d3.line()60 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Update clip rect to match inner plotting area (coords local to gRoot)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {112 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {rankTickMax = isRankStrict ? Math.max(1, Math.round(maxVal)) : Math.max(1, maxVal);yScale.domain([rankTickMax, 1]).nice();} else {yScale.domain([minVal, maxVal]).nice();}
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 9;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');170 unmodified lines171172173174175176177170 unmodified lines// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');
165 unmodified lines16616716816917017117217317417517617717817918018118218318418556 unmodified lines24224324424524624724824960 unmodified lines310311312313314315112 unmodified lines428429430431432433434435165 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions for different shapesconst defs = svg.append('defs');// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 8;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');const gAreas = gRoot.append('g').attr('class', 'areas');const gLines = gRoot.append('g').attr('class', 'lines');const gPoints = gRoot.append('g').attr('class', 'points');const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear();let yScale = d3.scaleLinear();// Line generators - simple linear connectionsconst lineGen = d3.line()60 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {112 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {rankTickMax = Math.max(1, Math.round(maxVal));yScale.domain([rankTickMax, 1]);} else {yScale.domain([minVal, maxVal]).nice();}165 unmodified lines16616716816917017117217317417517617717817918018118218318418518618718818919019156 unmodified lines24824925025125225325425560 unmodified lines316317318319320321322323324325326327328112 unmodified lines441442443444445446447448165 unmodified lines.attr('width', '100%').style('display', 'block');// Add marker definitions and clipPath for chart areaconst defs = svg.append('defs');const clipId = `clip-${Math.random().toString(36).slice(2)}`;const clipPath = defs.append('clipPath').attr('id', clipId).attr('clipPathUnits', 'userSpaceOnUse');const clipRect = clipPath.append('rect').attr('x', 0).attr('y', 0).attr('width', 0).attr('height', 0);// Academic marker shapesconst markerShapes = ['circle', 'square', 'triangle', 'diamond', 'inverted-triangle'];const markerSize = 5;// Groupsconst gRoot = svg.append('g');const gGrid = gRoot.append('g').attr('class', 'grid');const gAxes = gRoot.append('g').attr('class', 'axes');// Dedicated plotting layer that will be clippedconst gPlot = gRoot.append('g').attr('class', 'plot');const gAreas = gPlot.append('g').attr('class', 'areas');const gLines = gPlot.append('g').attr('class', 'lines');const gPoints = gPlot.append('g').attr('class', 'points');const gHover = gRoot.append('g').attr('class', 'hover');const gLegend = gRoot.append('foreignObject').attr('class', 'legend');56 unmodified lines// Scales and layoutlet width = 800, height = 360;let margin = { top: 16, right: 28, bottom: 56, left: 64 };let xScale = d3.scaleLinear().clamp(true);let yScale = d3.scaleLinear().clamp(true);// Line generators - simple linear connectionsconst lineGen = d3.line()60 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Update clip rect to match inner plotting area (coords local to gRoot)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);// Compute Y tickslet yTicks = [];if (isRankStrictFlag) {112 unmodified linesif (!isFinite(minStep) || !isFinite(maxStep)) { return; }xScale.domain([minStep, maxStep]);if (isRank) {rankTickMax = isRankStrict ? Math.max(1, Math.round(maxVal)) : Math.max(1, maxVal);yScale.domain([rankTickMax, 1]).nice();} else {yScale.domain([minVal, maxVal]).nice();}
185 unmodified lines186187188189190191192185 unmodified lines</script><script>// Delegate copy clicks for code blocks injected by rehypeCodeCopyAndLabeldocument.addEventListener('click', async (e) => {const target = e.target instanceof Element ? e.target : null;const btn = target ? target.closest('.code-copy') : null;185 unmodified lines186187188189190191192185 unmodified lines</script><script>// Delegate copy clicks for code blocks injected by rehypeCodeCopydocument.addEventListener('click', async (e) => {const target = e.target instanceof Element ? e.target : null;const btn = target ? target.closest('.code-copy') : null;
68 unmodified lines69707172737475767750 unmodified lines12812913013168 unmodified lines}.wide {/* Target up to ~1400px while staying within viewport minus page gutters */width: min(1400px, 100vw - 32px);margin-left: 50%;transform: translateX(-50%);}50 unmodified lines}68 unmodified lines69707172737475767750 unmodified lines12812913013113213313413513613713813914014114214314414514614714814915015115215368 unmodified lines}.wide {/* Target up to ~1100px while staying within viewport minus page gutters */width: min(1100px, 100vw - 32px);margin-left: calc(50% + var(--content-padding-x) * 2);transform: translateX(-50%);}50 unmodified lines}/* ------------------------------------------------------------------------- *//* D3 neural embed responsiveness *//* Stack canvas (left) over network (right) on small screens *//* ------------------------------------------------------------------------- */@media (--bp-md) {.d3-neural .panel {flex-direction: column;}.d3-neural .panel .left {flex: 0 0 auto;width: 100%;}.d3-neural .panel .right {flex: 0 0 auto;width: 100%;min-width: 0;}}
39 unmodified lines404142434445464739 unmodified lines/* Avoid page breaks inside complex visual blocks */.hero,.hero-banner,.d3-galaxy,.d3-galaxy svg,.html-embed__card,.html-embed__card,.js-plotly-plot,39 unmodified lines404142434445464739 unmodified lines/* Avoid page breaks inside complex visual blocks */.hero,.hero-banner,.d3-banner,.d3-banner svg,.html-embed__card,.html-embed__card,.js-plotly-plot,
11 unmodified lines121314151617124 unmodified lines14214314414514614715 unmodified lines16316416516616716811 unmodified linesline-height: 1.5;}/* ============================================================================ *//* Shiki code blocks *//* ============================================================================ */124 unmodified lines/* ============================================================================ *//* Inside Accordions: remove padding and border on code containers */.accordion .astro-code { padding: 0; border: none; }/* ============================================================================ *//* Language/extension vignette (bottom-right, discreet) */15 unmodified linespadding: 4px 6px;pointer-events: none;} *//* In Accordions, keep same bottom-right placement */.accordion .astro-code::after { right: 0; bottom: 0; }11 unmodified lines121314151617181920212223124 unmodified lines14814915015115215315415515615 unmodified lines17217317417517617717817918018118218318418518618718818919019119219319419511 unmodified linesline-height: 1.5;}p code, .note code {white-space: nowrap;padding: calc(var(--spacing-1)/3) calc(var(--spacing-1)/2);}/* ============================================================================ *//* Shiki code blocks *//* ============================================================================ */124 unmodified lines/* ============================================================================ *//* Inside Accordions: remove padding and border on code containers */.accordion .astro-code { padding: 0; border: none; }.accordion .astro-code { margin-bottom: 0 !important; }.accordion pre { margin-bottom: 0 !important; }.accordion .code-card pre { margin: 0 !important; }/* ============================================================================ *//* Language/extension vignette (bottom-right, discreet) */15 unmodified linespadding: 4px 6px;pointer-events: none;} *//* Fallback if Shiki uses data-lang instead of data-language *//* .astro-code[data-lang]::after { content: attr(data-lang); }.astro-code[data-language="typescript"]::after { content: "ts"; }.astro-code[data-language="tsx"]::after { content: "tsx"; }.astro-code[data-language="javascript"]::after,.astro-code[data-language="node"]::after,.astro-code[data-language="jsx"]::after { content: "js"; }.astro-code[data-language="python"]::after { content: "py"; }.astro-code[data-language="bash"]::after,.astro-code[data-language="shell"]::after,.astro-code[data-language="sh"]::after { content: "sh"; }.astro-code[data-language="markdown"]::after { content: "md"; }.astro-code[data-language="yaml"]::after,.astro-code[data-language="yml"]::after { content: "yml"; }.astro-code[data-language="html"]::after { content: "html"; }.astro-code[data-language="css"]::after { content: "css"; }.astro-code[data-language="json"]::after { content: "json"; } *//* In Accordions, keep same bottom-right placement */.accordion .astro-code::after { right: 0; bottom: 0; }
76 unmodified lines7778798081828376 unmodified linesborder: none;border-radius: 0;margin: 0;}.accordion .accordion__content .table-scroll > table thead th:first-child,.accordion .accordion__content .table-scroll > table thead th:last-child,.accordion .accordion__content .table-scroll > table tbody tr:last-child td:first-child,76 unmodified lines7778798081828384858676 unmodified linesborder: none;border-radius: 0;margin: 0;margin-bottom: 0 !important;}/* Ensure no bottom margin even if table isn't wrapped (fallback) */.accordion .accordion__content table { margin: 0 !important; }.accordion .accordion__content .table-scroll > table thead th:first-child,.accordion .accordion__content .table-scroll > table thead th:last-child,.accordion .accordion__content .table-scroll > table tbody tr:last-child td:first-child,
3 unmodified lines456789101112133 unmodified linesdisplay: inline-flex;align-items: center;gap: 6px;padding: 10px 16px;font-size: 12px;line-height: 1;border-radius: 100px;background: var(--surface-bg);border: 1px solid var(--border-color);color: var(--text-color);3 unmodified lines456789101112133 unmodified linesdisplay: inline-flex;align-items: center;gap: 6px;padding: 8px 12px;font-size: 12px;line-height: 1;border-radius: var(--button-radius);background: var(--surface-bg);border: 1px solid var(--border-color);color: var(--text-color);
app/.astro/settings.json+3-5
app/astro.config.mjs+3-3
app/package.json
app/plugins/rehype/code-copy-and-label.mjs → app/plugins/rehype/code-copy.mjsRenamed+4-2
app/public/scripts/color-palettes.jsAdded+217
app/scripts/export-pdf.mjs+20-5
app/src/components/Accordion.astro+8-12
app/src/components/Footer.astro-18
app/src/components/RawHtml.astroAdded+6
app/src/components/TableOfContents.astro+3-16
app/src/content/assets/images/thumb.pngAdded
Large File Pointer Details
- SHA256: 2a4dc56d91f2919c80261a986b86783583bdb39e5fcdc5082d5afa96756367c7
- Pointer size: 131 Bytes
- Size of remote file: 493 kB
app/src/content/embeds/against-baselines-deduplicated.html+52-32
app/src/content/embeds/against-baselines.html+29-14
app/src/content/embeds/all-ratings.html+1-1
app/src/content/embeds/banner.html+9-3
app/src/content/embeds/d3-pie.html+18-6
app/src/content/embeds/filters-quad.html+83-78
app/src/content/embeds/formatting-filters.html+1-1
app/src/content/embeds/image-correspondence-filters.html+1-1
app/src/content/embeds/internal-deduplication.html+22-9
app/src/content/embeds/relevance-filters.html+1-1
app/src/content/embeds/remove-ch.html+1-1
app/src/content/embeds/s25-ratings.html+1-1
app/src/content/embeds/ss-vs-s1.html+1-1
app/src/content/embeds/visual-dependency-filters.html+22-9
app/src/pages/index.astro+1-1
app/src/styles/_layout.css+25-3
app/src/styles/_print.css+2-2
app/src/styles/components/_code.css+28-1
app/src/styles/components/_table.css+3
app/src/styles/components/_tag.css+2-2