docs(hex8): record mean-volume revalidation results and limits

This commit is contained in:
KOKO\Mimi
2026-10-11 04:20:43 +09:00
parent 18b36c1c22
commit ede137c6b4
10 changed files with 329 additions and 24 deletions
+98 -4
View File
@@ -1,7 +1,8 @@
# Hex8 original comparison evidence
# Hex8 verification and original comparison evidence
This page records T8's comparison-only Python implementation and its observed
results. It does not replace the feature PRD, numerical controls or completion
This page records the build/test evidence, comparison-only Python tool and actual
original results. Historical pointwise results and the approved mean-volume change
are recorded separately. It does not replace the feature PRD, numerical controls or completion
checklist. The comparator reads official rounded Float64 quantities; it does not
recompute the internal high+low solver acceptance gates from those observables.
@@ -79,7 +80,7 @@ assumption about the absent original Value file's eventual CSV layout. Actual
modal original comparison remains **NOT RUN** until a genuine reference is
provided and its semantics and hashes are confirmed.
## Current observations
## 비교기 개발과 변경 전 pointwise 구현의 관측 이력
The initial seven behavior assertions failed before implementation (pytest native
exit1). The first expanded suite passed63/63 with native exit0. Those tests include
@@ -172,3 +173,96 @@ Approved B replaces the pointwise bulk energy and requires new validation of all
five procedures. None of the historical native, internal or reference outcomes
above is a validation result for the mean-volume implementation. Originals,
tolerances, strict gates and comparator contracts remain unchanged.
## 2026-10-10 체적 평균 energy 구현과 현재 재검증
Frozen 작성자 `b2abd739`를 root `18b36c1`에 연결했다. 두 pass로 reference-volume
가중 trace 평균을 계산하고 같은 energy에서 내력·전체 Hessian·복구 응력을 구한다.
Cross-GP bulk 항과 `S*:delta²E` 기하항을 함께 유지한다. LINE의 K0는 같은 식의
영변위 Hessian이다. 질량·HHT·strict gate·원본·I/O·허용오차는 변경하지 않았다.
수정한 weighted warped oracle를 이전 구현에 대입한7개 검사는 모두 실패했다.
변경본 작성자 관련150/150, 시간수렴3 GTests의4물리 사례, 최종 실제 재컴파일3/3은
각각 native build/CTest0/0이다. u/v/physical a의 최소 관측 차수1.98022는 기존1.8
기준을 충족한다. Root 실제 재컴파일 후 관련65/65도 native0이다. 정규 brick의 rank,
두 축 지정 굽힘장 에너지 수렴과 고정 두께 cantilever tip 추세는 서로 다른 증거다.
상세 범위는 [수치 검토](numerical-review.md)와 [물리 검토](physics-review.md)에 있다.
새 공식 CLI는 frozen executable과 byte-identical scratch INP를 사용한다. 아래 두
정적 해석은 자연 종료 native0이며, 변경 없는 공식 비교기도 각각 native0이다.
Source/model/schema/point/frame/finite 사전검사와 각 family의 모든 row가 통과했다.
| 원본 / blocking quantity | Scalars | Failing rows | Maximum absolute error | RMS/S |
| --- | ---: | ---: | ---: | ---: |
| linear static U | 1326 | 0 | 6.096370478748947e-11 | 9.317898154374918e-9 |
| linear static RF | 51 | 0 | .014746726665180176 | 7.3098163267228364e-9 |
| linear static S | 14400 | 0 | .12245691940188408 | 3.425934236751431e-9 |
| nonlinear static U | 1326 | 0 | 9.832466303596647e-10 | 2.169911561350724e-7 |
| nonlinear static RF | 51 | 0 | 12.826179522729944 | 6.728092996221331e-6 |
| nonlinear static S | 14400 | 0 | 93.34994950843975 | 9.338899878251489e-6 |
새 HDF5 SHA256은 linear `023769e50d05226ef8defe87e29bc9046fbdd5071783007ebb39a49fd9d7d617`,
nonlinear `2acb3471c7799597d554d4d9ee224e8c611522866808f38b2b2c202e0f98a4bd`다.
Frequency CLI도 native0으로 종료했고 공식 readback 사전검사는 PASS다. 새 결과 SHA는
`f6203936883df7f27e86a20311726b7e59fefa117e5f9fa67f71bdf63ec2e4cb`다.
원본 modal Value 부재로 비교는 native2·NOT RUN이며 수치 통과가 아니다.
새 선형 동적 CLI가 native0으로 자연 종료했고101-frame 사전검사와101개 U family가
모두 PASS다(비교 native0). 총133926개 scalar의 실패 행은0개다. 초기 exact-zero family를
포함하며100개 nonzero-scale family의 최대 RMS/S는.0031316511389477947,
전체 최대 absolute error는1.3395048822648645e-5다. 마지막 RMS/S는.001392775677333779다.
Actual HDF SHA는 `5476c557bc8e1c0a1e8b57a1cc8d763eb822a47e27aa2b2723fcbdc2246f9b40`다.
이 외부 변위 비교는 rounded HDF만으로 내부 high+low strict gate를 재계산한 검사가 아니다.
새 비선형 동적 CLI도 native0으로 자연 종료했고101-frame 사전검사 및101개 U family가
모두 PASS다(비교 native0). 총133926개 scalar의 실패 행은0개다. 초기 exact-zero와
100개 nonzero-scale family를 구분했으며 최대 RMS/S는.003133373067174733,
전체 최대 absolute error는1.3397499223151595e-5, 마지막 RMS/S는.0013958914416137816이다.
Actual HDF SHA는 `023b4558a28f8d9365f6b11346a6cb4a5d2faafa68607c5c56bbf226fe816210`다.
다섯 새 공식 CLI queue는 wrapper0으로 자연 종료했고 원본13개 SHA를 보존했다.
독립 검토의 범위는 해당 수치·물리 검토 문서를 따른다.
제외 없는 전체787 CTest는2026-10-11 자연 종료했다. MSVC x64 Debug configure/build는
native0/0이며 CTest는 native8:784 PASS·2 FAIL·1 SKIP이다. 기존617개가 모두 유지됐고
추가170개는 모두 PASS이며 새 예외는0이다. 두 기존 Shell 실패의 수치 로그20/30줄은
baseline과 정확히 같다. SKIP은 이름·상태가 동일하지만 output-on-failure raw에 상세
본문이 없어 그 metric 검증은 NOT VERIFIED다. 전체 green으로 보고하지 않는다.
정확한 CLI/비교 명령·native record·
원본/copy/result SHA·전 row report는 로컬 `.harness/hex8-evidence/mean-volume/`의
`original-cli/`, `comparisons/`, `integrated-focused/`, `full/`에 보존한다.
동일 revision에서 전체 Python 명령
`uv run --with h5py --with pytest python -B -m pytest -v -rs`도 다시 실행했다.
기존 `msvc_harness`·제거된 `scripts.hooks` import의 collection5 오류로 native2,
실행0개다. `.harness/hex8-evidence/mean-volume/python-full/`의 native 기록을 따른다.
기존 실패를 제외하거나 폐기된 절차를 복원하지 않았으며 전체 Python PASS가 아니다.
## 2026-10-11 전체 재검증 종료 기록
전체 C++ 검증은 설치된 MSVC x64와 dependency 환경에서 아래 preset backend 명령을
제외 없이 실행했다. `.harness/config.json`이 없고 generic runner는30분 deadline을
사용하므로 수시간의 전체 실행은 직접 backend로 완료했다. `scripts/execute.py`의 별도
실행 성공을 주장하지 않는다. 실제 argv·시각·native 종료 코드는 `full/`에 보존했다.
```powershell
cmake --preset windows-msvc-ninja-debug
cmake --build --preset windows-msvc-ninja-debug
ctest --preset windows-msvc-ninja-debug --show-only=json-v1
ctest --preset windows-msvc-ninja-debug --output-on-failure
```
전체 실제 시간은16839.26초다. 기존 실패는
`HhtShellPhysics.C08aRigidManufacturedOrbitFullCoordinateTimeConvergence` 및
`HhtShellPhysics.C08bFreeFiniteRotationPlateSelfConvergenceAndPhysicalInvariants`,
SKIP은 `HhtTemporalVerification.C04aFinestReductionComparisonIsNumericallyResolved`다.
기존617개와 새170개의 discovery·실행 ordinal·status 및 종료 artifact SHA 대조는
`full/independent-closure-summary.json`에 있다. 다섯 CLI·네 실제 원본 비교·modal NOT RUN·
Python collection 오류와 원본13개/frozen binaries 보존을 함께 기록한 최종 자료는
`.harness/hex8-evidence/mean-volume/closure.json`이다. 독립 감사와 실제 원본 물리 복구의
bounded 판정·한계는 [수치 검토](numerical-review.md), [물리 검토](physics-review.md)를 따른다.
종료 후 독립 전체 evidence 감사도 native0·finding0이다. 별도22개 artifact SHA와
세 실제 테스트 실행 파일의 중간 관측/종료 SHA, 모든 discovery/실행 행과 기존 상대
순서·status를 대조했다. 자료는 `final-evidence-audit-full/`에 있다. 두 실패 출력은
elapsed-ms 표기만 제외해 정확히 동일하다. 이 감사 PASS는 CTest native8이나 modal
NOT RUN을 통과로 재분류하지 않는다.