Skip to content

[Minor] ChartMimic: Add exception guard, 600s timeout, chart_type 120s, log to debug#1465

Open
TianhaoLiang2000 wants to merge 1 commit intoopen-compass:mainfrom
TianhaoLiang2000:chartmimic-improvements
Open

[Minor] ChartMimic: Add exception guard, 600s timeout, chart_type 120s, log to debug#1465
TianhaoLiang2000 wants to merge 1 commit intoopen-compass:mainfrom
TianhaoLiang2000:chartmimic-improvements

Conversation

@TianhaoLiang2000
Copy link
Contributor

  • judge_one_item() wraps _judge_one_item() in try-except; returns zero score dict on failure
  • Original logic moved to _judge_one_item() with @timeout(600, use_signals=False)
  • chart_type_evaluator timeout raised from 60s to 120s
  • logger.info -> logger.debug for per-item score logs to reduce noise

… 120s, log to debug

- judge_one_item() wraps _judge_one_item() in try-except; returns zero score dict on failure
- Original logic moved to _judge_one_item() with @timeout(600, use_signals=False)
- chart_type_evaluator timeout raised from 60s to 120s
- logger.info -> logger.debug for per-item score logs to reduce noise
@TianhaoLiang2000 TianhaoLiang2000 changed the title [Fix] ChartMimic: Add exception guard, 600s timeout, chart_type 120s, log to debug [Minor] ChartMimic: Add exception guard, 600s timeout, chart_type 120s, log to debug Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant