openhands openhands commited on
Commit
1ca9fc3
·
1 Parent(s): d8b77db

Fix nav links opening in new tab and simplify methodology text

Browse files

- Remove target="_blank" from navigation links so they open in same tab
- Remove unnecessary note about agents without cost/runtime data

Co-authored-by: openhands <openhands@all-hands.dev>

Files changed (2) hide show
  1. about.py +1 -1
  2. app.py +2 -0
about.py CHANGED
@@ -36,7 +36,7 @@ def build_page():
36
  <h2>Methodology</h2>
37
  <p><strong>Per-benchmark scores:</strong> Each benchmark reports a percentage metric (resolve rate, accuracy, or test pass rate), making scores comparable regardless of dataset size.</p>
38
  <p><strong>Average score:</strong> Macro-average across all five categories with equal weighting.</p>
39
- <p><strong>Cost &amp; Runtime:</strong> Average USD and seconds per task instance. Agents without cost/runtime data are shown separately in Pareto plots.</p>
40
  <p>All evaluations use the <a href="https://github.com/OpenHands/software-agent-sdk" target="_blank">OpenHands Agent SDK</a> with identical configurations per model.</p>
41
  """
42
  )
 
36
  <h2>Methodology</h2>
37
  <p><strong>Per-benchmark scores:</strong> Each benchmark reports a percentage metric (resolve rate, accuracy, or test pass rate), making scores comparable regardless of dataset size.</p>
38
  <p><strong>Average score:</strong> Macro-average across all five categories with equal weighting.</p>
39
+ <p><strong>Cost &amp; Runtime:</strong> Average USD and seconds per task instance.</p>
40
  <p>All evaluations use the <a href="https://github.com/OpenHands/software-agent-sdk" target="_blank">OpenHands Agent SDK</a> with identical configurations per model.</p>
41
  """
42
  )
app.py CHANGED
@@ -97,6 +97,8 @@ fix_nav_links_script = """
97
  // If URL parsing fails, leave the href as-is
98
  }
99
  }
 
 
100
  });
101
  }
102
 
 
97
  // If URL parsing fails, leave the href as-is
98
  }
99
  }
100
+ // Remove target="_blank" from nav links to prevent opening in new tab
101
+ link.removeAttribute('target');
102
  });
103
  }
104