Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@

## Unreleased

## [1.2.0] - 2026-08-13

### Added

- 計算完了後に、暖房・冷房別の一次エネルギー消費量、未処理負荷、エアコン消費電力量、
ファン消費電力量を年間値と単位付きのカードで表示するようにした。

### Changed

- 入力画面を開いた直後は、①・②を含むすべての入力セクションを閉じた状態にした。
- 計算ログを、計算条件、実行処理、年間結果、出力ファイル、計算エンジン詳細ログの
5区分に整理した。再計算開始時には前回の年間結果を消去し、完了後に新しい結果へ
更新するようにした。

## [1.1.2] - 2026-08-12

### Changed
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

## 公開Web版

**[Verification Platform Next ver.1.1.2をブラウザで開く](https://verification-platform-next-dnoeszca4a-an.a.run.app/)**
**[Verification Platform Next ver.1.2.0をブラウザで開く](https://verification-platform-next-dnoeszca4a-an.a.run.app/)**

公開Web版では、インストールせずに入力、計算、結果ファイルの取得を行えます。
計算は1件ずつ処理するため、混雑時は画面に表示される順番をお待ちください。
入力ファイルと計算成果物は一時的に保存されるため、機密情報や個人情報を含む
データはアップロードしないでください。

住宅の省エネルギー性能を検証するための計算エンジン、入力スキーマ、Gradio UIを
まとめたPythonモノレポです。正式版は **ver.1.1.2** です。
まとめたPythonモノレポです。正式版は **ver.1.2.0** です。

本リポジトリは、建築研究所が公開する住宅のエネルギー消費性能計算プログラム
`pyhees`を基礎とし、検証用の入力画面、床下空調などの拡張計算、数値回帰試験を
Expand All @@ -23,7 +23,7 @@
- 223項目の正規入力スキーマと方式別の表示・検証条件
- JSON入力とGradio Web UI
- ダクト式セントラル空調、ルームエアコン、床下空調などの計算
- 暖冷房結果、8760時間系列、グラフ、計算ログの出力
- 暖冷房別の年間結果、8760時間系列、グラフ、計算ログの出力
- 製品版、ソースコミット、上流`pyhees`、入力SHA-256を記録するマニフェスト
- 旧版との代表ケース比較を行うPhase 5数値回帰
- Google Colabおよび任意のCloud Runデプロイ
Expand Down
2 changes: 1 addition & 1 deletion apps/gradio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "verification-platform-app"
version = "1.1.2"
version = "1.2.0"
description = "Gradio application for Verification Platform"
authors = ["iguchi-lab"]
packages = [{ include = "verification_app", from = "src" }]
Expand Down
26 changes: 13 additions & 13 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
Verification Platform Nextは、製品全体を1つの
[Semantic Versioning](https://semver.org/) で管理します。

- Pythonパッケージ版: `1.1.2`
- 表示名: `ver.1.1.2`
- Gitタグ: `v1.1.2`
- 成果物接尾辞: `_v1.1.2`
- Pythonパッケージ版: `1.2.0`
- 表示名: `ver.1.2.0`
- Gitタグ: `v1.2.0`
- 成果物接尾辞: `_v1.2.0`

製品版の正本は
`packages/pyhees-jjj/src/jjjexperiment/release.py`です。ルート、
`verification-core`、Gradioアプリ、`pyhees-jjj`の各`pyproject.toml`は
同じ版にそろえ、契約テストで不一致を検出します。

日付は版番号として使いません。パッチ修正は`1.1.2`、後方互換な機能追加は
`1.2.0`、互換性を破る変更は`2.0.0`とします。
日付は版番号として使いません。パッチ修正は`1.2.1`、後方互換な機能追加は
`1.3.0`、互換性を破る変更は`2.0.0`とします。

## 計算成果物の追跡

成果物名には安定した版接尾辞を付けます。

```text
<case_name>_v1.1.2_input.json
<case_name>_v1.1.2_output1.csv
<case_name>_v1.1.2_output2.csv
<case_name>_v1.1.2_manifest.json
<case_name>_v1.2.0_input.json
<case_name>_v1.2.0_output1.csv
<case_name>_v1.2.0_output2.csv
<case_name>_v1.2.0_manifest.json
```

計算が正常終了すると、マニフェストへ次を記録します。
Expand Down Expand Up @@ -67,9 +67,9 @@ GitHub Actionsがすべて成功した後、PRをマージし、マージコミ
```bash
git switch main
git pull --ff-only
git tag -a v1.1.2 -m "Verification Platform Next ver.1.1.2"
git push origin v1.1.2
gh release create v1.1.2 --title "Verification Platform Next ver.1.1.2"
git tag -a v1.2.0 -m "Verification Platform Next ver.1.2.0"
git push origin v1.2.0
gh release create v1.2.0 --title "Verification Platform Next ver.1.2.0"
```

GitHub Releaseには`CHANGELOG.md`の該当版、試験結果、既知の制約を記載します。
Expand Down
2 changes: 1 addition & 1 deletion docs/calculation_differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Verification Platform Nextは、建築研究所等の技術的協力のもと公
| --- | --- |
| 建研本家 | `BRI-EES-House/pyhees` Ver.3.10、commit `d5224c4a01def00a8421bcd2fcc0d4b4a5b88644` |
| 旧Verification Platform | Next移行時の基準commit `0f91ba8381df1b4960557b92b39339385cc9009f` |
| Verification Platform Next | ver.1.1.2、入力仕様 `260812` |
| Verification Platform Next | ver.1.2.0、入力仕様 `260812` |

建研本家の版は[`packages/pyhees-jjj/UPSTREAM.md`](../packages/pyhees-jjj/UPSTREAM.md)、
Nextの製品版は[`jjjexperiment/release.py`](../packages/pyhees-jjj/src/jjjexperiment/release.py)
Expand Down
2 changes: 1 addition & 1 deletion packages/pyhees-jjj/UPSTREAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- upstream commit: `d5224c4a01def00a8421bcd2fcc0d4b4a5b88644`
- previous upstream commit: `2de59208427e719edacfeffaa47d46e964c4fc63`(Ver.3.9相当)
- imported fork commit: `0f91ba8381df1b4960557b92b39339385cc9009f`
- engine version: `_v1.1.2`
- engine version: `_v1.2.0`
- legacy form version: `260715`

この値は `regression/phase5/manifest.json` と一致させます。
Expand Down
2 changes: 1 addition & 1 deletion packages/pyhees-jjj/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pyhees-jjj"
version = "1.1.2"
version = "1.2.0"
description = "Pyheesの検証用のフォークプロジェクトです"
homepage = "https://github.com/izumi-system-development/pyhees-jjj"
authors = ["Pyhees Development Team"]
Expand Down
8 changes: 4 additions & 4 deletions packages/pyhees-jjj/src/jjjexperiment/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
from typing import Any, Mapping


VERSION = "1.1.2"
DISPLAY_VERSION = "ver.1.1.2"
RELEASE_DATE = "2026-08-12"
ARTIFACT_VERSION = "_v1.1.2"
VERSION = "1.2.0"
DISPLAY_VERSION = "ver.1.2.0"
RELEASE_DATE = "2026-08-13"
ARTIFACT_VERSION = "_v1.2.0"

UPSTREAM_PYHEES_VERSION = "3.10.0"
UPSTREAM_PYHEES_COMMIT = "d5224c4a01def00a8421bcd2fcc0d4b4a5b88644"
Expand Down
14 changes: 7 additions & 7 deletions packages/pyhees-jjj/src/tests/test_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ def test_source_commit_prefers_deployment_metadata(monkeypatch):
def test_write_artifact_manifest_records_release_and_input(tmp_path, monkeypatch):
monkeypatch.setenv("VERIFICATION_SOURCE_COMMIT", "0123456789abcdef")
input_data = {"case_name": "case", "region": 6}
path = tmp_path / "case_v1.1.2_manifest.json"
path = tmp_path / "case_v1.2.0_manifest.json"

release.write_artifact_manifest(path, input_data)

manifest = json.loads(path.read_text(encoding="utf-8"))
assert manifest == {
"schema_version": 1,
"product": "Verification Platform Next",
"version": "1.1.2",
"display_version": "ver.1.1.2",
"release_date": "2026-08-12",
"artifact_version": "_v1.1.2",
"version": "1.2.0",
"display_version": "ver.1.2.0",
"release_date": "2026-08-13",
"artifact_version": "_v1.2.0",
"source_commit": "0123456789abcdef",
"upstream_pyhees_version": "3.10.0",
"upstream_pyhees_commit": "d5224c4a01def00a8421bcd2fcc0d4b4a5b88644",
Expand Down Expand Up @@ -82,15 +82,15 @@ def test_calc_writes_manifest_only_after_success(tmp_path, monkeypatch):

assert actual is result
assert json.loads(
(tmp_path / "release-case_v1.1.2_input.json").read_text(encoding="utf-8")
(tmp_path / "release-case_v1.2.0_input.json").read_text(encoding="utf-8")
) == input_data
assert events == [
("constants", input_data),
("injector", input_data, True),
("calculate", experiment_main.calc_main),
(
"manifest",
Path("release-case_v1.1.2_manifest.json"),
Path("release-case_v1.2.0_manifest.json"),
input_data,
),
]
2 changes: 1 addition & 1 deletion packages/verification-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "verification-core"
version = "1.1.2"
version = "1.2.0"
description = "Canonical input schema and shared contracts for Verification Platform"
authors = ["iguchi-lab"]
packages = [{ include = "verification_core", from = "src" }]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "verification-platform-next"
version = "1.1.2"
version = "1.2.0"
description = "Monorepo for the Verification Platform engine, schema, and UI"
authors = ["iguchi-lab"]
package-mode = false
Expand Down
2 changes: 1 addition & 1 deletion regression/phase5/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schema_version": 1,
"legacy_form_version": "260715",
"engine_commit": "d5224c4a01def00a8421bcd2fcc0d4b4a5b88644",
"engine_version": "_v1.1.2",
"engine_version": "_v1.2.0",
"tolerances": {
"relative": 1e-09,
"absolute": 1e-08
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gradio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def equipment_section(prefix: str) -> dict[str, object]:
)

assert gradio.__version__.startswith("6.")
assert config["title"] == "Verification Platform Next ver.1.1.2"
assert config["title"] == "Verification Platform Next ver.1.2.0"
assert component_types["accordion"] == 16
assert component_types["number"] == 156
assert component_types["dropdown"] == 54
Expand Down
6 changes: 3 additions & 3 deletions tests/test_release_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def _project_version(path: str) -> str:


def test_release_version_is_consistent_across_projects():
assert release.VERSION == "1.1.2"
assert release.DISPLAY_VERSION == "ver.1.1.2"
assert release.ARTIFACT_VERSION == "_v1.1.2"
assert release.VERSION == "1.2.0"
assert release.DISPLAY_VERSION == "ver.1.2.0"
assert release.ARTIFACT_VERSION == "_v1.2.0"
assert {
_project_version("pyproject.toml"),
_project_version("packages/verification-core/pyproject.toml"),
Expand Down