ReproNim / reproschema

A standardized form generation and data collection schema to harmonize results by design across projects.
https://www.repronim.org/reproschema/
Other
14 stars 21 forks source link

JsExpression explanation should be made more language agnostic #490

Open Remi-Gau opened 5 months ago

Remi-Gau commented 5 months ago

Minor issue

This currently reads as:

https://www.repronim.org/reproschema/schema/#computespecification

A JavaScript expression to compute a score from other variables.

This sort of presumes that only Javascript will be used for computation but I am now doing form validation with a python backend.

So I may end up putting python expression in something that says it should be Javascript. Probably would be a good thing if the schema had a way to capture what programming language is used for the expressions.

Same goes for the isVis where I am now expressing conditionals in python code and not JavaScript.

yibeichan commented 4 months ago

yes! we also encountered cases like SQL for a compute item...