יום ראשון, 4 באוקטובר 2026 LIVE
AI־INFO

כתבה arXiv cs.AI ·

בדיקת מוטציה מעבר לכללים: יצירת מוטנטים תוך שימוש במודלי שפה גדולים

Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Models
חוקרים הציגו שיטה חדשה ליצירת מוטנטים תוך שימוש במודלי שפה גדולים. השיטה, הנקראת 'יצירת מוטנטים תוך כדי בדיקה', מאפשרת למודלים ליצור מוטנטים שעוברים את הבדיקות היסודיות, אך נתפסים על ידי האורקל. השיטה נבדקה עם חמישה מודלים שונים, כולל Gemini ו-GPT, והראתה תוצאות משמעותיות.
תקציר מקורי באנגליתarXiv:2609.35841v1 Announce Type: cross Abstract: Mutation testing evaluates test-suite adequacy by injecting synthetic faults into program code. However, traditional rule-based tools often generate large numbers of trivial, redundant, or equivalent mutants that limit their practical use for identifying gaps in a test suite. While recent large language model (LLM)-based approaches generate more realistic faults, most remain test-blind: The model sees only the source code and cannot reason about what existing tests already cover. We propose test-aware mutant generation, in which an LLM receives the problem statement, canonical solution and base tests in a single prompt, and must generate a nontrivial mutant that passes the base unit tests. We evaluate this approach across a set of five LLMs
קרא במקור המקורי