Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Make tests/datatests/test_new_tasks.py work #3167

Merged
merged 2 commits into from
Oct 7, 2020
Merged

Make tests/datatests/test_new_tasks.py work #3167

merged 2 commits into from
Oct 7, 2020

Conversation

moyapchen
Copy link
Contributor

Values were there, just the format changed slightly.

Tested/debugged by changing
parlai/tasks/jsonfile/agents.py
to load in the example json file colocated in the same directly.

Printed the results of verify(opt) as well as the KEYS object; that made it clear-ish what ought to be happening.

Patch description

Testing steps

Logs

Other information

Data tests (if applicable)
If you added a new teacher, you will be asked to run
python tests/datatests/test_new_tasks.py. Please paste this log here.

Values were there, just the format changed slightly.

Tested/debugged by changing
  `parlai/tasks/jsonfile/agents.py`
to load in the example json file colocated in the same directly.

Printed the results of `verify(opt)` as well as the `KEYS` object; that made it clear-ish what ought to be happening.
Copy link
Contributor

@stephenroller stephenroller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants