Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,6 @@ THRESHOLDS = {
|
|
| 33 |
"unique_key_points": (2.0, 5.0),
|
| 34 |
"information_density": (0.00727669710202455, 0.011291644452510826),
|
| 35 |
"unique_insights_per_word": 13.607476635514018,
|
| 36 |
-
"optimization_score": 0.032395506665225886,
|
| 37 |
"composite_score": (4.5941101516587315, 10.581525294084457),
|
| 38 |
"adjusted_argument_strength": 0.0616150390018116,
|
| 39 |
}
|
|
@@ -214,9 +213,6 @@ def heuristic_optimization(row):
|
|
| 214 |
elif row["unique_key_points"] > THRESHOLDS["unique_key_points"][1]:
|
| 215 |
suggestions.append("Streamline ideas for clarity.")
|
| 216 |
|
| 217 |
-
if row["optimization_score"] < THRESHOLDS["optimization_score"]:
|
| 218 |
-
suggestions.append("Restructure content and improve phrasing.")
|
| 219 |
-
|
| 220 |
if row["review_quality"] == "Low":
|
| 221 |
suggestions.append("Significant revisions required.")
|
| 222 |
elif row["review_quality"] == "Moderate":
|
|
|
|
| 33 |
"unique_key_points": (2.0, 5.0),
|
| 34 |
"information_density": (0.00727669710202455, 0.011291644452510826),
|
| 35 |
"unique_insights_per_word": 13.607476635514018,
|
|
|
|
| 36 |
"composite_score": (4.5941101516587315, 10.581525294084457),
|
| 37 |
"adjusted_argument_strength": 0.0616150390018116,
|
| 38 |
}
|
|
|
|
| 213 |
elif row["unique_key_points"] > THRESHOLDS["unique_key_points"][1]:
|
| 214 |
suggestions.append("Streamline ideas for clarity.")
|
| 215 |
|
|
|
|
|
|
|
|
|
|
| 216 |
if row["review_quality"] == "Low":
|
| 217 |
suggestions.append("Significant revisions required.")
|
| 218 |
elif row["review_quality"] == "Moderate":
|