Recommended actions
- [Eval problem | Medium] Include compiler diagnostics in publish-failure output — Every publish failure shown reports only the first stderr line (
Saving config to /tmp/... or read_tfm: found csproj at ...). The C# compiler or code-generator error that caused the failure is not visible. The scorer should capture and surface the actual error lines, such as error CS... diagnostics. Without them, root causes can only be inferred by comparing against the golden answer. Evidence: t_069, t_070, t_028, t_030, t_081, t_051, t_052, t_021, t_018, t_019, t_020, t_022, t_033, t_023, t_032.
Failure patterns
Outdated table/index attribute syntax (13 tasks)
Classification: Model limitation
Confidence: Medium. The diagnostics are truncated, so the exact compile error is inferred from the diff against the golden answer.
What the model wrote:
[SpacetimeDB.Table(Name = "MaterializedState", Public = true)]
[Table(Name = "Product", Access = PublicAccessModifier.Private)]
[SpacetimeDB.Table(Name = "Entity", AccessModifier = SpacetimeDB.AccessModifier.Private)]
[Index.BTree(Name = "by_user_day", Columns = new string[] { "UserId", "Day" })]
[Index.BTree] public ulong AuthorId;
What was expected:
[Table(Accessor = "MaterializedState", Public = true)]
[Table(Accessor = "Product")]
[SpacetimeDB.Index.BTree(Accessor = "by_user_day", Columns = new[] { nameof(UserId), nameof(Day) })]
[SpacetimeDB.Index.BTree] public ulong AuthorId;
What the error says: publish_error: spacetime publish (csharp) failed (exit=1). No compiler diagnostic is shown.
Why this happened: The model received no documentation and fell back on older or invented attribute forms:
- It used
Name = instead of Accessor = for tables and indexes.
- It invented visibility parameters (
Access = PublicAccessModifier.Private, AccessModifier = ...) instead of Public = true or omitting the parameter.
- It wrote unqualified
Index.BTree, which likely clashes with System.Index. The golden answers always qualify it as SpacetimeDB.Index.BTree.
Several tasks also contain additional API errors:
- t_069 omits
ScheduledAt = nameof(...) in the scheduled table. It also writes ScheduleAt.Time(...) instead of new ScheduleAt.Time(...) and uses TimeDuration.FromMilliseconds.
- t_070 uses
[ClientConnected] instead of [Reducer(ReducerKind.ClientConnected)]. It also constructs new ConnectionId(new UInt128(1)) instead of using ConnectionId.From(bytes), and treats ctx.ConnectionId as non-nullable.
- t_022 returns
IEnumerable<Announcement> from a view instead of List<Announcement>.
Suggested action: None
Suggested area: None
Affected tasks: t_069, t_070, t_028, t_030, t_052, t_021, t_018, t_019, t_020, t_022, t_033, t_023, t_032
Invented or misused API members despite correct Accessor usage (2 tasks)
Classification: Model limitation
Confidence: Medium
What the model wrote:
// t_081
ctx.Db.ItemV2.TryInsert(new ItemV2 { ... });
if (!ctx.Db.LegacyItem.TryInsert(...)) { ... }
// t_051
[SpacetimeDB.Table(Name = "Product", Accessor = "Product", Public = true)]
[SpacetimeDB.Index.BTree(Name = "by_category", Accessor = "by_category")]
public ulong CategoryId;
What was expected:
// t_081
if (ctx.Db.ItemV2.Id.Find(row.Id) is null)
ctx.Db.ItemV2.Insert(new ItemV2 { ... });
// t_051
[Table(Accessor = "Product", Public = true)]
[SpacetimeDB.Index.BTree(Accessor = "by_category", Columns = new[] { nameof(CategoryId) })]
public partial struct Product { ... }
What the error says: publish_error: spacetime publish (csharp) failed (exit=1). Only the first stderr line is shown.
Why this happened:
- In t_081, the model called a
TryInsert method that does not appear in the golden answer and is likely nonexistent.
- In t_051, the model mixed
Name with Accessor and placed named indexes on fields rather than declaring them at type level with Columns.
Both stem from guessing the API without documentation.
Suggested action: None
Suggested area: None
Affected tasks: t_081, t_051
Publish errors lack actionable diagnostics (15 tasks, cross-cutting)
- Classification: Eval problem
- Confidence: Medium
- What the model wrote: (varies; see the groups above)
- What was expected: (varies)
- What the error says:
--- stderr --- Saving config to /tmp/stdb-llm-cli-... or read_tfm: found csproj at .... The output is cut off before any compiler error.
- Why this happened: The scorer's error capture appears to retain only the leading stderr line(s). Because the actual build failure is not recorded, every root cause above is inferred from code diffs rather than confirmed.
- Suggested action: Capture the full stderr from
spacetime publish, or at least the compiler error lines, in the scorer's failure record.
- Suggested area: Benchmark scorer / publish-error reporting
- Affected tasks: t_069, t_070, t_028, t_030, t_081, t_051, t_052, t_021, t_018, t_019, t_020, t_022, t_033, t_023, t_032
The 24 additional failures were not shown and are not analyzed here.