Fase 11 — Decisioni solo matematiche (#186)
News, the economic calendar and earnings dates no longer change any decision (ADR 0023, choices in ADR 0027). The outside rules are measured in the shadow; a switch in the settings turns them back on. refs #116, refs #117 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #186.
This commit is contained in:
1 parent
ed22d1c8b5
commit
93cdf7850d
47 files changed
+1743
-169
No files matched your search
@@ -154,7 +154,7 @@ internal static partial class Endpoints
|
||||
}
|
||||
|
||||
// And for the rules of the news, and where the model's key goes: the page asks for the password.
|
||||
if (Anubis.News.NewsRuleSettings.All.Any(d => d.Key == key) || Anubis.News.NewsModelSettings.All.Any(d => d.Key == key))
|
||||
if (Anubis.News.NewsRuleSettings.All.Any(d => d.Key == key) || Anubis.News.NewsModelSettings.All.Any(d => d.Key == key) || key == Anubis.News.ExternalRules.Setting.Key)
|
||||
{
|
||||
return Error(StatusCodes.Status400BadRequest, "usa_le_impostazioni", "Le regole delle notizie e il modello linguistico si cambiano da Impostazioni, con la password quando serve.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user