Skip to content

Releases: datacamp/pythonwhat

v2.20.1

05 Sep 19:02
Compare
Choose a tag to compare

Enhancements

  • Speed improvements

v2.20.0

05 Sep 19:03
Compare
Choose a tag to compare

Enhancements

  • Expose _debug function
  • Update protowhat

v2.19.0

25 Mar 12:38
Compare
Choose a tag to compare
  • state is now the first argument to SCT functions (instead of a keyword argument)
  • functionality is shared with protowhat:
    • Reporter, Chain, F and logic SCTs are reused
    • State and Feedback inherit
    • Dispatcher handles parsing (decoupled from State)
    • Test moved

v2.18.1

21 Nov 10:04
Compare
Choose a tag to compare

Fixes

  • Fix setup_state

v2.18.0

06 Nov 13:30
Compare
Choose a tag to compare

Enhancements

  • Support force_diagnose
  • update Travis config and vulnerable dependency

v2.8.0

30 Jun 07:55
Compare
Choose a tag to compare
bump minor version

SCT composition with `>>` operator

21 Jun 17:51
Compare
Choose a tag to compare

May now pass a state to Ex, and use >> for chaining. E.g.

state = some_state_producing_func()
Ex(state) >> test_student_typed('abc')

# equivalent to
Ex(state).test_student_typed('abc')

allow legacy SCTs to specify copy option

08 Jun 19:48
Compare
Choose a tag to compare

option to disable copying in has_expr

25 May 20:59
Compare
Choose a tag to compare

pythonwhat tries make deepcopies of some objects, to avoid problems arising from mutation via SCTs.
Now the copy arg can disable deep copying. Should speed up SCTs, but can be scary and dangerous.

E.g. Ex().has_equal_value(copy = False)

bugfix: remove unnecessary root Expr in has_equal_ast

19 Apr 13:46
Compare
Choose a tag to compare