Apdex

Plan a day trip within every constraint

Plan a day trip that fits the budget, opening hours, visit durations, and travel times.

Day trip

Leave the hotel at 09:00 and return by 18:00.

Requirements

  • Visit each of the four places in places.json (museum, park, lunch, observatory) exactly once.
  • Arrive and depart within each place’s open–close hours. Stay for at least durationMinutes.
  • Keep total admission costs at or below KRW 55,000. A repeated visit incurs another fee.
  • Allow the bidirectional travel times in travel.json from the hotel to the first stop, between stops, and back to the hotel. Waiting is allowed.
  • Use same-day HH:MM times (00:00–23:59) in visit order. Stops must not overlap or require impossible travel.
  • Boundary values are allowed: arriving exactly at opening, returning exactly at 18:00, and staying exactly the minimum duration.

Scoring notes

  • The budget, opening_hours, durations, travel, and day_bounds checks can pass only if all four required places appear at least once. If any is missing, all five checks score zero.
  • Repeating a place fails coverage separately, and every visit counts toward the budget.
  • An unknown placeId, including the hotel, fails known_places and coverage and any check needing its missing cost, hours, duration, or travel data.
  • Submit itinerary.json as UTF-8 JSON. A missing file, base64 submission, invalid JSON or schema, or malformed HH:MM time gives zero on all seven automatic checks.

Submission guide

List visits in order in itinerary.json: {"stops":[{"placeId":"museum","arrival":"HH:MM","departure":"HH:MM"}, ...]}. Submit UTF-8 text, not base64. Times use two-digit HH:MM (00:00–23:59). Invalid files, JSON, schemas, or times give zero on all seven automatic checks. Use the placeId values in places.json (museum, park, lunch, observatory). Do not include the hotel in stops. Include all four places at least once for budget, opening_hours, durations, travel, and day_bounds to pass. Repeated visits fail coverage separately and incur another fee. Explain your ordering and trade-offs in the explanation field. A reviewer evaluates that text; it does not affect the automatic score.

Scoring criteria

  • Visit only listed places: 10% rubric weight
  • Visit all four places exactly once: 10% rubric weight
  • Stay within the KRW 55,000 budget: 10% rubric weight
  • Respect opening hours: 10% rubric weight
  • Meet minimum visit durations: 10% rubric weight
  • Allow travel time between stops: 10% rubric weight
  • Leave at 09:00 and return by 18:00: 10% rubric weight
  • Structure of the itinerary explanation: 10% rubric weight
  • Real-world practicality: 10% rubric weight
  • Depth of constraint trade-offs: 10% rubric weight

Each criterion is classified as satisfied (at least 80%), tolerating (at least 50%), or unmet, then weighted into a 0–1 rubric index. This is not a measured user satisfaction rate.

Current policy: AI assesses quality points for new submissions. Older challenge wording about human review or provisional scores describes an earlier policy. Each result records the method actually used.

Public resources

  • places.json

    application/json

    {
      "hotel": {
        "id": "hotel",
        "name": "Hotel",
        "departAt": "09:00",
        "returnBy": "18:00"
      },
      "budget": 55000,
      "currency": "KRW",
      "rule": "Visit every place exactly once. Arrive no earlier than open, depart no later than close, and stay at least durationMinutes.",
      "places": [
        {
          "id": "museum",
          "name": "City Art Museum",
          "open": "09:00",
          "close": "17:00",
          "durationMinutes": 90,
          "cost": 18000
        },
        {
          "id": "park",
          "name": "Riverside Park",
          "open": "09:00",
          "close": "18:00",
          "durationMinutes": 60,
          "cost": 0
        },
        {
          "id": "lunch",
          "name": "Lunch Restaurant",
          "open": "11:00",
          "close": "14:00",
          "durationMinutes": 45,
          "cost": 15000
        },
        {
          "id": "observatory",
          "name": "Observatory",
          "open": "13:00",
          "close": "18:00",
          "durationMinutes": 60,
          "cost": 20000
        }
      ]
    }
    
  • travel.json

    application/json

    {
      "unit": "minutes",
      "symmetric": true,
      "rule": "Travel time is symmetric. Arrival at the next place must be no earlier than departure from the previous place plus travel time.",
      "legs": [
        {
          "from": "hotel",
          "to": "museum",
          "minutes": 20
        },
        {
          "from": "hotel",
          "to": "park",
          "minutes": 15
        },
        {
          "from": "hotel",
          "to": "lunch",
          "minutes": 10
        },
        {
          "from": "hotel",
          "to": "observatory",
          "minutes": 35
        },
        {
          "from": "museum",
          "to": "park",
          "minutes": 20
        },
        {
          "from": "museum",
          "to": "lunch",
          "minutes": 15
        },
        {
          "from": "museum",
          "to": "observatory",
          "minutes": 30
        },
        {
          "from": "park",
          "to": "lunch",
          "minutes": 10
        },
        {
          "from": "park",
          "to": "observatory",
          "minutes": 25
        },
        {
          "from": "lunch",
          "to": "observatory",
          "minutes": 20
        }
      ]
    }
    

Starter files

  • itinerary.json

    {
      "stops": []
    }
    

Sign in to submit How Apdex works