Release notes for PG 2.2.2

From WeBWorK_wiki
Jump to navigation Jump to search
This article has been retained as a historical document. It is not up-to-date and the formatting may be lacking. Use the information herein with caution.


The WeBWorKTeam is pleased to announce the release of PG 2.2.2. This release builds on PG 2.2.1, adding several bug fixes and low-impact feature enhancements.

  • Fixed some problems with the Diagonstics output for Formula objects. (The tolerances used in the diagnostics didn't always match the ones used in the actual testing, and the wrong values were sometimes displayed when a multi-variable function was displayed as a graph.)
  • Use tolerance flags from the Real object itself, if available, before looking at the context.
  • Fixed a problem where polynomials like x+4x would be accepted even in single-power mode. The initial x was not being identified as a single power of x correctly.
  • Ensure that ImageGenerator settings are correctly included from WeBWorK::Constants in all cases.
  • Security: Since problems can provide their own graders, problem authors could previously use call PG_restricted_eval in a custom grader to gain access to the full WeBWorK environment. Graders are now evaluated in the PG safe compartment, preventing this.
  • Fixed a spurrious warning in images mode when a hint or solution contains math expressions.
  • FUNCTION_CMP now preserves the correct answer exactly as typed rather than reconstructing it from the parsed version.
  • Fixed a problem with derivatives of constant-valued Matrices, Vectors, and Points. They were incorrectly getting an extra level of nesting.


PG 2.2.2 is available from our CVS repository. Read WeBWorKCVSReadOnly for more information on how to set up a CVS connection. For those who already have a CVS connection, this update can be obtained by updating to the tag rel-2-2-2.

PG 2.2.2 is also available as a tarball from our SourceForge project page:


Documentation on installing and configuring PG is available in the WeBWorK InstallationManualV2pt2. If you are upgrading an existing installation, be sure to read the section Upgrading an existing WeBWorK installation.


If you need help installing or using PG 2.2.2, visit the WeBWorK discussion group and post your question there. The developers monitor this forum.

Bug Reports & Feature Requests

Please submit bug reports and feature requests at

-- Main.SamHathaway - 27 Jun 2006