Giter Club home page Giter Club logo

moodle-report_engagement's People

Contributors

aolley avatar atomsheep avatar euven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moodle-report_engagement's Issues

Engagement Analytics block may break course in v2.6

On our 2.6 Moodle instance, Problem occurs when:

  • The EA block is added to the course
  • Teacher switches role to student
  • Teacher tries to return to normal role

The result is:
Teacher user will not be be able to access the course page again - that is it won't load at all, and may bring up a programming error message in the browser.

We fixed by disabling the plugin block. I realise that a version 2.6 release of this plugin has not yet been released, but thought it might be helpful to know. Of note, problem does not occur in Moodle 2.6.2.

Strict Standards

Tested on moodle 2.3
Strict Standards: Creating default object from empty value in moodle\mod\engagement\indicator\forum\indicator.class.php on line 186

error message in moodle 2.3

Did you remember to make the first column something unique in your call to get_records? Duplicate value '2' found in column 'userid'.

line 954 of \lib\dml\mysqli_native_moodle_database.php: call to debugging()
line 58 of \mod\engagement\indicator\forum\indicator.class.php: call to mysqli_native_moodle_database->get_records_sql()
line 129 of \mod\engagement\indicator\indicator.class.php: call to indicator_forum->get_rawdata()
line 105 of \mod\engagement\indicator\indicator.class.php: call to indicator->get_risk_for_users()
line 93 of \report\engagement\index.php: call to indicator->get_course_risks()

Desire to take this further

Already brought up: Adding 'Assign' module.
New: All grade items should be in activities
Message system should be integrated with canned messages that get progressively more aggressive as the student continues to maintain a high risk or as risk increases. Realizing this requires a lot of work but the "teacher dashboard" approach (used by Blackboard and Desire2Learn) has absolutely no data backing up its ability to improve student outcomes. Direct messaging to the student has substantial data (Course Signals, Purdue).

Should I fork, start over or contribute?

MOODLE_INTERNAL check

Hello,

First of all I want to say thank you for your work with the plugins.
I would like to suggest that it would be good if MOODLE_INTERNAL check will be added in

  • report_engagement plugin in:
  • report/engagement/db/access.php
  • report/engagement/db/upgrade.php
  • mod_engagement plugin in:
  • mod/engagement/db/install.php
  • mod/engagement/db/upgrade.php
  • mod/engagement/indicator/assessment/db/install.php
  • mod/engagement/indicator/forum/db/install.php
  • mod/engagement/indicator/login/db/install.php
  • mod/engagement/lib.php
  • block_engagement plugin in:
  • blocks/engagement/block_engagement.php
  • blocks/engagement/db/upgrade.php

Best regards,
Olena Tatarintseva

Call to undefined function report_engagement_is_core_indicator()

Hello,

We noticed the error on Manage indicators page: Exception - Call to undefined function report_engagement_is_core_indicator().

require_once($CFG->dirroot . '/report/engagement/lib.php'); should be added in report/engagement/renderer.php

Affected version: 2014042902

Best regards,
Olena Tatarintseva

days late mis-calculation

When a quiz has no date limits, the Engagement analysis returns an absurd Days Late value:
Quiz: quiz 01
Status: submitted 25-08-2012 14:24.
Weighting: 10%
Days late: 15577.52

Error using block with an Oracle DB

The following stack trace is produced after adding the Engagement Analytics block to a course. This is on Moodle version 3.2.1 with plug-in version 2016012901 running against an Oracle 11g DB.

Debug info: ORA-00909: invalid number of arguments
SELECT CONCAT(c.userid, '_', c.objectid) AS user_objectid, COUNT(*) AS countnumber
FROM (SELECT id, userid, timecreated AS time, courseid AS course, CAST(objectid AS char(64)) AS objectid
FROM m_logstore_standard_log
WHERE target = 'discussion'
AND action = 'viewed'
AND courseid = :o_courseidstandard) c
WHERE c.course = :o_courseid
AND c.time >= :o_startdate
AND c.time <= :o_enddate
GROUP BY user_objectid
[array (
'o_courseidstandard' => '342',
'o_courseid' => '342',
'o_startdate' => '1487376000',
'o_enddate' => 1487793668,
)]
Error code: dmlreadexception
Stack trace:

line 479 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 277 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
line 1142 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
line 116 of /mod/engagement/indicator/forum/indicator.class.php: call to oci_native_moodle_database->get_recordset_sql()
line 156 of /mod/engagement/indicator/indicator.class.php: call to indicator_forum->get_rawdata()
line 113 of /mod/engagement/indicator/indicator.class.php: call to indicator->get_risk_for_users()
line 74 of /report/engagement/lib.php: call to indicator->get_course_risks()
line 85 of /blocks/engagement/block_engagement.php: call to report_engagement_get_course_summary()
line 288 of /blocks/moodleblock.class.php: call to block_engagement->get_content()
line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1233 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 356 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 28 of /theme/online/layout/general.php: call to block_manager->region_has_content()
line 1110 of /lib/outputrenderers.php: call to include()
line 1040 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 246 of /course/view.php: call to core_renderer->header()

Risk for assessments is showing lower than expected

For some reason I can't get the weighted assessment activity scoring to make as big a contribution to people's risk assessments as I would expect. For example, I have a students who has many assignments overdue, but the weighted assessment activity score is still only 16% (though the raw score is around 41%). With a weighted forum score of 3% (15% raw) and weighted login score of 24% (59% raw), that comes out to a total of 43%.

If I were making a rough estimate though, I would estimated this student's risk of failing to be somewhere between 50 & 75%. There are other students in similar situations.

My settings are:

Indicator

Assessment Activity 40%
Forum Activity 20%
Login Activity 40%

Assessment Activity

Overdue Grace Days 0
Overdue Maximum Days 1
Overdue Submitted Weighting 80%
Overdue Not Submitted Weighting 100%

Forum Activity
New posts per week No Risk 0.5 Max Risk 1 Weighting 30 %
Read posts per week No Risk 1 Max Risk 0 Weighting 20%
Replies per week No Risk 0 Max Risk 0 Weighting 0%
Total posts per week No Risk 1 Max Risk 0 Weighting 50%

Login Activity

Expected logins in the past week 4 Weighting 20%
Expected logins per week 4 Weighting 20%
Expected average session length (seconds) 1200 Weighting 10%
Expected time since last login (seconds) 259200 Weighting 40%
Session Length (seconds) 3600

What, if any, settings can I tweak to make missing assignments count more heavily against students? If none, is there perhaps an issue with the code itself, that is causing it not to weight things heavily enough?

Default exception handler

Hi,

After installing the engagement block in Moodle 2.3.2 and enrolling a student in a course we get an "Error reading from database" with the following in the PHP logs.

Default exception handler: Error reading from database Debug: SQLState: 42000

Error Code: 102

Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near 'LIMIT'.

                      SELECT      rawdata
                      FROM        mdl_engagement_cache
                      WHERE       indicator = N'assessment'
                        AND       courseid = '117'
                        AND       timestart = '1349272800'
                        AND       timemodified > '1349245063'
                      ORDER BY    timemodified DESC
                      LIMIT 1

[array (
0 => 'assessment',
1 => '117',
2 => '1349272800',
3 => 1349245063,
)]

This is appears to be an invalid MS SQL statement.

Only Quiz activity counted in Assessment Activity?

It seems that the Quiz activity is the only one to be counted in Assessment Activity. At least it's the only one appearing in individual Engagement REports.
What about Lesson ? Assignments ? and any other activity that can have a score in the Gradebook (Questionnaire, etc)?

"Login Activity" reporting broken in 2.8

The "Login Activity" reporting part does not work in Moodle 2.8 with any combination to the setting and weightings available for the Login Activity. Are there any plans in the works to update the plugin to work with 2.8?
I love this plugin and think it is super helpful for instructor at my institution. The plugin is still useful as is, but it is not working at 100%.
Thank you!

Strict Standards error (moodle 2.3)

Strict Standards: Declaration of report_engagement_edit_form::validation() should be compatible with that of moodleform::validation() in moodle\report\engagement\edit_form.php on line 31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.