Fix character profile extractor tests and Gradio 6.0 compatibility#121
Fix character profile extractor tests and Gradio 6.0 compatibility#121google-labs-jules[bot] wants to merge 2 commits intomainfrom
Conversation
- Fix `tests/test_character_profile_extractor.py` to use `_parse_plaintext_transcript` with file paths and correct arguments for `_resolve_character_name`. - Add `tests/test_character_profile_extractor_long.py` to regression test processing of long transcripts. - Fix `app.py` and `src/ui/process_session_components.py` for Gradio 6.0 compatibility (removed deprecated `theme`, `css`, `show_copy_button` arguments). - Ensure environment dependencies (gradio, google-auth, torch, etc.) are installed.
- Fix `tests/test_character_profile_extractor.py` to use `_parse_plaintext_transcript` with file paths and correct arguments for `_resolve_character_name`. - Add `tests/test_character_profile_extractor_long.py` to regression test processing of long transcripts. - Fix `app.py` and `src/ui/process_session_components.py` for Gradio 6.0 compatibility (removed deprecated `theme`, `css`, `show_copy_button` arguments). - Ensure environment dependencies (gradio, google-auth, torch, etc.) are installed. - Update `docs/archive/OUTSTANDING_TASKS.md` and `docs/archive/BUG_HUNT_TODO.md` to mark BUG-20251102-49 as complete.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
Fixed broken tests in
tests/test_character_profile_extractor.pyby updating them to match the current implementation ofCharacterProfileExtractor(_parse_plaintext_transcripttaking path, correct signature for_resolve_character_name). Added a new regression test filetests/test_character_profile_extractor_long.pyto verify handling of long transcripts (addressing BUG-20251102-49). Also fixed Gradio 6.0 compatibility issues inapp.pyandsrc/ui/process_session_components.pydiscovered during pre-commit checks. Updated documentation to reflect the completion of BUG-20251102-49.PR created automatically by Jules for task 1052395796508725827 started by @Gambitnl