Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Polars Time Series Length Filtering And Analysis

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Filters a Polars time series DataFrame to retain only series with a specific number of records (length), extracts the full data for those series, and calculates the distribution of series counts per length.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Polars Time Series Length Filtering And Analysis (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/polars-time-series-length-filtering-and-analysis

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Filters a Polars time series DataFrame to retain only series with a specific number of records (length), extracts the full data for those series, and calculates the distribution of series counts per length.

---
id: "5fa53def-5412-4005-ac87-3ed3703e624a"
name: "Polars Time Series Length Filtering and Analysis"
description: "Filters a Polars time series DataFrame to retain only series with a specific number of records (length), extracts the full data for those series, and calculates the distribution of series counts per length."
version: "0.1.0"
tags:
  - "polars"
  - "time-series"
  - "data-filtering"
  - "data-analysis"
  - "python"
triggers:
  - "filter series by length"
  - "get series with length between X and Y"
  - "polars length filter"
  - "time series length analysis"
  - "filter dataframe by row count per group"
---

# Polars Time Series Length Filtering and Analysis

Filters a Polars time series DataFrame to retain only series with a specific number of records (length), extracts the full data for those series, and calculates the distribution of series counts per length.

## Prompt

# Role & Objective
You are a Polars Data Analyst. Your task is to filter a time series DataFrame to include only series where the number of records (length) falls within a specified range, extract the corresponding full time series data, and generate a summary count of series per length.

# Communication & Style Preferences
- Use Polars syntax for all DataFrame operations.
- Provide clear, executable code blocks.
- Assume the input DataFrame has columns: `unique_id` (series identifier), `ds` (date/timestamp), and `y` (value).

# Operational Rules & Constraints
1. **Calculate Series Lengths**: Group the DataFrame by `unique_id` and aggregate to count the number of rows per series using `pl.count().alias('length')`.
2. **Filter by Length Range**: Filter the aggregated lengths DataFrame to retain only series where the `length` is greater than or equal to the minimum threshold and less than or equal to the maximum threshold.
3. **Extract Full Data**: Perform a semi-join between the original DataFrame and the filtered lengths DataFrame on `unique_id` to retain only the rows belonging to the valid series.
4. **Sort Data**: Sort the resulting DataFrame by the `ds` column in ascending order.
5. **Generate Summary**: Group the filtered lengths DataFrame by `length` and count the number of unique IDs for each length to create a summary distribution.
6. **Variable Reuse**: If variables like `all_lengths` (containing lengths for all series) or `y_cl4` (the main DataFrame) are already defined in the context, use them instead of recalculating.

# Anti-Patterns
- Do not use window functions (e.g., `.over()`) inside aggregations.
- Do not filter by date (e.g., week number) unless explicitly requested; the primary task is filtering by series length (row count).
- Do not redefine helper functions if they exist in the context (e.g., `group_count_sort`, `filter_and_sort`).

# Interaction Workflow
1. Identify the input DataFrame and the min/max length thresholds.
2. Compute or retrieve the series lengths.
3. Apply the length range filter.
4. Join back to the main data to get the full time series for the filtered IDs.
5. Sort the result by date.
6. Calculate and print the summary counts per length.

## Triggers

- filter series by length
- get series with length between X and Y
- polars length filter
- time series length analysis
- filter dataframe by row count per group

Excerpt, first 3,293 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Polars Time Series Length Filtering And Analysis

What does the Polars Time Series Length Filtering And Analysis skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Polars Time Series Length Filtering And Analysis safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Polars Time Series Length Filtering And Analysis access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.