Spaces:
Running
Running
File size: 61,520 Bytes
085a012 a87403b 085a012 c56f232 085a012 7904c2d 085a012 734891b 855423e 734891b 855423e 369c590 734891b 369c590 085a012 9040dc0 085a012 0db3899 5778893 085a012 0db3899 085a012 0db3899 5778893 085a012 0db3899 085a012 0db3899 5778893 085a012 eb1e409 085a012 0db3899 5778893 085a012 0db3899 085a012 0db3899 085a012 7904c2d 085a012 c56f232 085a012 c56f232 085a012 35aa299 c56f232 35aa299 c56f232 35aa299 c56f232 35aa299 c56f232 35aa299 c56f232 35aa299 c56f232 a87403b 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b 9040dc0 c56f232 734891b c56f232 734891b c56f232 734891b 9040dc0 734891b 9040dc0 734891b 9040dc0 c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 0ee2099 c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 0ee2099 c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b 9040dc0 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 734891b c56f232 0ee2099 c56f232 734891b c56f232 734891b c56f232 734891b c56f232 928e4af c56f232 928e4af c56f232 928e4af c56f232 928e4af c56f232 734891b c56f232 928e4af 734891b c56f232 c14a283 4f4eb00 734891b c14a283 4f4eb00 c14a283 734891b c14a283 4f4eb00 c14a283 4f4eb00 928e4af 734891b c14a283 734891b 4f4eb00 734891b c14a283 4f4eb00 734891b c14a283 4f4eb00 c14a283 4f4eb00 928e4af 734891b 4f4eb00 c14a283 4f4eb00 c14a283 734891b c14a283 4f4eb00 783b63b c14a283 4f4eb00 c14a283 4f4eb00 c14a283 734891b c14a283 4f4eb00 734891b c14a283 4f4eb00 c14a283 734891b 4f4eb00 734891b c14a283 4f4eb00 734891b c14a283 4f4eb00 24ff7a3 4f4eb00 928e4af 24ff7a3 4f4eb00 734891b c14a283 4f4eb00 928e4af 734891b 24ff7a3 734891b 24ff7a3 734891b c14a283 4f4eb00 c14a283 4f4eb00 c14a283 4f4eb00 c14a283 4f4eb00 c14a283 4f4eb00 c14a283 c623c88 c52135c 4f4a27d c52135c 4f4a27d c52135c 0f8031a 734891b 0f8031a 734891b 0f8031a 734891b 0f8031a 734891b 0f8031a c56f232 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 | import re
def create_gradio_anchor_id(text: str, validation) -> str:
"""
Replicates the ID format created by gr.Markdown(header_links=True).
Example: "Paper Finder Validation" -> "h-paper-finder-validation"
"""
text = text.lower()
text = re.sub(r'\s+', '-', text) # Replace spaces with hyphens
text = re.sub(r'[^\w-]', '', text) # Remove non-word characters
if validation:
return f"h-{text}-leaderboard-1"
return f"h-{text}-leaderboard"
TITLE = """<h1 align="left" id="space-title">OpenHands Index</h1>"""
INTRO_PARAGRAPH = """
<h1 class="intro-page-title">The OpenHands Index</h1>
<p>
This is a comprehensive benchmark for evaluating AI coding agents across real-world software engineering tasks. As agents become more capable, we need ways to measure their performance across diverse challenges, from fixing bugs to building applications.
</p>
<p>
The index assesses models across five categories: <strong>Issue Resolution</strong> (fixing bugs), <strong>Greenfield</strong> (building new apps), <strong>Frontend</strong> (UI development), <strong>Testing</strong> (test generation), and <strong>Information Gathering</strong>. All models are currently evaluated using the <a href="https://github.com/OpenHands/software-agent-sdk">OpenHands Software Agent SDK</a>. This provides a single view of both <strong>performance</strong> and <strong>cost efficiency</strong>, enabling fair comparisons between agents.
</p>
<p>
For methodology details, see the <a href="/about" class="intro-link">About</a> page.
</p>
"""
SCATTER_DISCLAIMER = """
**Note:** Agents without cost data are displayed to the right of the vertical divider line.
"""
PARETO_DISCLAIMER = """
Agents names that are green are Pareto optimal, meaning they achieve the best performance for their cost.
"""
BUG_FIXING_DESCRIPTION = """
The **Issue Resolution** category evaluates how well agents can diagnose and fix bugs in real-world codebases. This tests their ability to understand GitHub issues, navigate repositories, identify root causes, and implement correct fixes.
<br><br>
The scores shown below reflect performance aggregated across two distinct benchmarks: SWE-bench (text-based bug reports) and SWE-bench-multimodal (issues with visual context like screenshots or diagrams).
<br><br>
For detailed results, use the links above to explore individual benchmarks.
<br>
"""
APP_CREATION_DESCRIPTION = """
The **Greenfield** category in OpenHands Index evaluates an agent's ability to build complete applications from scratch based on natural language specifications. This tests whether agents can understand requirements, design architecture, write modular code, and create working applications.
<br><br>
This category currently includes Commit0, which challenges agents to implement complete features and applications by generating the initial commit for a project.
<br><br>
For detailed results, use the links above to explore individual benchmark pages.
<br>
"""
FRONTEND_DEVELOPMENT_DESCRIPTION = """
The **Frontend** category evaluates agents on their ability to build user interfaces and web applications. This tests skills in HTML, CSS, JavaScript frameworks, responsive design, and creating interactive user experiences.
<br><br>
This category uses the dev set of <a href="https://huggingface.co/datasets/SWE-bench/SWE-bench_Multimodal" target="_blank" rel="noopener noreferrer">SWE-bench Multimodal (Verified)</a>, a version of SWE-bench Multimodal that includes only <a href="https://github.com/OpenHands/benchmarks/blob/main/benchmarks/swebenchmultimodal/ambiguity_annotations.json" target="_blank" rel="noopener noreferrer">problems verified as solveable</a> by human review.
<br>
"""
TEST_GENERATION_DESCRIPTION = """
The **Testing** category evaluates agents on their ability to create comprehensive test suites for existing code. This tests their understanding of code behavior, edge cases, and the ability to write effective unit tests, integration tests, and end-to-end tests.
<br><br>
This category includes SWT-bench (Software Testing Benchmark), which challenges agents to generate high-quality test cases that achieve good coverage and catch real bugs.
<br>
"""
INFORMATION_GATHERING_DESCRIPTION = """
The **Information Gathering** category tests whether agents can effectively search for information, synthesize knowledge from multiple sources, and answer complex questions that require tool use and reasoning.
<br><br>
This category includes GAIA (General AI Assistant benchmark), which evaluates agents on real-world assistant tasks that require web search, file manipulation, and multi-step reasoning to gather and process information.
<br>
"""
SUBMISSION_CONFIRMATION = """
**Your agent has been submitted to OpenHands Index for evaluation.**
<br><br>
π Thanks for contributing!
<br><br>
You'll receive a confirmation email from our team within 2 business days with next steps. We will reach out to you directly if further information is needed.
<br><br>
We appreciate your support in advancing scientific AI.
"""
# External URLs for benchmark descriptions
SCHOLAR_QA_CS_URL = "https://www.semanticscholar.org/paper/OpenScholar%3A-Synthesizing-Scientific-Literature-LMs-Asai-He/b40df4b273f255b3cb5639e220c8ab7b1bdb313e"
LITQA2_URL = "https://www.semanticscholar.org/paper/Language-agents-achieve-superhuman-synthesis-of-Skarlinski-Cox/fa5f9aa1cb6f97654ca8e6d279ceee1427a87e68"
ARXIV_DIGESTABLES_URL = "https://www.semanticscholar.org/paper/ArxivDIGESTables%3A-Synthesizing-Scientific-into-Newman-Lee/c7face35e84f2cb04fb1600d54298799aa0ed189"
SUPER_URL = "https://www.semanticscholar.org/paper/SUPER%3A-Evaluating-Agents-on-Setting-Up-and-Tasks-Bogin-Yang/053ef8299988680d47df36224bfccffc817472f1"
CORE_BENCH_URL = "https://www.semanticscholar.org/paper/CORE-Bench%3A-Fostering-the-Credibility-of-Published-Siegel-Kapoor/4c913d59d150fe7581386b87dfd9f90448a9adee"
DS1000_URL = "https://arxiv.org/abs/2211.11501"
DISCOVERY_BENCH_URL = "https://www.semanticscholar.org/paper/DiscoveryBench%3A-Towards-Data-Driven-Discovery-with-Majumder-Surana/48c83799530dc523ee01e6c1c40ad577d5c10a16"
# Helper function to create external links
def external_link(url, text, is_s2_url=False):
url = f"{url}?utm_source=openhands_index" if is_s2_url else url
return f"<a href='{url}' target='_blank' rel='noopener noreferrer'>{text}</a>"
def internal_leaderboard_link(text, validation):
anchor_id = create_gradio_anchor_id(text, validation)
return f"<a href='#{anchor_id}'>{text}</a>"
# Function to get benchmark descriptions with validation flag
def get_benchmark_description(benchmark_name, validation):
descriptions = {
'PaperFindingBench': (
"PaperFindingBench assesses an agent's ability to locate sets of papers based on a natural language "
"description that may involve both the papers' content and metadata, such as the author or publication year."
),
'LitQA2-FullText-Search': (
f"A version of {internal_leaderboard_link('LitQA2-FullText', validation)} that isolates the retrieval aspect of the task. "
f"This benchmark features the same multi-choice questions as {internal_leaderboard_link('LitQA2-FullText', validation)}, but the agent is not evaluated on answering the actual question "
"but rather on providing a ranked list of papers in which the answer is likely to be found."
),
'ScholarQA-CS2': (
"ScholarQA-CS2 assesses long-form model responses to literature review questions in the domain of computer science. "
"Answers are expected to be comprehensive reports, such as those produced by deep research systems. "
f"This benchmark advances on the previously released {external_link(SCHOLAR_QA_CS_URL, 'ScholarQA-CS', is_s2_url=True)} "
"by using queries from real-world usage, and introducing new evaluation methods for coverage and precision "
"of both the report text and its citations."
),
'LitQA2-FullText': (
f"{external_link(LITQA2_URL, 'LitQA2', is_s2_url=True)}, a benchmark introduced by FutureHouse, gauges a model's ability to answer questions that require document retrieval from the scientific literature. "
"It consists of multiple-choice questions that necessitate finding a unique paper and analyzing its detailed full text to spot precise information; these questions cannot be answered from a paperβs abstract. "
"While the original version of the benchmark provided for each question the title of the paper in which the answer can be found, it did not specify the overall collection to search over. In our version, "
"we search over the index we provide as part of the standard toolset. The β-FullTextβ suffix indicates we consider only the subset of LitQA2 questions for which "
"the full-text version of the answering paper is open source and available in our index."
),
'ArxivDIGESTables-Clean': (
f"{external_link(ARXIV_DIGESTABLES_URL, 'ArxivDIGESTables', is_s2_url=True)} assesses the ability of models to construct literature review tables, i.e., tables whose rows are papers and whose columns constitute a set of "
"aspects used to compare and contrast the papers. The goal is to construct such tables given a set of related papers and a table caption describing the user's goal. Generated tables are evaluated by "
"comparing them to actual tables published in ArXiv papers. The β-Cleanβ suffix indicates a curated subset of ArxivDIGESTables which drops tables that are either trivial or impossible to reconstruct from full-texts."
),
'SUPER-Expert': (
"SUPER-Expert evaluates the capability of models in setting up and executing tasks from low-resource "
"research repositoriesβcentralized databases containing research data and related materials. "
f"The \"-Expert\" split indicates the name of the most challenging split in the {external_link(SUPER_URL, 'original SUPER benchmark', is_s2_url=True)} "
"that involves solving reproduction tasks from scratch and without any intermediate hints or details "
"about the important landmarks involved in each task."
),
'CORE-Bench-Hard': (
"Core-Bench-Hard tests computational reproducibility, a task involving reproducing the results of a study "
"using provided code and data. It consists of both language-only and vision-language challenges across "
"multiple difficulty levels. "
f"The \"-Hard\" split refers to the name of the most challenging split in the original {external_link(CORE_BENCH_URL, 'Core-bench benchmark', is_s2_url=True)} "
"where only a README file is provided with no instructions or an auxiliary Dockerfile."
),
'DS-1000': (
"DS-1000 is an established code generation benchmark containing Python data science coding questions "
"originally sourced from StackOverflow. It's designed to reflect an array of diverse, realistic, and "
"practical use cases and directly involves many of the Python libraries commonly used in data science "
f"and machine learning research. We split the original {external_link(DS1000_URL, 'dataset')} "
"into 100 validation and 900 test problems."
),
'DiscoveryBench': (
"DiscoveryBench is the first comprehensive benchmark to formalize the multi-step process of data-driven "
"analysis and discovery (i.e., data loading, transformation, statistical analysis, and modeling). "
f"Originally introduced {external_link(DISCOVERY_BENCH_URL, 'here', is_s2_url=True)}, it is designed to systematically "
"evaluate how well current LLMs can replicate or reproduce published scientific findings across diverse "
"domains, including social science, biology, history, and more."
),
'E2E-Bench': (
"E2E-Bench is the \"decathlon\" of AI-assisted research. It measures whether a system can run the entire "
"research pipeline, starting with an initial task description, to designing and performing (software) "
"experiments, to analyzing and writing up the results."
),
'E2E-Bench-Hard': (
f"E2E-Bench-Hard is a more challenging variant of {internal_leaderboard_link('E2E-Bench', validation)}. Tasks are generated using the HypER system, "
"which identifies research trends and proposes new, underexplored problems. Unlike the regular version, "
"these tasks are not simplified or curated for accessibility; they are reviewed only for feasibility. "
"This version is intended to test whether systems can handle more complex and less-structured research "
f"scenarios, following the same end-to-end process as {internal_leaderboard_link('E2E-Bench', validation)}."
)
}
return descriptions.get(benchmark_name, "")
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
CITATION_BUTTON_TEXT = r"""@article{openhands-index,
title={OpenHands Index},
author={OpenHands Team},
year={2025},
eprint={TBD.TBD},
archivePrefix={arXiv},
primaryClass={cs.AI},
secondaryClass={cs.CL}
}"""
LEGAL_DISCLAIMER_TEXT = """
<h2>Terms and Conditions</h2>
<p>
OpenHands maintains this repository for agent evaluation submissions to OpenHands Index. To keep OpenHands Index fair and auditable, all evaluation logs and associated submission files will be made publicly available. This includes your benchmark inputs, model output responses, and other data and information related to your submission as needed to verify the results.
</p>
<br>
<p>
Your submissions to OpenHands Index will be posted, scored, and ranked on the leaderboard at <a href="https://huggingface.co/spaces/OpenHands/openhands-index" target="_blank" rel="noopener noreferrer">https://huggingface.co/spaces/OpenHands/openhands-index</a>. You agree you have the rights to the materials you submit and that you will not share any personal, sensitive, proprietary, or confidential information.
</p>
"""
def format_error(msg):
return f"<p style='color: red; font-size: 20px; text-align: center;'>{msg}</p>"
def format_warning(msg):
return f"<p style='color: orange; font-size: 20px; text-align: center;'>{msg}</p>"
def format_log(msg):
return f"<p style='color: green; font-size: 20px; text-align: center;'>{msg}</p>"
def hyperlink(link_url: str, text: str = "π") -> str:
if not link_url or not isinstance(link_url, str):
return str(text) # Or simply "" if link_url is bad
return f'<a target="_blank" href="{link_url}">{text}</a>'
def hf_uri_to_web_url(uri: str) -> str:
"""
Convert a Hugging Face-style URI like:
hf://datasets/{namespace}/{repo}/{path...}
into a public web URL:
https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path...}
"""
prefix = "hf://datasets/"
if not uri.startswith(prefix):
raise ValueError("URI must start with 'hf://datasets/'")
parts = uri[len(prefix) :].split("/", 2)
if len(parts) < 3:
raise ValueError("Expected format: hf://datasets/{namespace}/{repo}/{path...}")
namespace, repo, path = parts
return f"https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path}"
css = """
/* OpenHands-Design tokens (OpenHands-Design/index.html, DESIGN.md) */
:root {
--oh-bg: hsl(0 0% 5%);
--oh-card: hsl(0 0% 7%);
--oh-secondary: hsl(0 0% 8%);
--oh-muted: hsl(0 0% 12%);
/* Light mode: 1px strokes / dividers β same grey as top nav bar (#e4e4e7 zinc-200) */
--oh-border: #e4e4e7;
/* Slightly stronger on interactive hover (zinc-300) */
--oh-border-hover: #d4d4d8;
--oh-muted-hover: hsl(0 0% 18%);
--oh-fg: hsl(0 0% 98%);
--oh-fg-muted: hsl(0 0% 55%);
--oh-primary: hsl(0 0% 100%);
--oh-primary-fg: hsl(0 0% 0%);
--oh-success: #22c55e;
--oh-success-fg: #86efac;
--oh-warning: #f59e0b;
--oh-info: #3b82f6;
--oh-destructive: #dc2626;
--oh-ring: #cccccc;
--oh-shadow-card: 0 1px 2px 0 hsl(0 0% 0% / 0.3);
--oh-font-sans: 'Inter', system-ui, sans-serif;
--oh-font-mono: 'JetBrains Mono', ui-monospace, monospace;
/* DESIGN.md Β§5: spacing (4px scale) β index.html / section rhythm */
--oh-pad-x-page: 24px;
/* DESIGN.md: container max 1400px β page column + #page-content-wrapper */
--oh-content-max: 87.5rem;
/* DESIGN.md Β§4: dropdown item hover (light / dark) */
--oh-form-hover-light: #f4f4f5;
--oh-form-active-dark: hsl(0 0% 12% / 0.6);
--oh-pad-y-section: 4rem; /* 64px β .section in index.html */
--oh-gap-prose-paragraph: 1rem; /* 16px β gap-4 */
--oh-gap-prose-tight: 0.5rem; /* 8px β gap-2 */
--oh-prose-size: 0.875rem; /* 14px β text-sm, primary body */
--oh-prose-leading: 1.5rem; /* 24px β leading-6 w/ text-sm */
/* DESIGN.md: inline links use --info; focus ring = --oh-ring */
--oh-link-visited: hsl(217 60% 48%);
--oh-link-hover: hsl(217 85% 62%);
/* Legacy var names (charts, tables) β mapped to design surfaces */
--color-primary-accent: #e8e8e5;
--color-primary-light: #f5f5f4;
--color-primary-dark: #a1a1aa;
--color-secondary-accent: #22c55e;
--color-secondary-dark: #16a34a;
--color-neutral-50: #fafafa;
--color-neutral-100: #f4f4f4;
--color-neutral-200: #e5e5e5;
--color-neutral-300: #d4d4d4;
--color-neutral-700: #404040;
--color-neutral-800: #262626;
--color-neutral-900: #171717;
--color-neutral-950: #0d0d0d;
--color-primary-link: #404040;
--color-primary-link-dark: #a3a3a3;
--color-background-light: #fafafa;
--color-background-dark: #0d0d0d;
--color-text-dark: #0d0d0d;
--color-text-light: #fafafa;
--color-button-hover: #404040;
--color-danger: #dc2626;
}
/* Dark theme: near-black strokes (DESIGN.md --border / #242424) */
html.dark,
body.dark,
html:has([class*="gradio-container-"].dark),
.gradio-container.dark,
[class*="gradio-container-"].dark {
--oh-border: hsl(0 0% 14%);
--oh-border-hover: hsl(0 0% 24%);
}
body, .gradio-container {
font-family: var(--oh-font-sans) !important;
-webkit-font-smoothing: antialiased;
}
code, kbd, pre, .cell-wrap.svelte-v1pjjd {
font-family: var(--oh-font-mono) !important;
}
/* Markdown `---` β <hr>. Gradio preflight uses color:inherit on hr, which tracks body text, not the border line. */
/* Section divider: 1px solid var(--oh-border) β light #e4e4e7 (top nav), dark #242424 */
gradio-app hr,
.gradio-container hr,
#about-page-content-wrapper hr,
#page-content-wrapper hr,
.prose hr,
div[class*="markdown"] hr,
.divider-line hr,
[class~="divider-line"] hr {
box-sizing: border-box;
display: block;
height: 0 !important;
margin: 0.75rem 0 1.5rem 0;
padding: 0 !important;
border: 0 !important;
border-top: 1px solid var(--oh-border) !important;
background: transparent !important;
background-color: transparent !important;
/* Some UAs use `color` for the default <hr> border; lock to the border token (not --body-text-color) */
color: var(--oh-border) !important;
opacity: 1 !important;
}
/* No top padding on gradio-app (control_page_title is a prop on this element) */
gradio-app {
padding-top: 0;
overflow: visible !important;
display: block;
}
/* In-flow strip so the fixed <nav> does not sit on top of the first line of main content */
gradio-app::before {
content: "" !important;
display: block !important;
width: 100% !important;
height: 56px !important;
flex-shrink: 0 !important;
pointer-events: none !important;
}
html {
scroll-padding-top: 56px;
min-height: 100%;
/* Full-viewport canvas; match body/gradio so gutter + Gradio block fills never show a wrong tone (Aboutβs lighter DOM hides this) */
background-color: var(--color-background-light, #fafafa);
}
html.dark,
html:has([class*="gradio-container-"].dark) {
background-color: var(--color-background-dark, #0d0d0d);
}
/* Main column: cap width to match DESIGN.md; nav stays full-bleed (sibling, not inside .main) */
gradio-app .main,
gradio-app .main.fillable {
max-width: var(--oh-content-max) !important;
margin-left: auto !important;
margin-right: auto !important;
width: 100% !important;
box-sizing: border-box !important;
}
/*
* OpenHands-Design Β§4: Dropdown β menu z-index, min-w, border bg-popover, shadow-md, p-1
* + menu item: text-sm, rounded-md, px-2 py-1.5, data-[highlighted]:bg-muted/60
* Gradio uses ul.options / li.item; active row uses bg-gray-100 / dark:bg-gray-600 β override to tokens.
*/
gradio-app ul.options {
border: 1px solid var(--border-color-primary) !important;
border-radius: 0.25rem !important;
padding: 0.25rem !important;
background: var(--background-fill-primary) !important;
box-shadow: var(--shadow-drop-lg) !important;
scrollbar-width: thin;
scrollbar-color: hsl(0 0% 55% / 0.45) transparent;
}
gradio-app ul.options li.item {
font-size: 0.875rem !important;
line-height: 1.25rem;
border-radius: 0.25rem;
padding: 0.375rem 0.5rem !important;
margin: 0 0.125rem;
transition: color 0.2s ease, background-color 0.2s ease;
}
/* Light: hover / keyboard highlight β neutral chip */
gradio-app ul.options li.item:hover,
gradio-app ul.options li.item.active {
background-color: var(--oh-form-hover-light) !important;
}
/* Dark: canonical hover:bg-muted/60 (DESIGN.md Β§2) */
html.dark gradio-app ul.options li.item:hover,
html.dark gradio-app ul.options li.item.active,
body.dark gradio-app ul.options li.item:hover,
body.dark gradio-app ul.options li.item.active,
html:has([class*="gradio-container-"].dark) gradio-app ul.options li.item:hover,
html:has([class*="gradio-container-"].dark) gradio-app ul.options li.item.active,
.gradio-container.dark gradio-app ul.options li.item:hover,
.gradio-container.dark gradio-app ul.options li.item.active,
[class*="gradio-container-"].dark gradio-app ul.options li.item:hover,
[class*="gradio-container-"].dark gradio-app ul.options li.item.active {
background-color: var(--oh-form-active-dark) !important;
color: var(--body-text-color) !important;
}
/* Touch target: min h-10 (40px) for dropdown / text field wrap (DESIGN.md Β§8) */
gradio-app .container > .wrap > .wrap-inner {
min-height: 2.5rem;
box-sizing: border-box;
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Leaderboard filter column: form stacks checkboxes with no gap (Gradio form uses --form-gap-width) */
gradio-app .column.oh-leaderboard-filter-col .form {
gap: 0 !important;
}
/* Gradio root: overflow: hidden; β keep visible; sticky still fails if scroll is on an inner .main, so nav uses position: fixed */
body > [class*="gradio-container-"],
body > div.gradio-container,
body > [class^="gradio-container"] {
overflow: visible !important;
}
/* Multipage top <nav> β fixed + opaque background + single bottom edge (see .nav-holder: border removed) */
gradio-app nav.svelte-ti537g {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
z-index: 200 !important;
min-height: 56px !important;
height: 56px !important;
max-height: 56px !important;
box-sizing: border-box !important;
display: flex !important;
align-items: center !important;
flex-wrap: nowrap !important;
/* Default = light top bar (Gradio / :root use dark design tokens, so we donβt use --oh-bg here) */
background: #fafafa !important;
background-color: #fafafa !important;
border-bottom: 1px solid #e4e4e7 !important;
box-shadow: none !important;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
/* Dark theme: restore near-black bar (html/body, or any [class*=gradio-container-] with .dark) */
html.dark gradio-app nav.svelte-ti537g,
body.dark gradio-app nav.svelte-ti537g,
html:has([class*="gradio-container-"].dark) gradio-app nav.svelte-ti537g,
.gradio-container.dark gradio-app nav.svelte-ti537g,
[class*="gradio-container-"].dark gradio-app nav.svelte-ti537g {
background: var(--oh-bg) !important;
background-color: var(--oh-bg) !important;
border-bottom: 1px solid var(--oh-border) !important;
}
/* Global Styles */
h2 {
overflow: hidden;
}
/* In-content links (DESIGN.md β semantic info for links; top nav is outside #page-content-wrapper) */
#page-content-wrapper a[href],
#about-page-content-wrapper a[href],
#about-content a[href],
#category-intro a[href],
#intro-paragraph a[href],
#intro-category-paragraph a[href],
.prose a[href],
table.gr-table a[href] {
color: var(--oh-info) !important;
text-decoration: none;
transition: color 0.2s ease;
}
#page-content-wrapper a[href]:hover,
#about-page-content-wrapper a[href]:hover,
#about-content a[href]:hover,
#category-intro a[href]:hover,
#intro-paragraph a[href]:hover,
#intro-category-paragraph a[href]:hover,
.prose a[href]:hover,
table.gr-table a[href]:hover {
color: var(--oh-link-hover) !important;
}
#page-content-wrapper a[href]:visited,
#about-page-content-wrapper a[href]:visited,
#about-content a[href]:visited,
#category-intro a[href]:visited,
#intro-paragraph a[href]:visited,
#intro-category-paragraph a[href]:visited,
.prose a[href]:visited,
table.gr-table a[href]:visited {
color: var(--oh-link-visited) !important;
}
#page-content-wrapper a[href]:focus-visible,
#about-page-content-wrapper a[href]:focus-visible,
#about-content a[href]:focus-visible,
#category-intro a[href]:focus-visible,
#intro-paragraph a[href]:focus-visible,
#intro-category-paragraph a[href]:focus-visible,
.prose a[href]:focus-visible,
table.gr-table a[href]:focus-visible {
outline: 2px solid var(--oh-ring);
outline-offset: 2px;
border-radius: 2px;
}
#intro-paragraph {
font-size: var(--oh-prose-size);
max-width: min(100%, 52rem);
padding-left: 0;
padding-right: 0;
margin-top: 0;
margin-bottom: var(--oh-gap-prose-paragraph);
}
/* Theme-aware: Gradioβs --body-text-color (matches light/dark theme); prose overrides need same specificity */
#intro-paragraph h1.intro-page-title,
#intro-paragraph .prose h1.intro-page-title {
font-size: clamp(2rem, 2.5rem + 1.2vw, 2.75rem) !important;
font-weight: 600 !important;
line-height: 1.1 !important;
letter-spacing: -0.03em !important;
margin: 0 0 1.25rem 0 !important;
color: var(--body-text-color, var(--color-neutral-950)) !important;
text-align: left;
}
html.dark #intro-paragraph h1.intro-page-title,
html.dark #intro-paragraph .prose h1.intro-page-title,
body.dark #intro-paragraph h1.intro-page-title,
body.dark #intro-paragraph .prose h1.intro-page-title,
.gradio-container.dark #intro-paragraph h1.intro-page-title,
.gradio-container.dark #intro-paragraph .prose h1.intro-page-title,
[class*="gradio-container-"].dark #intro-paragraph h1.intro-page-title,
[class*="gradio-container-"].dark #intro-paragraph .prose h1.intro-page-title {
color: var(--body-text-color, var(--oh-fg)) !important;
}
#intro-paragraph .html-container,
#intro-paragraph .prose {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
}
#intro-paragraph p,
#intro-paragraph li {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
}
#intro-paragraph p,
#intro-paragraph .prose p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#intro-paragraph p:last-child {
margin-bottom: 0;
}
/* DESIGN.md: Label pattern β same link token, medium weight for explicit intro-link */
.intro-link {
color: var(--oh-info) !important;
text-decoration: none;
font-weight: 500;
}
.intro-link:hover {
color: var(--oh-link-hover) !important;
}
#intro-paragraph ul {
margin: var(--oh-gap-prose-paragraph) 0;
padding-left: 1.25rem;
}
#intro-paragraph ul li + li {
margin-top: 0.35em;
}
#diagram-image {
height: 100%;
}
#diagram-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
#intro-category-paragraph {
font-size: var(--oh-prose-size);
max-width: min(100%, 52rem);
margin-top: 1.5rem;
margin-bottom: var(--oh-gap-prose-paragraph);
}
#intro-category-paragraph p,
#intro-category-paragraph li {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
}
#intro-category-paragraph p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#intro-category-paragraph p:last-child {
margin-bottom: 0;
}
#intro-category-paragraph ul {
margin: var(--oh-gap-prose-paragraph) 0;
padding-left: 1.25rem;
}
#intro-category-paragraph ul li + li {
margin-top: 0.35em;
}
#about-content {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
max-width: min(100%, 42rem);
padding-left: 0;
margin-bottom: var(--oh-pad-y-section);
}
#about-content p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#about-content p:last-child {
margin-bottom: 0;
}
#category-intro {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
max-width: min(100%, 42rem);
margin-bottom: var(--oh-gap-prose-paragraph);
}
#category-intro p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#category-intro p:last-child {
margin-bottom: 0;
}
#logo-image {
margin: 0;
margin-bottom: 2rem;
justify-content: flex-start;
max-width: 250px;
height: auto;
}
/* index.html hero/section: comfortable row gap for intro + diagram */
#intro-row {
gap: 1.5rem;
align-items: flex-start;
width: 100%;
}
/* DESIGN.md: container max 1400px, horizontal padding 24px (index .section) */
#page-content-wrapper {
box-sizing: border-box;
width: 100%;
max-width: min(100%, var(--oh-content-max));
margin-left: auto;
margin-right: auto;
/* Match home: gradio-app::before (56px nav) + intro-paragraphβs former margin-top */
padding: 1.5rem var(--oh-pad-x-page) 0;
display: flex;
flex-direction: column;
gap: 1.5rem; /* gap-6 between major blocks */
}
.table-component{
height: auto !important;
max-height: none !important;
}
.table-wrap {
max-height: none !important;
height: auto !important;
overflow-y: visible !important;
}
/* --- New Rules for Table Density --- */
table.gr-table th, table.gr-table td {
padding: 4px 4px !important;
width: 1%;
white-space: nowrap;
}
table.svelte-1e98i6s td {
vertical-align: top !important;
}
table.gr-table {
font-size: 14px !important;
}
.html-container {
padding-top: 0 !important;
}
#scatter-disclaimer {
overflow: visible !important;
}
#pareto-disclaimer {
color: var(--oh-success) !important;
}
thead.svelte-1e98i6s th {
background: var(--color-neutral-50) !important;
}
.dark thead.svelte-1e98i6s th {
background: var(--color-neutral-900) !important;
}
.cell-wrap.svelte-v1pjjd {
font-family: var(--oh-font-mono) !important;
}
/* Gradio 5.30: top route row β right-align; left padding reserves zone for wordmark (app.py) */
gradio-app .nav-holder > nav.svelte-ti537g,
gradio-app .nav-holder nav.svelte-ti537g,
gradio-app nav.svelte-ti537g {
margin: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100% !important;
max-width: none !important;
box-sizing: border-box !important;
justify-content: flex-end !important;
padding: 0 20px 0 164px !important;
}
nav.svelte-ti537g.svelte-ti537g {
justify-content: flex-end !important;
}
/* First paint: default route chip text only β not .active (Gradio gives .active the block fill; we override in app.py last) */
gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active) {
font-size: 13px !important;
font-weight: 400 !important;
line-height: 1.4 !important;
color: #71717a !important;
padding: 6px 12px !important;
border-radius: 6px !important;
white-space: nowrap !important;
}
html.dark gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active),
body.dark gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active),
html:has([class*="gradio-container-"].dark) gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active),
.gradio-container.dark gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active),
[class*="gradio-container-"].dark gradio-app nav.svelte-ti537g > a[href]:not([href*="/home"]):not(.active) {
color: var(--oh-fg-muted) !important;
}
/* Dedupe & trim root link before/after .oh-top-nav (mirrors app.py) */
gradio-app nav.svelte-ti537g a[href$="/"] {
display: none !important;
}
gradio-app .nav-holder nav a[href="/home"]:not(.oh-nav-link) {
display: none !important;
}
/* Gradio: .nav-holder had border-bottom in flow while <nav> is position:fixed β that border scrolled (moving line). No border/background on holder; edge lives on <nav> only. */
gradio-app .nav-holder,
.nav-holder.svelte-ti537g.svelte-ti537g {
padding: 0 !important;
border: none !important;
border-bottom: none !important;
background: transparent !important;
box-shadow: none !important;
width: 100% !important;
max-width: none !important;
text-align: left !important;
}
/* Gradio 5.30: default nav has horizontal margin/padding; keep bar tight */
nav.oh-top-nav.svelte-ti537g.svelte-ti537g {
margin: 0 !important;
}
/* .oh-top-nav is applied by oh_top_nav_script β Gradio 5.30+ has no .nav-holder */
.oh-top-nav {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 200 !important;
flex: 0 0 auto !important;
display: flex !important;
flex-direction: row !important;
flex-flow: row nowrap !important;
flex-wrap: nowrap !important;
align-items: center !important;
align-content: center !important;
justify-content: flex-end !important;
gap: 4px !important;
height: 56px !important;
min-height: 56px !important;
max-height: 56px !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
padding: 0 20px 0 164px !important;
margin: 0 !important;
/* Opaque bar β default light; dark overrides follow */
background: #fafafa !important;
background-color: #fafafa !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
border-bottom: 1px solid #e4e4e7 !important;
box-shadow: none !important;
overflow: visible !important;
list-style: none !important;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
/* Gradio .fillable limits max-width at breakpoints; keep route bar edge-to-edge (nav can be .fillable.svelte-ti537g) */
nav.oh-top-nav.fillable,
.oh-top-nav.fillable,
nav.fillable.oh-top-nav,
nav.oh-top-nav.svelte-ti537g.fillable {
max-width: none !important;
width: 100% !important;
}
/* Dark top bar: document and/or .dark on Gradio container (including :has when only container is .dark) */
html.dark .oh-top-nav,
body.dark .oh-top-nav,
html:has([class*="gradio-container-"].dark) .oh-top-nav,
.gradio-container.dark .oh-top-nav,
[class*="gradio-container-"].dark .oh-top-nav {
background: var(--oh-bg) !important;
background-color: var(--oh-bg) !important;
border-bottom: 1px solid var(--oh-border) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
/* Active route chip visuals: see app.py final_css (appended after this file; must beat Gradio a.active.svelte-ti537g) */
/* Avoid double line: nav border-bottom + first block border-top */
.oh-top-nav + * {
border-top: none !important;
box-shadow: none !important;
}
.oh-top-nav::-webkit-scrollbar { display: none !important; }
/* Gradio 5.30: every route <a> uses .svelte-ti537g; some (e.g. duplicate Home) lack .oh-nav-link β clear underline/visited */
.oh-top-nav a.svelte-ti537g,
.oh-top-nav a.svelte-ti537g:hover,
.oh-top-nav a.svelte-ti537g:focus,
.oh-top-nav a.svelte-ti537g:active,
.oh-top-nav a.svelte-ti537g:visited,
.oh-top-nav a.svelte-ti537g.active {
text-decoration: none !important;
text-decoration-line: none !important;
}
/* Gradio can set column layout on parents; keep links in one row */
.oh-top-nav > a.oh-nav-link,
.oh-top-nav a.oh-nav-link {
flex: 0 0 auto !important;
display: inline-flex !important;
align-items: center !important;
}
#legend-markdown span {
margin-right: 15px !important;
}
#leaderboard-accordion .label-wrap {
font-size: 1.4rem !important;
z-index: 10 !important;
position: relative !important;
}
.dark #leaderboard-accordion .label-wrap {
color: var(--oh-fg) !important;
}
.dark block.svelte-1svsvh2 {
background: var(--color-background-dark) !important;
}
.padding.svelte-phx28p {
padding: 0 !important;
}
.sub-nav-bar-container {
display: flex !important;
flex-wrap: wrap !important;
align-items: center !important;
gap: 0.5rem !important; /* gap-2 */
}
.dark .primary-link-button,
.primary-link-button {
background: none;
border: none;
padding: 0;
margin: 0;
font-family: inherit;
font-size: var(--oh-prose-size);
font-weight: 500;
color: var(--oh-info);
text-decoration: none;
cursor: pointer;
white-space: nowrap;
transition: color 0.2s ease;
}
.primary-link-button:hover {
color: var(--oh-link-hover);
text-decoration: none;
}
.primary-link-button:focus-visible {
color: var(--oh-link-hover);
text-decoration: none;
outline: 2px solid var(--oh-ring);
outline-offset: 2px;
border-radius: 2px;
}
.sub-nav-label {
font-weight: 600;
font-size: var(--oh-prose-size);
display: flex;
align-items: center;
}
.wrap-header-df th span {
white-space: normal !important;
word-break: normal !important;
overflow-wrap: break-word !important;
line-height: 1.2 !important;
vertical-align: top !important;
font-size: 12px !important;
font-family: var(--oh-font-sans) !important;
}
.wrap-header-df th {
height: auto !important;
}
.wrap-header-df .cell-wrap img {
width: 16px;
height: 16px;
vertical-align: middle;
}
#legend-markdown img {
width: 16px;
height: 16px;
vertical-align: middle;
}
/*------ Global tooltip styles ------*/
.tooltip-icon {
display: inline-block;
cursor: help;
position: relative;
}
.tooltip-icon::after {
content: attr(data-tooltip);
position: absolute;
bottom: 125%;
background-color: var(--color-background-dark);
color: var(--color-text-light);
padding: 10px;
border-radius: 4px;
font-size: 12px;
opacity: 0;
transition: opacity 0.2s;
white-space: pre-line;
width: max-content;
text-align: left;
pointer-events: none;
max-width: 300px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
}
@media (max-width: 768px) {
.tooltip-icon::after {
max-width: 250px;
}
}
.tooltip-icon:hover::after {
opacity: 1;
}
/*------ Openness label tooltip styles ------*/
.styler,
#openness-label-html,
#agent-tooling-label-html {
overflow: visible !important;
}
/*------ Table cell tooltip styles ------*/
.wrap.default.full,
span.wrap[tabindex="0"][role="button"][data-editable="false"] {
overflow: visible !important;
}
.cell-tooltip-icon::after {
height: fit-content;
top: 125%;
}
/*------ Table column description tooltip styles ------*/
#legend-markdown,
#leaderboard-accordion {
overflow: visible !important;
}
/* --- inside table tooltips --- */
.native-tooltip-icon {
cursor: help;
text-decoration: none;
}
/* Route chips: do not require .oh-nav-link (JS adds it async β without it, .dark a and Gradio nav rules used to break hover/active) */
gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
.oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active) {
font-family: var(--oh-font-sans) !important;
font-size: 13px !important;
font-weight: 400 !important;
line-height: 1.4 !important;
color: #71717a !important;
text-decoration: none !important;
padding: 6px 12px !important;
border-radius: 6px !important;
border: 1px solid transparent !important;
transition: color 0.2s, background-color 0.2s, border-color 0.2s !important;
white-space: nowrap !important;
box-shadow: none !important;
cursor: pointer !important;
pointer-events: auto !important;
position: relative !important;
z-index: 1 !important;
}
gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
.oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
.oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible {
color: #fafafa !important;
background-color: #18181b !important;
border-color: transparent !important;
}
/* Dark: muted links on dark bar */
html.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
html.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
html.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active),
body.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
body.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
body.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active),
html:has([class*="gradio-container-"].dark) gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
html:has([class*="gradio-container-"].dark) gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
html:has([class*="gradio-container-"].dark) .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active),
.gradio-container.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
.gradio-container.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
.gradio-container.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active),
[class*="gradio-container-"].dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active),
[class*="gradio-container-"].dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active),
[class*="gradio-container-"].dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active) {
color: var(--oh-fg-muted) !important;
}
html.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
html.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
html.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
html.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
html.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
html.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible,
body.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
body.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
body.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
body.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
body.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
body.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible,
html:has([class*="gradio-container-"].dark) gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
html:has([class*="gradio-container-"].dark) gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
html:has([class*="gradio-container-"].dark) gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
html:has([class*="gradio-container-"].dark) gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
html:has([class*="gradio-container-"].dark) .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
html:has([class*="gradio-container-"].dark) .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible,
.gradio-container.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
.gradio-container.dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
.gradio-container.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
.gradio-container.dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
.gradio-container.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
.gradio-container.dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible,
[class*="gradio-container-"].dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
[class*="gradio-container-"].dark gradio-app nav.oh-top-nav a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
[class*="gradio-container-"].dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):hover,
[class*="gradio-container-"].dark gradio-app nav.svelte-ti537g a.svelte-ti537g:not([href*="/home"]):not(.active):focus-visible,
[class*="gradio-container-"].dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):hover,
[class*="gradio-container-"].dark .oh-top-nav a.oh-nav-link:not([href*="/home"]):not(.active):focus-visible {
color: #ffffff !important;
background-color: var(--oh-muted) !important;
}
/* Dark app shell (OpenHands-Design near-black) */
body.dark, .gradio-container.dark {
--body-background-fill: #0d0d0d !important;
/* Must match body: #121212 vs #0d0d0d on nested Gradio blocks reads as a full-height left band on leaderboard/row layouts; About is unaffected visually */
--block-background-fill: #0d0d0d !important;
}
body.dark, .gradio-container.dark,
.gradio-container.dark .contain,
.gradio-container.dark .wrap,
.gradio-container.dark .main,
.gradio-container.dark {
background-color: #0d0d0d !important;
color: #fafafa !important;
}
.benchmark-main-subtitle {
color: var(--oh-fg-muted);
overflow: hidden;
padding-top: 120px;
font-size: var(--oh-prose-size);
font-weight: 500;
line-height: var(--oh-prose-leading);
}
.benchmark-title {
color: var(--color-text-dark);
margin-top: 2.5rem;
/* DESIGN.md: section heading β text-lg / font-semibold */
font-size: 1.125rem;
font-weight: 600;
line-height: 1.3;
letter-spacing: -0.02em;
}
.dark .benchmark-title {
color: var(--oh-fg);
}
.benchmark-description {
margin: var(--oh-gap-prose-paragraph) 0 1.5rem;
max-width: 52rem;
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
}
.benchmark-description p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
.benchmark-description p:last-child {
margin-bottom: 0;
}
/* DESIGN.md: page heading β text-2xl / font-semibold */
.dark #main-header h2,
#main-header h2 {
color: #fafafa !important;
font-size: 1.5rem;
line-height: 1.2;
font-weight: 600;
letter-spacing: -0.02em;
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
.gradio-container:not(.dark) #main-header h2 {
color: #0d0d0d !important;
}
/* --- New HTML-Based Tooltip Styles --- */
.tooltip-icon-legend {
position: relative;
cursor: help;
display: inline-block;
}
/* The HTML pop-up card tooltips.*/
.tooltip-card {
/* Hiding mechanism */
opacity: 0;
visibility: hidden;
transition: opacity 0.2s;
pointer-events: none;
/* Card appearance */
position: fixed;
z-index: 1000;
background-color: var(--color-background-dark);
color: var(--color-text-light);
border-radius: 12px;
padding: 15px;
width: max-content;
max-width: 400px;
text-align: left;
}
.tooltip-card.visible {
opacity: 1;
visibility: visible;
}
.tooltip-card h3 {
font-size: 18px;
color: #fff;
margin-top: 0;
margin-bottom: 12px;
}
.tooltip-card .tooltip-description {
margin-bottom: 20px;
line-height: 1.3;
}
.tooltip-card .tooltip-items-container {
display: flex;
flex-direction: column;
gap: 10px;
}
.tooltip-card .tooltip-legend-item {
display: flex;
align-items:
flex-start;
gap: 10px;
}
.tooltip-card .tooltip-legend-item img {
width: 20px;
height: 20px;
margin-top: 2px;
}
.tooltip-card .tooltip-legend-item div {
display: flex;
flex-direction: column;
}
.tooltip-card .tooltip-legend-item strong {
font-weight: 600;
color: #fff;
}
.tooltip-card .tooltip-legend-item span {
font-size: 13px;
line-height: 1.3;
}
.tooltip-sub-list {
list-style-type: 'β’ ';
padding-left: 18px;
font-size: 13px;
line-height: 1.3;
display: flex;
flex-direction: column;
}
.table-legend-item {
display: flex;
align-items: center;
white-space: nowrap;
margin-top: 8px;
flex-wrap: wrap;
}
/* About Page CSS β nested in #page-content-wrapper for same horizontal + top padding as Home */
#about-page-content-wrapper {
margin-left: auto;
margin-right: auto;
max-width: 50rem; /* 800px β readable line length */
padding: 0;
display: flex;
flex-direction: column;
gap: 2.5rem; /* 40px β matches index .section-title margin rhythm */
margin-top: 0;
opacity: 0.85;
margin-bottom: 3.75rem; /* 60px */
box-sizing: border-box;
}
/* Alternative Agents intro β align with Home / category hero width and heading scale */
#alternative-agents-intro {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
max-width: min(100%, 52rem);
}
#alternative-agents-intro h2 {
font-size: 1.5rem;
font-weight: 600;
line-height: 1.2;
letter-spacing: -0.02em;
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
color: var(--body-text-color, var(--oh-fg)) !important;
}
#alternative-agents-intro p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#alternative-agents-intro p:last-child {
margin-bottom: 0;
}
#about-page-content-wrapper h2 {
font-size: 1.5rem;
font-weight: 600;
line-height: 1.2;
letter-spacing: -0.02em;
margin: 0 0 0.75rem 0;
color: var(--body-text-color, var(--oh-fg)) !important;
}
#about-page-content-wrapper p,
#about-page-content-wrapper li {
font-size: var(--oh-prose-size);
line-height: var(--oh-prose-leading);
}
#about-page-content-wrapper p {
margin: 0 0 var(--oh-gap-prose-paragraph) 0;
}
#about-page-content-wrapper p:last-child {
margin-bottom: 0;
}
#about-page-content-wrapper .info-list {
margin: var(--oh-gap-prose-paragraph) 0;
padding-left: 1.25rem;
}
#about-page-content-wrapper .info-list li + li {
margin-top: 0.35em;
}
.link-buttons-container {
display: flex;
flex-wrap: wrap; /* Allows buttons to stack on very narrow screens */
gap: 16px;
margin-top: 16px;
}
.link-button {
display: flex;
justify-content: space-between;
align-items: center;
flex-grow: 1;
background-color: var(--color-neutral-800);
padding: 16px 20px;
font-weight: 600;
border-radius: 12px;
text-decoration: none;
transition: background-color 0.2s ease-in-out;
color: var(--color-text-light);
}
.link-button:hover {
background-color: var(--color-neutral-700);
}
.external-link-icon {
font-size: 20px;
line-height: 1;
margin-left: 12px;
}
#leaderboard-accordion table {
width: auto !important;
margin-right: auto !important;
}
.info-list {
padding-left: 20px;
}
/* Smooth scrolling for the entire page */
html {
scroll-behavior: smooth;
}
/* Home Page Styling */
.diagram-placeholder {
width: 100%;
height: 100%;
min-height: 250px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--color-neutral-100);
color: var(--color-primary-accent);
border-radius: 8px;
font-size: 14px;
text-align: center;
}
/* 2. Responsive behavior for smaller screens */
@media (max-width: 900px) {
#intro-row {
flex-direction: column;
}
}
/* Plot legend styles */
.plot-legend-container {
min-height: 572px;
background-color: #fff;
padding: 24px 32px;
border: 1px solid var(--oh-border);
border-radius: 4px;
}
.dark .plot-legend-container {
background: rgba(247, 248, 251, 0.1);
border-color: var(--oh-border);
}
#plot-legend-logo {
margin-bottom: 24px;
}
#plot-legend-logo img {
height: 19px;
}
.plot-legend-category-heading {
font-size: 16px;
font-weight: 700;
}
.plot-legend-item {
display: flex;
margin-top: 8px;
}
.plot-legend-item-text .description {
color: #888;
font-size: 12px;
}
.plot-legend-item-svg {
margin-top: 3px;
width: 14px;
height: 14px;
margin-right: 8px;
}
.plot-legend-tooling-svg {
height: 16px;
width: 16px;
margin-top: 2px;
}
#plot-legend-item-pareto-svg {
width: 18px;
height: 18px;
margin-right: 2px;
}
h3 .header-link-icon {
font-size: 12px;
vertical-align: text-top;
margin-left: 6px;
text-decoration: none;
}
/* Targets all "overall stats" columns in the main leaderboard for each category */
#main-leaderboard td:nth-child(6) .prose,
#main-leaderboard td:nth-child(7) .prose {
font-weight: 700 !important;
}
/* ====== Winners by Category Section ====== */
.winners-by-category-container {
margin: 20px 0;
overflow-x: auto;
scrollbar-gutter: stable;
/* Horizontal scrollbar: thin thumb, no visible track (OpenHands-Design) */
scrollbar-width: thin;
scrollbar-color: hsl(0 0% 40% / 0.5) transparent;
}
html.dark .winners-by-category-container,
body.dark .winners-by-category-container,
.gradio-container.dark .winners-by-category-container {
scrollbar-color: hsl(0 0% 55% / 0.45) transparent;
}
.winners-by-category-container::-webkit-scrollbar {
height: 6px;
}
.winners-by-category-container::-webkit-scrollbar-track {
background: transparent;
}
.winners-by-category-container::-webkit-scrollbar-thumb {
background: hsl(0 0% 40% / 0.5);
border-radius: 9999px;
}
.winners-by-category-container::-webkit-scrollbar-thumb:hover {
background: hsl(0 0% 35% / 0.7);
}
html.dark .winners-by-category-container::-webkit-scrollbar-thumb,
body.dark .winners-by-category-container::-webkit-scrollbar-thumb,
.gradio-container.dark .winners-by-category-container::-webkit-scrollbar-thumb {
background: hsl(0 0% 55% / 0.5);
}
html.dark .winners-by-category-container::-webkit-scrollbar-thumb:hover,
body.dark .winners-by-category-container::-webkit-scrollbar-thumb:hover,
.gradio-container.dark .winners-by-category-container::-webkit-scrollbar-thumb:hover {
background: hsl(0 0% 60% / 0.65);
}
.winners-unified-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
background: #fff;
border: 1px solid var(--oh-border);
border-radius: 12px;
overflow: hidden;
}
.dark .winners-unified-table {
background: rgba(247, 248, 251, 0.05);
border-color: var(--oh-border);
}
/* Category header bar: flat neutral grey */
.winners-unified-table thead tr {
background: hsl(0 0% 92%);
}
.dark .winners-unified-table thead tr {
background: hsl(0 0% 12%);
}
.winners-unified-table .category-header {
padding: 12px 8px;
text-align: center;
font-weight: 700;
font-size: 13px;
color: var(--color-text-dark);
border-bottom: 1px solid var(--oh-border) !important;
border-right: 1px solid var(--oh-border) !important;
white-space: nowrap;
}
.dark .winners-unified-table .category-header {
color: #fff;
border-bottom-color: var(--oh-border) !important;
border-right-color: var(--oh-border) !important;
}
.winners-unified-table .category-header:last-child {
border-right: none !important;
}
.winner-category-icon-small {
width: 18px;
height: 18px;
vertical-align: middle;
margin-right: 6px;
}
.winners-unified-table td {
padding: 8px 6px;
vertical-align: middle;
border-bottom: 1px solid var(--oh-border);
}
.dark .winners-unified-table td {
border-bottom-color: var(--oh-border);
}
.winners-unified-table tbody tr:last-child td {
border-bottom: none;
}
/* Row hover: muted/60 style (DESIGN.md), not yellow */
.winners-unified-table tbody tr:hover {
background: hsl(0 0% 0% / 0.04);
}
.dark .winners-unified-table tbody tr:hover {
background: hsl(0 0% 12% / 0.5);
}
.winners-unified-table .score-cell {
text-align: left;
font-weight: 700;
color: var(--color-primary-dark);
padding-left: 12px;
min-width: 50px;
border-right: 1px solid var(--oh-border);
}
.dark .winners-unified-table .score-cell {
color: var(--color-primary-accent);
border-right-color: var(--oh-border);
}
.winners-unified-table .model-cell {
white-space: nowrap;
color: var(--color-text-dark);
font-weight: 500;
padding-right: 12px;
border-right: 1px solid var(--oh-border);
}
.dark .winners-unified-table .model-cell {
color: #fff;
border-right-color: var(--oh-border);
}
.winners-unified-table td:nth-last-child(1) {
border-right: none;
}
.company-logo-tiny {
width: 16px;
height: 16px;
vertical-align: middle;
margin-right: 6px;
}
/* Responsive adjustments for winners section */
@media (max-width: 900px) {
.winners-unified-table {
font-size: 11px;
}
.winners-unified-table .category-header {
font-size: 11px;
padding: 8px 4px;
}
.winner-category-icon-small {
width: 14px;
height: 14px;
margin-right: 4px;
}
.winners-unified-table td {
padding: 6px 4px;
}
.company-logo-tiny {
width: 14px;
height: 14px;
margin-right: 4px;
}
.model-name {
font-size: 10px;
}
}
/* ====== Dark Mode Plotly Charts ====== */
/* Invert chart background for dark mode, but leave logos untouched */
.dark .js-plotly-plot {
filter: invert(0.88) hue-rotate(180deg);
}
/* Re-invert the modebar so icons display correctly, with transparent background */
.dark .js-plotly-plot .modebar {
filter: invert(1) hue-rotate(180deg);
background: transparent !important;
}
.dark .js-plotly-plot .modebar-container {
background: transparent !important;
}
.dark .js-plotly-plot .modebar-group {
background: transparent !important;
}
.dark .js-plotly-plot .modebar-btn {
background: transparent !important;
}
/* Style modebar icons to match the light gray text color (after re-inversion) */
/* Since we apply invert(1), we need to use the inverted color to get the desired result */
/* Target: #82889B (neutral-400). After invert(1) hue-rotate(180deg), use #7d7764 */
.dark .js-plotly-plot .modebar-btn path {
fill: #7d7764 !important;
}
.dark .js-plotly-plot .modebar-btn:hover path {
fill: #4a4533 !important;
}
/* ====== Mobile Responsive Styles ====== */
/* Reduce left/right padding and margins on mobile devices */
@media (max-width: 768px) {
/* Reduce padding on main content wrapper */
#page-content-wrapper {
padding-left: 8px !important;
padding-right: 8px !important;
}
#intro-paragraph {
padding-left: 0 !important;
padding-right: 0 !important;
max-width: 100% !important;
}
/* Reduce padding on category intro */
#intro-category-paragraph {
padding-left: 8px !important;
padding-right: 8px !important;
max-width: 100% !important;
}
/* Nav: keep left gutter for wordmark; tighten sides on small viewports */
.oh-top-nav,
gradio-app nav.svelte-ti537g {
padding-left: 116px !important;
padding-right: 8px !important;
}
/* Reduce about content padding */
#about-content {
padding-left: 8px !important;
padding-right: 8px !important;
max-width: 100% !important;
}
/* About is inside #page-content-wrapper β outer handles horizontal padding */
#about-page-content-wrapper {
padding-left: 0 !important;
padding-right: 0 !important;
}
/* Reduce gradio container padding */
.gradio-container {
padding-left: 8px !important;
padding-right: 8px !important;
}
/* Reduce main block padding */
.main, .wrap, .contain {
padding-left: 4px !important;
padding-right: 4px !important;
}
/* Make plots and tables full width on mobile */
.plot-legend-container {
padding: 16px 12px !important;
}
/* Reduce table cell padding on mobile */
table.gr-table th, table.gr-table td {
padding: 4px 2px !important;
}
}
"""
|