(files, answer)
| 1237 | // The response shape that matters here: a per-file section whose header lists |
| 1238 | // `name(kind)`, and a body big enough that the shares are readable. |
| 1239 | const alloc = (files, answer) => computeAllocation( |
| 1240 | [files.map(([p, syms, size]) => |
| 1241 | `**\`${p}\`** — ${syms}\n\n\`\`\`js\n${'x'.repeat(size)}\n\`\`\`\n`).join('\n') |
| 1242 | + '\n> Treat the code above as already read.\n'], |
| 1243 | answer, |
| 1244 | ); |
| 1245 | const round = (f) => Math.round(f * 1000) / 10; |
| 1246 | |
| 1247 | // The #1500 shape: one file answers, two are noise. The answer names it by |
no test coverage detected