data: add September event song charts
Publish GitHub Pages output / publish (push) Successful in 46s
Publish GitHub Pages output / publish (push) Successful in 46s
This commit is contained in:
@@ -4,7 +4,9 @@ import { scoreRatioFromFormula } from '../src/lib/engine/score.ts';
|
||||
// Pinned research snapshot, with source URL, retrieval time and SHA-256.
|
||||
const reference = JSON.parse(await readFile(new URL('../docs/research/song-score-formula-reference.json', import.meta.url), 'utf8'));
|
||||
const susReference = JSON.parse(await readFile(new URL('../docs/research/sus-score-formulas.json', import.meta.url), 'utf8'));
|
||||
const rows = [...reference.charts, ...susReference.charts];
|
||||
// Newly recovered charts carry their full reproducibility record in validationCharts until
|
||||
// the next research snapshot is consolidated.
|
||||
const rows = [...reference.charts, ...susReference.charts, ...susReference.validationCharts.filter((row) => row.fullComboNoteCount)];
|
||||
const formulas = new Map(rows.map((row) => [`${row.songId}.${row.difficulty}`, row]));
|
||||
if (formulas.size !== rows.length) throw new Error('중복 악곡 점수 공식입니다.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user