import gradio as gr def build_page(): with gr.Column(elem_id="about-page-content-wrapper"): # --- Section 1: About --- gr.HTML( """

About

OpenHands Index tracks AI coding agent performance across software engineering benchmarks, providing a unified view of both accuracy and cost efficiency.

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 2: Benchmark Details --- gr.HTML( """

Benchmark Details

We evaluate agents across five categories:

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 3: Methodology --- gr.HTML( """

Methodology

Per-benchmark scores: Each benchmark reports a percentage metric (resolve rate, accuracy, or test pass rate), making scores comparable regardless of dataset size.

Average score: Macro-average across all five categories with equal weighting.

Cost & Runtime: Average USD and seconds per task instance.

All evaluations use the OpenHands Agent SDK with identical configurations per model.

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 4: API Access --- gr.HTML( """

API Access

Access leaderboard data programmatically via our REST API:

Example:

curl "https://index.openhands.dev/api/leaderboard?limit=5"
""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 5: Resources --- gr.HTML( """

Resources

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 5: Contact --- gr.HTML( """

Contact

Questions or feedback? Join us on Slack.

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 6: Acknowledgements --- gr.HTML( """

Acknowledgements

The leaderboard interface is adapted from the AstaBench Leaderboard by Allen Institute for AI.

""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 7: Citation --- gr.HTML( """

Citation

@misc{openhandsindex2025,
    title={OpenHands Index: A Comprehensive Leaderboard for AI Coding Agents},
    author={OpenHands Team},
    year={2025},
    howpublished={https://index.openhands.dev}
}
""" )