The local orchestra is forming two ensembles for a friendly competition, but some…
- User
The local orchestra is forming two ensembles for a friendly competition, but some musicians prefer not to play together. Ensure a harmonious performance by dividing the musicians into two compatible ensembles.
Musicians:
- Binta
- Ingrid
- Riko
- Zahra
- Zainab
- Tariq
Conflicts: Binta prefers not to play with Riko Ingrid prefers not to play with Zainab and Tariq Riko prefers not to play with Tariq Zahra prefers not to play with Tariq
Follow this algorithm: 0. Create two empty groups at first.
- Select a conflict from the set between person A and B.
- If A is already inside a group, then put B inside the other. If B is already inside a group, then put A inside the other. Otherwise:
- if A can be in both groups, then see in which group B can be.
- if B can be in both groups, then see in which group A can be.
- if A and B can be in both groups, put A in group 1 and B in group 2.
- Remove the conflict from the set.
- If there are no more conflicts, then end. Otherwise, return to step 1.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.