Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSA Schema #583

Merged
merged 10 commits into from
Jul 22, 2020
Merged

OSA Schema #583

merged 10 commits into from
Jul 22, 2020

Conversation

nllong
Copy link
Member

@nllong nllong commented Jul 14, 2020

  • Add an OSA JSON schema. The location is server/app/lib/analysis_library/schema/osa.json but I am thinking we should place in /server/schemas.
  • Should probably make a datapoint.json schema as well.

@nllong nllong requested a review from brianlball July 14, 2020 03:46
@@ -123,4 +123,6 @@ group :development, :test do
gem 'factory_bot_rails', '4.11.1' # 5.0.2 require ruby 2.3
gem 'mongoid-rspec'
gem 'rspec-html-matchers', '0.8.1'

gem 'json-schema', '2.8.0'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only needed for development.

@coveralls
Copy link

coveralls commented Jul 14, 2020

Coverage Status

Coverage increased (+0.2%) to 67.103% when pulling 1b65580 on add-osa-schema into 2d0c022 on develop.

"default": 2,
"minimum": 1
},
"popSize": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is popsize and popSize different?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they world be since json is case sensitive.

"default": 2,
"minimum": 0
},
"ppower": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used?

"type": "number",
"default": 5
},
"xoverdistidx": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we leave these for now even if they aren't used.

"type": "number",
"default": 2
},
"toursize": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used?

"minkowski", "maximum", "euclidean", "binary", "manhattan"
]
},
"normtype": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used?

"type": "number",
"default": 10
},
"mudistidx": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this used?

Copy link
Contributor

@brianlball brianlball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added algorithm params. there's some conflicts and some added before look unused?

@brianlball brianlball merged commit 8523280 into develop Jul 22, 2020
@brianlball brianlball deleted the add-osa-schema branch July 22, 2020 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants