Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature Request] Separate requested protocol semantics from simulation-time acceleration

オープン
#324 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start by reading the cited compiler sections in unilabos/compile/heatchill_protocol.py, stir_protocol.py, hydrogenate_protocol.py, recrystallize_protocol.py, and reset_handling_protocol.py. Then locate the runtime scheduler and run-provenance entry points. Done means requested payloads remain unchanged, simulation policy and mode are versioned in provenance, unsupported conditions remain explicit, and regression tests cover acceleration.

索引モデルが issue の本文から書いたものです。

説明

Problem

Simulation-time shortcuts are embedded in protocol compilers and alter the action payload that represents the requested procedure.

Concrete code evidence

  • unilabos/compile/heatchill_protocol.py:209-213: simulation_time_limit = 100.0; values above it are assigned back to final_time.
  • unilabos/compile/stir_protocol.py:201-209: requested stir and settling times are assigned back to 60 s and 30 s limits.
  • unilabos/compile/hydrogenate_protocol.py:299-335: reaction time is assigned back to a 60 s simulation limit.
  • unilabos/compile/recrystallize_protocol.py:327-331: crystallization time is replaced by a 60 s maximum.
  • unilabos/compile/reset_handling_protocol.py:283-287: wait time is replaced by a 5 s simulation limit.

Design gap

The compiler has no separate execution-policy object. Scientific/method parameters and wall-clock scheduling are represented by the same fields, so simulation acceleration changes the method itself.

Expected behavior

Preserve requested parameters unchanged. Apply acceleration only in the runtime scheduler and record it separately in a run receipt.

{
  "requested": {"duration_s": 7200},
  "execution": {"mode": "simulation", "wall_clock_duration_s": 1},
  "observed": null
}

Acceptance criteria

  • Compiler output retains the requested semantic parameters.
  • Simulation policy is explicit and versioned.
  • Real/simulation mode and wall-clock acceleration appear in run provenance.
  • Unsupported physical conditions are still reported as unsupported unless a virtual capability explicitly declares them.
  • Regression tests prove that protocol payloads are unchanged by simulation acceleration.
主要言語
Python
スター
178
フォーク
75
平均マージ
43分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

deepmodeling/Uni-Lab-OS のほかの issue

deepmodeling/Uni-Lab-OS の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。