Apply formatter

This commit is contained in:
porink0424
2024-05-10 11:58:25 +09:00
parent 6ed7b5ef0e
commit 7b4ecd417f
2 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -31,9 +31,9 @@ interface JournalOpDeleteStudy extends JournalOpBase {
interface JournalOpSetStudySystemAttr extends JournalOpBase {
study_id: number
system_attr: {
system_attr: {
"study:metric_names": string[]
}
}
}
interface JournalOpCreateTrial extends JournalOpBase {
+1 -4
View File
@@ -372,10 +372,7 @@ const parseDistributionJSON = (t: string): Optuna.Distribution => {
}
}
const getStudySystemAttributes = (
db: SQLite3DB,
studyId: number
) => {
const getStudySystemAttributes = (db: SQLite3DB, studyId: number) => {
let attrs: { metric_names: string[] } | undefined
db.exec({
sql: `SELECT key, value_json FROM study_system_attributes WHERE study_id = ${studyId} AND key = 'dashboard:objective_names'`,