| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
独立验收脚本)
缩尺口径:M3 phase2 50×100 实测 11.4h 仅完成 6/50(见
artifacts/m3-acceptance/final-candidate-20260921T095500Z/logs/*.diagnosis.txt),
改为 50 世界 × 15 模拟日、逐世界流式打印并 flush。标定据 docs/overnight-status.md
(Hermes 单 worker 亲测):1×2=34.6s、1×5=87.7s、1×10=173.6s,外推 15 天 ≈260s。
注意:派单所引用 artifacts/m3-independent/20260921T105500Z 全盘查找不存在,
故改用上述仓内标定,未编造任何数据。
内容:
- Headless 边缘:runSimulation 拆出 runSimulationCore 增加逐模拟日回调;
evalWorld 传入回调;runBatch 每 (days/5) 天打印 `[world k] progress day=d/D elapsed=..s`
并 flush,长世界不再零进度(BatchOutput.progressLine 纯函数 + 单测)。
- 新增 deploy/living-village-m3r.service 模板:wrapper 作 MasterProcess、
StandardOutput/StandardError=append: acceptance.log、Restart=no;
systemd-analyze --user verify 通过。本机 ~/.config/systemd/user 属外部目录受限,
实跑以等价属性的 systemd-run --user 瞬态单元 living-village-m3r.service 承载。
- scripts/m3r-master.sh:写 state.json(pid/unit/log/commit/workers/worlds/days/
起止/exit),exec 2>&1 运行 batch 并回传真实退出码。
- scripts/verify-m3r.py:独立可复跑,校验 state 字段、50 条 world 行(索引/seed/
ok 与 check_a/b/c 自洽)、summary passed+failed=50 与极值一致、抽查 3 行、
[done] 50 条、progress 行、M3_ACCEPTANCE=PASS 且 ratio_min>2.0。
本次实跑(commit 895d792):12 worker,wall=4316.0s,50/50 OK,
ratio_min=3.346 ratio_max=12.321 gini∈[0.412,0.548],relconn=30/18,
check_a/b/c 全 PASS,M3_ACCEPTANCE=PASS,exit=0;独立脚本复跑 M3R_VERIFY=PASS。
证据:artifacts/m3r-acceptance/acceptance.log + 20260928T183215Z/state.json。
回归:Desktop 303/303 + Kernel 119/119;--performance-baseline ×3
digest=953775FAEB2F… 不变,performance_determinism=PASS。
未改 Kernel/Sim;未 push。
|
| |
|
|
| |
菜单/启动水面第二层高光波光——逐列相位错开(步进2.4rad)/更快(周期80 vs 96 tick)/更亮更窄细高光条 + 昼夜 tint 衰减参数 + 帧计数纯函数回归;ANALYZE splash hl/main std=274.97 corr=-0.017、menu hl/main std=279.77 corr=-0.011、层间相关<0.95、相位差2.4rad、无黑块白块
|
| |
|
|
| |
当日任务经济闭环——设计口径物品报酬入账(夜捕鱼×2/送粮食物×1, 其余不发) + 连续完成天数(streak 跨日保留/漏完成清零) + v3 streak 尾段与 save(None) 兼容 + LV_P55_SHOT 证据
|
| |
|
|
| |
状态机接入真实事件/环境信号(接受/对话/交易/到达/夜水边),HUD 短中文反馈 + 任务面板接受提示 + v3 任务态往返与 save(None) 兼容 + LV_P54_SHOT 证据
|
| |
|
|
| |
情境提示与输入隔离回归——提示文案=实际作用对象(唯一映射)+隔墙/边界/切换/离开/隔离断言 + LV_P53_REC 录制证据
|
| |
|
|
| |
Sim.quotePrice→Occupation.biasedQuote,背包侧车/钱财增减 + v3 round-trip + HUD 短反馈(design §2.4-2)
|
| |
|
|
| |
当日任务/跨日刷新 + StartNewGameWith 读回(design §2.4-1)
|
| |
|
|
| |
Events/Rumors/Annals/Memory 条目数与估算字节)
|
| |
|
|
| |
验证条目(同seed一致/异seed发散/跨尺寸发散/钉值) + overnight-status
|
| |
|
|
| |
倒影改暖色垂直光柱(gap-skip穿桥面落水面,最长≥3格)+近景接入倒影+近景屋顶受光/背光双档luma
|
| |
|
|
| |
河道倒影(waterFrameTickAt微抖)+岸边芦苇加密度+鸭/叶漂浮元素+近景屋顶统一光源阴影
|
| |
|
|
| |
逐格涟漪(复用waterFrameTickAt)+灯笼呼吸+屋脊上双视差云影, 全纯函数可复现
|
| |
|
|
| |
四向x(走4+待机2)原创点阵内嵌图集, 行走/停止/idle 接入渲染
|
| |
|
|
| |
完整背景框+中文断行换行+分页翻页+Esc关闭+输入隔离(原创32x64点阵头像)
|
| |
|
|
| |
右上日历钟卡/体力条形图/底部10格hotbar(1-0选中+高亮+输入隔离)
|
| |
|
|
| |
防降振回归 (leader fix: 提交+推送)
|
| |
|
|
|
|
|
|
|
| |
- VillageArt.drawCc0BoatOverlay 增加夜层专用暗化系数 0.7(仅夜光晕层生效,
白天不调用 overlay,p40-day/p40-boat 逐字节不变)
- P40ArtTests 新增 NightBoatAwningIsAtLeast40GreyDarkerThanSurroundingGlow:
内嵌 PNG 解码读取夜帧,断言船 2 瓦包围盒比 24px 光晕环至少暗 40 灰阶
- 新增 scripts/check-p40-night-boat-contrast.py 独立像素守卫
- 重出 docs/evidence/p40-night.png(contrast 103.2 >= 40)
|
| |
|
|
|
|
|
|
|
|
|
| |
- make-cc0-art.py 重绘 boat 篷面为实心拱形竹篷:拱线以下逐列实心填充,
连续脊线高光跨越两半在瓦片边界相接,肋骨/端盖/甲板阴影收边(原 1px 竖柱
栅栏式画法改为整片拱面)
- 重生成 Assets/cc0-tiles.png(同参数逐字节稳定)
- P40ArtTests 新增 BoatAwningIsASolidArchWithAContinuousRidge 像素级断言:
脊线无透明断列、拱下每列有实心竹色、左右两半拱顶同高
属 P40 整改的篷面实心 + 回归部分。
|
| |
|
|
|
|
|
|
|
| |
- CenterCameraOnTile 让相机直对船瓦片,avatar 挪到岸上非水瓦片,消除遮挡
- day/night/boat 三个证据镜头统一以船为中心;boat 帧整条船(234-235,50)完整入框
- 夜光晕后重绘船体(drawCc0BoatOverlay),修复桥头灯把船洗白
- make-p40-closeups.py 裁剪框对准船真实包围盒,closeup 不再裁切船
- 相机遮挡修复含 leader 外科修复(CenterCameraOnTile)
- 重出 docs/evidence/p40-day/night/boat 及 closeup 2x
|
| |
|
|
|
|
|
|
|
| |
- P40ArtTests 6 例:连贯带覆盖路网且抑制孤立散布、摆放确定性、红灯笼落门口、
红/石灯笼同光晕路径、同 seed 重生成一致、P40 索引在界内
- AssetPackTests 索引列表加 19/20;fsproj 注册 P40ArtTests
- scripts/make-p40-closeups.py 乌篷船 2x NEAREST 特写
- docs/维护说明.md 追加 P40 小节;证据 4 帧白块检查 0 命中,重复运行 byte-identical
- Release 全量 Desktop 201/201、Kernel 119/119 exit 0
|
| |
|
|
|
|
|
|
| |
- VillageArt: cc0PavingTiles 纯函数(路径/门口/桥相连石板格),drawTerrainTile cc0
分支只铺连贯石板带(19)、孤立散布石板改画草地;fallback/大世界原样
- cc0RedLanternTiles 门口红灯笼(20),并入 nightLightTilesWith 复用 P14 预乘 alpha 光晕
- Game: LV_P40_SHOT 钩子拍 p40-day/night/boat(PrepareP40Shot/CaptureP40Shot)
- 不写瓦片/不改可达性/不动 Sim.step
|
| |
|
|
|
|
|
|
|
| |
格)
- make-cc0-art.py: 新增 draw_paving(19)/draw_red_lantern(20);重绘 draw_boat(14/15)
放大船体 + 醒目拱形竹篷,重绘 draw_stone_lantern(16) 三段石结构强化
- 索引 0-13、17-18 逐字节不变(git show 复核);二次生成 byte-identical
- docs/素材来源.md 更新为 21 格并新增第 5 节 P40
|
| |
|
|
|
|
|
|
|
|
| |
- P39ArtTests 9 例:桥/船/灯笼/摊位/芦苇地形与确定性、NightLightTilesIncludeRoadLanterns、
StallsAndLanternsDoNotOverlapForOddAndEvenSpacing(奇 {3,5,7,11,13}/偶 {2,4,6,8,12})、
DegenerateSpacingPlacesNothing({0,1,-3} 返回空集)
- AssetPackTests 更新为 19 格 + 新索引;fsproj 注册 P39ArtTests
- scripts/make-p39-closeups.py:2x NEAREST 特写
- docs/维护说明.md 追加 P39 小节;证据 5 帧白块检查 0 命中,重复运行 byte-identical
- Release 全量 Desktop 195/195、Kernel 119/119
|
| |
|
|
|
|
|
|
|
|
| |
- VillageArt: 新增 splitmix/hash2/tileIsWater 与 cc0BridgeTiles/cc0BoatTile/
cc0LanternTiles/cc0StallTiles/cc0ReedTiles,drawWorld cc0 分支叠加五类元素
- 奇偶 spacing 边界:摆放守卫 spacing<2 返回空集,消除 spacing=1 同余重叠
- nightLightTilesWith(includeRoadLanterns) + drawNightGlows 新参数;
旧 nightLightTiles 语义不变,Game.fs riverscape 分支按 cc0 开启路灯光晕
- LV_P39_SHOT 证据 hook:Update 准备、Draw 落盘(PrepareP39Shot/CaptureP39Shot)
- 不写瓦片/不改可达性/不动 Sim.step
|
| |
|
|
|
|
|
| |
- scripts/make-cc0-art.py 由 384x32(12格) 扩到 608x32(19格),新增
draw_bridge_center/end、draw_boat、draw_stone_lantern、draw_stall、draw_reeds
- 旧索引 0-11 逐字节不变;产物 1523 bytes,sha256 ef86ced2…6adcb,二次生成一致
- docs/素材来源.md 更新为 19 格并新增第 4 节(P39 清单 + 摆放规则 + fallback 差异)
|
| |
|
|
|
| |
新增 P38HudIconTests(4 例):五段图标唯一且 7x7 点阵良构、段宽=图标+间隙+文本且
不重叠/在 1280 内、段与布局确定、昼夜底色半透明且覆盖图标与文本。
|
| |
|
|
|
|
|
| |
顶部常驻条每个状态段前加 7x7 原创点阵图标(用 pixel 贴图绘制,无外部素材):
时段=太阳、时间=钟、倍速=双箭头、体力=心形、钱币=圆形钱眼。图标占
iconWidth+iconGap 后接文本,段总宽含图标;底色药丸与 1px 描边同覆盖图标与文本,
昼夜两套调色板均可读;仍为半透明窄条(barHeight 不变,非大黑块)。
|
| |
|
|
|
|
| |
新增 P37ProfessionTests(8 例):渔夫首项钓鱼相关、同职业同 seed 任务序列
逐项确定、不同职业序列不同、开局钱/体力差异、开局物品包、v1/v2 旧档读入
无职业、选择页键盘导航+Enter 确认、职业中文文案有 CJK 字形可渲染。
|
| |
|
|
|
| |
从主菜单进入「选择职业」页截图,按 LV_P37_OCCUPATION 选定职业(默认渔夫)
开局并打开任务面板截 HUD/任务列表后退出;仅证据用,不影响默认玩法。
|
| |
|
|
|
|
| |
新增 P36PromptTests(10 例):距离边界、就近目标切换、离开立即消失、
隔墙不触发、对话层输入隔离、提示对象=按键对象一致、Esc 关闭当前层、
暂停帮助 Esc 回上层、保存成功/失败中文 toast、布局多尺寸不遮 HUD。
|
| |
|
|
|
|
| |
复用 sample 脚本走位/互动序列,在自然状态下抓 4 帧关键帧
(靠近→提示出现→对话层打开且世界交互被隔离→关闭走远提示消失)
并逐帧打印 panel/prompt/home 对照点,第 4 帧后退出。仅证据用,不影响默认玩法。
|
| |
|
|
|
|
|
|
|
|
|
| |
- cc0-tiles.png 由 4 格扩到 12 格:0-3 仍 Kenney 地面,4-11 为自绘构件
(4 水A/5 水B/6 屋脊/7 屋檐/8 木构墙/9 木格窗/10 栏杆/11 门)
- 自绘 2 相位水面 cc0WaterTileIndexAt=(tick/32+x+2y)%2,单帧覆盖双相位;
河道与水田/水网共用;江南 fallback 不变
- drawWorld 接入:cc0 模式下民居屋顶/墙/窗/门、桥栏杆、水面走真素材,其余道具仍江南
- AssetPackTests 更新图集尺寸(12 格)+整数缩放,新增构件索引与双水相位用例
- docs/素材来源.md 记录自绘清单;同步 assets-and-licenses 与维护说明 P34 小节
- docs/evidence/p34-*.png 昼/夜/2x 特写/水波/对照(check-no-white-blocks 0 命中)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
真实像素素材样板(地面+角色竖直切片)
- 修复 make-cc0-art.py 地块取样间距:packed sheet 无间距(16px pitch),旧 17px 误采错格
- 重选草地/石板格 (9,8)/(10,8)/(4,8)/(4,9),整数 2x NEAREST 重建 cc0-tiles.png
- VillageArt 暴露 selectedGround/CharacterAtlasRelativePath 纯函数,保留 LV_ASSET_PACK=cc0
开关与程序绘制江南图集 fallback
- 新增 AssetPackTests:图集加载尺寸、整数倍缩放、开关/回退断言
- docs/素材来源.md 记录来源/许可/sha256/构建/开关;同步 assets-and-licenses 与维护说明 P33 小节
- docs/evidence/p33-atlas-*.png 昼/夜/2x 特写/程序绘制对照(check-no-white-blocks 0 命中)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Task panel (T key): a storyline row per occupation, e.g. ju-qing-xian:
shui-wei-yu-shou-cheng, zou-fang-zhong (line name + stage name); absent
for occupation-free saves.
- Occupation select page: minimal hint line showing the selected
occupation's storyline name.
- Evidence hook LV_STORY_SHOT=1 (+LV_STORY_OCCUPATION, LV_STORY_STAGE):
boots a real world through the standard bootstrap, advances the story
via the real dialogue pipeline (chooseDialogueWith bias + Story.onDialogue
+ StoryAnnal append), opens the task panel and saves one back-buffer
frame, then exits. 4 Xvfb shots (farmer/fisher/peddler/scholar) captured
under art/ (gitignored, not committed).
- 4 new desktop tests (156 -> 160): panel storyline lines, bias + story
advance through M5Interaction, no-occupation path stays story-free.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Sim.AnnalKind gains StoryAnnal (summary lives in the existing Summary
field); WorldSave v3 serializes it with the new 'story' token. v1/v2
saves never contain the token and stay byte-identical; v3 save -> load
-> save roundtrips byte-for-byte (tested).
- Occupation.Story.identitySummaryOf: plain chronicle-style identity line
written to the yearbook at game start (design section 3), e.g. yi-da-yu-wei-sheng.
- Desktop: story summaries render in the chronicle panel; StartNewGame
appends the identity annal; chooseIntent now routes responses through
Occupation.biasResponse and advances the storyline (one stage per
player dialogue) with the summary appended as a StoryAnnal.
- M5View gains Seed (world seed source for the story start-day hash).
- Chinese copy synced into requiredUiLabels; cjk-glyphs.txt +
CjkGlyphAtlas.characterTable extended 238 -> 307 glyphs (384x480),
atlas regenerated with the deterministic script.
- 4 new kernel tests (115 -> 119); performance digest unchanged.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Occupation.Story: three-segment arc per occupation (accept task -> visit
households -> conclude), driven one stage per player dialogue with day
gates derived from the same splitmix pattern as the daily task pool
(start day = hash(seed ^ storySeed, day 0) mod 3 + 2, range [2,4]).
- relationMeanToPlayer: decayed valence mean over acquainted NPCs only
(same decay formula as Sim.relationMatrix); no acquaintances = 0.
- Three endings (warm/plain/distant) chosen by deterministic thresholds
(>=0.3 / >=0.0 / <0); ending text is fixed at the concluding dialogue.
- onDialogue returns (state, summary text option) for the caller to write
into the yearbook; StoryStage itself is unchanged (0..3) and already
roundtrips through the existing v3 occupation segment.
- 14 new kernel tests (101 -> 115); performance digest unchanged.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Occupation.biasResponse: deterministic pure remap over Sim.responseFor;
no occupation = byte-identical pass-through (all intents x personalities).
farmer AskHelp Refused->Helpful; fisher SmallTalk Reserved->Friendly;
peddler SmallTalk Reserved->Bargaining; scholar Joke fully overridden to
Reserved (documented total-override semantics, opposite of personality).
- Sim.responseFor made public (same pure function, reused as the base path).
- Sim.chooseDialogueWith: extracted body of chooseDialogue with an injectable
respond function; chooseDialogue keeps identity semantics unchanged.
- Sim.appendAnnal made public for the upcoming story annal writes.
- 9 new kernel tests (92 -> 101); performance digest unchanged.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- MapGen(仅大图尺寸自适应分支,默认 64x48/256x192 不进入、不消费额外 RNG):
① ExtraRiversideHouses 16 -> 30,组团 2-5 座;含基础岸屋的路段优先布组并为每座孤立
基础民居贴格配对,placeGroup 试排后按「与既有/同组民居足迹间隙 <=2」过滤,孤立单屋不落地。
512 seed4242:组团民居 24 -> 45,规模 [5;4x6;3x2;2x3],0 组 <2 座。
② 新增 GroundTile.PaddyField=4/VegetablePlot=5(成熟 tile;非水可通行)+ Result.Groves
(纯视觉)+ Result.Farmhouses(门贴院落路、计入 BFS);18x14 确定性网格铺田块/树丛/农舍,
离水 >=3 格、避开路网/核心/民居。草地瓦片 96.3% -> 83.9%,水田 11595 + 菜畦 12877 格。
③ Result.MainRoadCenter 逐列中心线,value noise(scale 130、幅度 ±3)确定性缓弯,
相邻列步长 <=1、遇弯补格保证 4 连通;默认图主街仍笔直。
- VillageArt:水田/菜畦/树丛/农舍渲染(复用成熟 sprite 与同一立面纯函数)、农舍门窗计入夜光、
新增 drawMapRegion 局部真实离屏渲染。
- Game:P30 证据钩子 LV_MAPGEN_P30_SHOT=1(整图 3072x2304 day/night + 田块/主路 512x256@4px)。
- 回归 +5:组团规模/空区填充/田块合规/农舍可达确定性/主路确定性弯曲。
Kernel 92 / Desktop 156 全绿;Release 0 警告 0 错误;
final_digest=953775FAEB2F… 3 次一致、performance_determinism=PASS;
64x48=6042052、256x192=1284656962 锁定不变。
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- MapGen:仅大图新增 ClusterSeed(group seeding)与组团布屋——512 沿横向石板路
(主街+河岸路)成排成组:组内 2-4 座/1 格间隙、组间 4-6 格空档,宽度 2/3/4 分层;
垂柳改为确定性成丛(2-3 株/丛、丛间 3-5 格空档)。独立 clusterRng 不触碰
structureRng,默认图仍不消费 RNG,64x48=6042052 / 256x192=1284656962 锁定不变。
- VillageArt:新增 lanternFalloff(二次 1-(d/r)^2,半径 0 处最大、边缘 0、严格单调无平台);
lanternGlowLayers 按该衰减逐环累积 alpha;drawNightGlows 对桥头灯笼+民居门窗画半径
4 tile 的柔和径向光晕,整图取证与实机 DrawWorldView 共用同一套纯函数。
- 回归 +6:组团行/成丛/衰减/光源确定性;Desktop 151、Kernel 92 全绿,Release 0/0,
final_digest=953775FAEB2F… 3 次一致。证据帧见 art/p29-*。
|
| |
|
|
| |
- 直接解码 world 图集 slot 8/28 平均亮度,防配色差异被回退抹平
|
| |
|
|
|
| |
- LV_MAPGEN_NIGHT=1 时整图按 23:30 的 WorldTint 与 golden/moonlight veil 渲染
- RenderMapGen 参数化 tint/veil tick,与 DrawWorldView 共用同一套纯函数
|
| |
|
|
|
| |
- LV_MAPGEN_FIT_WIDTH/HEIGHT 额外渲染整图到指定像素目标(1024x768 -> 恰 2px/tile)
- 仅取证模式触发,不进入正常游戏循环
|
| |
|
|
|
|
| |
- ExtraRiversideHouses 10 -> 16(沿河 +6 座),宽度加权 2/3/4 形成聚落层次
- 仅 large 分支执行、默认图不消耗 RNG:64x48=6042052、256x192=1284656962 锁定不变
- 新增 LargeMapHouseDensityHierarchyOnlyGrowsLargeMaps 回归
|
| |
|
|
|
|
|
|
| |
民居第二变体强化配色与轮廓(青灰挑檐色阶 + 竖长格栅窗 + 绿院门)
- make-jiangnan-art.py slot 28/29/30:B 变体改用亮青灰瓦色阶、竖长木格栅窗、绿双扇院门
- VillageArt 变体 B 渲染:挑檐多叠一层、向两侧各出一格(水面之上不叠),墙身统一格栅窗
- 仅绘制分支,瓦片/可达性零改动
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
两条互相独立、均不改变保留集合与查询结果的优化:
1) 扫描去装箱:latestRumorFor / rumorIsDuplicate 用 `=` 比较 [<Struct>] 的
NpcId/RumorId(含 RumorId option)会走泛型结构相等并逐条装箱(实测 ~24 B/条,
Sim.chat 单独测得 N=16000 时 393,736 B/次、随 N 线性)。改为先解构底层
int/int64 再比较;Parent 用 int64 option 比较替代 RumorId option 结构相等。
语义完全等价,扫描不再逐条分配。
2) 裁剪判定 O(1):World 新增派生镜像 RumorCount/RumorOldestDay(不参与存档,
读档由列表经 rumorWorkingSetStats 重建)。appendRumor 用「count+1>capacity
或 min(oldest,day)<cutoff」O(1) 判定,仅真需裁剪时才走 trimRumors;旧 consRumor
每次追加都 rumorsNeedTrim 全表扫一遍。条件与 needTrim 逐字等价,保留集合相同。
等价性验证:5 天 2000 聊天/天跑两遍 WorldSave.save 逐字节相同,
RumorCount/RumorOldestDay 与对列表重算一致(count=8000、oldest_day=1)。
Kernel 长跑基准 30 NPC × 2000 聊天/天(--rumor-bench D 30 2000):
days 修复前 alloc / ms 修复后 alloc / ms
3 930,716,456 / 1626.7 482,716,192 / 1511.3
30 13,419,045,864 / 12182.5 4,884,067,640 / 8879.6
60 27,297,668,608 / 23769.7 9,774,660,360 / 17078.2
60 天分配 -64%、耗时 -28%,retained_id_checksum=927964000 前后一致。
门槛:final_digest=953775FAEB2F... 三次一致、performance_determinism=PASS;
Kernel 92 / Desktop 143 全绿;--cost-probe 1/5 天 18.7s/18.8GB、90.4s/94.6GB
(全模拟分配由逐 tick NPC 快照主导,谣言子系统占比很小,故全模拟基本持平)。
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
新增 Kernel 层 Rumor 长跑基准(RumorBench.fs + headless --rumor-bench
[days npcs chats_per_day]),把「聊天→生成/追溯谣言」路径从 Sim.step 的 NPC
快照分配解耦,隔离测量谣言工作集随世界年龄的分配/耗时;同 Config 的
retained_id_checksum 证明确定性。
复核 M3-1 前提:World.Rumors 已被 M6a(d94ec2d/cc850bf)按 3 天保留窗口收敛,
单日成本平稳(1/5/10 天 ≈18.7/18.1/19.8s、≈19GB/天),超线性项消失。
剩余 Rumor 成本 = 每次聊天的两条 O(N) 扫描 latestRumorFor/rumorIsDuplicate,
且 [<Struct>] NpcId/RumorId 用 = 比较会逐条装箱(Sim.chat 单独测得 N=16000
时 393,736 B/次、随 N 线性)。
修复前基准(30 NPC,--rumor-bench D 30 2000):
3d chat_calls=6000 retained=6000 alloc=930,716,456 ms=1626.7
30d chat_calls=60000 retained=8000 alloc=13,419,045,864 ms=12182.5
60d chat_calls=120000 retained=8000 alloc=27,297,668,608 ms=23769.7
(60d 工作集稳定 8000,不随年龄增长。)
docs/维护说明.md 新增 P27 小节记录上述现状与量级。不改任何模拟语义。
|
| |
|
|
| |
描边(昼/夜可读)
|
| |
|
|
| |
灯笼光晕径向无方斑回归
|
| |
|
|
| |
大图河岸装饰(护岸石垒/芦苇/垂柳)仅视觉层,不挡通行
|
| |
|
|
| |
民居立面第二变体(挑檐/木格栅窗/院门)沿河沿路交替
|