Stufe 4c (#764): Bezeichner auf Englisch - Typen, Methoden, Felder, Parameter, Locals, Testnamen
Mit Roslyn umbenannt (Verweise folgen, Zeichenketten bleiben unberuehrt). Nicht umbenannt, weil gespeichert oder ueber die API gebunden (Stufe 4e): Properties, Record-Parameter, Enum-Member sowie die Parameter der Endpunkt-Handler (Routen-/Query-Bindung ueber den Namen). Die JSON-Felder anonymer Objekte bleiben ausdruecklich benannt (JsonFilter: pfad). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
837a634a22
commit
77062facc9
@@ -13,7 +13,7 @@ public sealed class TokenAccountingTests
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
[Fact]
|
||||
public async Task Prompt_und_Completion_werden_getrennt_aufsummiert()
|
||||
public async Task Prompt_and_completion_are_summed_separately()
|
||||
{
|
||||
// So far the UI estimated 50/50. In reality the ratio is more like 95:5 —
|
||||
// and since output tokens cost a multiple, the cost display was
|
||||
@@ -37,7 +37,7 @@ public sealed class TokenAccountingTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Ueber_mehrere_Schritte_wird_korrekt_summiert()
|
||||
public async Task Across_several_steps_it_sums_correctly()
|
||||
{
|
||||
var fixture = new EngineFixture().WithTool(FakeTool.Returning("ok"));
|
||||
var agent = fixture.AddAgent("agent-sum", "TestTool");
|
||||
@@ -60,7 +60,7 @@ public sealed class TokenAccountingTests
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
[Fact]
|
||||
public async Task Gecachte_Tokens_werden_durchgereicht()
|
||||
public async Task Cached_tokens_are_passed_through()
|
||||
{
|
||||
// Without this number it could not be proven whether prompt caching works —
|
||||
// a silently ineffective cache would otherwise go unnoticed.
|
||||
@@ -81,7 +81,7 @@ public sealed class TokenAccountingTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Fehlende_Cache_Angaben_ergeben_null_statt_eines_Fehlers()
|
||||
public void Missing_cache_values_give_null_instead_of_an_error()
|
||||
{
|
||||
var usage = new Usage { PromptTokens = 100, CompletionTokens = 10, TotalTokens = 110 };
|
||||
|
||||
@@ -93,7 +93,7 @@ public sealed class TokenAccountingTests
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
[Fact]
|
||||
public async Task Die_Zusammenfassung_nutzt_das_guenstige_Modell()
|
||||
public async Task The_summary_uses_the_cheap_model()
|
||||
{
|
||||
var client = new FakeChatClient().AlwaysRespondsWithText("- Zusammenfassung.");
|
||||
var compactor = new ContextCompactor(client, TestLogging.Factory);
|
||||
@@ -115,7 +115,7 @@ public sealed class TokenAccountingTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Ohne_konfiguriertes_SummaryModel_wird_das_Agentenmodell_verwendet()
|
||||
public async Task Without_configured_SummaryModel_the_agent_model_is_used()
|
||||
{
|
||||
var client = new FakeChatClient().AlwaysRespondsWithText("- Zusammenfassung.");
|
||||
var compactor = new ContextCompactor(client, TestLogging.Factory);
|
||||
@@ -139,7 +139,7 @@ public sealed class TokenAccountingTests
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
[Fact]
|
||||
public async Task Der_erhaltene_Tail_geht_nicht_in_den_Zusammenfassungs_Aufruf()
|
||||
public async Task The_kept_tail_does_not_go_into_the_summary_call()
|
||||
{
|
||||
// The tail is kept verbatim — summarizing it additionally
|
||||
// would be context paid for twice.
|
||||
|
||||
Reference in New Issue
Block a user