Fix thread-local flavour_cache memoization to ensure room description diversity #59
Labels
No labels
Blocked
Duplicate
MoSCoW/Could Have
MoSCoW/Must Have
MoSCoW/Should Have
Points/1
Points/13
Points/2
Points/21
Points/3
Points/5
Points/8
Priority/Backlog
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
State/Completed
State/In progress
State/In review
State/Paused
State/Unverified
State/Verified
State/Wont Do
Type/Bug
Type/Epic
Type/Feature
Type/Legendary
Type/Task
Type/Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#27 Epic: Room description diversity
aethyr/Aethyr
Reference: aethyr/Aethyr#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Metadata
fix(worldgen): remove thread-local flavour_cache memoization for unique room descriptionsfeature/m3-v11-fix-flavour-cacheBackground
flavour_cacheuses||=per thread per terrain, so every room of a terrain type in a thread gets the same description.Expected Behavior
Each room gets an independent random sample from its terrain's description pool.
Acceptance Criteria
flavour_cachememoization removedSubtasks
flavour_cachewith per-room random samplingbundle exec rake unit, fix any errorsDefinition of Done
This issue is complete when all subtasks are done, commit created on the specified branch, PR submitted and merged.