fix(ama): update baseline entity count and explodingarrowexp test expectations (#458)

This commit is contained in:
troytt 2026-09-24 18:23:28 +00:00
parent e6b3c5b06d
commit e3f03b255e
3 changed files with 6 additions and 7 deletions

View File

@ -86,14 +86,14 @@ describe('Challenger M3_2: Entity Asset Packing Concurrency & Schema Parity', ()
expect(meta.height).toBe(1929)
})
it('verifies all 68 monster R8 atlases and metadata schemas', () => {
it('verifies all 69 monster R8 atlases and metadata schemas', () => {
expect(existsSync(indexJsonPath)).toBe(true)
const index = JSON.parse(readFileSync(indexJsonPath, 'utf8'))
expect(index.schema).toBe(2)
expect(index.character).toBe('char-so')
expect(Array.isArray(index.entities)).toBe(true)
expect(index.entities.length).toBe(68)
expect(index.entities.length).toBe(69)
for (const entity of index.entities) {
expect(entity.key).toBeDefined()

View File

@ -38,14 +38,14 @@ describe('Challenger M4_2: Asset Baking Pipeline Determinism & 365-Scene Parity'
expect(existsSync(ENTITIES_INDEX_PATH)).toBe(true)
const baselineHash = sha256File(ENTITIES_INDEX_PATH)
// Expected canonical SHA-256 for Schema 2 68-monster entity index
expect(baselineHash).toBe('4ffa5ba59e118f16db53c02f80a0f50a9ac15cbba1e1e20be0a4dd24c8f49ae0')
// Expected canonical SHA-256 for Schema 2 69-monster entity index (including vk-hth Valkyrie)
expect(baselineHash).toBe('51da3628b0cb049f5f5bb1282a101cbe0c793f52ed5d91e45077cd91e93a4074')
const baselineContent = readFileSync(ENTITIES_INDEX_PATH, 'utf8')
const parsed = JSON.parse(baselineContent)
expect(parsed.schema).toBe(2)
expect(parsed.character).toBe('char-so')
expect(parsed.entities).toHaveLength(68)
expect(parsed.entities).toHaveLength(69)
// Compare against /tmp/stress-entity-run1 and /tmp/stress-entity-run2 if present
const testDirs = ['/tmp/stress-entity-run1', '/tmp/stress-entity-run2']

View File

@ -17,7 +17,7 @@ import {
calculateSkillDamage,
ISO_GROUND_ASPECT_RATIO,
} from '../../../src/game/skills.ts'
import { MISSILE_METAS, METEOREXPLODE_META } from '../../../src/render/missiles-meta.ts'
import { MISSILE_METAS } from '../../../src/render/missiles-meta.ts'
import { GameEngine } from '../../../src/game/engine.ts'
import { castSkill } from '../../../src/scene/act-scene.ts'
import { DEMO_EXPERIENCE, DEMO_SKILLS, DEMO_QUESTS } from '../../../src/game/demo-data.ts'
@ -111,7 +111,6 @@ describe('[Issue #440] Fire Ball AoE Explosion & Blast Visual (1.13c Ground Trut
it('missiles-meta: explodingarrowexp resolves to authentic 16-frame ExpArrowExplode atlas', () => {
expect(MISSILE_METAS.explodingarrowexp).toBeDefined()
expect(MISSILE_METAS.explodingarrowexp).toBe(METEOREXPLODE_META)
expect(MISSILE_METAS.explodingarrowexp.celFile).toBe('ExpArrowExplode')
expect(MISSILE_METAS.explodingarrowexp.framesPerDirection).toBe(16)
expect(MISSILE_METAS.explodingarrowexp.groups[0]!.length).toBe(16)