codemaivanngu commited on
Commit
3ec5499
·
verified ·
1 Parent(s): bb38278

sync(report): brax_hv_bestreg72_refm5000m7000_ep16_20260714

Browse files
Files changed (11) hide show
  1. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/README.md +6 -1
  2. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0_refm5000_m7000.png +2 -2
  3. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0p2_refm5000_m7000.png +2 -2
  4. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0p4_refm5000_m7000.png +2 -2
  5. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0_refm5000_m7000.png +2 -2
  6. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0p2_refm5000_m7000.png +2 -2
  7. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0p4_refm5000_m7000.png +2 -2
  8. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0_refm5000_m7000.png +2 -2
  9. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0p2_refm5000_m7000.png +2 -2
  10. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0p4_refm5000_m7000.png +2 -2
  11. reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/make_overview.py +95 -0
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/README.md CHANGED
@@ -64,7 +64,12 @@ B50 configuration has the tightest three-seed spread among the leaders.
64
  - `analysis/overview_metrics.json`: machine-readable headline metrics.
65
  - `analysis/plots/`: compact overview, top-10 chart, and 12 detailed plots.
66
  - `calibration/`: common-reference calibration and 216-row mesh check.
67
- - `make_overview.py`: reproducible generator for the two compact overview plots.
 
 
 
 
 
68
 
69
  The full policy-bank payload is published separately in the configured model
70
  repository as a compressed archive with a SHA-256 sidecar and an explicit
 
64
  - `analysis/overview_metrics.json`: machine-readable headline metrics.
65
  - `analysis/plots/`: compact overview, top-10 chart, and 12 detailed plots.
66
  - `calibration/`: common-reference calibration and 216-row mesh check.
67
+ - `make_overview.py`: reproducible generator for the compact and overlay plots.
68
+
69
+ In the nine detailed `(H, flip)` budget plots, A0 and A1 share the same axes.
70
+ Solid circles denote A0, dashed squares denote A1, faint points show the three
71
+ individual seeds, and each translucent band is **mean +/- population SD**. The
72
+ band is descriptive uncertainty for three seeds, not a 95% confidence interval.
73
 
74
  The full policy-bank payload is published separately in the configured model
75
  repository as a compressed archive with a SHA-256 sidecar and an explicit
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 73529d43c7391c1dd4b7226a9212f4266e171985e3ab90a656b412bd75a58069
  • Pointer size: 130 Bytes
  • Size of remote file: 87.6 kB

Git LFS Details

  • SHA256: 920649be48ae2646eb9571e4ffbb32728af5f3baa6fe7fe34befca82689d6dbb
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0p2_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 2a894751a59a29901b9f93c2ee85797e69e9d02dd79054b8d27d699db9ff534a
  • Pointer size: 130 Bytes
  • Size of remote file: 94.6 kB

Git LFS Details

  • SHA256: 81abf16649bb280217c1c1105c28b2a5ee0a10143d1c5b9f35d1d44b797acf75
  • Pointer size: 131 Bytes
  • Size of remote file: 126 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H32_flip0p4_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 2afbb6ccf179270ed013396f88f800d06a9a685ee9155dd41bfc9573aa68e34a
  • Pointer size: 130 Bytes
  • Size of remote file: 89.6 kB

Git LFS Details

  • SHA256: 61b1bf5ded9035e6a33c2d083d0f5e9a432f0524238df9a4c321a82b490edebe
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 7b0502a70bd9f41ebd9d9d606b6d7b39a7e64d763cd66a0d15f9b59db0057c3d
  • Pointer size: 130 Bytes
  • Size of remote file: 96.2 kB

Git LFS Details

  • SHA256: 9f45c84edefd705d336bc466b09f72cec576f19d798a32740f3ff9c7236b376a
  • Pointer size: 131 Bytes
  • Size of remote file: 136 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0p2_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: b7cafe525bba32fa43612e2dd44dd5edf00081d7fe101402d479a62e42105e64
  • Pointer size: 130 Bytes
  • Size of remote file: 94 kB

Git LFS Details

  • SHA256: 49c57c229b73daa45134f2238265b9508184af5d6c820366b2962d184980ad57
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H40_flip0p4_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: a5ba3ce3dcb7d297621302a52a9db02b6efffc93f4aa5c2adc26af04f2209aa2
  • Pointer size: 130 Bytes
  • Size of remote file: 88.9 kB

Git LFS Details

  • SHA256: 1cc40fe50501086bd2dcf8ccb13fa1505ab39f6cd070e1da1cf382673cd72b87
  • Pointer size: 131 Bytes
  • Size of remote file: 126 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 91d269514379a27e3143a276449357927a2894305d114e63ba1668f7e7f8e8dd
  • Pointer size: 130 Bytes
  • Size of remote file: 81.2 kB

Git LFS Details

  • SHA256: fd1e7bf5ff9a9d667814feb6c984e2148c6b2720ea32d0a36ad38eb0e75f88e3
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0p2_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 502d0465db4bafc253e99d732d1048d2865f218e5cce7679914098bdaf64377d
  • Pointer size: 130 Bytes
  • Size of remote file: 90.6 kB

Git LFS Details

  • SHA256: 70f95df59ca9b1005707d6e90b10beee8da3f135330b22120428852878a7912b
  • Pointer size: 131 Bytes
  • Size of remote file: 125 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/analysis/plots/hv_by_budget_mo-halfcheetah-v5_braxvmap_H48_flip0p4_refm5000_m7000.png CHANGED

Git LFS Details

  • SHA256: 027f999e06f1f5dd5831aa57f7e35518cf3e67c8855484081210bc448d562101
  • Pointer size: 130 Bytes
  • Size of remote file: 87.1 kB

Git LFS Details

  • SHA256: 3d504602c8b442144d147f2ba233a96514cbea46018b38f11efc393ccd740188
  • Pointer size: 131 Bytes
  • Size of remote file: 124 kB
reports/v0.52.3.0/brax_hv_bestreg72_refm5000m7000_ep16_20260713/make_overview.py CHANGED
@@ -47,6 +47,98 @@ def variant_effect(
47
  }
48
 
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  def main() -> None:
51
  PLOTS.mkdir(parents=True, exist_ok=True)
52
  runs = read_tsv(ANALYSIS / "parsed_hv_runs.tsv")
@@ -56,6 +148,8 @@ def main() -> None:
56
  colors = {"a0_resmlp": "#2878B5", "a1_resmlp": "#E07B39"}
57
  pretty = {"a0_resmlp": "A0", "a1_resmlp": "A1"}
58
 
 
 
59
  by_variant: dict[str, list[float]] = defaultdict(list)
60
  for row in runs:
61
  by_variant[row["variant"]].append(float(row["hypervolume"]))
@@ -194,6 +288,7 @@ def main() -> None:
194
  )
195
  print(f"overview_plot={overview_path}")
196
  print(f"top10_plot={PLOTS / 'top10_hv_configs.png'}")
 
197
  print(f"metrics={ANALYSIS / 'overview_metrics.json'}")
198
 
199
 
 
47
  }
48
 
49
 
50
+ def plot_detailed_overlays(
51
+ runs: list[dict[str, str]],
52
+ variants: list[str],
53
+ colors: dict[str, str],
54
+ pretty: dict[str, str],
55
+ ) -> list[Path]:
56
+ groups: dict[
57
+ tuple[str, str], dict[str, dict[str, list[float]]]
58
+ ] = defaultdict(lambda: defaultdict(lambda: defaultdict(list)))
59
+ for row in runs:
60
+ key = (row["H"], row["flip"])
61
+ groups[key][row["variant"]][row["B"]].append(
62
+ float(row["hypervolume"]) / 1e6
63
+ )
64
+
65
+ markers = {"a0_resmlp": "o", "a1_resmlp": "s"}
66
+ linestyles = {"a0_resmlp": "-", "a1_resmlp": "--"}
67
+ offsets = {"a0_resmlp": -0.035, "a1_resmlp": 0.035}
68
+ seed_jitter = [-0.012, 0.0, 0.012]
69
+ output_paths: list[Path] = []
70
+
71
+ for (horizon, flip), by_variant in sorted(
72
+ groups.items(), key=lambda item: (int(item[0][0]), item[0][1])
73
+ ):
74
+ budgets = sorted(
75
+ {budget for values in by_variant.values() for budget in values},
76
+ key=int,
77
+ )
78
+ x_base = list(range(len(budgets)))
79
+ fig, ax = plt.subplots(figsize=(10, 6), constrained_layout=True)
80
+
81
+ for variant in variants:
82
+ x = [value + offsets[variant] for value in x_base]
83
+ values = [by_variant[variant][budget] for budget in budgets]
84
+ means = [mean(item) for item in values]
85
+ stds = [pstdev(item) for item in values]
86
+ lower = [center - spread for center, spread in zip(means, stds)]
87
+ upper = [center + spread for center, spread in zip(means, stds)]
88
+
89
+ ax.fill_between(
90
+ x,
91
+ lower,
92
+ upper,
93
+ color=colors[variant],
94
+ alpha=0.14,
95
+ linewidth=0,
96
+ )
97
+ ax.plot(
98
+ x,
99
+ means,
100
+ color=colors[variant],
101
+ marker=markers[variant],
102
+ linestyle=linestyles[variant],
103
+ linewidth=2.4,
104
+ markersize=7,
105
+ label=f"{pretty[variant]} mean +/- SD",
106
+ )
107
+ for budget_index, seed_values in enumerate(values):
108
+ for seed_index, value in enumerate(seed_values):
109
+ jitter = seed_jitter[seed_index] if seed_index < 3 else 0.0
110
+ ax.scatter(
111
+ budget_index + offsets[variant] + jitter,
112
+ value,
113
+ color=colors[variant],
114
+ alpha=0.42,
115
+ s=20,
116
+ edgecolors="none",
117
+ zorder=3,
118
+ )
119
+
120
+ flip_label = flip.replace("p", ".")
121
+ ax.set_title(
122
+ f"HalfCheetah HV | H={horizon} | flip={flip_label} | "
123
+ "coverage=1.3 | ref=(-5000, -7000)"
124
+ )
125
+ ax.set_xlabel("Budget B")
126
+ ax.set_ylabel("Hypervolume (million)")
127
+ ax.set_xticks(x_base, budgets)
128
+ ax.grid(alpha=0.25)
129
+ ax.legend(frameon=False, title="3 seeds per point")
130
+
131
+ output_path = PLOTS / (
132
+ "hv_by_budget_mo-halfcheetah-v5_braxvmap_"
133
+ f"H{horizon}_flip{flip}_refm5000_m7000.png"
134
+ )
135
+ fig.savefig(output_path, dpi=180)
136
+ plt.close(fig)
137
+ output_paths.append(output_path)
138
+
139
+ return output_paths
140
+
141
+
142
  def main() -> None:
143
  PLOTS.mkdir(parents=True, exist_ok=True)
144
  runs = read_tsv(ANALYSIS / "parsed_hv_runs.tsv")
 
148
  colors = {"a0_resmlp": "#2878B5", "a1_resmlp": "#E07B39"}
149
  pretty = {"a0_resmlp": "A0", "a1_resmlp": "A1"}
150
 
151
+ detailed_paths = plot_detailed_overlays(runs, variants, colors, pretty)
152
+
153
  by_variant: dict[str, list[float]] = defaultdict(list)
154
  for row in runs:
155
  by_variant[row["variant"]].append(float(row["hypervolume"]))
 
288
  )
289
  print(f"overview_plot={overview_path}")
290
  print(f"top10_plot={PLOTS / 'top10_hv_configs.png'}")
291
+ print(f"detailed_overlay_plots={len(detailed_paths)}")
292
  print(f"metrics={ANALYSIS / 'overview_metrics.json'}")
293
 
294