Skip to main content

Squillify development is paused indefinitely. Read why, and discover what this experiment achieved. Read the story

MicroSkills Reference

Calculate Hurdle Excess

fund.hurdle_excess

ProductionBounded custom (Class B)Deterministicstrictinstantv1.0.0
No network

Overview

Perform exact bounded hurdle excess from caller-supplied fund terms. Contractual eligibility, fee policy, mappings, and materiality remain caller-controlled.

You receive deterministic fund fee and control evidence without hidden contractual choices for fund.hurdle_excess.

Reliability

DECIMAL_INVALID means a decimal is malformed or exceeds precision limits; correct it. FUND_INPUT_INVALID means an amount, rate, identifier, mapping, tolerance, or resulting balance violates the closed domain; correct it. ITEM_LIMIT_EXCEEDED means a series or mapping exceeds 10,000 rows; reduce it. This guidance applies specifically to fund.hurdle_excess.

Context footprint

The compact output replaces repeated fund fee and reconciliation arithmetic for fund.hurdle_excess. A successful call costs 1 execution credit.

When to use it

When performance versus an explicit hurdle rate must produce the excess above the hurdle.

When the contract uses a high-watermark without a hurdle, or the hurdle rate is still inferred.

Scope

Note
Perform exact bounded hurdle excess from caller-supplied fund terms

Non-goals

  • Does not choose eligibility, fee terms, crystallization policy, mappings, or materiality for fund.hurdle_excess.
  • Does not infer prospectus terms, accounting recognition, market values, or investor treatment for fund.hurdle_excess.

Properties

IdempotentRetry safeStreaming supportedFile input supportedRequires external service

Capabilities

math

Cost & billing

Flat rate per invocation

MetercallsBillable onsuccessCost per call1 credit

File handling

Accepts file_refProduces file_refMax input64 KB

How we handle your data

Sensitive input, safe output
What this means

This skill may receive sensitive content, but it does not target sensitive data and returns only a structured non-sensitive result.

Squillify guarantees
  • Runs inside Squillify
  • This skill runs inside Squillify.
  • Payloads are not sent to an external service by this skill.
  • Squillify does not permanently store submitted payloads.
  • Telemetry records metadata only, not submitted content.
  • Submitted payloads are not used for training.
  • Submitted payloads are not reviewed by humans.
  • This skill does not target sensitive data.
  • The response does not contain submitted content.
Your responsibility

Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.

Read the Microskill Data Handling Policy

Input schema

FieldTypeRequiredDescription
itemsarrayYesRequired ordered array of one through 10,000 closed fee-period objects. Each object declares a unique non-blank `itemId` of at most 128 characters plus `fundPerformanceValue`, `hurdleValue`, `measurementLevel`, and no other property.

Output schema

FieldTypeRequiredDescription
resultsarrayYesOrdered result array preserving every input `itemId` exactly once.
countintegerYesNumber of input items and output results.

API contract

POST /v1/execute
curl
curl -sS -X POST "$BASE/v1/execute" -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"skillKey":"fund.hurdle_excess","input":{"items":[{"itemId":"fee-record-1","fundPerformanceValue":"15","hurdleValue":"10","measurementLevel":"FUND"}]}}'
Integrations
TypeScript SDK
import { Squillify } from "@squillify/sdk";

const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });

const { output } = await sq.execute("fund.hurdle_excess", {"items":[{"itemId":"fee-record-1","fundPerformanceValue":"15","hurdleValue":"10","measurementLevel":"FUND"}]});

Errors

CodeHTTPRetryableDescription
VALIDATION_ERROR400NoThe request payload failed schema validation.
UNAUTHORIZED401NoMissing or invalid API key.
SKILL_NOT_ACCESSIBLE403NoThe API key is not granted access to this skill.
SKILL_NOT_AVAILABLE_FOR_PLAN403NoThis skill is not included in your current plan.
PLAN_ELIGIBILITY_UNAVAILABLE503YesPlan eligibility could not be decided. Retry after backoff.
SKILL_NOT_FOUND404NoThe requested skill or version does not exist.
TENANT_RATE_LIMITED429YesRequest rate limit exceeded. Retry after backoff.
QUOTA_EXCEEDED429YesPlan quota exhausted. Retryable once the quota period resets.
EXECUTION_TIMEOUT504YesExecution exceeded the allowed time budget.
DECIMAL_INVALID400NoThe request payload failed this skill's input validation.
FUND_INPUT_INVALID400NoThe request payload failed this skill's input validation.
ITEM_LIMIT_EXCEEDED429NoA size, quota, rate, or time limit was exceeded.

Other limits

LimitValue
Recommended inline bytes32 KiB

Limitations

  • Does not choose eligibility, fee terms, crystallization policy, mappings, or materiality for fund.hurdle_excess.
  • Does not infer prospectus terms, accounting recognition, market values, or investor treatment for fund.hurdle_excess.
  • Contractual interpretation, eligibility selection, valuation sourcing, or materiality decisions for fund.hurdle_excess.

How to call

POST /v1/execute (requires authentication)

Request bodyjson
{
  "skillKey": "fund.hurdle_excess",
  "input": {
    "items": [
      {
        "itemId": "fee-record-1",
        "fundPerformanceValue": "15",
        "hurdleValue": "10",
        "measurementLevel": "FUND"
      }
    ]
  }
}

Examples

Verified primary

Inputjson
{
  "items": [
    {
      "itemId": "fee-record-1",
      "fundPerformanceValue": "15",
      "hurdleValue": "10",
      "measurementLevel": "FUND"
    }
  ]
}
Expected outputjson
{
  "results": [
    {
      "itemId": "fee-record-1",
      "eligibleHurdleExcess": "5"
    }
  ],
  "count": 1
}
Tip
Independent exact-decimal W13 identity.

Verified alternative

Inputjson
{
  "items": [
    {
      "itemId": "fee-record-2",
      "fundPerformanceValue": "8",
      "hurdleValue": "10",
      "measurementLevel": "SERIES"
    }
  ]
}
Expected outputjson
{
  "results": [
    {
      "itemId": "fee-record-2",
      "eligibleHurdleExcess": "0"
    }
  ],
  "count": 1
}
Tip
Materially different W13 boundary vector.
  • Exact fund fee or equalization reperformance for fund.hurdle_excess.
  • Independent bounded rollforward or reconciliation evidence for fund.hurdle_excess.

Avoid for

  • Contractual interpretation, eligibility selection, valuation sourcing, or materiality decisions for fund.hurdle_excess.

Composable with

Safety & privacy

  • Runs without calling any external service.
  • Your payloads are never stored permanently.
  • Telemetry captures metadata only — never your payload contents.
  • We never train models on your payloads.
  • No human reviews your payloads.

Tags

mathfinancefund-accounting