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.
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
16
Models Tested
56.2%
Success Rate
1m 15s
Avg Duration
18s - 10m 0s
Duration Range
Details
| Score | Model | Duration | Session (KB) | test_1_results_exist.sh | test_2_classifications.sh |
|---|---|---|---|---|---|
| 100.0% | openrouter/google/gemini-2.5-flash-preview-09-2025 | 33s | 66.3 | ✅ | ✅ |
| 100.0% | openrouter/google/gemini-3-pro-preview | 1m 8s | 61.0 | ✅ | ✅ |
| 100.0% | openrouter/anthropic/claude-opus-4.5 | 51s | 72.4 | ✅ | ✅ |
| 100.0% | openrouter/qwen/qwen3-coder | 33s | 80.5 | ✅ | ✅ |
| 100.0% | openrouter/google/gemini-2.5-pro | 50s | 40.4 | ✅ | ✅ |
| 100.0% | openrouter/anthropic/claude-haiku-4.5 | 31s | 73.7 | ✅ | ✅ |
| 100.0% | openrouter/deepseek/deepseek-v3.1-terminus | 42s | 47.2 | ✅ | ✅ |
| 100.0% | openrouter/anthropic/claude-sonnet-4.5 | 1m 14s | 71.5 | ✅ | ✅ |
| 100.0% | openrouter/x-ai/grok-code-fast-1 | 1m 9s | 287.3 | ✅ | ✅ |
| 50.0% | openrouter/openai/gpt-4o-mini | 37s | 69.6 | ✅ | ❌ |
| 0.0% | openrouter/openai/gpt-oss-120b | 21s | 31.1 | ❌ | ❌ |
| 0.0% | openrouter/x-ai/grok-3-mini | 23s | 85.6 | ❌ | ❌ |
| 0.0% | openrouter/google/gemini-2.5-flash-lite-preview-09-2025 | 28s | 81.4 | ❌ | ❌ |
| 0.0% | openrouter/openai/gpt-oss-20b | 18s | 44.5 | ❌ | ❌ |
| 0.0% | litellm/GLM-4.5-Air-FP8-dev | 22s | 40.6 | ❌ | ❌ |
| 0.0% | openrouter/deepseek/deepseek-chat-v3-0324 | 10m 0s | 0.0 | — | — |