Recommended actions
- [Eval problem | High] Surface compiler diagnostics in publish errors — Every
publish_error shown ends after the line Saving config to /tmp/stdb-llm-cli-..., so the reported error never includes the C# compiler or publish diagnostic that caused exit code 1. The scorer should capture and report the relevant build output, at least the first compiler errors, rather than only the leading stderr line. Without it, every root cause below has to be inferred by comparing the generated code against the golden answer. Evidence: t_070, t_048, t_047, t_021, t_019, t_017, t_018, t_033, t_032, t_023, t_037, t_066, t_067, t_062, t_063.
Failure patterns
Publish errors truncated before the real diagnostic (15 tasks)
- Classification: Eval problem
- Confidence: High
- What the model wrote: N/A. This is a scorer-output issue.
- What was expected: An error message that identifies the failing attribute, member or line.
- What the error says: Every task reports only
publish_error: spacetime publish (csharp) failed (exit=1) --- stderr --- Saving config to /tmp/stdb-llm-cli-58254-..., and the text stops there.
- Why this happened: The captured stderr appears to be cut off or limited to its first line. The compiler output never reaches the report.
- Suggested action: Include the build and compiler diagnostics from
spacetime publish in the scorer's error field, for example by capturing full stderr and stdout or extracting error CS.... lines.
- Suggested area: Benchmark publish/scoring harness for C# tasks
- Affected tasks: t_070, t_048, t_047, t_021, t_019, t_017, t_018, t_033, t_032, t_023, t_037, t_066, t_067, t_062, t_063
The patterns below are inferred by comparing each generated module with its golden answer, because the compiler diagnostics are missing.
Name = used instead of Accessor = on table and index attributes (5 tasks)
- Classification: Model limitation
- Confidence: Medium
- What the model wrote:
[Table(Name = "Account", Public = true)]
[Table(Name = "Player", Public = false)]
[SpacetimeDB.Index.BTree(Name = "by_user", Columns = new[] { nameof(UserIdentity) })]
[Index.BTree(Name = "by_user_day", ...)]
- What was expected:
[Table(Accessor = "Account", Public = true)]
[SpacetimeDB.Index.BTree(Accessor = "by_user", Columns = new[] { nameof(UserIdentity) })]
- What the error says: Not visible, because the output is truncated.
- Why this happened: With no documentation supplied, the model fell back on an older or guessed attribute shape that uses
Name. In t_048 and t_033, this is the only meaningful difference from the golden answer.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_048, t_021, t_018, t_033, t_032
Unqualified [Index.BTree] attribute (4 tasks as the sole or primary issue)
- Classification: Model limitation
- Confidence: Medium
- What the model wrote:
[Index.BTree(Accessor = "by_owner", Columns = new[] { nameof(OwnerId) })]
[Index.BTree] public bool Visible;
- What was expected:
[SpacetimeDB.Index.BTree(Accessor = "by_owner", Columns = new[] { nameof(OwnerId) })]
- What the error says: Not visible, because the output is truncated.
- Why this happened: Every golden answer fully qualifies the attribute as
SpacetimeDB.Index.BTree. The likely cause is a name collision between Index and System.Index, though this cannot be confirmed without the compiler output.
- In t_047, this is the only difference from the golden answer, which is strong evidence that it alone breaks the build.
- t_019 and t_037 have no other plausible compile error.
- t_067's other differences (
List<SourceRow> return type and PrimaryKey = "Id") are less likely to be the cause.
- The same construct also appears in t_021, t_032, t_066, t_062 and t_070, alongside other issues.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_047, t_019, t_037, t_067
C# operators used in query-builder views instead of builder methods (2 tasks)
- Classification: Model limitation
- Confidence: High
- What the model wrote:
ctx.From.Ticket().Where(t => t.Status == "open")
ctx.From.Member().LeftSemijoin(ctx.From.Eligibility(), (m, e) => m.Id == e.MemberId)
- What was expected:
.Where(ticket => ticket.Status.Eq("open"))
ctx.From.Eligibility().RightSemijoin(ctx.From.Member(), (eligibility, member) => eligibility.MemberId.Eq(member.Id))
- What the error says: Not visible, because the output is truncated.
- Why this happened: The model treated query-builder columns like plain C# values, as it would in LINQ. The builder needs
.Eq(...) expressions. In t_062, the model also chose a semijoin direction that differs from the golden answer.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_066, t_062
Invented constructors and factory methods for SpacetimeDB value types (3 tasks)
- Classification: Model limitation
- Confidence: Medium
- What the model wrote:
TimeDuration.FromMicroseconds(50_000) (t_017)
Timestamp.FromMicrosecondsSinceUnixEpoch(us) and .Filter(Bound.Inclusive(start), Bound.Inclusive(end)).OrderBy(...) (t_063)
new ConnectionId((UInt128)1) (t_070)
- What was expected:
new TimeDuration { Microseconds = 50_000 }
new Timestamp(micros) and .Filter((new Timestamp(200), new Timestamp(400)))
ConnectionId.From(firstBytes) ?? throw ...
- What the error says: Not visible, because the output is truncated.
- Why this happened: Without documentation, the model guessed at API surfaces, borrowing names from other SDKs and languages that do not exist in the C# SDK.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_017, t_063, t_070
View attribute without Accessor (1 task)
- Classification: Model limitation
- Confidence: Low
- What the model wrote:
[View(Public = true)] public static Profile? MyProfile(ViewContext ctx) { return ctx.Db.Profile.Identity.Find(ctx.Sender); }
- What was expected:
[SpacetimeDB.View(Accessor = "MyProfile", Public = true)] ... return ctx.Db.Profile.Identity.Find(ctx.Sender) as Profile?;
- What the error says: Not visible, because the output is truncated.
- Why this happened: The likely causes are the missing
Accessor argument or a nullable return-type mismatch. Neither can be confirmed without the diagnostics.
- Suggested action: None
- Suggested area: None
- Affected tasks: t_023
The 11 additional failures were not shown and are not analyzed here.