세션 평가와 교수자 분석 보강
This commit is contained in:
parent
5c4ac04e06
commit
fe2796f05a
51 changed files with 4928 additions and 240 deletions
|
|
@ -164,6 +164,7 @@ def build_learner_growth(
|
|||
*,
|
||||
learner_label: Callable[[str], str],
|
||||
limit: int | None = None,
|
||||
point_limit: int | None = 6,
|
||||
) -> list[LearnerGrowthMetrics]:
|
||||
grouped: dict[str, list[InProcSession]] = {}
|
||||
for sess in sessions:
|
||||
|
|
@ -222,7 +223,7 @@ def build_learner_growth(
|
|||
avg_rapport=avg([value for value in rapport_values if value is not None]),
|
||||
trend=trend,
|
||||
top_techniques=top_techniques,
|
||||
points=points[-6:],
|
||||
points=points if point_limit is None else points[-point_limit:],
|
||||
)
|
||||
)
|
||||
sorted_result = sorted(result, key=lambda item: item.latest_at, reverse=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue