Skip to content

Instantly share code, notes, and snippets.

@blahutka
Created April 12, 2018 13:58
Show Gist options
  • Select an option

  • Save blahutka/eae1568322e6f3b7cca98ebc96aa1e3a to your computer and use it in GitHub Desktop.

Select an option

Save blahutka/eae1568322e6f3b7cca98ebc96aa1e3a to your computer and use it in GitHub Desktop.

Revisions

  1. blahutka created this gist Apr 12, 2018.
    12 changes: 12 additions & 0 deletions analysing.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    task_result_stats = {
    :task_11 => {
    result_count: { neutral: 2, pisitive: 0, negative: 1 },
    percent_score: { neutral: '66%', negative: '34%', positive: '0' },
    participants: 3,

    workers: {
    result: { :worker_1 => :neutral, :worker_22 => :neutral, :worker_4 => :negative },
    fitness_score: { 1 => 1, 22 => 1, 4 => -1 }
    }
    }
    }