CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tns-platform-declarations

Platform-specific TypeScript declarations for NativeScript for accessing native objects

84

1.23x
Quality

Pending

Does it follow best practices?

Impact

84%

1.23x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "context": "This criteria evaluates the engineer's ability to use NativeScript Android widget APIs, specifically the CustomTransition class and Android AnimatorSet for building configurable animations with multiple properties, interpolators, and performance monitoring.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "AnimatorSet usage",
      "description": "Uses android.animation.AnimatorSet to create and configure animation sequences. Should instantiate AnimatorSet and configure it with appropriate animators for the required properties.",
      "max_score": 25
    },
    {
      "name": "CustomTransition implementation",
      "description": "Uses org.nativescript.widgets.CustomTransition class to create custom transitions. Should instantiate CustomTransition with an AnimatorSet and transition name, and optionally configure reset behavior with setResetOnTransitionEnd.",
      "max_score": 20
    },
    {
      "name": "Property animators",
      "description": "Uses android.animation.ObjectAnimator or android.animation.ValueAnimator to create animations for multiple properties (alpha, translation, scale). Should create separate animators for each property and add them to the AnimatorSet.",
      "max_score": 20
    },
    {
      "name": "Interpolator configuration",
      "description": "Uses Android interpolator classes (e.g., android.view.animation.LinearInterpolator, android.view.animation.AccelerateInterpolator, android.view.animation.DecelerateInterpolator) to configure easing for animations via setInterpolator method.",
      "max_score": 15
    },
    {
      "name": "Animation lifecycle",
      "description": "Properly manages animation lifecycle by using AnimatorSet methods like start() to begin animations and cancel() to stop them. Should handle animation state appropriately.",
      "max_score": 10
    },
    {
      "name": "Performance tracking",
      "description": "Implements performance monitoring using android.animation.Animator.AnimatorListener to track animation start and end times, calculate duration, and return metrics. Should use addListener method on AnimatorSet.",
      "max_score": 10
    }
  ]
}

tile.json