CCaretBasin
Product

Product features · Stable-version caret ranges

01

Use caret_range.py to check numeric caret admission, treating the interval rule separately from real compatibility.

01

Connection

Base URL, credentials and a reachable server.

02

Selection

A model available through the configured endpoint.

03

Capabilities

Context limits and tool support are determined by the model and server.

Stable-version caret ranges

● ● ●CaretBasin●
A concrete starting point · Stable-version caret ranges ×
def caret_admits(base, candidate):
    for version in (base, candidate):
        if type(version) not in (list, tuple) or len(version) != 3 or any(type(x) is not int or x < 0 for x in version):
            raise ValueError("version.triplet")
    major, minor, patch = base
    upper = (major+1, 0, 0) if major else ((0, minor+1, 0) if minor else (0, 0, patch+1))
    return tuple(base) <= tuple(candidate) < upper
✳Stable-version caret ranges
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗