<commit_before>import {
	all,
	call,
	put,
	select,
	takeLatest,
	race
} from 'redux-saga/effects'
import { delay } from 'redux-saga'
import logger from '../util/logger'
import { SID_CARD_TIMEOUT } from '../AppSettings'
import StudentIDService from '../services/studentIDService'

// const getStudentProfile = state => (state.studentProfile)
const getUserData = state => (state.user)

function* updateStudentProfile() {
	const { isLoggedIn, profile } = yield select(getUserData)

	if (isLoggedIn && profile.classifications.student) {
		console.log('got here')
		const fetchArray = [<commit_msg>Attempt (2) to solve retry again issue on student ID card<commit_after>import {
	all,
	call,
	put,
	select,
	takeLatest,
	race
} from 'redux-saga/effects'
import { delay } from 'redux-saga'
import logger from '../util/logger'
import { SID_CARD_TIMEOUT } from '../AppSettings'
import StudentIDService from '../services/studentIDService'

// const getStudentProfile = state => (state.studentProfile)
const getUserData = state => (state.user)

function* updateStudentProfile() {
	console.log('got here')
	const { isLoggedIn, profile } = yield select(getUserData)
	if (isLoggedIn && profile.classifications.student) {
		const fetchArray = [
{'fraction_non_alphanumeric': 0.12520325203252033, 'fraction_numerical': 0.0008130081300813008, 'mean_word_length': 4.834123222748815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '501401', 'n_tokens_mistral': 398, 'n_tokens_neox': 389, 'n_words': 104}