terryyz's picture
Deduplicate SWE Arena preference dataset based on instruction similarity (threshold=0.8)
af7c83c verified
metadata
dataset_info:
  features:
    - name: type
      dtype: string
    - name: feedback
      struct:
        - name: correctness
          dtype: string
        - name: efficiency
          dtype: string
        - name: explainability
          dtype: string
        - name: maintainability
          dtype: string
        - name: ui_ux_design
          dtype: string
        - name: vote_type
          dtype: string
    - name: models
      struct:
        - name: model_A
          dtype: string
        - name: model_B
          dtype: string
    - name: chat_session_id
      dtype: string
    - name: instruction
      dtype: string
    - name: states
      struct:
        - name: model_A
          struct:
            - name: chat_mode
              dtype: string
            - name: chat_session_id
              dtype: string
            - name: chat_start_time
              dtype: string
            - name: conv_id
              dtype: string
            - name: messages
              sequence:
                sequence: string
            - name: model_name
              dtype: string
            - name: offset
              dtype: int64
            - name: roles
              sequence: string
            - name: sandbox_logs_by_round
              struct:
                - name: '1'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '2'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '3'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '4'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '5'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '6'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      dtype: 'null'
                - name: '7'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      dtype: 'null'
            - name: system_message
              dtype: string
            - name: template_name
              dtype: string
            - name: total_rounds
              dtype: int64
        - name: model_B
          struct:
            - name: chat_mode
              dtype: string
            - name: chat_session_id
              dtype: string
            - name: chat_start_time
              dtype: string
            - name: conv_id
              dtype: string
            - name: messages
              sequence:
                sequence: string
            - name: model_name
              dtype: string
            - name: offset
              dtype: int64
            - name: roles
              sequence: string
            - name: sandbox_logs_by_round
              struct:
                - name: '1'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '2'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '3'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '4'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '5'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      list:
                        - name: height
                          dtype: float64
                        - name: key
                          dtype: string
                        - name: scrollLeft
                          dtype: float64
                        - name: scrollTop
                          dtype: float64
                        - name: time
                          dtype: string
                        - name: type
                          dtype: string
                        - name: width
                          dtype: float64
                        - name: x
                          dtype: float64
                        - name: 'y'
                          dtype: float64
                - name: '6'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      dtype: 'null'
                - name: '7'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      dtype: 'null'
                - name: '8'
                  struct:
                    - name: enabled_round
                      dtype: int64
                    - name: filename
                      dtype: string
                    - name: sandbox_run_round
                      dtype: int64
                    - name: sandbox_state
                      struct:
                        - name: auto_selected_sandbox_environment
                          dtype: string
                        - name: btn_list_length
                          dtype: int64
                        - name: chat_session_id
                          dtype: string
                        - name: code_dependencies
                          sequence:
                            sequence: string
                        - name: code_language
                          dtype: string
                        - name: code_to_execute
                          dtype: string
                        - name: conv_id
                          dtype: string
                        - name: edit_round
                          dtype: int64
                        - name: enable_sandbox
                          dtype: bool
                        - name: enabled_round
                          dtype: int64
                        - name: sandbox_environment
                          dtype: string
                        - name: sandbox_error
                          dtype: string
                        - name: sandbox_id
                          dtype: string
                        - name: sandbox_instruction
                          dtype: string
                        - name: sandbox_output
                          dtype: string
                        - name: sandbox_run_round
                          dtype: int64
                        - name: screenshot_base64
                          dtype: string
                        - name: screenshot_path
                          dtype: string
                    - name: user_interaction_records
                      dtype: 'null'
            - name: system_message
              dtype: string
            - name: template_name
              dtype: string
            - name: total_rounds
              dtype: int64
  splits:
    - name: train
      num_bytes: 1293596306.8962026
      num_examples: 4876
  download_size: 852106325
  dataset_size: 1293596306.8962026
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*