From 07571a3f095bc534ec678f50ae9fdb957385b832 Mon Sep 17 00:00:00 2001 From: Kieran Klaassen Date: Fri, 23 Aug 2024 13:17:38 -0500 Subject: [PATCH] feat: more space --- .../leva/workbench/_results_section.html.erb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/leva/workbench/_results_section.html.erb b/app/views/leva/workbench/_results_section.html.erb index 2b73d04..bb900ea 100644 --- a/app/views/leva/workbench/_results_section.html.erb +++ b/app/views/leva/workbench/_results_section.html.erb @@ -1,4 +1,4 @@ -
+

Select Runner

@@ -48,12 +48,14 @@

Raw Prediction:

<%= runner_result.prediction %>
-
-

Parsed Predictions: <%= runner_result.dataset_record.recordable.extract_regex_pattern.to_s %>

- <% runner_result.parsed_predictions.each do |prediction| %> -
<%= prediction %>
- <% end %> -
+ <% if runner_result.dataset_record.recordable.extract_regex_pattern %> +
+

Parsed Predictions: <%= runner_result.dataset_record.recordable.extract_regex_pattern.to_s %>

+ <% runner_result.parsed_predictions.each do |prediction| %> +
<%= prediction %>
+ <% end %> +
+ <% end %>

Prompt version: <%= runner_result.prompt.version %>

Run <%= time_ago_in_words(runner_result.created_at) %> ago