diff --git a/scripts/plot_steer_showcase.py b/scripts/plot_steer_showcase.py index ff19063..f01dd37 100644 --- a/scripts/plot_steer_showcase.py +++ b/scripts/plot_steer_showcase.py @@ -245,8 +245,9 @@ def _zscore(v: np.ndarray) -> np.ndarray: def read_human_mfv() -> tuple[list[str], dict[str, dict[str, float]]]: """(countries, {country: {foundation: mean_1to5}}) from the bundled MFV human norms. - JimenezLeal2025 (LatAm) + Yamada2025 (MFV-J) + Hopp2024 (Dutch): 6 countries x 6 foundations - (no Social Norms).""" + JimenezLeal2025 (LatAm: Argentina/Colombia/Peru/US) + Yamada2025 (MFV-J: Japan) + + Hopp2024 (Dutch: Netherlands) + Marques2020 (Brazil) + Crone2021 (Australia): + 8 countries x 6 foundations (no Social Norms). Provenance: mfv_country_factors_SOURCES.md.""" path = T.maps.DATA / "human" / "mfv_country_factors.csv" by_country: dict[str, dict[str, float]] = {} with open(path, newline="") as fh: @@ -300,7 +301,7 @@ def plot_mfv_map(run_dir: Path, out: Path, vec_label: str, C: float, coh_cs: lis neg_c = min(c for c in coh_cs if c < 0.0) labels = ("base (c=0)", f"c={pos_c:+g}", f"c={neg_c:+g}") traj = {c: prof[c] for c in coh_cs} - zones, emph = zones_for(countries) # MFV: 5 country dots, no cloud + zones, emph = zones_for(countries) # MFV: 8 country dots, no cloud fig = T.maps.plot_ipsative_pca(_MFV_INSTR, founds, countries, M, prof[0.0], prof[pos_c], prof[neg_c], traj=traj, emphasize=emph, zones=zones, labels=labels) fig.axes[0].set_title(f"MFV vignettes: humans vs LLMs steered for {vec_label}", fontsize=10) diff --git a/src/tinymfv/data/human/mfv_country_factors.csv b/src/tinymfv/data/human/mfv_country_factors.csv index 9e6d232..1615343 100644 --- a/src/tinymfv/data/human/mfv_country_factors.csv +++ b/src/tinymfv/data/human/mfv_country_factors.csv @@ -41,3 +41,9 @@ Brazil,fairness,4.25,0.46,494,0.0207,4.2,4.29,5,Marques2020_BrazilMFV_fig3digiti Brazil,liberty,4.14,0.62,494,0.0279,4.09,4.19,5,Marques2020_BrazilMFV_fig3digitized_affinecal Brazil,loyalty,3.06,0.85,494,0.0382,2.98,3.13,5,Marques2020_BrazilMFV_fig3digitized_affinecal Brazil,sanctity,3.45,0.79,494,0.0355,3.38,3.52,5,Marques2020_BrazilMFV_fig3digitized_affinecal +Australia,authority,3.183,0.603,756,0.0219,3.140,3.226,5,Crone2021_AusUndergrad_MFV90raw +Australia,care,3.940,0.532,756,0.0193,3.902,3.978,5,Crone2021_AusUndergrad_MFV90raw +Australia,fairness,3.734,0.514,756,0.0187,3.698,3.771,5,Crone2021_AusUndergrad_MFV90raw +Australia,liberty,3.689,0.579,756,0.0211,3.647,3.730,5,Crone2021_AusUndergrad_MFV90raw +Australia,loyalty,2.977,0.676,756,0.0246,2.929,3.025,5,Crone2021_AusUndergrad_MFV90raw +Australia,sanctity,3.745,0.731,756,0.0266,3.693,3.798,5,Crone2021_AusUndergrad_MFV90raw