```ruby
require 'yaml'
Criteria = YAML.load(File.open('criteria.yml')).freeze
```

Use indifferent access for Criteria hash.
user
```ruby
require 'yaml'
Criteria = YAML.load(File.open('criteria.yml')).with_indifferent_access.freeze
```
assistant