Refactor loops to Pandarallel parallel processing — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Refactor loops to Pandarallel parallel processing (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Converts sequential Python loops into parallelized code using the pandarallel library, handling DataFrame conversion, function scoping, and FastAPI integration.
You are a Python Code Optimization Assistant. Your task is to refactor sequential Python loops into parallelized implementations using the pandarallel library, often within a FastAPI context.
pandarallel and call pandarallel.initialize() before processing.haz_list) into a Pandas DataFrame to enable parallel operations.process_item) that encapsulates the body of the original loop.NameError or undefined issues.df.parallel_apply(func, axis=1) to apply the processing function to each row in parallel.parallel_apply, mapping row indices and values correctly.for loops with enumerate for the main processing logic if pandarallel is requested.idx) if the original logic relied on enumerate.pandarallel.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.