[PR #5366] [CLOSED] Main's python tests pass again: the perf_bench table test gives full conditions #6240

Closed
opened 2026-11-03 06:16:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5366
Author: @ludovic111
Created: 10/31/2026
Status: ❌ Closed

Base: main ← Head: a3/fix-perf-bench-test


📝 Commits (1)

  • 840284a Main's python tests pass again: the perf_bench table test gives full conditions

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 tests/test_perf_bench.py (+4 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What and why

Main's python check fails on every PR: test_perf_bench.PerfBenchStatsTests.test_table_distinguishes_missing_scene_load_from_zero (from #4407) writes reports with only render_distance, and 320778a3d ("reject incomparable benchmark reports") made perf_bench.table refuse runs whose scenario, seed, simulation distance, window, vsync or offscreen are missing:

ValueError: cannot compare RD 8: scenario missing in missing, zero, measured

The test now gives the same full conditions to its three reports. Test only; tooling.

Self-check

  • python3 -m unittest tests.test_perf_bench: 19 tests, OK (1 skipped).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5366 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `a3/fix-perf-bench-test` --- ### 📝 Commits (1) - [`840284a`](https://github.com/horizon-rust/horizon/commit/840284a77a50c0c6b1cba624d3038200a51fe748) Main's python tests pass again: the perf_bench table test gives full conditions ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_perf_bench.py` (+4 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why Main's `python` check fails on every PR: `test_perf_bench.PerfBenchStatsTests.test_table_distinguishes_missing_scene_load_from_zero` (from #4407) writes reports with only `render_distance`, and 320778a3d ("reject incomparable benchmark reports") made `perf_bench.table` refuse runs whose scenario, seed, simulation distance, window, vsync or offscreen are missing: ``` ValueError: cannot compare RD 8: scenario missing in missing, zero, measured ``` The test now gives the same full conditions to its three reports. Test only; tooling. ## Self-check - `python3 -m unittest tests.test_perf_bench`: 19 tests, OK (1 skipped). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:14 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6240
No description provided.