Main Menu

Statistics

Started by YChahlaoui, August 19, 2017, 06:46:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

YChahlaoui

Once the timetable is generated, I wonder if it is possible to show the total number of hours in front of the name of each teacher into the HTML file of personal timetables.

See the attached picture

Volker Dirr

#1
You can see the total number of hours already before generating at 3 places:
a) FET -> statistics -> Teachers statistics
and
b) FET -> statistics -> advanced statistics
and
c) FET -> advanced -> activity planning

You (and the other teachers) should check that BEFORE generating the timetable! It will save you a lot of work. it will be much too late if that number is printed in the teachers timetable.
To prevent from those bugs i recommend to use the teachers target hours feature. see FET -> Data -> Teacher -> Target hours
By that number you will see those bugs already while doing the activity planing if you use FET -> Advanced -> Activity planning. Since you can see that numbers in the bottom table.

If the other teachers will check that number AFTER the timetable is generated, than it will be too late if you done a bug -> so a lot of work much done again (changing the activity planning, regenerating, bug hunting, ...) So in my opinion there is so sense in adding that number in the teachers timetable, since that number is already checked much earlier.

I recommend to export a advanced statistics similar too the activity planning and let other teachers check it BEFORE generating.

Fernando A F Lordão

Dear Volker,

How about including in the "teachers_statistics.html" file the information shown on screen FET -> statistics -> Teachers statistics?
Sometimes I would like to send it to my coleagues, but I can't, because that concise data is only shown on screen.
Thanks,

Fernando A F Lordão

Benahmed Abdelkrim

#3
You can do this from today, following this path:
FET-> Statistics -> Export advanced statistics to disk
You will find these statistics in HTML in the fet-results folder

You will find 6 types of matrices:
1/ matrix: Teachers - Students
2/ matrix: Teachers - Subjects

3/ matrix: Students - Teachers
4/ matrix: Students - Subjects

5/ matrix: Subjects - Teachers
6/ matrix: subjects - Students

I suppose if I understood correctly, you want the first 2 matrices.


B.A/krim

Volker Dirr

hmmm... I must admit that  Fernando A F Lordão suggestion is sometimes useful.
Of course not if you want to check the activity planning. Than it is too late; you should share the matrix already before generating like Benahmed Abdelkim already wrote.

But for example if you want to optimize the timetable. so as soon as you got your first result you maybe want to optimize constraints max days per week and max gaps per week/day. If the number of hours is printed in that statistics table you need to check only that one and not 2 tables simultaneously.
The suggestion might be also useful if you want to show the other teachers that you done a fair timetable (depending on gaps and free days - depended on the number of working hours)

I think i will add that requested feature into TiTiTo now. If Liviu agree i will do it the same way into FET also.

Liviu Lalescu

Volker, I don't understand the need for a new menu item. He just needs to export advanced statistics on disk and use the first line and the last line (the Sum line). He may remove the rest of the file in a HTML editor like Libre Office.

I hope this solves the problem. If not, please implement this feature in FET.

Volker Dirr

#6
No need to add a new menu item. Just adding a new column "Hours per Week" in the html teachers statistics. The advantage will be that you only need to check a single table than. Not like your suggestion modifying one table and checking 2 tables.

Volker Dirr

So something like the attached. Maybe check the file. I am currently not 100% satisfied with the order of the columns. Maybe someone want to suggest a better one.
I also need to fix the first "max" value in the students statistic (must be 30 in my example).
I will add that feature in TiTiTo. I will just fix that bug and think a bit about a better order. I will release maybe tomorrow.
If you want to have that also in FET, Liviu, let me now and i sent you the source.

Liviu Lalescu


Benahmed Abdelkrim

Quote from: Volker Dirr on August 24, 2017, 12:38:47 PM
So something like the attached. Maybe check the file. I am currently not 100% satisfied with the order of the columns. Maybe someone want to suggest a better one.

The order seems perfect.
B.A/krim

Liviu Lalescu

I added a new snapshot, please see the snapshots announcement for the link and ChangeLog ( http://lalescu.ro/liviu/fet/forum/index.php?topic=3381.0 ). Thank you all for your advice and work.

Fernando A F Lordão, please let us know if it is OK. I will release soon, so please let me know soon.

Fernando A F Lordão

Dear Liviu and Volker,
I've just tested the implementation and it is exactly like I thought! The goal here is to clearly show the other teachers that "I" have done the work fairly, as Volker mentioned before in this post.
Additionaly, the collumns order seems very good to me too, Benahmed Abdelkrim.
THANK YOU VERY MUCH!

Fernando A F Lordão

Liviu and Volker,
After testing the new feature I figured out about another situation that occurs in my institution.
Here we have a rule that recomends coordinators not to assign more than three different subjects to one teacher. Sometimes it occurs, but it's not the ideal scenario.
So, I thought about include two more collumns in the statistics file:
* "Total of Activities"
* "Differente Subjects" (counting different string description of the subjects assigned to the teacher)
Do you think I am asking so much?  :-X
Thanks for your attention.

Volker Dirr

In my opinion that values will not represent the real/fair situation. That values will just fool other teachers and also yourself.

Example:
Teacher A: 1 subject, 4 activities
Teacher B: 1 subject, 4 activities
Teacher C: 2 subjects, 4 activities

So is it fair? If you see this values you will think Teacher A and B got similar fair data, while teacher C is double bad.

But if you will look into the advanced statistics you maybe will see this:
Teacher A: Physics in Group 5a, 5b, 5c, 5d
Teacher B: Physics in Group 7a, 8a, 9a, 10a
Teacher C: Sport in Group 5a, 5b, 6a, 6b

So Teacher A need to prepare in fact only 1 "subject" (build up experiments,... ), since he will just repeat it 4 times.
But Teacher B must prepare much more: He need to prepare another 3 experiments. So much more work.
And Teacher C: I don't think he prepare very much. I guess less work even if you compare with Teacher A.

So in my opinion i can't see a reason why to add those numbers into statistics. Those numbers will only delude yourself. You can see that only in the advanced statistics. I think that one should be used.
Let me know your opinion.

Liviu Lalescu

Quote from: Fernando A F Lordão on August 26, 2017, 05:51:47 AM
Liviu and Volker,
After testing the new feature I figured out about another situation that occurs in my institution.
Here we have a rule that recomends coordinators not to assign more than three different subjects to one teacher. Sometimes it occurs, but it's not the ideal scenario.
So, I thought about include two more collumns in the statistics file:
* "Total of Activities"
* "Differente Subjects" (counting different string description of the subjects assigned to the teacher)
Do you think I am asking so much?  :-X
Thanks for your attention.

I think it might be too much information to display. But I will add this in the TODO.