-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] calling ramp-test as python <file>.py
so debugger can be used
#183
Comments
In a python prompt you can do
then
if you are in a valid RAMP kit. If you want to test another submission, do
For the rest, see the signature of assert submission. |
Sort of related to #159 |
I added this remark to the wiki: https://github.com/paris-saclay-cds/ramp-workflow/wiki/Getting-started-with-a-ramp-kit#test-the-execution |
BTW, for me adding a breakpoint in a submission and calling ramp_test_submission goes into the debugger. |
python <file>.py
so debugger can be usedpython <file>.py
so debugger can be used
Also discussed in #131 |
thanks for the tip @jorisvandenbossche |
Now you can use directly |
Thanks @glemaitre! Is there an example somewhere? |
You can check the following notebook from the iris challenge:
https://github.com/ramp-kits/iris/blob/master/iris_starting_kit.ipynb
Then, it requires to change the problem.py file using the Estimator or
EstimatorExternalData class.
We did not find more case for the moment for our simple challenge.
…On Fri, 28 Feb 2020 at 17:46, Albert Thomas ***@***.***> wrote:
Thanks @glemaitre <https://github.com/glemaitre>! Is there an example
somewhere?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#183?email_source=notifications&email_token=ABY32PYWY4CLLQGK6AU5ORDRFE5XPA5CNFSM4G4VCTJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJFHPA#issuecomment-592597948>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABY32P3X2MAOJIJ473DHCI3RFE5XPANCNFSM4G4VCTJQ>
.
--
Guillaume Lemaitre
Scikit-learn @ Inria Foundation
https://glemaitre.github.io/
|
Another solution that I didn't test: calling |
No description provided.
The text was updated successfully, but these errors were encountered: