Skip to main content

yc-bench sim-resume

Advance the simulation clock to the next scheduled event (task completion, payroll, market refresh, etc.).

Usage

yc-bench sim-resume

Parameters

This command takes no parameters.

Response

Returns the updated simulation state after advancing time:
currentTick
number
New current tick after time advancement
currentDate
string
New current date (ISO 8601 format)
ticksAdvanced
number
Number of ticks that were advanced
eventsProcessed
array
List of events that occurred during time advancement
company
object
Updated company state
market
object
Updated market state

Example

# Advance to next event
yc-bench sim-resume
Example Output
{
  "currentTick": 240,
  "currentDate": "2024-01-11T00:00:00.000Z",
  "ticksAdvanced": 240,
  "eventsProcessed": [
    {
      "type": "TASK_COMPLETED",
      "taskId": "task_123",
      "tick": 240,
      "payment": 5000,
      "prestigeGain": 2
    }
  ],
  "company": {
    "funds": 55000,
    "prestige": 2,
    "employees": [...],
    "tasks": [...]
  },
  "market": {
    "availableTasks": [...]
  }
}

Event Types

Common events that trigger time advancement:
  • TASK_COMPLETED - Employee finishes assigned task
  • PAYROLL_DUE - Monthly salary payments processed
  • MARKET_REFRESH - New tasks added to market
  • TASK_DEADLINE - Task deadline reached

Build docs developers (and LLMs) love