兼容单科和总分
This commit is contained in:
@@ -347,8 +347,10 @@ def analyze(parsed: dict, settings: dict) -> dict:
|
||||
}
|
||||
)
|
||||
|
||||
score_kind = parsed.get("score_kind") or "总分"
|
||||
return {
|
||||
"algorithm": "adjacent-layer-markov-v2",
|
||||
"score_kind": score_kind,
|
||||
"exams": exams,
|
||||
"layer_size": LAYER_SIZE,
|
||||
"pair_count": len(probability_exams) - 1 if len(probability_exams) > 1 else 0,
|
||||
|
||||
Reference in New Issue
Block a user