jzxiao commited on
Commit
0d2d110
·
verified ·
1 Parent(s): fe81ad7

Remove Paper snapshot page and navigation

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.js +2 -3
  3. index.html +1 -9
README.md CHANGED
@@ -36,7 +36,7 @@ Only measurements in the authoritative current project scope are exported. Missi
36
  - Dataset-level method details, snapshot provenance, and metric definitions
37
  - Overall composite score and average dataset Rank, with 36 valid positive one-decimal weight combinations
38
 
39
- The default family view selects the best measured compression-rate configuration independently for each dataset. Switch to **Exact configuration** to hold a configuration fixed. Runtime results stay separate. The paper snapshot tab preserves the frozen source table and is separate from the current report aggregation.
40
 
41
  The Overall score is `a × average rate + b × normalized average encode time + c × normalized average decode time`. Time normalization is linear min–max across all eligible rows in the selected runtime, scope and row mode; an equal-time range normalizes to zero. Search, family and coverage filters only hide rows and never change the reference. Average Rank averages per-dataset composite-score ranks with dataset-local time normalization and fractional ties. Missing results are omitted. Coverage and candidate counts can differ across datasets; method details expose dataset scores, ranks and candidate counts. CSV downloads include weights, normalization bounds and rank coverage. The default weights are `a=0.4, b=0.3, c=0.3`.
42
 
 
36
  - Dataset-level method details, snapshot provenance, and metric definitions
37
  - Overall composite score and average dataset Rank, with 36 valid positive one-decimal weight combinations
38
 
39
+ The default family view selects the best measured compression-rate configuration independently for each dataset. Switch to **Exact configuration** to hold a configuration fixed. Runtime results stay separate.
40
 
41
  The Overall score is `a × average rate + b × normalized average encode time + c × normalized average decode time`. Time normalization is linear min–max across all eligible rows in the selected runtime, scope and row mode; an equal-time range normalizes to zero. Search, family and coverage filters only hide rows and never change the reference. Average Rank averages per-dataset composite-score ranks with dataset-local time normalization and fractional ties. Missing results are omitted. Coverage and candidate counts can differ across datasets; method details expose dataset scores, ranks and candidate counts. CSV downloads include weights, normalization bounds and rank coverage. The default weights are `a=0.4, b=0.3, c=0.3`.
42
 
app.js CHANGED
@@ -91,9 +91,9 @@ function refresh() {
91
  if(selectedMethod)showMethod(selectedMethod,false);
92
  }
93
  function setTab(tab) {
94
- activeTab=['overall','dataset','tradeoffs','methods','paper','about'].includes(tab)?tab:'overall';
95
  for(const b of document.querySelectorAll('[data-tab]')){b.classList.toggle('active',b.dataset.tab===activeTab);if(b.dataset.tab===activeTab)b.setAttribute('aria-current','page');else b.removeAttribute('aria-current');}
96
- $('results-view').hidden=['methods','paper','about'].includes(activeTab);$('methods-view').hidden=activeTab!=='methods';$('paper-view').hidden=activeTab!=='paper';$('about-view').hidden=activeTab!=='about';$('chart-view').hidden=activeTab!=='tradeoffs';
97
  $('score-controls').hidden=activeTab!=='overall';
98
  for(const input of $('column-options').querySelectorAll('input'))input.parentElement.hidden=Boolean(cols.find(c=>c.key===input.dataset.column)?.overallOnly&&activeTab!=='overall');
99
  if(activeTab!=='overall'&&cols.find(c=>c.key===sort.key)?.overallOnly)sort={key:'compression_rate',direction:1};
@@ -164,7 +164,6 @@ function init() {
164
  for(const id of ['runtime','dtype','precision','dataset','family','row-mode','complete-only'])$(id).addEventListener('change',refresh);$('search').addEventListener('input',refresh);$('chart-metric').addEventListener('change',renderChart);$('download').addEventListener('click',csv);
165
  $('reset').addEventListener('click',()=>{$('runtime').value=runtimes.includes('cpp')?'cpp':runtimes[0];$('dtype').value='overall';$('precision').value='all';$('dataset').value='all';$('row-mode').value='family';$('search').value='';$('family').value='all';$('weights').value='4,3,3';$('complete-only').checked=false;selectedMethod=null;$('method-detail').hidden=true;sort={key:'compression_rate',direction:1};setTab(activeTab);});
166
  for(const tab of document.querySelectorAll('[data-tab]'))tab.addEventListener('click',()=>{history.replaceState(null,'',`#${tab.dataset.tab}`);setTab(tab.dataset.tab);});
167
- const renderPaper=()=>{const rows=(snapshot.paper_table3?.rows||[]).filter(r=>r.scope===$('paper-scope').value);$('paper-table').querySelector('tbody').innerHTML=rows.map(r=>`<tr><td>${escape(r.method)}</td><td class="numeric">${fmt(r.rank,1)}</td><td class="numeric">${fmt(r.average_compression_rate,4)}</td><td class="numeric">${fmt(r.average_compression_time_ns_per_point,1)}</td><td class="numeric">${fmt(r.average_decompression_time_ns_per_point,1)}</td><td class="numeric">${fmt(r.median_balanced_score,4)}</td></tr>`).join('');};$('paper-scope').addEventListener('change',renderPaper);renderPaper();
168
  renderAbout();setTab(location.hash.slice(1)||'overall');
169
  document.documentElement.dataset.ready='true';
170
  }
 
91
  if(selectedMethod)showMethod(selectedMethod,false);
92
  }
93
  function setTab(tab) {
94
+ activeTab=['overall','dataset','tradeoffs','methods','about'].includes(tab)?tab:'overall';
95
  for(const b of document.querySelectorAll('[data-tab]')){b.classList.toggle('active',b.dataset.tab===activeTab);if(b.dataset.tab===activeTab)b.setAttribute('aria-current','page');else b.removeAttribute('aria-current');}
96
+ $('results-view').hidden=['methods','about'].includes(activeTab);$('methods-view').hidden=activeTab!=='methods';$('about-view').hidden=activeTab!=='about';$('chart-view').hidden=activeTab!=='tradeoffs';
97
  $('score-controls').hidden=activeTab!=='overall';
98
  for(const input of $('column-options').querySelectorAll('input'))input.parentElement.hidden=Boolean(cols.find(c=>c.key===input.dataset.column)?.overallOnly&&activeTab!=='overall');
99
  if(activeTab!=='overall'&&cols.find(c=>c.key===sort.key)?.overallOnly)sort={key:'compression_rate',direction:1};
 
164
  for(const id of ['runtime','dtype','precision','dataset','family','row-mode','complete-only'])$(id).addEventListener('change',refresh);$('search').addEventListener('input',refresh);$('chart-metric').addEventListener('change',renderChart);$('download').addEventListener('click',csv);
165
  $('reset').addEventListener('click',()=>{$('runtime').value=runtimes.includes('cpp')?'cpp':runtimes[0];$('dtype').value='overall';$('precision').value='all';$('dataset').value='all';$('row-mode').value='family';$('search').value='';$('family').value='all';$('weights').value='4,3,3';$('complete-only').checked=false;selectedMethod=null;$('method-detail').hidden=true;sort={key:'compression_rate',direction:1};setTab(activeTab);});
166
  for(const tab of document.querySelectorAll('[data-tab]'))tab.addEventListener('click',()=>{history.replaceState(null,'',`#${tab.dataset.tab}`);setTab(tab.dataset.tab);});
 
167
  renderAbout();setTab(location.hash.slice(1)||'overall');
168
  document.documentElement.dataset.ready='true';
169
  }
index.html CHANGED
@@ -7,7 +7,7 @@
7
  <meta name="color-scheme" content="light dark">
8
  <title>THULab | Time Series Compression Benchmark</title>
9
  <link rel="stylesheet" href="style.css?v=20261008-rank-v1">
10
- <script src="app.js?v=20261008-rank-v1" type="module"></script>
11
  </head>
12
  <body>
13
  <a class="skip-link" href="#content">Skip to results</a>
@@ -33,7 +33,6 @@
33
  <button id="tab-dataset" class="tab" data-tab="dataset">By dataset</button>
34
  <button id="tab-tradeoffs" class="tab" data-tab="tradeoffs">Trade-offs</button>
35
  <button id="tab-methods" class="tab" data-tab="methods">Methods</button>
36
- <button id="tab-paper" class="tab" data-tab="paper">Paper snapshot</button>
37
  <button id="tab-about" class="tab" data-tab="about">About</button>
38
  </nav>
39
  <div id="load-error" class="error-message" role="alert" hidden></div>
@@ -72,13 +71,6 @@
72
  <section id="method-detail" class="method-detail" hidden tabindex="-1" aria-labelledby="detail-title"></section>
73
  </section>
74
  <section id="methods-view" class="text-view" hidden><h2>Method configurations</h2><p class="muted">Names and parameters are retained from the project's result files. Availability can differ by runtime and data type.</p><div id="method-catalog"></div></section>
75
- <section id="paper-view" class="text-view" hidden>
76
- <h2>Frozen paper Table 3 snapshot</h2>
77
- <p class="notice">These stored C++ results reproduce the project's frozen paper table. They are separate from the current report-tree leaderboard because source reports and method labels have evolved.</p>
78
- <label style="max-width:300px;margin:20px 0">Paper data scope<select id="paper-scope"><option value="overall">All numeric</option><option value="integer">Integer</option><option value="fixed_float">Fixed-precision float</option><option value="nonfixed_float">Non-fixed-precision float</option></select></label>
79
- <div class="table-wrap"><table id="paper-table"><thead><tr><th>Method</th><th>Stored rank</th><th>Average rate ↓</th><th>Encode ns/point ↓</th><th>Decode ns/point ↓</th><th>Stored balanced score ↓</th></tr></thead><tbody></tbody></table></div>
80
- <p class="muted" style="margin-top:14px">Stored rank and balanced score retain the source table's aggregation. The current leaderboard does not use these values to fill missing measurements.</p>
81
- </section>
82
  <section id="about-view" class="text-view" hidden>
83
  <h2>About this benchmark</h2>
84
  <p>This Space publishes a snapshot of the existing <a href="https://github.com/xjz17/web_compression" target="_blank" rel="noopener">web_compression</a> project results. The layout follows the grouped leaderboard approach of <a href="https://huggingface.co/spaces/Salesforce/GIFT-Eval" target="_blank" rel="noopener">GIFT-Eval</a>.</p>
 
7
  <meta name="color-scheme" content="light dark">
8
  <title>THULab | Time Series Compression Benchmark</title>
9
  <link rel="stylesheet" href="style.css?v=20261008-rank-v1">
10
+ <script src="app.js?v=20261008-ui-v2" type="module"></script>
11
  </head>
12
  <body>
13
  <a class="skip-link" href="#content">Skip to results</a>
 
33
  <button id="tab-dataset" class="tab" data-tab="dataset">By dataset</button>
34
  <button id="tab-tradeoffs" class="tab" data-tab="tradeoffs">Trade-offs</button>
35
  <button id="tab-methods" class="tab" data-tab="methods">Methods</button>
 
36
  <button id="tab-about" class="tab" data-tab="about">About</button>
37
  </nav>
38
  <div id="load-error" class="error-message" role="alert" hidden></div>
 
71
  <section id="method-detail" class="method-detail" hidden tabindex="-1" aria-labelledby="detail-title"></section>
72
  </section>
73
  <section id="methods-view" class="text-view" hidden><h2>Method configurations</h2><p class="muted">Names and parameters are retained from the project's result files. Availability can differ by runtime and data type.</p><div id="method-catalog"></div></section>
 
 
 
 
 
 
 
74
  <section id="about-view" class="text-view" hidden>
75
  <h2>About this benchmark</h2>
76
  <p>This Space publishes a snapshot of the existing <a href="https://github.com/xjz17/web_compression" target="_blank" rel="noopener">web_compression</a> project results. The layout follows the grouped leaderboard approach of <a href="https://huggingface.co/spaces/Salesforce/GIFT-Eval" target="_blank" rel="noopener">GIFT-Eval</a>.</p>