score-cas

Score CAS programs and CAS model tables via inline CASL code.

1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill score-cas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: score-cas
Source: https://github.com/sassoftware/sas-score-mcp-serverjs/tree/main/.skills/skills/score-cas
Command: npx skills add https://github.com/sassoftware/sas-score-mcp-serverjs --skill score-cas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scoring CAS programs and CAS model tables by executing inline CASL code or reading CAS model tables, enabling quick evaluation of CAS-based analytics.

Core Features & Use Cases

  • Inline CASL scoring: score code snippets directly to return results.
  • CAS model table scoring: score from a persisted model table with optional model name.
  • Flexible routing: supports both single-shot and batch scoring with scenario inputs.

Quick Start

Provide CAS program code via src or specify a casmodel table and run the scoring tool to obtain results.

Frequently Asked Questions about score-cas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I score CASL code inline in SAS Viya?

To score CASL code inline, provide the CAS program code snippet via the src parameter and execute the scoring tool to return results directly.

What is the difference between scoring inline CASL code and scoring a CAS model table?

Scoring inline CASL code executes code snippets directly via the src parameter, whereas CAS model table scoring reads a persisted model table specified by the casmodel parameter to produce scoring results.

Can I run batch scoring with scenario inputs using a persisted CAS model table?

Yes, you can perform batch scoring with scenario inputs by specifying a persisted CAS model table through the casmodel parameter, with optional parameters like name, scenario, output, and limit to refine results.

What happens if required inputs or CAS model tables are missing during model scoring?

When required inputs or CAS model tables are missing during model scoring, the process includes error handling to catch missing src or casmodel inputs and missing tables, preventing execution failures and guiding correct parameter usage.

Do I need a specific SAS Viya environment to execute CAS program scoring?

Yes, CAS program scoring requires a SAS Viya environment with SAS Cloud Analytic Services (CAS) enabled to execute inline CASL code or read CAS model tables and produce scoring results efficiently.