FET Forum

FET Support (English) => General Stuff => Topic started by: Hesekiel Adisa on April 06, 2023, 07:51:33 AM

Title: Option Blocks
Post by: Hesekiel Adisa on April 06, 2023, 07:51:33 AM
Hi!
I need some help here.
I am new with this app.
The students have made their subjects choice.
How do I use the attached to create subjects that can go together?

Thanks
Title: Re: Option Blocks
Post by: Volker Dirr on April 06, 2023, 10:01:14 AM
First of all you didn't added courses yet.
"target" is only the current suggestion of the software. You can modify the number of courses (target) and then need to create them (press "create courses")

I explain it more detailed here:
https://www.youtube.com/watch?v=YRf9V0tRqUw&t=1193s
(Sadly German only, but you can enable English subtitle)


Second: So you know the courses that should be at the same time?
There are different variants, depending on your school. In best case view all my StElTo videos. Maybe increase speed.


Short answers:

So you already know the line where it should be placed?
Use/Set 'Fixed Line' in the 'Course'-tab.

You know the line and you also know there there shouldn't be other courses?
Change the 'hour'. It's a bit difficult to explain. View the videos. If there is a solution, then this variant can generate results in normal case much much faster, but in worst case you might increase the difficult to set the other activitis too much and won't find a solution at all.

You don't know the line and there are also other courses allowed at the same time?
Use 'same line' in the 'course'-tab.

Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 06:52:10 AM
Thank you so much for your help,

I still need more help from you. I am a bit desperate at the moment because the subjects options blocks for our year 10 ought to have been ready by now. I am new to this.
I am sharing with you all the documents with me. Could you kindly create the blocks for me, then make a video of it so that I can learn from it also.

Thank you, so much.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 08:19:44 AM
hmmm.... I am currently converting the software from Qt 5.15 to Qt 6.5 ....

ok. I will try to explain the problems in a video as soon as i got an answer from you (see below).

Can you please try to import your attached csv files? (Because there are some small warnings if i import them. I am not sure if you modified the csv files (or even wrote it yourself or with an other software or if there is a small bug in my export. If these files are done by StElTo export, then please sent me the "database.dat" file or your ((if you didn't enter the data by the user interface) original input files).

Can you give me some more information? How many lines are allowed? How many courses/teachers i am allowed to use/set?
Maybe tell me (also) some limits like:
Courses with less then 10 students are not allowed, they must vote an other subject.
Courses with more then 30 students are not allowed, must be split in 2 courses.

Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 11:00:58 AM
ok. Spanish, Art and Music is a good information.

Is the attached  "open Block.png" a solution for an old dataset or for the votes you attached?
As far as i can see in that blockplan i am allowed to split physics, chemestry and other subjects into several courses.

It will be a bit easier if i know a rule like: Courses are not allowed to have more than X students.
And if i know how many times i am allowed to split.
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 11:21:48 AM
Alright, great.
Yes, it is a solution to last year options group.
A class should not exceed 18 students.
A subject can't have more than 2 classes
A subject with more than 18 can have 2 classes
Subjects with less than 15 votes can't have more than a class, unless that needs to be done at all cost for all choices of the students to be considered.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 11:32:38 AM
Quote from: Hesekiel Adisa on April 08, 2023, 11:21:48 AMA subject can't have more than 2 classes

hmm... That rule was broken last year. At least with chemistry.
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 11:37:22 AM
Yeah, probably the person did that because that was the only way every student could have his choice met.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 11:41:29 AM
ok. I will check the file and probably record a video where i explain how it might be done. (i done only a quick look so far and it looks difficult, so some rules might fail. I will try but it will take some time to do that.).
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 11:53:03 AM
Alright,
I wouldn't mind if some rules are broken but can't have 3 classes for any subjects and French must have 2 classes.

Thank you for all the help so far.
I'm indeed grateful
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 12:34:56 PM
hmmm... I just checked your data more detailed.

Your data has dublicate data.
For example:
Achilike

You added that students twice. One time with a space at the end of the name and once without space.
Not too critical, but should be deleted since courses might be too small or great by this.

But there are more dublicates. At least Nana and Sosanya. Be careful, since there are slighly different votes! You should delete the "old" data.

Also i am not sure about:
yunusa adriel
and
Yunusa Abiel

Is that the same student? Delete it. (Be carefull, since votes are different. So different students?!)

Please double check your data after importing.
Check if the number of students is correct.
Go to the 'students' tab and click on 'Last Name'. Now it is sorted by last name. Check for dublicates.
Go to the 'students' tab and click on 'First Name'. Now it is sorted by first name. Check for dublicates.
(Check both, only checking 'Last Name' will fail for example if you forgot the write the first letter. So check both variants!
Check number of students once again.

Then go to 'votes' tab. Click on 'Votes'. Click on more time on 'vote'. By that you can see the max and minim number of votes fast. There are 2 students with 5 votes only. is that correct?

It doesn't make sense to generate the data, if the data is not fine.

Please fix that before i record a video. (Or should i record a video of that also? ... hmmm... some other guys might do similar bugs. I must think about how to care about stuff like that.)

Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 02:03:15 PM
I am sorry about those errors; I just received the file thinking everything was all right.
I have cross-checked the file again.
Those that chose five subjects are allowed. They can choose up to six.
I am sharing it with you.

Thank you again.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 02:11:44 PM
ok. I only check the elections.csv yet.
I just see that the original file has also 7 votes for some studnts, so i guess i might swap a subject if it is impossible to generate the data, but i don't know your rules which swaps are allowed. so i will try without swapping.

Did you also update the elections.csv? I am too lazy to convert your file format into the StElTo elections.csv format.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 02:56:11 PM
You forgot to add that files. (You added the initial file once again)
In fact i only need the new Elections.csv (it can be imported without the Students.csv)
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 06:09:09 PM
I done a general video.
First with an other example set.
Then with your data set. (I changed the students names, but it is your data set.)
Maybe it's better to delete your data here, because of the students names.

I hope it helps, you might solve it with less courses. I didn't tried long.

see
https://youtu.be/CezsRDWN4sY
 
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 06:54:25 PM
Thank you so very much for your help.
I am profoundly grateful for all the assistance out of your busy schedule.
Very well noted!
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 08:45:55 PM
Hi!
I hugely appreciate this awesome video.
I tried everything in the video, but it refused to generate.
When I clicked generate, it does not even respond.

What could have happened?

regards
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 09:04:07 PM
Are you using the Windows or macOS version?

Did you tried with exactly the same settings/values like me in the video or with slightly different values?

Please try it with exactly the same values like me first. It should react similar to the video (my computer isn't very fast, it is a 10 years old intel i5-4460 )

If it doesn't react similar i currently have no idea why it doesn't react and need more information.

If the values are slightly different, then difficult data sets (like yours) might be sometimes in a loop where it doesn't react for some time with the user interface, but in fact it is still calculating. Please wait a bit if that happens. In worst case restart and make it a bit easier to calculate again (increasing/decreasing values). Never change too many values at once. Change only one value. Always start with "easy" values (so generating should be fast as in the video, even that rules are currently not allowed/possible at your school). Then decrease it step by step. So we will learn pretty quick which values are "possible".

Please let me know more.
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 09:14:06 PM
I am using Windows 11.
I did not change anything, I used exactly the same data as shown in the video.
please see below, it is the same as yours in the video.
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 09:23:44 PM
So you press generate and nothing happen?

Can you please open your task manager and check the cpu usage? Double click on the cpu, so don't view the single cpu value. Check the dialog where you can see all your cpu cores (i guess you will have at least 2 cores/threads or much more).

If you start the software (not generating) all you cpu cores should have a very low value (probable less then a few percent).

Then generate with StElTo. What happen then? All cores still doing nearly nothing or one core is suddenly all the time at 100% usage?
Title: Re: Option Blocks
Post by: Hesekiel Adisa on April 08, 2023, 10:43:17 PM
I don't really know what the problem is.
My system is working fine. In fact, I used a different system still, generate is not responding.
I am thinking of redownloading the SEITo software again. Where can I please re-download it?
Meanwhile, since we both worked with the same data and yours is working fine, could you please give the final options blocks like the one I attached to this email?

thank you
Title: Re: Option Blocks
Post by: Volker Dirr on April 08, 2023, 11:10:54 PM
I don't want to publish the students names here, since i will go to sleep now.
I sent you the results to your email (The email you used to register in the fet forum).
Please check your email.

File "List of courses (Sorted by line).txt" is similar to your attached picture.

Please also check your cpu usage and tell me how it looks like, sine i want to now if your cpu is calculating (1 core at 100%) or if it is doing nothing (all cores very low).

Good night.