Spaces:
Sleeping
Sleeping
Commit ·
0900525
1
Parent(s): ec1221d
Refined prompt: multi-round negotiation with valuation guardrail, temp 0.3
Browse files- inference.py +6 -4
inference.py
CHANGED
|
@@ -83,19 +83,21 @@ CURRENT STATE:
|
|
| 83 |
{history_text}YOUR NEGOTIATION PLAYBOOK:
|
| 84 |
|
| 85 |
ROUND-BY-ROUND STRATEGY (you are a {obs.role}):
|
| 86 |
-
{"- Round 1: Start AGGRESSIVE. Offer around 30-35% of the opponent's opening price. (e.g., if they open at 1000, offer 300-350). This anchors the negotiation in your favor." if obs.role == "buyer" else "- Round 1: Start AGGRESSIVE. Offer around 2-3x your minimum value. This anchors the negotiation in your favor."}
|
| 87 |
-
- Round 2-3: Concede SLOWLY. Increase your offer by only 50-80 per round. Watch how the opponent responds.
|
| 88 |
- Round 3-4: If the opponent's counter-offer is profitable for you ({"below" if obs.role == "buyer" else "above"} your valuation), ACCEPT it. Otherwise make one final offer near the midpoint.
|
| 89 |
- Round 5+: You are running out of time. ACCEPT any profitable deal immediately.
|
| 90 |
|
|
|
|
|
|
|
| 91 |
SCORING RULES:
|
| 92 |
1. PROFIT MATTERS MOST: Your score = (your profit) × (time bonus). A great deal on round 3 beats a mediocre deal on round 1.
|
| 93 |
2. TIME BONUS: Decreases each round. Don't drag past round 5.
|
| 94 |
3. AGGRESSION PENALTY: Offers extremely far from reasonable (e.g., offering 100 when market is 500+) are penalized. Stay within a plausible range.
|
| 95 |
-
4. NEVER REJECT
|
| 96 |
|
| 97 |
Choose exactly ONE action:
|
| 98 |
-
* OFFER <price> — counter-offer (
|
| 99 |
* ACCEPT — accept if the opponent's offer gives you good profit
|
| 100 |
* REJECT — walk away (almost never do this)
|
| 101 |
|
|
|
|
| 83 |
{history_text}YOUR NEGOTIATION PLAYBOOK:
|
| 84 |
|
| 85 |
ROUND-BY-ROUND STRATEGY (you are a {obs.role}):
|
| 86 |
+
{"- Round 1: Start AGGRESSIVE. Offer around 30-35%% of the opponent's opening price. (e.g., if they open at 1000, offer 300-350). This anchors the negotiation in your favor." if obs.role == "buyer" else "- Round 1: Start AGGRESSIVE. Offer around 2-3x your minimum value. This anchors the negotiation in your favor."}
|
| 87 |
+
- Round 2-3: Concede SLOWLY. {"Increase" if obs.role == "buyer" else "Decrease"} your offer by only 50-80 per round. Watch how the opponent responds.
|
| 88 |
- Round 3-4: If the opponent's counter-offer is profitable for you ({"below" if obs.role == "buyer" else "above"} your valuation), ACCEPT it. Otherwise make one final offer near the midpoint.
|
| 89 |
- Round 5+: You are running out of time. ACCEPT any profitable deal immediately.
|
| 90 |
|
| 91 |
+
ABSOLUTE LIMIT: {"Your offer must NEVER exceed " + str(obs.agent_value) + ". Any offer above " + str(obs.agent_value) + " loses you money!" if obs.role == "buyer" else "Your offer must NEVER go below " + str(obs.agent_value) + ". Any offer below " + str(obs.agent_value) + " loses you money!"}
|
| 92 |
+
|
| 93 |
SCORING RULES:
|
| 94 |
1. PROFIT MATTERS MOST: Your score = (your profit) × (time bonus). A great deal on round 3 beats a mediocre deal on round 1.
|
| 95 |
2. TIME BONUS: Decreases each round. Don't drag past round 5.
|
| 96 |
3. AGGRESSION PENALTY: Offers extremely far from reasonable (e.g., offering 100 when market is 500+) are penalized. Stay within a plausible range.
|
| 97 |
+
4. NEVER REJECT — a bad deal is almost always better than no deal (rejection = -50 penalty).
|
| 98 |
|
| 99 |
Choose exactly ONE action:
|
| 100 |
+
* OFFER <price> — counter-offer ({"must be below " + str(obs.agent_value) if obs.role == "buyer" else "must be above " + str(obs.agent_value)})
|
| 101 |
* ACCEPT — accept if the opponent's offer gives you good profit
|
| 102 |
* REJECT — walk away (almost never do this)
|
| 103 |
|