Files
Aislo/resources/tester/scratch/save_round2_json.py
T

89 lines
4.9 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import json
import sys
from pathlib import Path
sys.stdout.reconfigure(encoding='utf-8')
# Build comprehensive round 2 json
round2_data = {
"round": 2,
"date": "2026-09-18",
"git_commit_examined": "4073c53f",
"summary": {
"v1_total_issues": 96,
"v2_total_issues": 74,
"net_resolved_count": 22,
"basis_v1": 60,
"basis_v2_remaining": 44,
"basis_resolved": 16,
"notes_critical_v1": 9,
"notes_critical_v2_remaining": 3,
"notes_critical_resolved": 6,
"references_v1": 27,
"references_v2": 27,
"references_adjudication": {
"valid_references_design_specs": 7,
"actual_cost_tables_should_link": 20
},
"overpruning_lost_real_rules_count": 34,
"new_regressions_count": 0
},
"lost_real_rules_sample": [
{
"table_id": "F0251/F0252",
"section": "9-8 구조물 헐기 철근절단",
"lost_rule": "- 4. 고철공제 : A=1㎥×0.008×7,850kg/㎥×80% = 50.24 kg/㎥ ≒50 kg/㎥",
"impact": "고철 대금 공제 50kg/㎥ 완전 증발"
},
{
"table_id": "F0088",
"section": "4-3 위험목 베기",
"lost_rule": "- ⑥ 산림병해충 발생지역 장비 없이 인력 제거 시 보통인부 100% 가산",
"impact": "인력 위험목 제거 노무비 100% 가산 규정 증발"
},
{
"table_id": "F0086",
"section": "4-2-1 벌채 100본당",
"lost_rule": "- ⑤ 관목류 제거 시 보통인부 30% 할증, - ⑥ 규격재 조재 시 20% 할증",
"impact": "벌채 관목 30% 및 조재 20% 할증 규정 증발"
},
{
"table_id": "F0191",
"section": "7-11 트랙터 집재",
"lost_rule": "- ④ 주행곤란 10%/5% 할증, - ⑤ 잔존목 밀도 10%/5% 할증",
"impact": "집재 주행 및 잔존목 할증 증발"
}
],
"adjudication_reference_27": {
"group_a_design_specs_reference_ok": [
{"table_id": "F0396", "name": "유로폼 유형별 적용 시설", "reason": "난이도 판정 텍스트 표"},
{"table_id": "F0400", "name": "야면석 규격별 뒷길이 기준", "reason": "치수 규격표"},
{"table_id": "F0406", "name": "돌쌓기 개수 및 중량 표준", "reason": "단위환산 참고표"},
{"table_id": "F0411", "name": "성토 뒤채움 조약돌 두께 기준", "reason": "도면 치수표"},
{"table_id": "F0412", "name": "돌쌓기 뒷길이 표준", "reason": "도면 치수표"},
{"table_id": "F0413", "name": "돌쌓기 표준경사", "reason": "설계 경사표"},
{"table_id": "F0446", "name": "목책 설치 작업조건 분류", "reason": "조건 분류표"}
],
"group_b_actual_cost_tables_should_link": [
{"table_id": "F0369", "name": "P.V.C 파이프 설치(50mm)", "unit": "개소당", "resources": "아스팔트 4kg, 방수공 0.034인, 보통인부 0.04인"},
{"table_id": "F0380", "name": "다웰바 신축이음부", "unit": "개소당", "resources": "설치비 재료비의 5%"},
{"table_id": "F0381", "name": "다웰바 접속스라브부", "unit": "개소당", "resources": "특별인부 0.1인, 보통인부 0.001인"},
{"table_id": "F0382", "name": "물끊기 홈(NOTCH) 설치", "unit": "개소당", "resources": "특별인부 0.1인, 보통인부 0.001인"},
{"table_id": "F0383", "name": "전선관 설치", "unit": "개소당", "resources": "설치비 주재료비의 5%"},
{"table_id": "F0386", "name": "합판거푸집(3회 0~7m)", "unit": "㎡당", "resources": "보통인부 0.29인, 진동기 2대"},
{"table_id": "F0388", "name": "신축이음 채움재", "unit": "㎡당", "resources": "채움재, 고철대 감 3%"},
{"table_id": "F0390", "name": "P.C BOX 설치", "unit": "식", "resources": "미장공 0.14인, 보통인부 0.05인"},
{"table_id": "F0391", "name": "콘크리트 타설(무근)", "unit": "㎥당", "resources": "콘크리트공 0.15인, 보통인부 0.27인"},
{"table_id": "F0393", "name": "유로폼 사용수량", "unit": "10㎡당", "resources": "패널 0.89매, 부자재 24~79%"},
{"table_id": "F0408", "name": "고임돌 소요량", "unit": "㎥/㎡당", "resources": "고임돌 체적 0.06~0.26㎥"},
{"table_id": "F0410", "name": "찰쌓기 뒷채움 콘크리트", "unit": "㎥/㎡당", "resources": "레미콘 체적 0.08~0.34㎥"}
]
}
}
target_path = Path("resources/knowledge/technical_info/01_임도/05_원가정보/품셈_원문md_마스터데이터_2바퀴_대조_검증보고서.json")
with open(target_path, "w", encoding="utf-8") as f:
json.dump(round2_data, f, ensure_ascii=False, indent=2)
print(f"Saved {target_path} successfully.")