Virtual Programming Lab

Activities ::: mod_vpl
Maintained by Juan Carlos Rodríguez-del-Pino
VPL is an activity module to manage programming assignments
Latest release:
2242 sites
2k downloads
156 fans
Current versions available: 6
VPL Logo

Virtual Programming Lab for Moodle

VPL- Virtual Programming Lab is a activity module that manage programming assignments and whose salient features are:

  • Enable to edit the programs source code in the browser
  • Students can run interactively programs in the browser
  • You can run tests to review the programs.
  • Allows searching for similarity between files.
  • Allows setting editing restrictions and avoiding external text pasting.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Juan Carlos Rodríguez-del-Pino (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Stephen Parry
    Sat, 31 Oct 2020, 4:09 AM
    Hi Prof JC,
    Thank you for VPL - it is a very significant achievement and very important to those of us trying to teach remotely during the pandemic.
    I have added a custom vpl_evaluate.sh to a VPL activity, that generates a vpl_execute that checks the student source for certain statements using grep. This works and correctly gives the work a grade. However, I want the source to be syntax checked and the output checked in the normal way. The evaluate in VPL is not running the base vpl_evaluate.sh for python 3 to check the code and vpl_evaluate.cases. How do I best achieve this please?
  • Stephen Parry
    Sun, 1 Nov 2020, 7:06 AM
    I managed to get this working by copying in all the needed vpl_ files into a base VPL and then deriving from that. Not sure if that's the best way, as it means I have to potentially update after every upgrade.
  • Juan Carlos Rodríguez-del-Pino
    Mon, 2 Nov 2020, 9:14 PM
    Dear Stephen Parry (and all other VPL users)
    Please, use the forum
    https://moodle.org/mod/forum/view.php?id=8672 to do any question.
  • Jonathan Estilong
    Fri, 5 Mar 2021, 6:14 PM
    I cannot view submissions of my students on my installed vpl...please help
  • Duy Phuong Pham
    Fri, 23 Apr 2021, 10:18 AM
    Dear Prof. Carlos
    I have some problems when I tried to evaluate the sql file:
    Server execution error request failed: Recv failure: Connection reset by peer
    How can I solve this.
    Thank you.
  • Juan Carlos Rodríguez-del-Pino
    Fri, 23 Apr 2021, 11:02 PM
    Dear Duy Phuong Pham (and all other VPL users)
    Please, use the forum
    https://moodle.org/mod/forum/view.php?id=8672
    to do any questions.
    Please, be verbose, if you give not enough details of your environment, we will not be able to replay the case and try to spot the problem. It will help if you can reproduce your problem on the vpl demo server.

    Best regards,
    Juan Carlos.
    https://moodle.org/mod/forum/view.php?id=8672
    to do any question.
  • Steve Wentworth
    Wed, 12 Oct 2022, 3:41 AM
    I have recently updated the plugin using moodle 3.9. We now receive the following when clicking the run or check icons.
    Call to undefined function hrtime
    On research the hrtime function is new tp php 7.3. moodle 3.9 is surpposed to support php 7.2. Does this now mean I need to upgrade all my php libraries. Help this was working fine before, I fear php upgrade may knock a lot more out.
  • HyunSuk Jeong
    Wed, 18 Jan 2023, 1:37 PM
    Hello Juan.
    Happy new year.

    I actually have a problem with UI in VPL.
    When I make an activity, my "Jump to" section is disappear.
    (float-left, jump to activity, flot-right all gone)
    This happens only in VPL.
    Other activities are ok.

    Do you know this problem?
    If you know the solution that I can fix, plz tell me.
  • shivani awasthi
    Sat, 6 May 2023, 3:07 PM
    Hi,
    We have been facing some issues for the past 6 days "Unable to run HTML/CSS/JS files in VPL, although Python files run successfully. Need help resolving the issue."
  • Minh Nguyen Ba
    Mon, 21 Aug 2023, 12:02 PM
    The "ID Number" is automatic generated. We are not able to set "ID Number" for VPL, it does not store custom value.
    We need ID Number to use in formular in Gradebook.

    How to fix this?
  • Steve Wentworth
    Thu, 14 Sept 2023, 7:58 PM
    I'm trying to edit some old test cases for VPL activities we have on our moodle. And I'm unable to edit the test case, in description it just shows the test case sort of read only in a navy background frame but no editor. What am I missing we are running VPL version 4.1 (2023042712) and Moodle 4.1.

    The same think happens when a create a new VPL activity, in description I only see the icons and no editor. Any help would be much appreciated.
  • Steve Wentworth
    Thu, 14 Sept 2023, 9:30 PM
    No issue, found it!
  • Juan Carlos Rodríguez-del-Pino
    Sun, 17 Sept 2023, 4:08 PM
    Dear Steve Wentworth,

    Thank you for bringing this to our attention.

    Given the extensive use of JavaScript in the VPL plugin, it is possible that the editor may experience disruptions after an upgrade. I recommend the following steps:

    1. The Moodle administrator should “purge all caches”. This can be accomplished by navigating to “Site administration -> Development -> Purge caches”.
    2. Some users may also benefit from clearing their browser's cache. This can be done by pressing “Ctrl + F5”.

    Additionally, I'd like to inform you that the current VPL version you are using, 4.1, is not the latest. Version 4.2 is available and is compatible with Moodle 4.1. Please note that VPL versions are not necessarily tied to the corresponding Moodle versions.

    I hope this resolves your issue. If you continue to encounter difficulties, please do not hesitate to reach out.

    Best regards,
  • Vitalis Hilarion Wihendro Halim
    Wed, 4 Oct 2023, 1:04 PM
    hi juan carlos, i interested to use it on our inhouse Learning Management System. can i contact you for detail discussion ?
  • Kumar Arun
    Wed, 6 Mar 2024, 6:55 PM
    nex- activity previous-activity not appearing.. kindly help to fix this UI
1 2 3 4 5 6 7
Please login to post comments