Skip to content

Commit 04af359

Browse files
committed
Changed testing naming scheme
1 parent da6744b commit 04af359

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

server/src/gpt-controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,21 +342,21 @@ export class GPTController {
342342
console.log(
343343
`Getting Specifc Data for Part ${part.name} File ID: ${fileId} (Thread ID: ${threadId})`,
344344
);
345-
part.seeData.push(await this.runThread(threadId, assistantId));
345+
part.sees.push(await this.runThread(threadId, assistantId));
346346
} else if (test === "TID") {
347347
await this.addMessage(
348348
threadId,
349349
fileId,
350350
`You are to only look for data related to this part ${part.name}, ${questions.tidData.prompt}`,
351351
);
352-
part.tidData.push(await this.runThread(threadId, assistantId));
352+
part.tids.push(await this.runThread(threadId, assistantId));
353353
} else if (test === "DD") {
354354
await this.addMessage(
355355
threadId,
356356
fileId,
357357
`You are to only look for data related to this part ${part.name}, ${questions.ddData.prompt}`,
358358
);
359-
part.ddData.push(await this.runThread(threadId, assistantId));
359+
part.dds.push(await this.runThread(threadId, assistantId));
360360
} else {
361361
console.log("Passing", test);
362362
}

server/src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ export type ai_part = {
100100
manufacturer: string;
101101
other_details: string;
102102
preliminary_test_types: PreliminaryTestType[];
103-
tidData: TIDDataType[];
104-
seeData: SEEDataType[];
105-
ddData: DDDataType[];
103+
tids: TIDDataType[];
104+
sees: SEEDataType[];
105+
dds: DDDataType[];
106106
};
107107

108108
export type PreliminaryTestType = "SEE" | "TID" | "DD" | string;

0 commit comments

Comments
 (0)