Skip to content

feat: add three unified industrial planning benchmarks - #115

Closed
Emilycreate2026 wants to merge 1 commit into
Einsia:mainfrom
Emilycreate2026:feat/frontier-engineering-famou-three
Closed

Emilycreate2026 wants to merge 1 commit into
Einsia:mainfrom
Emilycreate2026:feat/frontier-engineering-famou-three

Conversation

@Emilycreate2026

Copy link
Copy Markdown

Summary

Add three executable unified tasks covering industrial routing, port crane coordination, and production scheduling.

Each package includes a task specification, protected input data, a deterministic reference program with explicit EVOLVE-BLOCK markers, and a task-owned verifier. The inputs are retained from the public Terminal-Bench task packages listed in each task's references/source.txt.

Verification

Ran the required evaluator command in each task directory:

Task Raw score Required score Reward
IndustrialRouting/CableTrayRouting 10.2252889238 10.22 1
PortOperations/QuayCraneCoordination 95.4383333333 95.0 1
ProductionPlanning/NoodleLineScheduling 85.7419 85.0 1

The verifier recomputes feasibility and objective values from the task inputs. The port score is reported as a reference result; it is not presented as proof of difficulty or global optimality.

@github-actions

Copy link
Copy Markdown

🤖 AI Code Review (gemini-3-flash-preview)

🇬🇧 English Analysis

1. Executive Summary

  • Core Purpose: This PR introduces a new industrial planning benchmark task, "CableTrayRouting," which requires planning ten horizontal cable-tray routes in a multi-level industrial gallery while adhering to complex geometric and physical constraints (bend radius, tray width, obstacles).
  • Modified File Structure & Modifications:
    • benchmarks/IndustrialRouting/CableTrayRouting/README.md: Provides basic task description and local verification commands.
    • benchmarks/IndustrialRouting/CableTrayRouting/Task.md: Detailed task specification including grid conversion formulas, hard constraints (bend allowance, turn angles), and the scoring objective.
    • benchmarks/IndustrialRouting/CableTrayRouting/environment/Dockerfile: Defines the execution environment with specific versions of numpy, ortools, shapely, and other optimization libraries.
    • benchmarks/IndustrialRouting/CableTrayRouting/environment/data/: Contains the obstacle grid (.npy) and routing instances (.csv).
    • benchmarks/IndustrialRouting/CableTrayRouting/frontier_eval/: Contains configuration files (agent_files.txt, eval_command.txt, etc.) for integration with the evaluation framework.
    • benchmarks/IndustrialRouting/CableTrayRouting/scripts/init.py: A baseline script that outputs a hardcoded deterministic solution for the benchmark.
    • benchmarks/IndustrialRouting/CableTrayRouting/verification/evaluator.py: A wrapper script to execute the candidate's code and trigger the evaluation engine.
    • benchmarks/IndustrialRouting/CableTrayRouting/verification/evaluator_engine.py: The core logic for validating constraints (collision detection, bend radius math, and scoring).
    • benchmarks/IndustrialRouting/CableTrayRouting/verification/__pycache__/: Accidentally included compiled Python bytecode.

2. AI Content Analysis

  • Estimated AI Component: 15%
  • Reasoning & Evidence:
    • The core logic in evaluator_engine.py (specifically change_path_2arc and check_pipeConnect) involves specific geometric calculations for industrial bend radii that are highly domain-specific and unlikely to be generic AI boilerplate.
    • The Task.md is well-structured and follows a specific template, suggesting human authorship or heavy editing.
    • The scripts/init.py is a simple data-dumper for a hardcoded solution, which could be AI-generated, but the coordinates themselves are specific to the provided dataset.
    • The presence of __pycache__ suggests a manual local execution and commit process rather than a purely synthetic generation.

3. Engineering & Economic Assessment

  • Engineering Reality Check: This is a high-fidelity engineering problem. It moves beyond simple A* pathfinding by incorporating "prefabricated bend radius" and "tangent length" constraints, which are critical in real-world industrial piping and cabling. It correctly handles 3D space (multi-level) and collision detection after arc-rounding.
  • Economic Value: High. Automating cable tray routing in industrial plant design (e.g., oil & gas, power plants) can save thousands of engineering man-hours and reduce material waste by optimizing path lengths.

4. Quality Assurance

  • Verification & Testing:
    • frontier_eval Integration: Yes.
    • task_name: CableTrayRouting
    • Execution & Dependencies: The README.md provides the execution command. The Dockerfile explicitly lists all environment dependencies.
  • Documentation Quality: The Task.md is excellent, providing clear mathematical formulas for grid conversion and objective scoring. However, the README.md is quite sparse.
  • Organizational Structure: The structure is logical and follows the established benchmark pattern (environment, scripts, verification).

5. Security & Privacy Check

  • Sensitive Files: CRITICAL ISSUE: The PR includes benchmarks/IndustrialRouting/CableTrayRouting/verification/__pycache__/evaluator_engine.cpython-312.pyc. Compiled bytecode should never be committed to a repository.
  • Absolute Paths: None detected. Paths are handled via pathlib or relative os.path joins.

🇨🇳 中文分析

1. 摘要

  • 核心目的: 此 PR 引入了一个新的工业规划基准任务“电缆桥架布线 (CableTrayRouting)”。该任务要求在多层工业管廊中规划十条水平电缆桥架路径,同时满足复杂的几何和物理约束(弯曲半径、桥架宽度、障碍物)。
  • 修改的文件结构与变更摘要:
    • README.md: 提供基础任务描述和本地验证命令。
    • Task.md: 详细的任务规范,包括网格转换公式、硬约束(弯曲余量、转角)和评分目标。
    • environment/Dockerfile: 定义了运行环境,安装了特定版本的 numpy、ortools、shapely 等优化库。
    • environment/data/: 包含障碍物网格 (.npy) 和布线实例 (.csv)。
    • frontier_eval/: 包含与评估框架集成的配置文件(agent_files.txt 等)。
    • scripts/init.py: 一个基准脚本,输出该基准测试的硬编码确定性解。
    • verification/evaluator.py: 包装脚本,用于执行候选代码并触发评估引擎。
    • verification/evaluator_engine.py: 核心逻辑,用于验证约束(碰撞检测、弯曲半径计算和评分)。
    • verification/__pycache__/: 意外包含了编译后的 Python 字节码。

2. AI 成分分析

  • 预估 AI 含量: 15%
  • 判断依据与证据:
    • evaluator_engine.py 中的核心逻辑(特别是 change_path_2arc 和 check_pipeConnect)涉及工业弯曲半径的特定几何计算,这些计算具有高度的领域专业性,不太可能是通用的 AI 模板。
    • Task.md 结构严谨且遵循特定模板,表明是人工编写或经过深度编辑。
    • scripts/init.py 是一个简单的硬编码数据输出脚本,虽然可能由 AI 生成,但坐标数据与提供的特定数据集完全匹配。
    • __pycache__ 的存在表明这是一个手动本地执行并提交的过程,而非纯粹的合成生成。

3. 工程与经济评估

  • 工程现实检验: 这是一个高保真度的工程问题。它超越了简单的 A* 寻路,纳入了“预制弯曲半径”和“切线长度”约束,这在现实世界的工业管道和布线中至关重要。它正确处理了 3D 空间(多层)和圆弧化后的碰撞检测。
  • 经济价值: 高。在工业工厂设计(如油气、电力工厂)中,电缆桥架布线的自动化可以节省数千个工程工时,并通过优化路径长度减少材料浪费。

4. 质量保证

  • 验证与测试:
    • frontier_eval 集成: 是
    • task_name: CableTrayRouting
    • 运行与依赖: README.md 提供了运行命令。Dockerfile 明确列出了所有环境依赖。
  • 文档质量: Task.md 非常出色,提供了清晰的网格转换数学公式和目标评分标准。但 README.md 过于简略。
  • 组织结构: 文件组织符合逻辑,遵循既定的基准测试模式(环境、脚本、验证)。

5. 安全与隐私检查

  • 敏感文件: 严重问题:PR 包含了 benchmarks/IndustrialRouting/CableTrayRouting/verification/__pycache__/evaluator_engine.cpython-312.pyc。编译后的字节码绝不应提交到代码库中。
  • 绝对路径: 未检测到。路径通过 pathlib 或相对路径处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant