Skip to contents

Build the system prompt for a scoring system

Usage

score_prompt(
  scoring_system,
  criteria,
  keys,
  block = "pairwise",
  relation = "course_to_session",
  rationale = TRUE
)

## S7 method for class <curriculum::ScoringSystem>
score_prompt(
  scoring_system,
  criteria,
  keys,
  block = "pairwise",
  relation = "course_to_session",
  rationale = TRUE
)

## S7 method for class <curriculum::ContinuousScoringSystem>
score_prompt(
  scoring_system,
  criteria,
  keys,
  block = "pairwise",
  relation = "course_to_session",
  rationale = TRUE
)

Arguments

scoring_system

ScoringSystem object.

criteria

Character: Criterion texts. Length 1 under block = "pairwise".

keys

Character: Response keys aligned with criteria.

block

Character {"pairwise", "joint"}: Prompt block structure.

relation

Character {"course_to_session", "session_to_assessment"}: Which direction is being scored. Names the criterion and the candidate in the prompt.

rationale

Logical: Whether to ask for a free-text justification.

Value

Character: System prompt.

Author

EDG