Auto-translated map_item updates from 4CAT (bootstrap, 13 datasources)#90
Auto-translated map_item updates from 4CAT (bootstrap, 13 datasources)#904cat-to-zeeschuimer-automation-pr[bot] wants to merge 44 commits into
Conversation
|
Worked through my tests. And we're clean for this: Looks like I am missing some datasources (and randomly have two rednotes). |
|
@stijn-uva these datasets were all pretty recent ones I collected to have something to test against and not necessarily comprehensive. Also, I was not super sure how to test all of this together so I ended up merging the Perhaps we should delete the linkedin and rednote-comment mappers until we can test them properly. |
Generation parameters
gpt-oss-120b(provider:litellm)workflow_dispatchwithbootstrap=true(initial sync of all Zeeschuimer datasources).Summary
datasources/douyin/search_douyin.pymodules/douyin.jsdatasources/gab/search_gab.pymodules/gab.jsdatasources/imgur/search_imgur.pymodules/imgur.jsdatasources/instagram/search_instagram.pymodules/instagram.jsdatasources/linkedin/search_linkedin.pymodules/linkedin.jsdatasources/ninegag/search_9gag.pymodules/9gag.jsdatasources/pinterest/search_pinterest.pymodules/pinterest.jsdatasources/threads/search_threads.pymodules/threads.jsdatasources/tiktok/search_tiktok.pymodules/tiktok.jsdatasources/tiktok_comments/search_tiktok_comments.pymodules/tiktok-comments.jsdatasources/truth/search_truth.pymodules/truth.jsdatasources/xiaohongshu/search_rednote.pymodules/rednote.jsdatasources/xiaohongshu_comments/search_rednote_comments.pymodules/rednote-comments.jsThe following datasources translated successfully but the static lint flagged issues that need human fixes. The auto-generated code was spliced into the JS module as-is; please patch the file directly in this PR.
datasources/douyin/search_douyin.py->modules/douyin.jsdatasources/instagram/search_instagram.py->modules/instagram.js"\n") or template literals (`\n`).datasources/linkedin/search_linkedin.py->modules/linkedin.jsdatasources/threads/search_threads.py->modules/threads.js"\n") or template literals (`\n`).datasources/tiktok/search_tiktok.py->modules/tiktok.jsfprefix,"text {var}"/'text {var}'are literal text in JavaScript — no interpolation happens. Whenever the original Python used an f-string, the JS must use a template literal (backticks)..get(call found. Pythondict.get(k[, default])does not exist in JavaScript — use[k]/[k] ?? default. NOTE: this check is a plain substring match, so it also flags legitimate JS.get()onMap,URLSearchParams,Headers, etc. — ignore the warning if the receiver is one of those.datasources/xiaohongshu/search_rednote.py->modules/rednote.js"\n") or template literals (`\n`)."\n") or template literals (`\n`).datasources/douyin/search_douyin.py->modules/douyin.js(42.77s)LLM commentary:
datasources/gab/search_gab.py->modules/gab.js(27.53s)LLM commentary:
datasources/imgur/search_imgur.py->modules/imgur.js(12.93s)LLM commentary:
datasources/instagram/search_instagram.py->modules/instagram.js(52.96s)LLM commentary:
datasources/linkedin/search_linkedin.py->modules/linkedin.js(52.03s)LLM commentary:
datasources/ninegag/search_9gag.py->modules/9gag.js(14.75s)LLM commentary:
datasources/pinterest/search_pinterest.py->modules/pinterest.js(25.6s)LLM commentary:
datasources/threads/search_threads.py->modules/threads.js(25.11s)LLM commentary:
datasources/tiktok/search_tiktok.py->modules/tiktok.js(18.64s)LLM commentary:
datasources/tiktok_comments/search_tiktok_comments.py->modules/tiktok-comments.js(13.58s)LLM commentary:
datasources/truth/search_truth.py->modules/truth.js(19.59s)LLM commentary:
datasources/xiaohongshu/search_rednote.py->modules/rednote.js(24.17s)LLM commentary:
datasources/xiaohongshu_comments/search_rednote_comments.py->modules/rednote-comments.js(13.12s)LLM commentary:
Failures
datasources/twitter-import/search_twitter.py(after 38.29s): could not parse a JSON object from the model reply