Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-instant-1· AnthropicHugging Face Arena Human Preference 55K

please specify a simple pddl domain for a blocksworld.

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with guanaco-33b’s answer.
  1. User

    please specify a simple pddl domain for a blocksworld.

  2. Claude Assistant

    Here is a simple PDDL domain for a blocksworld:

    (define (domain blocksworld) (:requirements :typing) (:types block - object)
    (:predicates (on ?b - block ?b2 - block) (clear ?b - block) (armfree)) (:action pick :parameters (?b - block) :precondition (and (clear ?b) (armfree)) :effect (and (not (clear ?b)) (not (armfree))))

    (:action stack :parameters (?b ?b2 - block) :precondition (and (on ?b2 ?b) (armfree)) :effect (and (not (armfree)) (not (on ?b2 ?b))))

    (:action unstack :parameters (?b ?b2 - block) :precondition (and (on ?b ?b2) (armfree)) :effect (and (not (armfree))
    (not (on ?b ?b2)) (on ?b2 ?b)
    (clear ?b))))

    (:action putdown :parameters (?b - block) :precondition (and (holding ?b) (armfree))
    :effect (and (clear ?b) (armfree)))) )

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.