Files
SpacetimeDB/docs/llms/docs-benchmark-comment.md
Tyler Cloutier 504b13ba4a Small docs improvement (#4071)
# Description of Changes

  Two documentation improvements:

1. **Reducers documentation**: Clarified that using global/static
variables in reducers is **undefined behavior**, not just "values won't
persist". Added six specific reasons why this is undefined:
     - Fresh execution environments
     - Module updates
     - Concurrent execution
     - Crash recovery
     - Non-transactional updates
     - Replay safety

2. **Access permissions documentation**: Replaced the "Combining Both
Techniques" example that used indexes on Option fields (which
SpacetimeDB doesn't support) with a working example that filters by a
required `department` field instead.

  # API and ABI breaking changes

  None. Documentation only.

  # Expected complexity level and risk

  1 - Documentation changes only.

  # Testing

  - [ ] Verify the reducers warning is clear and accurate
  - [ ] Verify the access permissions example compiles and makes sense

---------

Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2026-01-27 21:37:11 +00:00

18 lines
727 B
Markdown
Generated

## LLM Benchmark Results (ci-quickfix)
| Language | Mode | Category | Tests Passed | Task Pass % |
|----------|------|----------|--------------|-------------|
| Rust | rustdoc_json | basics | 26/27 | 91.7% ⬆️ +8.3% |
| Rust | rustdoc_json | schema | 23/34 | 65.3% ⬆️ +10.0% |
| Rust | rustdoc_json | **total** | 49/61 | **79.7%** ⬆️ +9.1% |
| Rust | docs | basics | 5/27 | 11.1% |
| Rust | docs | schema | 8/32 | 20.5% ⬆️ +8.0% |
| Rust | docs | **total** | 13/59 | **15.4%** ⬆️ +3.6% |
| C# | docs | basics | 27/27 | 100.0% |
| C# | docs | schema | 25/34 | 73.7% |
| C# | docs | **total** | 52/61 | **88.0%** |
_Compared against master branch baseline_
<sub>Generated at: 2026-01-27T20:01:19.767Z</sub>