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

Add units to config fields #370

Merged
merged 9 commits into from
Jan 17, 2023
Merged

Add units to config fields #370

merged 9 commits into from
Jan 17, 2023

Conversation

nandhinibsn
Copy link
Contributor

@nandhinibsn nandhinibsn commented Jan 10, 2023

Resolve #

Description:

Added units to the following config sub fields:
Dataset warnings:
max_delta_class_imbalance
max_delta_mean_tokens
max_delta_representation
max_delta_std_tokens
min_num_per_class
Syntax
short_sentence_max_token
long_sentence_min_token
Similarity:
conflicting_neighbors_threshold
no_close_threshold
Uncertainty:
iterations
high_epistemic_threshold
Postprocesors:
temperature
threshold

Checklist:

You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

  • ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
  • PRE-COMMIT. You ran pre-commit on all commits, or else, you
    ran pre-commit run --all-files at the end.
  • USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
    our users.
  • DEV CHANGES.
    • Update the documentation if this PR changes how to develop/launch on the app.
    • Update the README files and our wiki for any big design decisions, if relevant.
    • Add unit tests, docstrings, typing and comments for complex sections.

@nandhinibsn
Copy link
Contributor Author

Hey @gabegma, Please confirm if these are the expected fields to have the units displayed and also, please share the units for each one. Thanks!

* One configuration object to rule them all

* Create a `NumberField` component

* Move utility functions outside `Settings`

as much as possible to avoid unnecessarily redefining them on every render.

* Add temperature to CLINC Dummy multi pipelines
HTML considers input values outside of the `step` to be invalid and automatically adds a basic tooltip. In our context, we don't think it's an error, so let's hide the basic tooltip.
@JosephMarinier JosephMarinier enabled auto-merge (squash) January 17, 2023 22:49
@JosephMarinier JosephMarinier merged commit 17877f9 into main Jan 17, 2023
@JosephMarinier JosephMarinier deleted the ConfigPage/AddUnits branch January 17, 2023 23:06
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