Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster or slower time in course calculation #114

Open
bozoh opened this issue Jan 15, 2015 · 1 comment
Open

Faster or slower time in course calculation #114

bozoh opened this issue Jan 15, 2015 · 1 comment
Milestone

Comments

@bozoh
Copy link
Owner

bozoh commented Jan 15, 2015

Create an option in plugin configuration to choose time in course calculation method
-Slower but more accurate (best for small/mid courses -DEFAULT-)
-Faster but more inaccurate (best for large courses)

See #78

@bozoh bozoh modified the milestones: 2.2.1, 2.2.0, 2.2.2 Jan 15, 2015
@bozoh
Copy link
Owner Author

bozoh commented Jan 16, 2015

O cálculo atual percorre todo o log de navegação de acesso ao curso do usuário, somando o tempo entre uma entrada e outra, e só depois compara se é maior que o definido em requiredtime

Na nova versão criar um algorítimo re retorne true/false se o aluno tiver ou não atingindo o requiredtime, e o código vai verificar constantemente se o o somatório do log já atingiu o requiredtime, e assim que atingir retorna true. com isso não vai percorrer o log de navegação inteiro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant