Loading AI Model
TESTING FUNCTION
Initializing...

FUNCTION ARENA // RULES

šŸŽÆ OBJECTIVE

Create precise function definitions that trigger in the RIGHT scenarios and stay silent in the WRONG ones. You're competing against other functions for attention.

šŸ“ HOW TO PLAY

1. Review the test scenarios - some should trigger your function (āœ“ SHOULD), others shouldn't (āœ— SHOULD NOT)

2. Write your function definition with a clear name and description

3. Add parameters with proper types and descriptions (optional but helps)

4. Use enums to constrain values when appropriate

5. Test your function against all scenarios

šŸ”§ FUNCTION SCHEMA FORMAT

Your function follows the JSON Schema / OpenAPI format:

  • name: Function identifier (e.g., "get_weather")
  • description: What your function does - BE SPECIFIC
  • parameters: Object with type definitions
  • properties: Define each parameter with type, description
  • required: Array of required parameter names
  • enum: Use to limit values (e.g., ["celsius", "fahrenheit"])

šŸ’” PRO TIPS

Names matter: Specific names beat generic ones. "fetch_user_profile" > "get_data"

Descriptions are key: AI reads your description to decide. Be clear about WHAT and WHEN.

Use enums wisely: They constrain inputs and make intent clearer.

Think like AI: What keywords would make YOUR function the obvious choice?

šŸ“Š SCORING

+100 points for each correct trigger (when you SHOULD)

-50 points for each incorrect trigger (when you SHOULDN'T)

+50 bonus points for each FALSE scenario where you correctly didn't trigger

Compete against 0-5 competitor functions trying to steal your scenarios!

šŸŽ“ LEARNING PATH

Levels progress from basic scenarios to complex edge cases:

• Novice: Simple, clear scenarios

• Intermediate: Ambiguous queries, need precision

• Advanced: Multiple competitors, overlapping domains

• Expert: Complex parameters, enums required

• Master: Multi-domain confusion, extreme precision needed

BUILD YOUR FUNCTION

INITIALIZING...

Loading challenge parameters...

TEST_SCENARIOS
YOUR FUNCTION DEFINITION āœ“ Pre-filled template • Edit to refine
PARSED OUTPUT Validation
// Your JSON will be validated here...
šŸ’” STRATEGIC HINTS
RESULTS +0
āš™ļø EXECUTION LOGS // Real-time Model Behavior
Logs will appear here when you test a function...