DEI Statement Drafter#
Draft Diversity, Equity, and Inclusion (DEI) statements for academic job applications and grant proposals.
Usage#
bash
python scripts/main.py --template faculty --experiences experiences.txt
Parameters#
ParameterTypeDefaultRequiredDescription--template, -tstringfacultyNoStatement template (faculty, postdoc, grant)--experiences, -estring-NoFile with DEI-related experiences--output, -ostring-NoOutput file path--best-practices, -bflag-NoShow DEI statement best practices
Statement Components#
- Personal background and perspective
- DEI-related experiences
- Future plans and commitment
- Specific actions and initiatives
Output#
- Structured DEI statement
- Section suggestions
- Best practice tips
Risk Assessment#
Risk IndicatorAssessmentLevelCode ExecutionPython/R scripts executed locallyMediumNetwork AccessNo external API callsLowFile System AccessRead input files, write output filesMediumInstruction TamperingStandard prompt guidelinesLowData ExposureOutput files saved to workspaceLow
Security Checklist#
- No hardcoded credentials or API keys
- No unauthorized file system access (../)
- Output does not expose sensitive information
- Prompt injection protections in place
- Input file paths validated (no ../ traversal)
- Output directory restricted to workspace
- Script execution in sandboxed environment
- Error messages sanitized (no stack traces exposed)
- Dependencies audited
Prerequisites#
No additional Python packages required.
Evaluation Criteria#
Success Metrics#
- Successfully executes main functionality
- Output meets quality standards
- Handles edge cases gracefully
- Performance is acceptable
Test Cases#
- Basic Functionality: Standard input → Expected output
- Edge Case: Invalid input → Graceful error handling
- Performance: Large dataset → Acceptable processing time
Lifecycle Status#
-
Current Stage: Draft
-
Next Review Date: 2026-03-06
-
Known Issues: None
-
Planned Improvements:
- Performance optimization
- Additional feature support