Nested Table Test Cases

1. Simple Data Table (no nesting)

Name Age City
Alice 30 New York
Bob 25 Los Angeles

2. Table with Nested Table

Category Details
Fruits
Name Color Price
Apple Red $1.50
Banana Yellow $0.75
Grape Purple $2.00
Vegetables
Name Color Price
Carrot Orange $0.50
Broccoli Green $1.25

3. Table with Lists in Cells

Topic Key Points Resources
Programming
  • Learn syntax
  • Practice algorithms
  • Build projects
  1. Documentation
  2. Tutorials
  3. Books
Design
  • Color theory
  • Typography
  • Layout principles
  1. Design blogs
  2. Courses
  3. Practice

4. Table with Images

Icon Description
Red square This is a red indicator showing an error state.
Green square This is a green indicator showing success.
Blue square This is a blue indicator showing information.

5. Table with Code Blocks

Language Hello World Example
Python
print("Hello, World!")
JavaScript
console.log("Hello, World!");
Rust
fn main() {
    println!("Hello, World!");
}

6. Table with Blockquotes

Author Famous Quote
Albert Einstein
Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
Carl Jung
Who looks outside, dreams; who looks inside, awakes.

7. Deeply Nested Tables (3 levels)

Level 1 Content
Outer
Level 2 Content
Middle
Level 3 Value
Inner A Deep value 1
Inner B Deep value 2

8. Table with Mixed Content

Feature Description Example
Rich Text

Supports italic, bold, and code formatting.

Also supports links.

  • Item with bold
  • Item with italic
Nested Structure
Sub-item 1Value 1
Sub-item 2Value 2
A quote inside a table cell with a nested table nearby.

9. Table with Rowspan and Colspan

Category Metrics
Q1 Q2
Sales $10,000 $15,000
$12,000 $18,000
Marketing Combined: $5,000

10. Complex Real-World Example: Product Comparison

Product Specifications Pricing
Laptop Pro

For professionals

SpecValue
CPUIntel i9
RAM32GB
Storage1TB SSD
  • Base: $2,499
  • With warranty: $2,799
Laptop Basic

For students

SpecValue
CPUIntel i5
RAM8GB
Storage256GB SSD
  • Base: $799
  • With warranty: $899
Table 1-5. Different prompts can cause models to perform very differently, as seen in Gemini’s technical report (December 2023).
Gemini Ultra Gemini Pro GPT-4 GPT-3.5 PaLM 2-L Claude 2 Inflection-2 Grok 1 Llama-2
MMLU performance 90.04%
CoT@32
79.13%
CoT@8
87.29%
CoT@32
(via API)
70%
5-shot
78.4%
5-shot
78.5%
5-shot CoT
79.6%
5-shot
73.0%
5-shot
68.0%
83.7%
5-shot
71.8%
5-shot
86.4%
5-shot (reported)