recommenders-team / recommenders

Best Practices on Recommendation Systems
https://recommenders-team.github.io/recommenders/intro.html
MIT License
18.81k stars 3.07k forks source link

[FEATURE] Alternative to scrapbook to execute notebooks programmatically for tests #2012

Closed miguelgfierro closed 8 months ago

miguelgfierro commented 11 months ago

Description

Scrapbook is not being developed anymore, and it doesn't support Python 3.10 (See https://github.com/recommenders-team/recommenders/pull/1988#issuecomment-1712425248)

Expected behavior with the suggested feature

Other Comments

miguelgfierro commented 11 months ago

WIP: https://github.com/miguelgfierro/pybase/pull/73

SimonYansenZhao commented 11 months ago

@miguelgfierro I don't find any alternatives to scrapbook after googling. The solutions, I think, may be

  1. Use nbformat as you do in https://github.com/miguelgfierro/pybase/pull/73
  2. Borrow and modify the functions like sb.glue() as @anargyri said in the meeting and make them part of Recommenders.

For the 1st option, I saw you wrote the functions to do that, what else should we do? I can try tomorrow.

miguelgfierro commented 11 months ago

Actually, option 2 is kind of what I was doing in 1. If you have time it would be great if you could try 1.

miguelgfierro commented 10 months ago

I think I have finished the functions, see https://github.com/miguelgfierro/pybase/pull/73

Man, they say the most difficult language in the world is Chinese, but I think it is regex. Thank goodness that we have ChatGPT.

@SimonYansenZhao I'll start a PR soon to replace all the scrapbook

miguelgfierro commented 8 months ago

Fixed!