Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Spec Introspection/score_entity

score_entity

Record a framework's result for one entity on the exercise's includes edge (a MoSCoW bucket, a RICE score, a canvas slot). Auto-includes the entity if not already in scope. Merges into existing edge properties unless replace is set. Returns { edge, warnings }.

Spec Introspectionatomic.

Arguments

exercise_idstringrequired

Required. The framework_exercise id.

entity_idstringrequired

Required. The entity being scored.

valuesobjectrequired

Required. The result as { input: value }, e.g. { "moscow": "must" } or { "reach": 4, "impact": 3 }.

slot_rolestringoptional

Optional framework slot role this entity plays (e.g. "pain_reliever"). Rides the same edge as the scores; validated against the framework's declared slot roles (warn-only).

replacebooleanoptional

Replace the edge properties instead of merging (default false).

Returns

Shape
{ edge, warnings }

See Also