제작된 퀴즈 6단계: 플레이 통계 상세(문제마다 힌트 시간/투표, 정답이 아닌 입력 수·사람 수, 다시듣기, 제작된 퀴즈·곡; DB에 없는 퀴즈 곡도 기록 — song_plays.song_id nullable로 다시 만듦). 관리자 통계 곡별·퀴즈별(퀴즈 → 곡별 어려운 순) 탭. 난이도 제안이 힌트도 보고, 검토 대기 → 난이도 조정에 근거(출제·정답·힌트·오답·다시듣기)와 함께 승인/반영 안 함(5번 더 나온 뒤 다시). 메뉴 개수에 포함
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -162,6 +162,12 @@ describe('admin artists, genres, stats, rooms, collect, room defaults', () => {
|
||||
expect((await call('/stats')).body.rows.find((r: any) => r.id === easy)).toMatchObject({ level: 4 });
|
||||
expect(suggestLevel(1, 10, 10, 1000)).toBeNull();
|
||||
expect(suggestLevel(5, 4, 4, 1000)).toBeNull(); // too few plays
|
||||
expect(suggestLevel(5, 10, 9, 3000, 5)).toBeNull(); // guessed fast, but only with hints: not easier
|
||||
expect(suggestLevel(5, 10, 5, 9000, 7)).toBe(6); // half guessed with hints most of the time: harder
|
||||
const lv = (await call('/level-reviews')).body.rows;
|
||||
expect(lv.find((r: any) => r.id === hard).evidence[1]).toContain('정답 나온 문제 1번');
|
||||
await call(`/level-reviews/${hard}/dismiss`, { method: 'POST' });
|
||||
expect((await call('/level-reviews')).body.rows.find((r: any) => r.id === hard)).toBeUndefined();
|
||||
});
|
||||
|
||||
test('rooms: the admin sees private rooms too and can close one; players are told', async () => {
|
||||
|
||||
Reference in New Issue
Block a user