Recommended actions
[Eval problem | Medium] Include compiler diagnostics in publish_error output. Every shown failure reports only Saving config to /tmp/stdb-llm-cli-..., and that path is cut off. The actual C# build error never appears, so root causes below have to be inferred by comparing against the golden code. The publish harness should keep the build stderr/stdout, or at least the tail containing error CSxxxx lines. Evidence: t_071, t_031, t_069, t_028, t_024, t_070, t_025, t_030, t_048, t_049, t_050, t_051, t_047, t_052, t_021.
[API/ergonomics problem | Medium] Reduce the Index name collision. Every golden answer writes [SpacetimeDB.Index.BTree] in full, while the model writes [Index.BTree]. In t_028 the only meaningful difference from the golden is this qualification, and it still fails to publish. The likely cause is a clash with System.Index. Two options:
- Emit a targeted diagnostic or analyzer hint pointing to
SpacetimeDB.Index.BTree.
- Provide an attribute name that does not collide.
Evidence: t_028, t_021, t_047, t_052, t_070, t_030, t_048, t_049, t_050, t_051.
Failure patterns
Note: one task can have several defects, so a task may appear in more than one pattern below. The model received no documentation. Gaps in API knowledge are therefore treated as model limitations, not documentation problems.
Publish errors lack compiler diagnostics (15 shown tasks)
- Classification: Eval problem
- Confidence: Medium
- What the model wrote: Not applicable. This pattern is about scorer output, not generated code.
- What was expected: A build error naming the failing construct.
- What the error says:
publish_error: spacetime publish (csharp) failed (exit=1) --- stderr --- Saving config to /tmp/stdb-llm-cli-58254-...-lifecycle-t-071-scheduled-priva. No compiler output follows.
- Why this happened: The captured stderr appears to be truncated, or the build output goes to a stream that is not recorded. Every failure therefore looks identical.
- Suggested action: Capture and surface the C# compiler errors from the publish step in the scorer's error message.
- Suggested area: Benchmark publish/scoring harness
- Affected tasks: t_071, t_031, t_069, t_028, t_024, t_070, t_025, t_030, t_048, t_049, t_050, t_051, t_047, t_052, t_021
Unqualified Index.BTree attribute (10 tasks)
Tables and reducers outside public static partial class Module (10 tasks)
- Classification: Model limitation
- Confidence: Medium
- What the model wrote:
[Table(Accessor = "Player")]
public partial struct Player { ... } // top-level
public static class Module { [Reducer] ... } // not partial, or absent
- What was expected:
public static partial class Module
{
[Table(Accessor = "Player")]
public partial struct Player { ... }
[Reducer] ...
}
- What the error says: Publish failed with exit 1. No diagnostic was captured.
- Why this happened: In t_024 and t_025, this structure is essentially the only deviation from the golden answer, so the layout itself breaks the build. The model is using an older or mixed module layout from memory.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_024, t_025, t_031, t_030, t_048, t_049, t_050, t_051, t_047, t_069
Outdated attribute APIs (7 tasks)
Scheduled-table and reducer API misuse (2 tasks)
Other C# and type misuse (2 tasks)
The remaining 39 failures were not shown and are not analyzed here.