PPeriodVireo
Product

Product features · Primitive text period

01

PeriodVireo supports review of exact repetition units, distinguishing a complete text power from a prefix followed by an unfinished copy.

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.

Primitive text period

● ● ●PeriodVireo●
A concrete starting point · Primitive text period ×
def primitive_period(text):
    if type(text) is not str or len(text) > 256:
        raise ValueError("period.input")
    if not text:
        return ""
    for width in range(1, len(text)+1):
        if len(text) % width == 0:
            root = text[:width]
            if root * (len(text)//width) == text:
                return root
✳Find the shortest unit whose repetitions exactly form a string of at most 256 Unicode code points.
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗