Skip to content

Commit 5f9fd32

Browse files
committed
chore: remove development artifacts
1 parent 5a10d1a commit 5f9fd32

File tree

8 files changed

+2
-19
lines changed

8 files changed

+2
-19
lines changed

components/CourseSettings/AssignmentExclusions.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,7 @@ const AssignmentExclusions: React.FC<AssignmentExclusionsProps> = ({
114114
availableItems={availableItems}
115115
selectedItems={selectedItems}
116116
setAvailableItems={setAvailableItems}
117-
setSelectedItems={(items) => {
118-
console.log("setSelectedItems", items);
119-
setSelectedItems(items);
120-
}}
117+
setSelectedItems={setSelectedItems}
121118
/>
122119
<Form>
123120
<div className="tw-flex tw-justify-end tw-items-center">

components/EarlyWarningResults.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const EarlyWarningResults: React.FC<EarlyWarningResultsProps> = ({
2626
const res = await getData(globalState.courseID, globalState.ferpaPrivacy);
2727

2828
if (!res) return;
29-
console.log(res)
3029
setData(res);
3130
} catch (err) {
3231
console.error(err);

components/LearningCurves.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const LearningCurves: React.FC<LearningCurvesProps> = ({
5151
if (!globalState.courseID) return;
5252

5353
const _data = await getData(globalState.courseID);
54-
console.log(_data);
5554
setData(_data);
5655
} catch (err) {
5756
console.error(err);

components/RawDataTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const RawDataTable: React.FC<RawDataTableProps> = ({ getData }) => {
8787
async function fetchData() {
8888
if (!globalState.courseID) return;
8989
const _data = await getData(globalState.courseID, globalState.ferpaPrivacy);
90-
console.log(_data)
9190
setData(_data);
9291
}
9392

components/StudentQuickMetrics.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ const StudentQuickMetrics = ({
1313
}) => {
1414
const { data, status } = useQuery<StudentQuickMetricsType>({
1515
queryKey: ["student-quick-metrics", course_id, student_id],
16-
queryFn: async () => {
17-
console.log("RUNNING");
18-
console.log("COURSE_ID: ", course_id);
19-
console.log("STUDENT_ID: ", student_id);
20-
return await getStudentQuickMetrics(course_id, student_id);
21-
},
16+
queryFn: async () => await getStudentQuickMetrics(course_id, student_id),
2217
enabled: !!student_id && !!course_id,
2318
});
2419

lib/Analytics.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,6 @@ class Analytics {
716716
try {
717717
await connectDB();
718718

719-
console.log(newSettings);
720-
721719
const res = await CourseAnalyticsSettings.updateOne(
722720
{
723721
courseID: this.adaptID.toString(),

lib/AnalyticsDataCollector.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,13 +399,11 @@ class AnalyticsDataCollector {
399399
}[] = [];
400400

401401
for (const course of knownCourses) {
402-
console.log("Collecting submission timestamps for course", course);
403402
try {
404403
const adaptConn = new ADAPTInstructorConnector(course.instructor_id);
405404
const courseAssignments = allAssignments.filter(
406405
(assignment) => assignment.course_id === course.course_id
407406
);
408-
console.log("COurse Assignments", courseAssignments);
409407
for (const assignment of courseAssignments) {
410408
const submissionData = await adaptConn.getSubmissionTimestamps(
411409
assignment.assignment_id

lib/EarlyWarningSystem.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ class EarlyWarningSystem {
114114
this.calculateMean(allPredicted).toPrecision(2)
115115
);
116116

117-
console.log(courseMean)
118-
119117
// Only return at-risk students
120118
const results = students.filter(
121119
(student) =>

0 commit comments

Comments
 (0)