INNER CODE UNIT · Python

avg_pr

wgpsec/AboutSecurity · scripts/bench-skill.py:356

                avg_pr = sum(prs) / len(prs) if prs else 0
                lines.append(f"- **{config.replace('_',' ').title()}**: {avg_pr*100:.0f}% pass rate ({len(config_runs)} runs)")
        lines.append("")

    # Notes
    if benchmark.get("notes"):
        lines.extend(["## Notes", ""])
        for note in benchmark["notes"]:
            lines.append(f"- {note}")

    return "\n".join(lines)


def run_skill_benchmark(
    skill_path: Path,
    runs_per_config: int = 1,
    model: str = None,
    timeout: int = 120,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…