cleanup instructions
This commit is contained in:
@@ -227,8 +227,7 @@ def _(mo, rows_to_edit, split_rows_editor):
|
||||
**{len(rows_to_edit)} rows** were split from multi-context entries.
|
||||
Please review them below:
|
||||
1. Update the `sentiment` column (-1, 0, 1) for each row based on the specific context.
|
||||
2. Uncheck `manual_analysis` when you are done reviewing a row.
|
||||
3. Click **Submit** to apply changes.
|
||||
2. Click **Submit** to apply changes.
|
||||
"""),
|
||||
split_rows_editor
|
||||
])
|
||||
@@ -250,7 +249,7 @@ def _(mo, split_rows_editor):
|
||||
]
|
||||
assert needs_review.empty, f"{len(needs_review)} manual-analysis rows missing sentiment -1/0/1"
|
||||
|
||||
print("✓ Manual-analysis rows have valid sentiment values")
|
||||
print("Verification: ✓ All Manual-analysis rows have valid sentiment values")
|
||||
return (reviewed_manual_rows,)
|
||||
|
||||
|
||||
@@ -271,8 +270,6 @@ def _(mo):
|
||||
|
||||
@app.cell
|
||||
def _(sentiment_df):
|
||||
# TODO: Implement sentiment analysis and add 'sentiment' column
|
||||
|
||||
# for now, create an empty sentiment column with randomized dummy values for testing
|
||||
# only for 'VT -' and 'CT -' tags
|
||||
import random
|
||||
|
||||
Reference in New Issue
Block a user