Live Code Playground

Test agent validation logic with sample data

Input Data

Validation Code

Read-only: Shows current validation logic

Output Result

Run validation to see results...

How to Use

1. Input Data

Paste your conversation data as JSON in the left panel. Use the sample data to get started.

2. Review Code

The middle panel shows the validation logic being applied to your data. This is read-only.

3. Run & Analyze

Click "Run Validation" to process your data and see the quality score and any issues detected.

Sample Data Structure

{
  "participants": [
    "Alice",
    "Bob"
  ],
  "messages": [
    {
      "senderName": "Alice",
      "text": "Hey Bob, how are you?",
      "timestamp": 1609459200000,
      "reactions": []
    },
    {
      "senderName": "Bob",
      "text": "I'm doing great! How about you?",
      "timestamp": 1609459260000,
      "reactions": [
        {
          "actor": "Alice",
          "reaction": "👍"
        }
      ]
    },
    {
      "senderName": "Alice",
      "text": "Excellent! Let's catch up soon.",
      "timestamp": 1609459320000,
      "reactions": []
    },
    {
      "senderName": "Bob",
      "text": "Sounds good to me!",
      "timestamp": 1609545600000,
      "reactions": []
    },
    {
      "senderName": "Alice",
      "text": "Perfect, see you then!",
      "timestamp": 1609545660000,
      "reactions": []
    }
  ]
}