red1.org Forum Index red1.org
Nihili est - in vita priore ego imperator romanus fui
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exams Module - Marking Scheme, By Subject
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> College ERP Project
View previous topic :: View next topic  
Author Message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Tue Apr 11, 2006 10:02 am    Post subject: Exams Module - Marking Scheme, By Subject Reply with quote

As requested, we have changed the above to
1) Mark by subject will filter by Tutor ID. Just select the Tutor ID from the top right pull down. This is as fast workaround. Later we may put in login for them to go straight.

2) Marking implementation is now filtered by Program Code for the convenience of user.

Tested codes and Vms, committed to CVS.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Tue Apr 11, 2006 6:41 pm    Post subject: Reply with quote

Tested above and here are my comments:

1.1) Adding a tutor to subject will create a new tutor_id. i.e. I added tutor "gan" to 2 different subjects, in the top right pull down you will see tutor "gan" appears two times. Perhaps, we can allow user to select existing tutor from a pull down list, if does not exist then allow adding new tutor_id (just like what we did in fee structure module, selecting of fee_code).
1.2) I think the VM was not committed, pls check.

2) Program Selection for ALL category does not functioning.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Tue Apr 11, 2006 7:12 pm    Post subject: Reply with quote

refering to Gan's feedback testing above:

1.1) solved...
Pls checkout MarkBySubjectModule from CVS again to see

1.2) sorry.. i cannot check stuff if i dont know the name. Always supply complete filename. thnx.

2) All category not supposed to be there... already changed VM to show - Pls Select - instead.
Pls checkout marking_impl.vm
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Tue Apr 11, 2006 11:13 pm    Post subject: Reply with quote

Tested and everything seems ok now.

1.2) I was referring to vtl/sis/exam/get_by_subject.vm. Just checked back and the file seems updated from the last modified date.

Now, Khairin has to setup User Template for "Teacher" user role in the live database. Then, register exisiting CICT tutors under this user role. I shall assist remotely on this setup.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Wed Apr 12, 2006 11:07 am    Post subject: Reply with quote

I just found out that, adding a tutor to subject does not create record in table "user", which mean user have to repeat work 2 times.

By right it should be integrated where a new tutor record is created in table "user" with user role "teacher" at the same time when a tutor_id is added to a subject.

For the moment (pilot testing), Khairin can create one universal teacher login for all teachers at CICT.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Tue Apr 18, 2006 12:12 pm    Post subject: Reply with quote

We've almost complete setting up the teacher-subject assignment.

Plan to fully utilize very soon.

But since the students name is removed please ensure that the Subject-Marking table is sorted by Student_id (Matric No.).

Also, please provide an export to excel button for the Subject-Marking page.

Tq...
Back to top
View user's profile Send private message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Tue Apr 18, 2006 12:34 pm    Post subject: Reply with quote

Already modified StudentMarkData.java to allow sorting by matric no.

Sent to CVS.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Thu Apr 20, 2006 1:25 am    Post subject: Reply with quote

Due to exam results for UPM and SCU programs are returned using a different type of student id, Khairin created a new field “alternate_id” and imported data into student_course table. The latest db dump is available at: http://red1.org/barn/Cybernetics/0604191740.zip

I have created $student.alt_id in vtl/sis/exam/get_by_subject.vm. Now, we need to get and put it in JAVA mecca.sis.exam.MarkBySubjectModule.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Thu Apr 20, 2006 11:08 am    Post subject: Reply with quote

done ... synched already .... just one java StudentMarkData.java... tested ok the W* alt ids came out in the vtl/sis/exam/get_by_subject.vm
In public static Vector getStudentList(String subject_id, String session_id, String program_code) throws Exception { chip in..
Code:
         r.add("c.alternate_id");

...
            String alt_id = rs.getString("alternate_id");
...            h.put("alt_id", alt_id);
Back to top
View user's profile Send private message Send e-mail Visit poster's website
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Wed Apr 26, 2006 9:00 am    Post subject: Reply with quote

observations perhaps BUGS:

case:

matric no. : 03060841
program : 13-Diploma Pengurusan Perniagaan
subject enrolled : PN1123
lecturer : 230

problem: record did not appear in Subject-Marking page. record do appear in Student-Marking page. we confirm student's enrolment by checking Course-Enrolment page.

extra note: PN1123 subject for this student was added manually (not through the auto-generated process which pulls data from original course structure).
Back to top
View user's profile Send private message
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Wed Apr 26, 2006 4:49 pm    Post subject: Reply with quote

The above case happened on those deferred case. In the subject marking, the subject was found left in the initial session before deferred.

We tried dropping that subject and adding it back again. However, it still does not showed up correctly in subject marking under the correct semester session.


Quote:
Additional item from khairin:
kihon73: can we find a way to prevent the lecturers to fill in anything other than numbers in the marks field?
kihon73: so far it only detect when the user press the save button...
kihon73: by that time its a bit tedious to skim through the entries and and repair their entries....
kihon73: i can only instruct them not to, but those lecturers have other ideas...
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Wed Apr 26, 2006 8:43 pm    Post subject: Reply with quote

i found out that for defered students the SQL in StudentMarkData.java to GetStudentList still refers to student_course.intake_session which is wrong as the student_status.batch_id is accurate to show that the defered batch has jumped to the next one.

Thus i modify as follows
Code:
         r.add("i.intake_session", r.unquote("ss.batch_id")); //red1
         r.add("ss.session_id", r.unquote("i.session_id")); //red1
         r.add("s.student_id", r.unquote("ss.student_id")); //red1
         r.add("s.student_id", r.unquote("st.id"));
         r.add("s.register_id", r.unquote("sr.status_id"));
         r.add("sr.status_category", 0);
         if ( !"".equals(program_code)) {
            r.add("s.program_code", program_code);
         }
         sql = r.getSQLSelect("student_status ss, student_subject s, subject_reg_status sr, intake_batch i, student_course c, student st"); // remove so that not sorted by name but matric , "st.name"
         //red1 student_status above is to ensure that defered batch_id is the rite one
Now it returns 253 instead of 297 (so i m not sure if this is rite) I checked the defered cases now appear, but others disappeared?! So pls take binary from Gan and test to see.
If not correct we can revert as the code changes i pasted above.
Khairin can also follow the SQL logic above and i pasted the before and after here:
BEFORE
Code:
SELECT c.alternate_id, s.student_id, st.name, s.period_id, s.program_code  FROM
 student_subject s, subject_reg_status sr, intake_batch i, student_course c, student st WHERE s.
 subject_id = 'PN1123'  AND i.session_id = '2005/2006-N'  AND s.student_id = c.student_id  AND s.
 program_code = c.program_code  AND s.period_id = i.period_id  AND i.period_root_id = c.period_root_id  AND i.intake_session = c.intake_session  AND s.student_id = st.id  AND s.register_id = sr.status_id  AND sr.status_category = 0  AND s.program_code = '13'
AFTER
Code:
SELECT c.alternate_id, s.student_id, st.name, s.period_id, s.program_code  FROM student_subject s, subject_reg_status sr, intake_batch i, student_status ss, student_course c, student st WHERE s.subject_id = 'PN1123'  AND i.session_id = '2005/2006-N'  AND ss.student_id = s.student_id AND s.student_id = c.student_id  AND s.program_code = c.program_code  AND s.period_id = i.period_id  AND i.period_root_id = c.period_root_id  AND i.intake_session = ss.batch_id  AND ss.session_id = '2005/2006-N' AND s.student_id = st.id  AND s.register_id = sr.status_id  AND sr.status_category = 0  AND s.program_code = '13'
Run them in your SQL Query Browser and see if the AFTER is rite.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Thu Apr 27, 2006 9:02 am    Post subject: Reply with quote

Dear Red1,

Code is correct....

239 is the true number...

why decrease from 297 to 239? Maybe that's because u went one better.... u now even discard students who is currently deferred from appearing in the list which is one of our aim in the first place... i'll check on it later....

so now i'll be waiting for the updated jars...

tq!
Back to top
View user's profile Send private message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Thu Apr 27, 2006 12:29 pm    Post subject: Reply with quote

wah.. hebatnyaa aku niiii... dasyot! dasyot! Very Happy

Ok, thats wonderful to hear! I also suspected like that. That means Sam's DB model is very sophisticated. Its merely forming the rite SQL query to the DB to get whatever we want.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Wed May 03, 2006 11:52 am    Post subject: Reply with quote

dear red1,

sorry a bit of false alarm regarding the SQL...

it seems that students who is currently defer for the semester, their enrolment still comes out unless we manually withdraw their subjects...

tried a bit of SQL, this seems to be the best output without having to withdraw their subjects manually....

Code:
SELECT DISTINCTROW student_subject.student_id, student_subject.subject_id, intake_batch.session_id, student_status.status, student_subject.period_id, student_subject.program_code
FROM intake_batch INNER JOIN (student_status INNER JOIN student_subject ON student_status.student_id = student_subject.student_id) ON (intake_batch.intake_session = student_status.batch_id) AND (intake_batch.session_id = student_status.session_id) AND (intake_batch.period_id = student_subject.period_id)
WHERE (((student_subject.subject_id)="pn1123") AND ((intake_batch.session_id)="2005/2006-n") AND ((student_status.status)="active") AND ((student_subject.program_code)="13"))
ORDER BY student_subject.student_id


sorry it looks very messy, my SQL a bit rusty...

hope you can get more idea from it...
Back to top
View user's profile Send private message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Wed May 03, 2006 12:08 pm    Post subject: Reply with quote

I merely add and ss.status='active' at the end of the SQL. Done in StudentMarkData.java and compiled for Khairin. Tested here seems ok.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Thu May 04, 2006 2:22 pm    Post subject: Reply with quote

Feedbacks from lecturers using the subject_marking module

1. For lecturers who key in their data at a slower rate, sometimes found out that their session has timed-out. As a result they had to re-enter from the last time they saved. khairin: I advised the lecturers to make sure to save their work frequently. Also i like to request that the system increase the time-out timer a bit more...

2. Some lecturers are fond to enter non-numerical values... eg X, Absent, F, or even blanks in the mark fields. When they try saving, the system won't accept and lecturers have to press BACK button, skim through all the data they entered to repair the non-numerical values. khairin: perhaps its better if the system detects these errors at point of entry rather than later....

3. Subjects with more than one lecturers have to take turn to key in their marks. Otherwise overwriting will occur. khairin: this problem will be solved once we sort out the time-tabling module in which lecturers will only mark students from their own pre-assigned classes.

4. Lecturers wish that their screen will automatically load only the subject they're in charge. khairin: also will be solved by the time-tabling module.

5. At peak period, usually shortly after examinations, a high number of lecturers are logged on to the system. Once or twice the system crashed and had to re-start. khairin: time to tweak the reserved memory or add RAM?

6. Some lecturers asked for the CVS export button in the module for their own personal record & analysis. khairin: requested before...

7. Head of Schools (bosses to the lecturers) would love a page/report on the progress of the lecturers in entering their data. Examples: How many lecturers have or haven't enter marks for certain subjects, or what is the mean average marks currently for a certain subjects or the whole program... etc its more like live reports... khairin: these are merely simple reports....
Back to top
View user's profile Send private message
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Mon May 08, 2006 2:38 am    Post subject: Reply with quote

I saw an "Export to Excel" button in Student Marking By Subject. However, it returned error when I click on this button. Is this bug? or the coding is still not complete?

Code:
java.lang.IllegalStateException: getOutputStream() has already been called for this response
   org.apache.catalina.connector.Response.getWriter(Response.java:596)
   org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:186)
   mecca.util.xl.XLSServlet.service(XLSServlet.java:103)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Not done -- low priority or pass to Sam meanwhile. - red1
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Sat May 20, 2006 7:06 pm    Post subject: Reply with quote

Now the Excel export is done. Pls collect MarkBySubject.java and get_by_subject.vm from CVS.

While doing this i notice that the Marks has Mark.Type = "Points" and possibly = "Grade" which is A, B, C automatically if set. So pls check with Sam if he did sumtin like that, and wer to activate that. U can search the codes/vm that does Mark.setType.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Sun May 21, 2006 12:12 pm    Post subject: Reply with quote

Tested Excel export, it's working fine.

Yes, we have the configurator to define mark input type whether to be Percentage, Actual Mark, or Grade. However, this does not resolve the external marking scenario, which will be a combo of internal Actual Mark and external Grade.

Maybe Khairin can try out the mark type and see there is any potential workaround to handle the UPM cases.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Sun May 21, 2006 6:09 pm    Post subject: Reply with quote

UPM aside, does this mean that the early issue of exmaners marking in grade and not points is solved by this MarkType?

If so, ok for the vm, but NOT the excel exporter which i make to print points only. I will only make the Excel to show grade if its needed by user.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Mon May 22, 2006 12:54 am    Post subject: Reply with quote

Yes, the exam module can support three different type of mark input:
1) Actual Mark
2) Percentage
3) Grade

However, it's currently limitted to 1 marking scheme : 1 MarkType
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Tue May 23, 2006 8:53 am    Post subject: Reply with quote

After discussions with Gan/Sam, i now understand that we merely need to link the Marking By Subject to Group (or section as in Sam's TimeTable system).

The section/group id means that Students no longer grouped by Subjects but Group. Teacher instead will be tagged to Groups and not subjects.

Subjects already split into sections under TimeTable system.

Thus:
> MarkBySubject = select Teacher > select Group > list Students

> TimeTable = Teacher > Subject > Group > assign to slot schedule

Code Changes needed:
1) MarkBySubject - filter by section_id from tt_section in getStudentList to associate student/subject to section. Then filter by tt_schedule to associate teacher to section. Thus list will be more finer.

Data Changes needed:
1) Setup TimeTable Schedule and Section tables.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Wed May 24, 2006 10:34 pm    Post subject: Reply with quote

i m making a simpler way to select by group (section). Pls take from CVS.

Now user has two choices - by Tutor or by Section (Class group) which takes student list from TimeTable's section setup.

So pls setup TimeTable Section's student list first to try.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gan MH
Senior


Joined: 08 Apr 2005
Posts: 350

PostPosted: Thu May 25, 2006 1:58 am    Post subject: Reply with quote

I have tested this new module, but it did not work.
First, I add student A to AC1000 ASAS PERAKAUNAN, Section 1 in TimeTable module.
Then, I select Section 1, AC1000 ASAS PERAKAUNAN in Marking by Subject module.
Student A does not appear in the marking list.

Theoretically this concept works, but I feel there are some confusions:

1- Teacher will have difficult identifying which Section is belongs to which subject in the drop-down menu.

2- When selection by Class Section, the system should disable the program selection. Teacher only identify which Subject and which Section Group to that subject to mark.

3- There are conflicts between the TimeTable Student Setup and Program Structure Setup. Examples:
a- I add a student to AC1000 ASAS PERAKAUNAN in TimeTable module, but his Program Structure is not updated
b- I add student A to MAT2001 MATEMATIK ASAS I, but actually according to his Program Structure Setup he should be taking subject MAT2101 MATEMATIK ASAS I.

P/S: After all, the system should identify subjects attached to a student from the Program Structure. TimeTable module will only be the student-subject group configurator.

Also, the Excel Exporter is not working after checking out the latest version from CVS.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> College ERP Project All times are GMT + 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group