Build the system prompt for a scoring system
Source:R/01_ScoringSystem.R, R/02_ScoringSystem_methods.R
score_prompt.RdBuild 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
ScoringSystemobject.- 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.