Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Напиши код на VBA для таблиц, который выполнит блокировку всех красных ячеек на текущем…
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Напиши код на VBA для таблиц, который выполнит блокировку всех красных ячеек на текущем листе.
- Assistant
Sub LockRedCells() Dim cell As Range For Each cell In ActiveSheet.UsedRange.Cells If cell.Interior.ColorIndex = 3 Then '3 is the color index for red cell.Locked = True End If Next cell ActiveSheet.Protect 'protect the sheet to enable cell locking End Sub
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →