Tuning: gas market blind weight 0.15 (financial review)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Sonnet 5.5 committed 2026-11-04 10:09:57 +08:00
1 parent 6b7919c476
commit f2ee57c89a
3 files changed
+8 -2

No files matched your search

+2
View File
@@ -197,6 +197,8 @@ namespace Decentralized.Domain
public const double PredictInsiderShare = 0.4, PredictInsiderCatch = 0.5, PredictFraudShare = 0.5, PredictFraudCap = 400;
public const double PredictFactionDaily = 0.06, PredictPMin = 0.03, PredictPMax = 0.97;
public const int PredictHistory = 8;
/// <summary>gas 盘的公开价里"不知道相位"的权重:越大,数清七天周期的玩家越赚。金融审查(agy_fin/subsim)发现 0.5 时 gas 盘胜率 96%、每周净赚约 1,400,调到 0.15。</summary>
public const double PredictGasBlind = 0.15;
/// <summary>盘口对消息的反应:每晚向"公开信息下的合理概率"靠拢的比例,以及盘口 logit 上的随机噪声(NPC 流量)。</summary>
public const double PredictDrift = 0.5, PredictNoise = 0.35;
/// <summary>夜里价格变化超过多少(概率)写进晨间日志。</summary>
+2 -2
View File
@@ -127,9 +127,9 @@ namespace Decentralized
return list;
}
/// <summary>gas 盘的公开价:一半按真实相位、一半按不知道相位——七天周期是链上公开的,但盘口里的 NPC 只有一半在看;自己数清周期的人还有一点优势。</summary>
/// <summary>gas 盘的公开价:绝大部分按真实相位、小部分按不知道相位(PredictGasBlind)——七天周期是链上公开的,盘口里的 NPC 多数看得见;数清周期的人只剩一点优势。</summary>
private static double GasPublic(SaveData d, int day, double thr) =>
d.GasPhase < 0 ? PredictMath.GasFlat(day, thr) : 0.5 * PredictMath.GasAtLeast(day, d.GasPhase, thr) + 0.5 * PredictMath.GasFlat(day, thr);
d.GasPhase < 0 ? PredictMath.GasFlat(day, thr) : (1 - Tuning.PredictGasBlind) * PredictMath.GasAtLeast(day, d.GasPhase, thr) + Tuning.PredictGasBlind * PredictMath.GasFlat(day, thr);
private static double CraHazard => 1 - Math.Pow(1 - Tuning.CraSpiralWeekly, 1.0 / 7);
private static double CraDrain(SaveData d) => (Tuning.CraNpcStake + d.Staking.Earning) * d.Stable.CraRate;