mitodl / mitx-grading-library

The MITx Grading Library, a python grading library for edX
https://edge.edx.org/courses/course-v1:MITx+grading-library+examples/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

Tidying up calc.py #63

Closed jolyonb closed 6 years ago

jolyonb commented 6 years ago

This does a bunch of tidying in calc.py.

<sum>
  <number>
    <num>1</num>
  </number>
  <op>+</op>
  <product>
    <power>
      <number>
        <num>2</num>
      </number>
      <op>-</op>
      <number>
        <num>2</num>
      </number>
    </power>
    <op>*</op>
    <function>
      <funcname>sin</funcname>
      <arguments>
        <variable>
          <varname>x</varname>
        </variable>
      </arguments>
    </function>
  </product>
</sum>

I was trying to get the variable tags to work as <variable>x</variable>, but I couldn't seem to get that to happen...

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling e56a40d7919691a50658e9e87d0d224644026ad0 on calc_tidy into c358c71ee79765250a164dc2e3bdc734cfb181df on master.

jolyonb commented 6 years ago

@ChristopherChudzicki This is ready for proofing now.