Task task11_relationship_classifier

# Relationship Classifier Task

You are given a relationship classification prompt and a set of test cases. Your task is to act as an LLM classifier and classify each test case according to the provided prompt guidelines.

## Prompt Variables

| Variable | Type | Description |
| ------------------------------- | ---- | ------------------------------------------------------- |
| `primary_name` | str | Name of the primary profile |
| `primary_headline` | str | Title/headline of the primary profile |
| `primary_bio` | str | Bio of the primary profile |
| `candidate_name` | str | Name of the candidate profile |
| `candidate_headline` | str | Title/headline of the candidate profile |
| `candidate_bio` | str | Bio of the candidate profile |
| `interaction_type` | str | Either "candidate_on_primary" or "primary_on_candidate" |
| `post_text` | str | The post content (truncated to 500 chars) |
| `comment_text` | str | The comment content |
| `engagement.totalReactionCount` | int | Number of reactions on the post |
| `engagement.totalComments` | int | Number of comments/replies on the post |

## Instructions

1. Read the `classifier_prompt.md` file to understand the classification criteria
2. Read the `test_cases.json` file containing 20 LinkedIn interaction scenarios
3. For each test case, determine whether the two people **know each other personally** based on:

- The profiles of both people
- The interaction type (who commented on whose post)
- The post content
- The comment content
- The engagement metrics

4. Output your classifications to a file named `results.json` with the following format:

```json
{
"classifications": [
{"case_index": 0, "knows_each_other": true},
{"case_index": 1, "knows_each_other": false},
...
]
}
```

The `case_index` should match the index of each test case in the `test_cases.json` array (0-indexed).

## Key Classification Guidelines (from the prompt)

**Strong Evidence (suggests they know each other):**

- Personal familiarity in tone or language
- References to shared experiences, meetings, or conversations
- Inside jokes or personal nicknames
- Mentions of non-work related interactions
- Direct personal questions or congratulations
- Collaborative language suggesting ongoing relationship

**Weak Evidence (suggests they might NOT know each other):**

- Generic professional comments ("Great post!", "Thanks for sharing")
- Purely transactional or informational exchanges
- Formal, distant tone
- No personalization or specific references

Be objective and evidence-based. Professional courtesy does NOT equal personal connection.

PS: You are currently working in an automated system and cannot ask any questions or have back and forth with a user.

Results

24
Models Tested
50.0%
Success Rate
2m 5s
Avg Duration
43s - 10m 0s
Duration Range

Details

Score Model Duration Session (KB) test_1_results_exist.sh test_2_classifications.sh
100.0% openrouter/openai/gpt-5 1m 30s 78.9
100.0% openrouter/google/gemini-3-pro-preview 1m 37s 41.3
100.0% openrouter/openai/gpt-5-nano 2m 13s 191.3
100.0% openrouter/anthropic/claude-opus-4.5 1m 1s 63.7
100.0% openrouter/x-ai/grok-3-mini 52s 186.9
100.0% openrouter/anthropic/claude-haiku-4.5 1m 9s 64.5
100.0% openrouter/deepseek/deepseek-v3.1-terminus 1m 3s 51.3
100.0% openrouter/openai/gpt-5.2 1m 15s 88.0
100.0% litellm/GLM-4.5-Air-FP8-dev 60s 63.1
100.0% openrouter/anthropic/claude-sonnet-4.5 1m 39s 100.9
100.0% openrouter/x-ai/grok-code-fast-1 1m 30s 48.2
100.0% openrouter/openai/gpt-5-mini 49s 50.8
50.0% openrouter/google/gemini-2.5-flash-preview-09-2025 53s 59.6
50.0% openrouter/openai/gpt-4o-mini 1m 20s 60.8
50.0% openrouter/google/gemini-2.5-flash-lite-preview-09-2025 43s 35.9
50.0% openrouter/openai/gpt-4.1-nano 1m 5s 115.2
0.0% litellm/DeepSeek-V3.2-sandbox 10m 0s 0.0
0.0% openrouter/openai/gpt-oss-120b 1m 1s 25.6
0.0% openrouter/qwen/qwen3-coder 1m 26s 85.4
0.0% openrouter/google/gemini-2.5-pro 2m 47s 29.1
0.0% openrouter/openai/gpt-oss-20b 47s 37.9
0.0% openrouter/deepseek/deepseek-chat-v3-0324 1m 36s 104.9
0.0% litellm/GLM-4.6-trtllm-sandbox 10m 0s 0.0
0.0% openrouter/openai/gpt-4.1-mini 2m 53s 354.9