test(calibration): replace real-name holder fixture with charlie-example placeholder

Privacy iron rule: no real people's names in checked-in code. The sanctioned
placeholder mapping uses people/charlie-example.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-07-22 11:21:06 -07:00
co-authored by Claude Fable 5
parent 8c27339c5c
commit 5350bbc796
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -349,9 +349,9 @@ describe('runPhaseCalibrationProfile — phase integration', () => {
const { engine } = buildMockEngine({
scorecard: { total_bets: 0, resolved: 0, correct: 0, incorrect: 0, partial: 0,
accuracy: null, brier: null, partial_rate: null, unresolvable_count: 0, unresolvable_rate: null },
userHolder: 'people/tyler-singletary',
userHolder: 'people/charlie-example',
});
const result = await runPhaseCalibrationProfile(buildCtx(engine), {});
expect(result.summary).toContain('holder=people/tyler-singletary');
expect(result.summary).toContain('holder=people/charlie-example');
});
});
+3 -3
View File
@@ -16,12 +16,12 @@ describe('owner-holder', () => {
});
test('uses config value when set and no override', () => {
expect(resolveOwnerHolder({ configValue: 'people/tyler-singletary' }))
.toBe('people/tyler-singletary');
expect(resolveOwnerHolder({ configValue: 'people/charlie-example' }))
.toBe('people/charlie-example');
});
test('override beats config and default', () => {
expect(resolveOwnerHolder({ override: 'world', configValue: 'people/tyler-singletary' }))
expect(resolveOwnerHolder({ override: 'world', configValue: 'people/charlie-example' }))
.toBe('world');
});
});