Azure 측정 산출물 반영 — 지표 ①②③⑥⑦⑧⑨⑩ 결과물 + ③ 독립 집계기 신설
Azure VM(vm-nego-daegu, Ubuntu 20.04.6 / Python 3.10.14) 실행 결과를 정본에 반영. 로컬과 Azure의 모든 측정 산출물 md5 일치 확인함. - ② 협상성공률(대인): extract_file.py 신설 — testdata/human_data.xlsx 전수 499건 집계, 성공 = 협상완료 ∧ AI협상결과 '성공'. 76.35% PASS (목표 75%). 구 extract_from_negowiz.py 제거 - ③ 평균가격협상률: eval/03_price_reduction/ 신설 — ①의 detail_*.jsonl에서 LLM 재실행 없이 독립 집계. 5.877% PASS (목표 3%), ①의 자체 산출값과 일치 - ⑥ 답변속도: 실트래픽 7,179건 집계 result.json 신설 (p95 25.37ms PASS) + 부하 측정분(heavy p95 57.9ms / light p95 41.25ms) - ①⑦⑧⑨⑩: Azure 본측정 산출물(detail·result·스냅샷·모델) 추가 - server/data: 측정 증거 로그를 Azure 실행분으로 교체 (response_time 195→7,182줄, contracts 301줄, tension_log 2,251줄) 보류: 최저가 탐색 탭(frontend PriceSearchPanel·server price_search.py)은 사용자 코드 정리 대기 중이라 이번 커밋에서 제외. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014sLpiFCT7Lj78iLwPbVx7a
This commit is contained in:
1 parent
04c8624646
commit
649c1f65fd
154 files changed
+69129
-228
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"n": 1032,
|
||||
"산식": "macro-F1 (클래스별 F1 단순 평균) — 불균형 대비 보수적 채점",
|
||||
"macro_f1_pct": 99.71,
|
||||
"micro_f1_pct(accuracy)": 99.81,
|
||||
"클래스별": {
|
||||
"Scenario_A": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 403
|
||||
},
|
||||
"Scenario_B": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9915,
|
||||
"f1": 0.9957,
|
||||
"support": 118
|
||||
},
|
||||
"Scenario_C": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9904,
|
||||
"f1": 0.9952,
|
||||
"support": 104
|
||||
},
|
||||
"Scenario_D": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 407
|
||||
}
|
||||
},
|
||||
"target_pct": 96.0,
|
||||
"verdict": "PASS"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,108 @@
|
||||
===== 2026-09-03T04:33:45Z 환경 =====
|
||||
NAME="Ubuntu"
|
||||
Python 3.10.14
|
||||
torch 2.4.1+cpu
|
||||
|
||||
===== 1) build_dataset.py --seed 926 =====
|
||||
{"품목명": 864, "train": 4152, "test": 1032, "라벨분포": {"Scenario_A": 2023, "Scenario_D": 2066, "Scenario_C": 539, "Scenario_B": 556}, "seed": 926}
|
||||
|
||||
===== 2) train.py --epochs 60 --seed 926 =====
|
||||
epoch 1 loss 1.1928 test_acc 0.7384
|
||||
epoch 2 loss 0.9171 test_acc 0.7829
|
||||
epoch 3 loss 0.4998 test_acc 0.8149
|
||||
epoch 4 loss 0.2826 test_acc 0.9205
|
||||
epoch 5 loss 0.1831 test_acc 0.9748
|
||||
epoch 6 loss 0.1257 test_acc 0.9922
|
||||
epoch 7 loss 0.0908 test_acc 0.9952
|
||||
epoch 8 loss 0.0715 test_acc 0.9961
|
||||
epoch 9 loss 0.0551 test_acc 0.9971
|
||||
epoch 10 loss 0.0461 test_acc 0.9942
|
||||
epoch 11 loss 0.0376 test_acc 0.9990
|
||||
epoch 12 loss 0.0312 test_acc 0.9981
|
||||
epoch 13 loss 0.0269 test_acc 0.9971
|
||||
epoch 14 loss 0.0222 test_acc 0.9981
|
||||
epoch 15 loss 0.0193 test_acc 0.9990
|
||||
epoch 16 loss 0.0180 test_acc 0.9981
|
||||
epoch 17 loss 0.0145 test_acc 0.9971
|
||||
epoch 18 loss 0.0125 test_acc 0.9981
|
||||
epoch 19 loss 0.0111 test_acc 0.9971
|
||||
epoch 20 loss 0.0104 test_acc 0.9971
|
||||
epoch 21 loss 0.0090 test_acc 0.9961
|
||||
epoch 22 loss 0.0077 test_acc 0.9971
|
||||
epoch 23 loss 0.0068 test_acc 0.9971
|
||||
epoch 24 loss 0.0061 test_acc 0.9981
|
||||
epoch 25 loss 0.0063 test_acc 0.9971
|
||||
epoch 26 loss 0.0051 test_acc 0.9971
|
||||
epoch 27 loss 0.0044 test_acc 0.9990
|
||||
epoch 28 loss 0.0040 test_acc 0.9981
|
||||
epoch 29 loss 0.0036 test_acc 0.9971
|
||||
epoch 30 loss 0.0036 test_acc 0.9971
|
||||
epoch 31 loss 0.0031 test_acc 0.9981
|
||||
epoch 32 loss 0.0028 test_acc 0.9990
|
||||
epoch 33 loss 0.0028 test_acc 0.9981
|
||||
epoch 34 loss 0.0024 test_acc 0.9981
|
||||
epoch 35 loss 0.0022 test_acc 0.9971
|
||||
epoch 36 loss 0.0021 test_acc 0.9990
|
||||
epoch 37 loss 0.0019 test_acc 0.9971
|
||||
epoch 38 loss 0.0018 test_acc 0.9971
|
||||
epoch 39 loss 0.0017 test_acc 0.9971
|
||||
epoch 40 loss 0.0016 test_acc 0.9971
|
||||
epoch 41 loss 0.0015 test_acc 0.9971
|
||||
epoch 42 loss 0.0014 test_acc 0.9990
|
||||
epoch 43 loss 0.0013 test_acc 0.9971
|
||||
epoch 44 loss 0.0012 test_acc 0.9971
|
||||
epoch 45 loss 0.0012 test_acc 0.9971
|
||||
epoch 46 loss 0.0011 test_acc 0.9981
|
||||
epoch 47 loss 0.0010 test_acc 0.9981
|
||||
epoch 48 loss 0.0010 test_acc 0.9971
|
||||
epoch 49 loss 0.0009 test_acc 0.9971
|
||||
epoch 50 loss 0.0009 test_acc 0.9971
|
||||
epoch 51 loss 0.0008 test_acc 0.9990
|
||||
epoch 52 loss 0.0008 test_acc 0.9981
|
||||
epoch 53 loss 0.0007 test_acc 0.9990
|
||||
epoch 54 loss 0.0007 test_acc 0.9981
|
||||
epoch 55 loss 0.0007 test_acc 0.9981
|
||||
epoch 56 loss 0.0006 test_acc 0.9971
|
||||
epoch 57 loss 0.0006 test_acc 0.9981
|
||||
epoch 58 loss 0.0006 test_acc 0.9981
|
||||
epoch 59 loss 0.0006 test_acc 0.9981
|
||||
epoch 60 loss 0.0005 test_acc 0.9981
|
||||
{"train": 4152, "test": 1032, "vocab": 680, "torch": "2.4.1+cpu", "출력": "data/predictions.csv, model.pt"}
|
||||
|
||||
===== 3) run.py (macro-F1, 목표 96) =====
|
||||
{
|
||||
"n": 1032,
|
||||
"산식": "macro-F1 (클래스별 F1 단순 평균) — 불균형 대비 보수적 채점",
|
||||
"macro_f1_pct": 99.71,
|
||||
"micro_f1_pct(accuracy)": 99.81,
|
||||
"클래스별": {
|
||||
"Scenario_A": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 403
|
||||
},
|
||||
"Scenario_B": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9915,
|
||||
"f1": 0.9957,
|
||||
"support": 118
|
||||
},
|
||||
"Scenario_C": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9904,
|
||||
"f1": 0.9952,
|
||||
"support": 104
|
||||
},
|
||||
"Scenario_D": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 407
|
||||
}
|
||||
},
|
||||
"target_pct": 96.0,
|
||||
"verdict": "PASS"
|
||||
}
|
||||
|
||||
===== 2026-09-03T04:33:58Z 완료 =====
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"지표": "⑦ 품목별 협상 시나리오 분류 (macro-F1)",
|
||||
"실행환경": "Azure VM vm-nego-daegu (Standard_B2ms, Korea South) / nego-backend 컨테이너: Ubuntu 20.04.6, Python 3.10.14, torch 2.4.1+cpu, CPU 학습",
|
||||
"명령": ["python3.10 build_dataset.py --seed 926", "python3.10 train.py --epochs 60 --seed 926", "python3.10 run.py --target 96"],
|
||||
"데이터": {"품목명": 864, "표본/품목": 6, "train": 4152, "test": 1032, "분할": "품목명 단위 8:2 홀드아웃", "라벨": "testdata/scenario_rule.py 4분면 룰"},
|
||||
"시작": "2026-09-03T04:33:45Z", "종료": "2026-09-03T04:33:58Z",
|
||||
"결과": {"macro_f1_pct": 99.71, "micro_f1_pct": 99.81, "target_pct": 96.0, "verdict": "PASS"}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"n": 1032,
|
||||
"산식": "macro-F1 (클래스별 F1 단순 평균) — 불균형 대비 보수적 채점",
|
||||
"macro_f1_pct": 99.71,
|
||||
"micro_f1_pct(accuracy)": 99.81,
|
||||
"클래스별": {
|
||||
"Scenario_A": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 403
|
||||
},
|
||||
"Scenario_B": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9915,
|
||||
"f1": 0.9957,
|
||||
"support": 118
|
||||
},
|
||||
"Scenario_C": {
|
||||
"precision": 1.0,
|
||||
"recall": 0.9904,
|
||||
"f1": 0.9952,
|
||||
"support": 104
|
||||
},
|
||||
"Scenario_D": {
|
||||
"precision": 0.9975,
|
||||
"recall": 1.0,
|
||||
"f1": 0.9988,
|
||||
"support": 407
|
||||
}
|
||||
},
|
||||
"target_pct": 96.0,
|
||||
"verdict": "PASS"
|
||||
}
|
||||
Reference in new issue
Block a user