Found via `codespell -S .mypy_cache,yarn.lock,*.json,*.ipynb -L
rouge,nam,vie`
This commit is contained in:
Kian-Meng Ang
2023-02-05 20:18:03 +01:00
committed by GitHub
parent 364a4f5aa3
commit 1e321a6fca
32 changed files with 50 additions and 50 deletions
@@ -156,7 +156,7 @@ const getLabelInfo = (label: string): LabelInfo => {
zeroText: "Clean",
zeroDescription: [],
oneText: "Contains PII",
oneDescription: ["Contains personally identifing information"],
oneDescription: ["Contains personally identifying information"],
inverted: false,
};
case "quality":
@@ -12,7 +12,7 @@ export const useGenericTaskAPI = <TaskType extends BaseTask, ResponseContent = A
): TaskApiHook<TaskType, ResponseContent> => {
const [response, setResponse] = useState<TaskResponse<TaskType>>({ taskAvailability: "AWAITING_INITIAL" });
// Note: We use isValidating to indiate we are loading beause it signals eash load, not just the first one.
// Note: We use isValidating to indicate we are loading because it signals eash load, not just the first one.
const { isValidating: isLoading, mutate: requestNewTask } = useSWRImmutable<ServerTaskResponse<TaskType>>(
"/api/new_task/" + taskType,
get,
+1 -1
View File
@@ -7,7 +7,7 @@ import { getBackendUserCore, getUserLanguage } from "src/lib/users";
/**
* Stores the task interaction with the Task Backend and then returns the next task generated.
*
* This implicity does a few things:
* This implicitly does a few things:
* 1) Records the users answer in our local database.
* 2) Accepts the task.
* 3) Sends the users answer to the Task Backend.
+1 -1
View File
@@ -1,4 +1,4 @@
# Page Tests
Put all page tests in this directory with the patter `MyPage.test.jsx`. We can't place them in `src/pages` due to how
Put all page tests in this directory with the pattern `MyPage.test.jsx`. We can't place them in `src/pages` due to how
NextJS generates page routes.