mirror of
https://github.com/collinear-ai/yc-bench.git
synced 2026-04-19 12:58:03 +00:00
Updated prompt / commands
This commit is contained in:
parent
35467c050a
commit
6a34a1d572
2 changed files with 6 additions and 2 deletions
|
|
@ -77,6 +77,11 @@ def build_turn_context(
|
|||
history_limit = 20
|
||||
turns_until_truncation = max(0, history_limit - turn_number)
|
||||
|
||||
if turns_until_truncation > 0:
|
||||
memory_note = f"Your context window holds {history_limit} turns. {turns_until_truncation} turns before oldest messages start dropping. Use scratchpad to persist important observations."
|
||||
else:
|
||||
memory_note = f"Your context window holds {history_limit} turns. Older messages have been dropped. Use scratchpad to persist important observations."
|
||||
|
||||
parts = [
|
||||
f"## Turn {turn_number} — Simulation State",
|
||||
f"- **Current time**: {sim_time}",
|
||||
|
|
@ -87,7 +92,7 @@ def build_turn_context(
|
|||
f"- **Employees**: {employee_count}",
|
||||
f"- **Active tasks**: {active_tasks}",
|
||||
f"- **Planned tasks**: {planned_tasks}",
|
||||
f"- **Memory**: oldest messages drop after turn 20 ({turns_until_truncation} turns left). Use scratchpad to save important observations.",
|
||||
f"- **Memory**: {memory_note}",
|
||||
]
|
||||
|
||||
if bankrupt:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ market_app = typer.Typer(help="Market browsing commands.")
|
|||
@market_app.command("browse")
|
||||
def market_browse(
|
||||
domain: Optional[Domain] = typer.Option(None, "--domain", help="Filter by requirement domain"),
|
||||
required_prestige_lte: Optional[int] = typer.Option(None, "--required-prestige-lte", help="Max required prestige"),
|
||||
reward_min_cents: Optional[int] = typer.Option(None, "--reward-min-cents", help="Min reward in cents"),
|
||||
limit: Optional[int] = typer.Option(None, "--limit", help="Max results (default from experiment config)"),
|
||||
offset: int = typer.Option(0, "--offset", help="Offset for pagination"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue