bench(cobol): update baselines for copybook-dir preference (#2967)

COBOL preferred-dir filtering now affects resolution outcomes. The
unique-arm layouts (mixed copybooks/src dirs) drop from 1153 to 442
resolved as files outside preferred directories are correctly filtered.
The collide arm (all files in svc${d}/copybooks) keeps 1153 resolved
because ALL files remain in the preferred class.

- Update small/deep resolved: 1153 → 442
- Update small/large/deep fingerprints for new target set
- Raise heap_bound_bytes.cobol: 3500000 → 6200000 (1.5x measured 4112464 B)
- Add measure.mjs exception: collide legitimately differs from small
- Update _heap_bound_note with new cobol measurement context
- Expand _cobol_copybook_dir_preference_2967 note to explain collide delta

The collide arm now measures collision behavior within the preferred
class rather than across mixed layouts — an intentional outcome of the
preferred-dir semantics rather than a corpus defect.

Refs #2967

Co-authored-by: Kevin Rajan <kvnloo@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-09-09 21:40:19 +00:00
parent 63c742bbdf
commit 4b87f7c70f
No known key found for this signature in database
2 changed files with 13 additions and 10 deletions

File diff suppressed because one or more lines are too long

View file

@ -2717,6 +2717,9 @@ for (const lang of LANGS) {
}
for (const arm of ['deep', 'collide']) {
if (got[arm].resolved !== got.small.resolved) {
// COBOL #2967 exception: the collide arm (all files in copybook dirs) legitimately
// resolves MORE than the unique arm (mixed layouts) after preferred-dir filtering.
if (lang === 'cobol' && arm === 'collide') continue;
failures.push(
`${lang}: ${arm} arm resolved ${got[arm].resolved} vs small ${got.small.resolved} — the ` +
`${arm} arm was supposed to change ${arm === 'deep' ? 'path depth' : 'directory and file NAMING'} ` +