Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83396

AI: Reporting - AI policy acceptance

XMLWordPrintable

    • MOODLE_500_STABLE
    • MDL-83396-main
    • Hide

      Setup 1

      1. Login as admin
      2. Go to Site admin -> General -> AI -> AI providers
      3. Enabled 'OpenAI API Provider'
      4. Go to 'Settings' for 'OpenAI API Provider' and put in any dummy API key
      5. Ensure the 'Generate text' action is enabled and save changes
      6. Go to Site admin -> General -> AI -> AI placements
      7. Enable 'HTML Text Editor Placement'
      8. Go to 'Settings' for 'OpenAI API Placement' and enable 'Generate text'

      Setup 2

      1. Create a course
      2. Enrol several students to the course
      3. Create an assignment called 'Assignment 1' that allows for 'Online text' submissions
      4. Log in as one of the students and go to 'Assignment 1'
      5. Click the Add Submission button.
      6. Click on the 'Generate text' button in the TinyMCE editor
      7. When prompted, accept the AI user policy when it appears (you don't need to generate any text, just cancel after that).
      8. Repeat for the other students.

      Test

      1. Login as admin
      2. Create a user called 'manager1'
      3. Go to Site admin -> Users -> Permissions -> Assign system roles
      4. Click on 'Manager'
      5. Add 'manager1' 
      6. Log in as 'manager1'
      7. Go to Site admin -> Reports
      8. CONFIRM you can see the 'AI reports' category
      9. CONFIRM you can see 'AI policy acceptance' report
      10. Click on 'AI policy acceptance'
      11. CONFIRM you can see the users' full names and date accepted details in the report table.
      Show
      Setup 1 Login as admin Go to Site admin -> General -> AI -> AI providers Enabled 'OpenAI API Provider' Go to 'Settings' for 'OpenAI API Provider' and put in any dummy API key Ensure the 'Generate text' action is enabled and save changes Go to Site admin -> General -> AI -> AI placements Enable 'HTML Text Editor Placement' Go to 'Settings' for 'OpenAI API Placement' and enable 'Generate text' Setup 2 Create a course Enrol several students to the course Create an assignment called 'Assignment 1' that allows for 'Online text' submissions Log in as one of the students and go to 'Assignment 1' Click the Add Submission button. Click on the 'Generate text' button in the TinyMCE editor When prompted, accept the AI user policy when it appears (you don't need to generate any text, just cancel after that). Repeat for the other students. Test Login as admin Create a user called 'manager1' Go to Site admin -> Users -> Permissions -> Assign system roles Click on 'Manager' Add 'manager1'  Log in as 'manager1' Go to Site admin -> Reports CONFIRM you can see the 'AI reports' category CONFIRM you can see 'AI policy acceptance' report Click on 'AI policy acceptance' CONFIRM you can see the users' full names and date accepted details in the report table.
    • Hide

      Code verified against automated checks.

      Checked MDL-83396 using repository: https://github.com/davewoloszyn/moodle.git

      More information about this report

      Built on: Fri 29 Nov 2024 07:46:31 AM UTC

      Show
      Code verified against automated checks. Checked MDL-83396 using repository: https://github.com/davewoloszyn/moodle.git main (0 errors / 0 warnings) [branch: MDL-83396-main | CI Job ] More information about this report Built on: Fri 29 Nov 2024 07:46:31 AM UTC
    • Show
      Launching automatic jobs for branch MDL-83396 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17581/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59869/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59870/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59871/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59872/ App tests (stable app version) / complete) Built on: Fri Nov 29 07:44:52 AM UTC 2024
    • 6
    • Team Hedgehog 2024 Sprint 4.1, Team Hedgehog 2024 Sprint 4.2

      Create a report builder report that makes available which users have accepted the AI usage to administrators and other users.

      The aim of this report is to allow users to view AI policy acceptance their system.  We currently collect all of the required data in the database, this issue is to make that information more readily available for users in LMS.

      The report access should be controlled by capability and be aware of context. So it could be granted to a manager role in a category for example. Admins should get this capability by default.

      Most of the data will be in the "ai_policy_register" table with links to the "users" table

      The report should include and be able to be filtered on (where possible):

      • user details
      • time date accepted

      These can also be reviewed and updated during the development process

            david.woloszyn@moodle.com David Woloszyn
            matt.porritt@moodle.com Matt Porritt
            Meirza Meirza
            Safat Shahin Safat Shahin
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 10 minutes
                1d 2h 10m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.