KuangshiAi commited on
Commit
452dc80
·
1 Parent(s): 78c3fbc

modify bioimage_agent eval cases

Browse files
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
.gitattributes CHANGED
@@ -11,6 +11,4 @@
11
  *.vtu filter=lfs diff=lfs merge=lfs -text
12
  *.vti filter=lfs diff=lfs merge=lfs -text
13
  *.cif filter=lfs diff=lfs merge=lfs -text
14
- eval_cases/napari/1_workflows/GT/dataset002_1.jpg filter=lfs diff=lfs merge=lfs -text
15
- eval_cases/napari/1_workflows/GT/dataset002_2.jpg filter=lfs diff=lfs merge=lfs -text
16
  *.nc filter=lfs diff=lfs merge=lfs -text
 
11
  *.vtu filter=lfs diff=lfs merge=lfs -text
12
  *.vti filter=lfs diff=lfs merge=lfs -text
13
  *.cif filter=lfs diff=lfs merge=lfs -text
 
 
14
  *.nc filter=lfs diff=lfs merge=lfs -text
eval_cases/napari/1_workflows/GT/dataset002_2.jpg → bioimage_data/GS/dataset_001.png RENAMED
File without changes
eval_cases/napari/1_workflows/GT/dataset002_1.jpg → bioimage_data/GS/dataset_002_1.png RENAMED
File without changes
bioimage_data/GS/dataset_002_2.png ADDED

Git LFS Details

  • SHA256: 8fe41dc258e7144bab070f2055c8f84850494187441303c67b549a95c2f038a6
  • Pointer size: 131 Bytes
  • Size of remote file: 389 kB
eval_cases/napari/1_workflows/GT/dataset003_1.png → bioimage_data/GS/dataset_003.png RENAMED
File without changes
eval_cases/napari/1_workflows/eval_analysis_workflows.yaml CHANGED
@@ -5,15 +5,18 @@
5
  # Test: Cell Counting and Measurement Analysis
6
  - vars:
7
  question: |
8
- 1. Load the image "data/dataset_002/dataset_002.tif" and set it to red colormap for channel 0 and green colormap for channel 1.
9
- 2. Take a screenshot and analyze it to count how many complete cells are visible (not cut off by edges).
10
- 3. Add point annotations to mark the center of each counted cell.
11
- 4. Measure the distance between the two most distant cells.
12
- 5. Respond with the number of complete cells you counted, for example "5" if you see 5 complete cells.
 
13
  assert:
14
  - type: llm-rubric
15
- value:
16
- - It counted 2 complete cells
 
 
17
  options:
18
  cache: false
19
  runSerially: true
@@ -21,17 +24,16 @@
21
  # Test: Statistical Analysis and Data Export
22
  - vars:
23
  question: |
24
- 1. Get basic statistics (min, max, mean, std) for the loaded layer.
25
- 2. Extract the raw layer data and examine its properties.
26
- 3. Save the current layer to a file for further analysis.
27
- 4. Export a screenshot of the current view for documentation.
 
28
  assert:
29
- - type: llm-rubric
30
- value:
31
- - The statistical analysis was successfully performed and reported min, max, mean, and std values
32
- - The layer data was extracted and its properties were examined
33
- - The layer was saved to a file
34
- - A screenshot was exported for documentation
35
  options:
36
  cache: false
37
  runSerially: true
@@ -42,14 +44,12 @@
42
  1. Add point annotations to mark specific features of interest in the image.
43
  2. Add shape annotations (rectangles or circles) to highlight regions of interest.
44
  3. Measure distances between multiple pairs of points.
45
- 4. Take a screenshot showing all annotations and measurements.
46
  assert:
47
  - type: llm-rubric
48
- value:
49
- - Point annotations were successfully added to mark features of interest
50
- - Shape annotations (rectangles or circles) were added to highlight regions
51
- - Distance measurements were performed between points
52
- - A screenshot was taken showing the annotations and measurements
53
  options:
54
  cache: false
55
  runSerially: true
@@ -57,16 +57,16 @@
57
  # Test: Time Series Analysis (if applicable)
58
  - vars:
59
  question: |
60
- 1. If the data has time dimensions, navigate through different time points.
61
- 2. Compare cellular structures between different time points.
62
- 3. Take screenshots at different time points to show temporal changes.
63
- 4. If no time dimension exists, simulate time series analysis by adjusting the current view and taking multiple screenshots.
 
64
  assert:
65
- - type: llm-rubric
66
- value:
67
- - Time series analysis was attempted, either by navigating time dimensions or simulating temporal changes
68
- - Cellular structures were compared between different time points or views
69
- - Multiple screenshots were taken to document temporal or view changes
70
  options:
71
  cache: false
72
  runSerially: true
@@ -77,14 +77,14 @@
77
  1. Define a region of interest by cropping the layer to a specific area.
78
  2. Analyze the cropped region separately from the full dataset.
79
  3. Compare statistics between the full dataset and the cropped region.
80
- 4. Take screenshots of both the full view and the cropped region.
 
81
  assert:
82
  - type: llm-rubric
83
- value:
84
- - A region of interest was defined by cropping the layer to a specific area
85
- - The cropped region was analyzed separately from the full dataset
86
- - Statistics were compared between the full dataset and the cropped region
87
- - Screenshots were taken of both the full view and the cropped region
88
  options:
89
  cache: false
90
  runSerially: true
@@ -92,13 +92,13 @@
92
  # Test: Cleanup - Reset for next test run
93
  - vars:
94
  question: |
95
- 1. Delete all loaded layers and remove any annotations to prepare for the next test run.
 
96
  assert:
97
- - type: llm-rubric
98
- value:
99
- - All loaded layers were successfully deleted
100
- - All annotations were removed
101
- - The environment is clean and ready for the next test run
102
  options:
103
  cache: false
104
- runSerially: true
 
5
  # Test: Cell Counting and Measurement Analysis
6
  - vars:
7
  question: |
8
+ Load the image "data/dataset_001/dataset_001.tiff" and set it to magenta colormap.
9
+ Take a screenshot and analyze it to count how many complete cells are visible (not cut off by edges).
10
+ Add point annotations to mark the center of each counted cell.
11
+ Measure the distance between the two most distant cells.
12
+ Q1: answer with the number of complete cells you counted, for example "5" if you see 5 complete cells.
13
+ Save the answer of Q1 to the questions in plain text as "eval_analysis_workflows/Q1_answer.txt".
14
  assert:
15
  - type: llm-rubric
16
+ subtype: text
17
+ value: |
18
+ 1. Q1 correct answer: 2
19
+ rs-file: eval_analysis_workflows/Q1_answer.txt
20
  options:
21
  cache: false
22
  runSerially: true
 
24
  # Test: Statistical Analysis and Data Export
25
  - vars:
26
  question: |
27
+ Get basic statistics (min, max, mean, std) for the loaded layer.
28
+ Extract the raw layer data and examine its properties.
29
+ Save the current layer to a file for further analysis.
30
+ Export a screenshot of the current view for documentation.
31
+ Respond with <1> if the statistical analysis and data export were successful, or <0> if it failed. Only respond with <1> or <0>.
32
  assert:
33
+ - type: contains-all
34
+ value: "<1>"
35
+ - type: not-contains
36
+ value: "<0>"
 
 
37
  options:
38
  cache: false
39
  runSerially: true
 
44
  1. Add point annotations to mark specific features of interest in the image.
45
  2. Add shape annotations (rectangles or circles) to highlight regions of interest.
46
  3. Measure distances between multiple pairs of points.
47
+ 4. Take a screenshot showing all annotations and measurements, save it to "eval_analysis_workflows/screenshot_1.png".
48
  assert:
49
  - type: llm-rubric
50
+ value: |
51
+ 1. The screenshot shows the point and shape annotations, and measurements
52
+ rs-file: eval_analysis_workflows/screenshot_1.png
 
 
53
  options:
54
  cache: false
55
  runSerially: true
 
57
  # Test: Time Series Analysis (if applicable)
58
  - vars:
59
  question: |
60
+ If the data has time dimensions, navigate through different time points.
61
+ Compare cellular structures between different time points.
62
+ Take screenshots at different time points to show temporal changes.
63
+ If no time dimension exists, simulate time series analysis by adjusting the current view and taking multiple screenshots.
64
+ Respond with <1> if the time series analysis was successful, or <0> if it failed. Only respond with <1> or <0>.
65
  assert:
66
+ - type: contains-all
67
+ value: "<1>"
68
+ - type: not-contains
69
+ value: "<0>"
 
70
  options:
71
  cache: false
72
  runSerially: true
 
77
  1. Define a region of interest by cropping the layer to a specific area.
78
  2. Analyze the cropped region separately from the full dataset.
79
  3. Compare statistics between the full dataset and the cropped region.
80
+ 4. Take a screenshot of the full view and save it to "eval_analysis_workflows/screenshot_2.png".
81
+ 5. Take a screenshot of the cropped region and save it to "eval_analysis_workflows/screenshot_3.png".
82
  assert:
83
  - type: llm-rubric
84
+ subtype: vision
85
+ value: |
86
+ 1. This screenshot shows the full dataset with the cropped region highlighted.
87
+ rs-file: eval_analysis_workflows/screenshot_2.png
 
88
  options:
89
  cache: false
90
  runSerially: true
 
92
  # Test: Cleanup - Reset for next test run
93
  - vars:
94
  question: |
95
+ Delete all loaded layers and remove any annotations to prepare for the next test run.
96
+ Respond with <1> if all layers and annotations were successfully removed, or <0> if it failed. Only respond with <1> or <0>.
97
  assert:
98
+ - type: contains-all
99
+ value: "<1>"
100
+ - type: not-contains
101
+ value: "<0>"
 
102
  options:
103
  cache: false
104
+ runSerially: true
eval_cases/napari/1_workflows/eval_figure_recreation.yaml CHANGED
@@ -13,11 +13,16 @@
13
  6. Take a screenshot of your recreation.
14
  7. If the recreation does not match the target figure, adjust the visualization settings and take a screenshot again.
15
  8. Stop when the recreation matches the target figure or you have tried five different visualization settings.
 
16
  assert:
17
  - type: llm-rubric
18
  subtype: vision
19
  value: |
20
- 1. Does the rendering look similar to GT/dataset001.jpg?
 
 
 
 
21
  options:
22
  cache: false
23
  runSerially: true
 
13
  6. Take a screenshot of your recreation.
14
  7. If the recreation does not match the target figure, adjust the visualization settings and take a screenshot again.
15
  8. Stop when the recreation matches the target figure or you have tried five different visualization settings.
16
+ 9. Save the final screenshot to "eval_figure_recreation/screenshot.png".
17
  assert:
18
  - type: llm-rubric
19
  subtype: vision
20
  value: |
21
+ 1. Does the result screenshot look similar to the ground truth image?
22
+ 2. Are the same colormaps and blending modes used as in the target figure?
23
+ 3. Is the contrast and gamma adjusted to match the target figure?
24
+ gs-file: GS/dataset_001.png
25
+ rs-file: eval_figure_recreation/screenshot.png
26
  options:
27
  cache: false
28
  runSerially: true
eval_cases/napari/1_workflows/eval_iso_surface_determination.yaml CHANGED
@@ -11,15 +11,15 @@
11
  5. Rotate the camera to several angles and take a screenshot of the result each time to check if the target structure is clearly visible from different angles.
12
  6. If the target structure is not clearly visible, adjust the iso surface value and take a screenshot again.
13
  7. Stop when the target structure is clearly visible or you have tried five different iso surface values.
 
14
  assert:
15
  - type: llm-rubric
16
  subtype: vision
17
  value: |
18
- 1. Does the visualization show the target structure clearly?
19
- - type: llm-rubric
20
- subtype: vision
21
- value: |
22
- 1. Does the rendering look similar to GT/dataset003_1.jpg?
23
  options:
24
  cache: false
25
  runSerially: true
 
11
  5. Rotate the camera to several angles and take a screenshot of the result each time to check if the target structure is clearly visible from different angles.
12
  6. If the target structure is not clearly visible, adjust the iso surface value and take a screenshot again.
13
  7. Stop when the target structure is clearly visible or you have tried five different iso surface values.
14
+ 8. Save the final screenshot to "eval_iso_surface_determination/screenshot.png".
15
  assert:
16
  - type: llm-rubric
17
  subtype: vision
18
  value: |
19
+ 1. Does the result rendering look similar to ground truth?
20
+ 2. Does the visualization show the target structure clearly?
21
+ gs-file: GS/dataset_003.png
22
+ rs-file: eval_iso_surface_determination/screenshot.png
 
23
  options:
24
  cache: false
25
  runSerially: true
eval_cases/napari/1_workflows/eval_visualization_workflows.yaml CHANGED
@@ -10,20 +10,21 @@
10
  4. Use additive blending for all channels to create an overlay visualization.
11
  5. Go the timestep 14.
12
  Q1: Does the cell show protrusions? (Yes/No)
13
- 6. Take a screenshot of the result.
 
14
  assert:
15
  - type: llm-rubric
16
  subtype: vision
17
  value: |
18
  1. Does the visualization show a green cell with red blobs on the inside?
19
- - type: llm-rubric
20
- subtype: vision
21
- value: |
22
- 1. Does the rendering look similar to GT/dataset002_1.jpg
23
  - type: llm-rubric
24
  subtype: text
25
  value: |
26
- 1. Q1 correct answer: Yes
 
27
  options:
28
  cache: false
29
  runSerially: true
@@ -32,12 +33,13 @@
32
  - vars:
33
  question: |
34
  1. Set all layers invisible except for the layer that contains the individual cells.
35
- 2. Take a screenshots of the result.
36
  assert:
37
  - type: llm-rubric
38
  subtype: vision
39
  value: |
40
- 1. Are there only the green cells visible with no red blobs on the inside?
 
41
  options:
42
  cache: false
43
  runSerially: true
@@ -48,16 +50,15 @@
48
  1. Start in the 3D view
49
  2. Zoom into the cell with protrusions until the cell fills up the entire viewport.
50
  3. Rotate the camera to show the 3D data from a different perspective (side view).
51
- 4. Take a screenshot.
52
  assert:
53
  - type: llm-rubric
54
  subtype: vision
55
  value: |
56
  1. Does the visualization show the green cell from the side?
57
- - type: llm-rubric
58
- subtype: vision
59
- value: |
60
- 1. Does the rendering look similar to GT/dataset002_2.jpg
61
 
62
  options:
63
  cache: false
 
10
  4. Use additive blending for all channels to create an overlay visualization.
11
  5. Go the timestep 14.
12
  Q1: Does the cell show protrusions? (Yes/No)
13
+ 6. Take a screenshot of the result, save it to "eval_visualization_workflows/screenshot_1.png"
14
+ 7. Answer Q1 in a plain text file "eval_visualization_workflows/Q1_answer.txt".
15
  assert:
16
  - type: llm-rubric
17
  subtype: vision
18
  value: |
19
  1. Does the visualization show a green cell with red blobs on the inside?
20
+ 2. Does the result rendering look similar to ground truth?
21
+ gs-file: GS/dataset_002_1.png
22
+ rs-file: eval_visualization_workflows/screenshot_1.png
 
23
  - type: llm-rubric
24
  subtype: text
25
  value: |
26
+ 1. Q1 correct answer: Yes
27
+ rs-file: eval_visualization_workflows/Q1_answer.txt
28
  options:
29
  cache: false
30
  runSerially: true
 
33
  - vars:
34
  question: |
35
  1. Set all layers invisible except for the layer that contains the individual cells.
36
+ 2. Take a screenshots of the result, save it to "eval_visualization_workflows/screenshot_2.png".
37
  assert:
38
  - type: llm-rubric
39
  subtype: vision
40
  value: |
41
+ 1. Are there only the green cells visible with no red blobs on the inside?
42
+ rs-file: eval_visualization_workflows/screenshot_2.png
43
  options:
44
  cache: false
45
  runSerially: true
 
50
  1. Start in the 3D view
51
  2. Zoom into the cell with protrusions until the cell fills up the entire viewport.
52
  3. Rotate the camera to show the 3D data from a different perspective (side view).
53
+ 4. Take a screenshot of the result, save it to "eval_visualization_workflows/screenshot_3.png".
54
  assert:
55
  - type: llm-rubric
56
  subtype: vision
57
  value: |
58
  1. Does the visualization show the green cell from the side?
59
+ 2. Does the result rendering look similar to the ground truth image?
60
+ gs-file: GS/dataset_002_2.jpg
61
+ rs-file: eval_visualization_workflows/screenshot_3.png
 
62
 
63
  options:
64
  cache: false