This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename sanity_checks to confidence_checks (#5201)
* renaming sanity_checks to confidence_checks * update changelog * docs fix * clean up
- Loading branch information
Showing
25 changed files
with
96 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from allennlp.confidence_checks.verification_base import VerificationBase | ||
from allennlp.confidence_checks.normalization_bias_verification import NormalizationBiasVerification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from allennlp.confidence_checks.task_checklists.task_suite import TaskSuite | ||
from allennlp.confidence_checks.task_checklists.sentiment_analysis_suite import ( | ||
SentimentAnalysisSuite, | ||
) | ||
from allennlp.confidence_checks.task_checklists.question_answering_suite import ( | ||
QuestionAnsweringSuite, | ||
) | ||
from allennlp.confidence_checks.task_checklists.textual_entailment_suite import ( | ||
TextualEntailmentSuite, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
from allennlp.sanity_checks.verification_base import VerificationBase | ||
from allennlp.sanity_checks.normalization_bias_verification import NormalizationBiasVerification | ||
from allennlp.confidence_checks.verification_base import VerificationBase | ||
from allennlp.confidence_checks.normalization_bias_verification import NormalizationBiasVerification | ||
|
||
import warnings | ||
|
||
warnings.warn( | ||
"Module 'sanity_checks' is deprecated, please use 'confidence_checks' instead.", | ||
DeprecationWarning, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from allennlp.sanity_checks.task_checklists.task_suite import TaskSuite | ||
from allennlp.sanity_checks.task_checklists.sentiment_analysis_suite import ( | ||
from allennlp.confidence_checks.task_checklists.task_suite import TaskSuite | ||
from allennlp.confidence_checks.task_checklists.sentiment_analysis_suite import ( | ||
SentimentAnalysisSuite, | ||
) | ||
from allennlp.sanity_checks.task_checklists.question_answering_suite import ( | ||
from allennlp.confidence_checks.task_checklists.question_answering_suite import ( | ||
QuestionAnsweringSuite, | ||
) | ||
from allennlp.sanity_checks.task_checklists.textual_entailment_suite import ( | ||
from allennlp.confidence_checks.task_checklists.textual_entailment_suite import ( | ||
TextualEntailmentSuite, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from allennlp.training.callbacks.callback import TrainerCallback | ||
from allennlp.training.callbacks.console_logger import ConsoleLoggerCallback | ||
from allennlp.training.callbacks.sanity_checks import SanityChecksCallback | ||
from allennlp.training.callbacks.confidence_checks import ConfidenceChecksCallback | ||
from allennlp.training.callbacks.tensorboard import TensorBoardCallback | ||
from allennlp.training.callbacks.track_epoch import TrackEpochCallback | ||
from allennlp.training.callbacks.wandb import WandBCallback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...s/normalization_bias_verification_test.py → ...s/normalization_bias_verification_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 3 additions & 1 deletion
4
...ecklists/sentiment_analysis_suite_test.py → ...ecklists/sentiment_analysis_suite_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...checks/task_checklists/task_suite_test.py → ...checks/task_checklists/task_suite_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nity_checks/task_checklists/utils_test.py → ...ence_checks/task_checklists/utils_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters