(code: string)
| 53 | }; |
| 54 | |
| 55 | function detectRequiredHandlers(code: string): string[] { |
| 56 | const handlers: string[] = ['basic']; |
| 57 | |
| 58 | if (code.includes('matplotlib') || code.includes('plt.')) { |
| 59 | handlers.push('matplotlib'); |
| 60 | } |
| 61 | |
| 62 | return handlers; |
| 63 | } |
| 64 | |
| 65 | interface Metadata { |
| 66 | outputs: Array<ConsoleOutput>; |
no outgoing calls
no test coverage detected
searching dependent graphs…