How souravkh/dum-e works
DUM-E is a browser-based prompt testing toolkit. Its visible capabilities include selecting a text file, running and timing prompt tests, presenting prompt results, and exporting prompt records as TXT or XLSX. The entry point mounts the React app; the sampled upload component validates file extensions, while file parsing and result presentation are separate modules. App composition and several connections between features are not shown in the excerpts, so those relationships are left unspecified rather than inferred.
Main entry points: main.tsx React Entry · PromptManagement.tsx Prompt Upload · App.tsx Application · ExtensionHelper.ts TXT Extension Check
Components 12
Application UI
- React Entry
src/main.tsx - Application
src/App.tsx - App Shell
src/AppShell.tsx - Header
src/features/header/header.tsx - Footer
src/features/footer/Footer.tsx
Prompt Workflow
- Prompt Upload
src/features/prompt-management/PromptManagement.tsx - Prompt Test Runner
src/features/test-runner/TextRunner.tsx - Prompt Results
src/features/result/Prompts.tsx
Prompt Utilities
- TXT Extension Check
src/features/utils/ExtensionHelper.ts - TXT File Reader
src/features/utils/TxtFileReader.ts - Prompt Export
src/features/utils/exportService.ts
Other components
- User
Connections 2
- React Entry → Application: mounts
src/main.tsx - Prompt Upload → TXT Extension Check: validates filename
src/features/prompt-management/PromptManagement.tsx