(skillName: string)
| 263 | * that the per-skill cap is enforceable given the per-entity caps. |
| 264 | */ |
| 265 | export function getMaxSubsetBytes(skillName: string): number { |
| 266 | const subset = getSkillSubset(skillName); |
| 267 | return subset.reduce((sum, name) => sum + (BRAIN_CACHE_ENTITIES[name]?.budget_bytes ?? 0), 0); |
| 268 | } |
no test coverage detected