Zhu Jiajun (jz28583) Claude Opus 4.7 (1M context) commited on
Commit
d05b5bd
·
1 Parent(s): 53c64b6

Cross-link leaderboard <-> dataset on HF + GitHub README

Browse files

- Landing nav adds 'Dataset ↗' link next to GitHub
- Per-task panel adds a 'data ↗' pill linking to that task's HF subdir
- README adds two HF badges (leaderboard space + dataset repo) at the top

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (2) hide show
  1. README.md +2 -0
  2. server/api.py +4 -0
README.md CHANGED
@@ -2,6 +2,8 @@
2
 
3
  > A Kaggle-style scoring server for benchmarking ML/AI agent harnesses on heterogeneous graph datasets.
4
 
 
 
5
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
6
  [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
7
  [![Status](https://img.shields.io/badge/status-pre--launch-orange)](#status)
 
2
 
3
  > A Kaggle-style scoring server for benchmarking ML/AI agent harnesses on heterogeneous graph datasets.
4
 
5
+ [![Leaderboard](https://img.shields.io/badge/%F0%9F%A4%97%20Leaderboard-lanczos%2Fgraphtestbed-yellow)](https://huggingface.co/spaces/lanczos/graphtestbed)
6
+ [![Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Dataset-lanczos%2Fgraphtestbed--data-yellow)](https://huggingface.co/datasets/lanczos/graphtestbed-data)
7
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/)
8
  [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
9
  [![Status](https://img.shields.io/badge/status-pre--launch-orange)](#status)
server/api.py CHANGED
@@ -757,6 +757,8 @@ _LANDING_TMPL = r"""<!doctype html>
757
  .pill.gt { background: var(--good-bg); color: var(--good); }
758
  .pill.warn { background: var(--warn-bg); color: var(--warn); }
759
  .pill.muted { background: var(--bg-alt); color: var(--fg-muted); }
 
 
760
 
761
  /* ---- search bar ---- */
762
  .toolbar {
@@ -947,6 +949,7 @@ _LANDING_TMPL = r"""<!doctype html>
947
  <a href="#" data-view="leaderboard" class="view-link primary">Leaderboard</a>
948
  <a href="#about" data-view="about" class="view-link">About</a>
949
  <a href="#api" data-view="api" class="view-link">API</a>
 
950
  <a href="https://github.com/zhuconv/GraphTestbed" target="_blank" rel="noopener">GitHub &#8599;</a>
951
  </nav>
952
  </header>
@@ -1032,6 +1035,7 @@ _LANDING_TMPL = r"""<!doctype html>
1032
  <span class="pill metric">{{ t.metric }}</span>
1033
  {% if t.n_rows %}<span class="pill muted">{{ "{:,}".format(t.n_rows) }} test rows</span>{% endif %}
1034
  <span class="pill schema">[{{ t.id_col }}, {{ t.pred_col }}]</span>
 
1035
  {% if not t.gt_present and t.backend == 'gt' %}<span class="pill warn">GT missing</span>{% endif %}
1036
  {% if t.backend != 'gt' %}<span class="pill muted">backend: {{ t.backend }}</span>{% endif %}
1037
  </div>
 
757
  .pill.gt { background: var(--good-bg); color: var(--good); }
758
  .pill.warn { background: var(--warn-bg); color: var(--warn); }
759
  .pill.muted { background: var(--bg-alt); color: var(--fg-muted); }
760
+ .pill.link { background: var(--bg-alt); color: var(--accent); text-decoration: none; }
761
+ .pill.link:hover { background: var(--accent-bg); }
762
 
763
  /* ---- search bar ---- */
764
  .toolbar {
 
949
  <a href="#" data-view="leaderboard" class="view-link primary">Leaderboard</a>
950
  <a href="#about" data-view="about" class="view-link">About</a>
951
  <a href="#api" data-view="api" class="view-link">API</a>
952
+ <a href="https://huggingface.co/datasets/lanczos/graphtestbed-data" target="_blank" rel="noopener">Dataset &#8599;</a>
953
  <a href="https://github.com/zhuconv/GraphTestbed" target="_blank" rel="noopener">GitHub &#8599;</a>
954
  </nav>
955
  </header>
 
1035
  <span class="pill metric">{{ t.metric }}</span>
1036
  {% if t.n_rows %}<span class="pill muted">{{ "{:,}".format(t.n_rows) }} test rows</span>{% endif %}
1037
  <span class="pill schema">[{{ t.id_col }}, {{ t.pred_col }}]</span>
1038
+ <a class="pill link" href="https://huggingface.co/datasets/lanczos/graphtestbed-data/tree/main/{{ t.name }}" target="_blank" rel="noopener">data &#8599;</a>
1039
  {% if not t.gt_present and t.backend == 'gt' %}<span class="pill warn">GT missing</span>{% endif %}
1040
  {% if t.backend != 'gt' %}<span class="pill muted">backend: {{ t.backend }}</span>{% endif %}
1041
  </div>