or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates how well the solution uses @ckeditor/ckeditor5-mention helpers to upcast and downcast custom mention link markup while preserving mention ids, uids, display text, and metadata round-trips.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Upcast helper",
      "description": "Upcast converter calls `toMentionAttribute` (or `_toMentionAttribute`) to build the model mention attribute using the marker/id from the view and fallback text from the element content instead of handcrafting the object.",
      "max_score": 25
    },
    {
      "name": "Downcast helper",
      "description": "Downcast converter uses the package helper `_addMentionAttributes` (or equivalent mention downcast utility) to apply mention data onto the rendered link element rather than manually setting attributes.",
      "max_score": 20
    },
    {
      "name": "UID reuse",
      "description": "Conversion logic preserves the `uid` generated by the mention helper between upcast and downcast cycles instead of regenerating or dropping it during updates.",
      "max_score": 15
    },
    {
      "name": "Metadata mapping",
      "description": "Extra metadata fields such as href or avatar are passed through mention helper calls and mapped to view data attributes so they survive upcast/downcast without loss.",
      "max_score": 20
    },
    {
      "name": "Display text",
      "description": "Mention display text comes from helper-managed `_text`/`text` handling (using provided text override or view text fallback) and is used for the rendered label rather than the raw id.",
      "max_score": 20
    }
  ]
}