Conference Abstract Adaptor
Conference-specific abstract formatting.
Use Cases
- - Multi-conference submissions
- Word count compliance
- Format standardization
- Deadline management
Parameters
| Parameter | Type | Default | Required | Description |
|---|
| INLINECODE0 , INLINECODE1 | string | - | Yes | Abstract text file path |
| INLINECODE2 , INLINECODE3 |
string | - | Yes | Target conference (ASGCT, ASCO, SfN, AACR, ASM) |
|
--output,
-o | string | - | No | Output file path |
|
--list-conferences,
-l | flag | - | No | List supported conferences |
Usage
CODEBLOCK0
Supported Conferences
| Conference | Word Limit | Format |
|---|
| ASGCT | 250 words | Structured (Background/Methods/Results/Conclusion) |
| ASCO |
260 words | Structured (Background/Methods/Results/Conclusion) |
|
SfN | 2000 chars | Single abstract |
|
AACR | 300 words | Structured (Background/Methods/Results/Conclusion) |
|
ASM | 300 words | Single abstract |
Returns
- - Reformatted abstract
- Word count verification
- Required sections checklist
- Submission-ready text
Risk Assessment
| Risk Indicator | Assessment | Level |
|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access |
No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
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
- 1. 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
会议摘要适配器
针对特定会议的摘要格式调整。
使用场景
参数
| 参数 | 类型 | 默认值 | 必填 | 描述 |
|---|
| --abstract, -a | 字符串 | - | 是 | 摘要文本文件路径 |
| --conference, -c |
字符串 | - | 是 | 目标会议(ASGCT、ASCO、SfN、AACR、ASM) |
| --output, -o | 字符串 | - | 否 | 输出文件路径 |
| --list-conferences, -l | 标志 | - | 否 | 列出支持的会议 |
使用方法
bash
为ASCO适配摘要
python scripts/main.py --abstract my_abstract.txt --conference ASCO
将适配后的摘要保存到文件
python scripts/main.py --abstract my_abstract.txt --conference ASGCT --output adapted.txt
列出所有支持的会议
python scripts/main.py --list-conferences
支持的会议
| 会议 | 字数限制 | 格式 |
|---|
| ASGCT | 250字 | 结构化(背景/方法/结果/结论) |
| ASCO |
260字 | 结构化(背景/方法/结果/结论) |
|
SfN | 2000字符 | 单一摘要 |
|
AACR | 300字 | 结构化(背景/方法/结果/结论) |
|
ASM | 300字 | 单一摘要 |
返回结果
- - 重新格式化的摘要
- 字数验证
- 必需部分清单
- 可直接提交的文本
风险评估
| 风险指标 | 评估 | 等级 |
|---|
| 代码执行 | 本地运行Python/R脚本 | 中 |
| 网络访问 |
无外部API调用 | 低 |
| 文件系统访问 | 读取输入文件,写入输出文件 | 中 |
| 指令篡改 | 标准提示指南 | 低 |
| 数据泄露 | 输出文件保存到工作区 | 低 |
安全检查清单
- - [ ] 无硬编码凭据或API密钥
- [ ] 无未经授权的文件系统访问(../)
- [ ] 输出不泄露敏感信息
- [ ] 已实施提示注入防护
- [ ] 输入文件路径已验证(无../遍历)
- [ ] 输出目录限制在工作区内
- [ ] 脚本在沙盒环境中执行
- [ ] 错误消息已清理(不暴露堆栈跟踪)
- [ ] 依赖项已审计
前提条件
无需额外Python包。
评估标准
成功指标
- - [ ] 成功执行主要功能
- [ ] 输出符合质量标准
- [ ] 优雅处理边缘情况
- [ ] 性能可接受
测试用例
- 1. 基本功能:标准输入 → 预期输出
- 边缘情况:无效输入 → 优雅的错误处理
- 性能:大数据集 → 可接受的处理时间
生命周期状态
- - 当前阶段:草稿
- 下次审查日期:2026-03-06
- 已知问题:无
- 计划改进:
- 性能优化
- 附加功能支持