Spaces:
Sleeping
Sleeping
edited: app.py
Browse files60 unmodified lines6162636465666769 unmodified lines13713813914014114260 unmodified lines- Be strict and realistic. Do NOT inflate scores. A strong but imperfect essay is typically 6.5–7.5.- Sub-scores within a criterion may differ from each other.- Base all scores strictly on the essay content — no assumptions.- Word count below 250 is a penalty factor; reflect it in TR scores.Criteria and sub-scores to evaluate:69 unmodified linestemperature=0.2,)result = IELTSScore.model_validate_json(response.choices[0].message.content)except Exception as e:return {"error": f"Scoring failed: {e}"}60 unmodified lines61626364656669 unmodified lines13613713813914014114214360 unmodified lines- Be strict and realistic. Do NOT inflate scores. A strong but imperfect essay is typically 6.5–7.5.- Sub-scores within a criterion may differ from each other.- Base all scores strictly on the essay content — no assumptions.Criteria and sub-scores to evaluate:69 unmodified linestemperature=0.2,)result = IELTSScore.model_validate_json(response.choices[0].message.content)if word_count >= 250:result.task_response.appropriate_word_count = 9.0except Exception as e:return {"error": f"Scoring failed: {e}"}
app.py+2-1