Epic: Room description diversity #27

Open
opened 2026-03-14 23:53:10 +00:00 by freemo · 0 comments
Owner

Background

The flavour_cache uses thread-local ||= memoization, causing every room of a given terrain type within a single thread to get the same randomly-sampled name and description.

Demonstrable Outcome

Each room receives a unique random description from its terrain's description pool, with no thread-local memoization artifacts.

Acceptance Criteria

  • Per-terrain description pools with multiple name/description pairs
  • Each room gets an independent random sample from its pool
  • Thread-local flavour_cache memoization removed
  • Unit tests verify description diversity across rooms
## Background The `flavour_cache` uses thread-local `||=` memoization, causing every room of a given terrain type within a single thread to get the same randomly-sampled name and description. ## Demonstrable Outcome Each room receives a unique random description from its terrain's description pool, with no thread-local memoization artifacts. ## Acceptance Criteria - [ ] Per-terrain description pools with multiple name/description pairs - [ ] Each room gets an independent random sample from its pool - [ ] Thread-local `flavour_cache` memoization removed - [ ] Unit tests verify description diversity across rooms
freemo self-assigned this 2026-03-15 04:25:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#27
No description provided.