sciolyff 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sciolyff +1 -1
- metadata +1 -2
- data/lib/sciolyff/interpreter/ztestscript.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9153506e0f7481dcf3ddbd69ac6033264697919beeda85b965db65507622da61
|
4
|
+
data.tar.gz: 9acd8fcbb58baec40e00ac36622c852458ae5105553ca5b8747c72cdd56af9f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34683f75b1187fe86cf82cf85e30389730ea22586870ec196032865632e4a6d2981978da6b331fcee13b76221f830e610202699d0b653a7fe9f05996fc84a19a
|
7
|
+
data.tar.gz: 55c846799992c318aac70cc6be160c32e4eefa0cc4ffff7368d7f5b6a9afdd86a38aeb60282485a5801ac3af389e2e421fc8382f039e6755c02a7bb5d335bfaa
|
data/bin/sciolyff
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sciolyff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Em Zhan
|
@@ -60,7 +60,6 @@ files:
|
|
60
60
|
- lib/sciolyff/interpreter/team.rb
|
61
61
|
- lib/sciolyff/interpreter/tiebreaks.rb
|
62
62
|
- lib/sciolyff/interpreter/tournament.rb
|
63
|
-
- lib/sciolyff/interpreter/ztestscript.rb
|
64
63
|
- lib/sciolyff/validator.rb
|
65
64
|
- lib/sciolyff/validator/checker.rb
|
66
65
|
- lib/sciolyff/validator/events.rb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'yaml'
|
4
|
-
require 'sciolyff/interpreter'
|
5
|
-
require 'sciolyff'
|
6
|
-
require 'pp'
|
7
|
-
|
8
|
-
FILENAME = '/home/qianm/Repositories/unosmium/unosmium.org/data/2019-04-27_OH_states_b.yaml'
|
9
|
-
|
10
|
-
rep = YAML.safe_load(File.read(FILENAME), symbolize_names: true); nil
|
11
|
-
interpreter = SciolyFF::Interpreter.new(rep)
|
12
|
-
# helper = SciolyFF::Helper.new(rep)
|
13
|
-
# helper.sort_teams_by_rank
|
14
|
-
|
15
|
-
pp interpreter.teams.map { |t| "#{t.number} #{t.school} #{t.points}" }
|
16
|
-
|
17
|
-
p interpreter.teams.first.medal_counts
|
18
|
-
|
19
|
-
p interpreter.teams.find { |t| t.number == 1 }.rank
|
20
|
-
|
21
|
-
# puts interpreter.teams.find { |t| t.exhibition? }.placings.map(&:points)
|