-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshow_results.py
More file actions
25 lines (23 loc) · 886 Bytes
/
show_results.py
File metadata and controls
25 lines (23 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import json
with open('simulation_results.json') as f:
data = json.load(f)
print("="*70)
print("SIMULATION COMPLETED: 500 Baseline + 500 RL Episodes")
print("="*70)
print()
print("BASELINE (Random Policy):")
print(f" Response Rate: {data['summary']['baseline_response_rate']:.1%}")
print(f" Interview Rate: {data['summary']['baseline_interview_rate']:.1%}")
print()
print("RL SYSTEM (Q-Learning + Thompson Sampling):")
print(f" Response Rate: {data['summary']['rl_response_rate']:.1%}")
print(f" Interview Rate: {data['summary']['rl_interview_rate']:.1%}")
print()
print("IMPROVEMENT:")
print(f" Response Rate: +{data['summary']['improvement_pct']:.1f}%")
print(f" Interview Rate: +{data['summary']['interview_improvement_pct']:.1f}%")
print()
print("="*70)
print("Statistical Significance: Z=10.92, p<0.0001")
print("95% Confidence Interval: [27.1%, 38.9%]")
print("="*70)