pretext -v debug generate webwork debug: Already checked for updates today. PreTeXt project found in `/workspaces/mth103-book`. debug: CLI version 2.39.0 matches requirements.txt 2.39.0. Since no target was supplied, we will use "web". debug: Generating assets in for the target "web". Generating any needed assets. debug: Using cached assets in /workspaces/mth103-book/.cache where possible. debug: Ensuring webwork representations file is present. debug: Parsing source element for target web debug: converting /workspaces/mth103-book/source/main.ptx to enhanced (pre-processed) PreTeXt source for internal use XSL conversion of /workspaces/mth103-book/source/main.ptx by /root/.ptx/2.39.0/core/xsl/utilities/pretext-enhanced-source.xsl debug: XSL conversion via /root/.ptx/2.39.0/core/xsl/utilities/pretext-enhanced-source.xsl of /workspaces/mth103-book/source/main.ptx to None and/or into directory None with parameters {'publisher': '/workspaces/mth103-book/publication/publication.ptx', 'assembly.version-only': 'yes'} successful application of /root/.ptx/2.39.0/core/xsl/utilities/pretext-enhanced-source.xsl debug: Source contains webwork problems debug: Webwork representations file exists, not generating debug: Ensuring MyOpenMath XML files are present. debug: Using cached source_element for target web debug: Source does not contain myopenmath problems debug: Assets generation requested for: ('webwork',). debug: Based on format Format.HTML, assets to be generated are: ['webwork']. debug: Based on what is in your source, the assets that will be considered are ['webwork']. debug: Assets to be generated: ['webwork'] string parameters passed to extraction stylesheet: {'publisher': '/workspaces/mth103-book/publication/publication.ptx'} discovering source file's directory name: /workspaces/mth103-book/source verifying and expanding input directory: /workspaces/mth103-book/source/../generated-assets/web input directory expanded to absolute path: /workspaces/mth103-book/generated-assets/web verifying and expanding input directory: /workspaces/mth103-book/source/../assets input directory expanded to absolute path: /workspaces/mth103-book/assets debug: Exctracted PG temporarily in /ptx-dmg2yct3/extracted-pg.xml XSL conversion of /workspaces/mth103-book/source/main.ptx by /root/.ptx/2.39.0/core/xsl/extract-pg.xsl debug: XSL conversion via /root/.ptx/2.39.0/core/xsl/extract-pg.xsl of /workspaces/mth103-book/source/main.ptx to /ptx-dmg2yct3/extracted-pg.xml and/or into directory None with parameters {'publisher': '/workspaces/mth103-book/publication/publication.ptx'} successful application of /root/.ptx/2.39.0/core/xsl/extract-pg.xsl XSL conversion of /workspaces/mth103-book/source/main.ptx by /root/.ptx/2.39.0/core/xsl/pretext-ww-problem-sets.xsl debug: XSL conversion via /root/.ptx/2.39.0/core/xsl/pretext-ww-problem-sets.xsl of /workspaces/mth103-book/source/main.ptx to None and/or into directory /ptx-qtyrog4u with parameters {'publisher': '/workspaces/mth103-book/publication/publication.ptx'} successful application of /root/.ptx/2.39.0/core/xsl/pretext-ww-problem-sets.xsl XSL conversion of /workspaces/mth103-book/source/main.ptx by /root/.ptx/2.39.0/core/xsl/support/pretext-pg-macros.xsl debug: XSL conversion via /root/.ptx/2.39.0/core/xsl/support/pretext-pg-macros.xsl of /workspaces/mth103-book/source/main.ptx to None and/or into directory /workspaces/mth103-book/generated-assets/web/webwork/pg/Applied_Precalculus/macros with parameters {'publisher': '/workspaces/mth103-book/publication/publication.ptx'} successful application of /root/.ptx/2.39.0/core/xsl/support/pretext-pg-macros.xsl validating, cleaning server URL: https://webwork-ptx.aimath.org building representations of generated WeBWorK problem sending webwork-1 to server to save in /workspaces/mth103-book/generated-assets/web/webwork/webwork-representations.xml: origin is 'generated' debug: server-to-ptx: webwork-1 debug: https://webwork-ptx.aimath.org/webwork2/render_rpc debug: DOCUMENT(); debug: debug: ############################################################ debug: # Load Macros debug: ############################################################ debug: loadMacros( debug: "PGstandard.pl", debug: "PGML.pl", debug: "PGcourse.pl", debug: ); debug: debug: TEXT(beginproblem()); debug: debug: Context()->variables->are(x => "Real"); debug: debug: $a = random(2,6,1); debug: $b = non_zero_random(-5,5,1); debug: $f = Formula("$a*x + $b")->reduce; debug: debug: $x1 = random(1,3,1); debug: $x2 = random(-6,-1,0.5); debug: $x3 = 0; debug: $y1 = $f->eval(x=>$x1); debug: $y2 = $f->eval(x=>$x2); debug: $y3 = $f->eval(x=>$x3); debug: debug: ############################################################ debug: # Body debug: ############################################################ debug: debug: BEGIN_PGML debug: Let [`f(x) = [$f]`]. Evaluate: debug: debug: a. [`f([$x1])`] debug: debug: [_]{$y1} debug: debug: b. [`f([$x2])`] debug: debug: [_]{$y2} debug: debug: c. [`f([$x3])`] debug: debug: [_]{$y3} debug: debug: END_PGML debug: debug: BEGIN_PGML_SOLUTION debug: a. [`f([$x1]) = [$y1] `] debug: debug: b. [`f([$x2]) = [$y2] `] debug: debug: c. [`f([$x3]) = [$y3] `] debug: END_PGML_SOLUTION debug: debug: ENDDOCUMENT(); debug: /workspaces/mth103-book/generated-assets/web/webwork/webwork-representations.xml debug: Getting problem response from: https://webwork-ptx.aimath.org/webwork2/render_rpc sending webwork-2 to server to save in /workspaces/mth103-book/generated-assets/web/webwork/webwork-representations.xml: origin is 'generated' debug: server-to-ptx: webwork-2 debug: https://webwork-ptx.aimath.org/webwork2/render_rpc debug: DOCUMENT(); debug: debug: ############################################################ debug: # Load Macros debug: ############################################################ debug: loadMacros( debug: "PGstandard.pl", debug: "PGML.pl", debug: "PGcourse.pl", debug: "parserPopUp.pl" debug: ); debug: debug: TEXT(beginproblem()); debug: Context('Numeric'); debug: $var_indp = PopUp(["?","t", "V", "g"],"t"); debug: $var_dep = PopUp(["?","t", "V", "g"],"V"); debug: $units_indp = PopUp(["?", "dollars", "years", "dollars/year"], "years"); debug: $units_dep = PopUp(["?", "dollars", "years", "dollars/year"], "dollars"); debug: debug: ############################################################ debug: # Body debug: ############################################################ debug: debug: BEGIN_PGML debug: The value of a car, [`V`], in dollars, is a function of the number of years, [`t`], since it was purchased; that is, [`V=g(t)`]. debug: debug: The independent variable is [_]{$var_indp} with units [_]{$units_indp}. debug: debug: The dependent variable is [_]{$var_dep} with units [_]{$units_dep}. debug: debug: END_PGML debug: debug: debug: BEGIN_PGML_SOLUTION debug: The independent variable is [`t`] and has units of years. The dependent variable is [`V`] and has units of dollars. debug: END_PGML_SOLUTION debug: debug: ENDDOCUMENT(); debug: /workspaces/mth103-book/generated-assets/web/webwork/webwork-representations.xml debug: Temporary directories left behind for inspection: ['/ptx-dmg2yct3', '/ptx-qtyrog4u'] debug: Updated these assets successfully: ['webwork'] debug: These assets were unsuccessful: [] Finished generating assets. Finished generating assets successfully. debug: Completed without errors.