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.
|
**{len(rows_to_edit)} rows** were split from multi-context entries.
|
||||||
Please review them below:
|
Please review them below:
|
||||||
1. Update the `sentiment` column (-1, 0, 1) for each row based on the specific context.
|
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.
|
2. Click **Submit** to apply changes.
|
||||||
3. Click **Submit** to apply changes.
|
|
||||||
"""),
|
"""),
|
||||||
split_rows_editor
|
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"
|
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,)
|
return (reviewed_manual_rows,)
|
||||||
|
|
||||||
|
|
||||||
@@ -271,8 +270,6 @@ def _(mo):
|
|||||||
|
|
||||||
@app.cell
|
@app.cell
|
||||||
def _(sentiment_df):
|
def _(sentiment_df):
|
||||||
# TODO: Implement sentiment analysis and add 'sentiment' column
|
|
||||||
|
|
||||||
# for now, create an empty sentiment column with randomized dummy values for testing
|
# for now, create an empty sentiment column with randomized dummy values for testing
|
||||||
# only for 'VT -' and 'CT -' tags
|
# only for 'VT -' and 'CT -' tags
|
||||||
import random
|
import random
|
||||||
|
|||||||
Reference in New Issue
Block a user