Gemini api for my app

Hello everyone,

I am starting this thread to test, evaluate, and benchmark the current capabilities of the Gemini API. I wanted to create a space where we can share specific prompts and analyze how Gemini responds to different types of challenges.

Here are the areas I am planning to test in this thread:

1. Complex Reasoning: How well does Gemini handle multi-step logic puzzles and math word problems?

2. Coding & Debugging: Testing its ability to write clean code and find hidden bugs in existing scripts.

3. Context Window: How accurately does it recall information from a very long document?

4. Instruction Following: Does it strictly adhere to formatting constraints (like JSON output or specific word counts)?

Test Case 1: Advanced Python Code Generation

My Prompt:

“Write a professional Python program that analyzes a list of numbers, calculates the average, median, minimum, maximum, and standard deviation. Handle empty lists and invalid inputs properly. Return the results in valid JSON format.”

Gemini’s Response:

“Gemini generated a Python program that calculates all requested statistical values, validates the input, handles empty lists, and returns the results in JSON format.”

My Feedback:

“The response was well-structured and the code was easy to understand. Gemini handled the basic calculations correctly and considered invalid inputs. Overall, it demonstrated good coding and instruction-following capabilities.”

I invite all developers here to share their own stress tests, prompts, and results. Let’s see where Gemini excels and where it still needs improvement!

For the statistics benchmark, try [1, 2, 3, 4]: mean and median must both be 2.5, but population and sample standard deviation differ (sqrt(1.25) vs sqrt(5/3)). Ask the model to specify which convention it uses, then test empty input, a singleton, NaN and booleans. This is a suggested test case, not a measured Gemini result.