Ramadan Prompting Nights
Ramadan Prompting Nights
Scenario-based prompting competition. 30 nights. 30 real-world coding scenarios.
by Sir Asharib Ali · for GIAIC Students
Write a Structured Prompt
Use Goal, Constraints, Edge Cases, and Output Format.
Run Tests
Validate generated code against challenge test cases.
Submit
Passed code gets a weighted score out of 100: Prompt Quality 60 + Correctness 20 + Efficiency 20.
Scoring Example
Prompt Quality (85/100)
- Goal: build robust validation utility.
- Constraints: handle null/empty safely.
- Edge Cases: missing fields, invalid email.
- Output Format: return error array.
Quality points = 85% of 60 = 51
Correctness (100/100)
- All tests passed: yes
- Required function name matched
- Output format matched expected shape
Correctness points = 100% of 20 = 20
Efficiency (80/100)
- Prompt tokens: 42
- Code tokens: 74
- Total efficiency tokens: 116
Efficiency points = 80% of 20 = 16
Final Weighted Score: 87 / 100 (higher is better)