여기를 누르시면 페이지를 복제할 수 있습니다.
제가 만들긴 했는데, 어떻게 만들었는지 기억이 안납니다.
너무 힘들었음
prop("수강과목")
.map(
/*과목 이름*/
current.prop("이름").format()
+ " " +
/*과제 제출*/
current.prop("제출 및 피드백 DB")
.filter(current.prop("학생").format()==prop("이름+휴대폰 뒷4자리").format())
.map(current.prop("과제여부"))
.filter(current).length()
+ "/" +
/*총 과제수*/
current.prop("제출 및 피드백 DB")
.filter(current.prop("학생").format()==prop("이름+휴대폰 뒷4자리").format())
.map(current.prop("과제여부")).length()
+ " " +
/* Graph */
lets(
task,current.prop("제출 및 피드백 DB")
.filter(current.prop("학생").format()==prop("이름+휴대폰 뒷4자리").format())
.map(current.prop("과제여부"))
.filter(current).length().format().toNumber(),
all,current.prop("제출 및 피드백 DB")
.filter(current.prop("학생").format()==prop("이름+휴대폰 뒷4자리").format())
.map(current.prop("과제여부")).length().format().toNumber(),
if(
(task / all) >= 1, "✅",
(((substring("■■■■■■■■■■", 0, (round(task/all*10)).floor()) +
substring("□□□□□□□□□□", 0, (10-round(task/all*10)).floor())
)))
)
+ " " +
/* % */
(task * 100 / all).floor() + "%"
)).sort(prop("수강과목")).join("\n")
HTML
복사