| name | comparison-table-gen |
| description | Auto-generates comparison tables for concepts, drugs, or study results in Markdown format. |
| version | 1.0.0 |
| category | Info |
| tags | ["comparison","table","markdown","research"] |
| author | AIPOCH |
| license | MIT |
| status | Draft |
| risk_level | Medium |
| skill_type | Tool/Script |
| owner | AIPOCH |
| reviewer | |
| last_updated | 2026-02-06 |
Comparison Table Gen
Generates comparison tables for medical content.
Features
- Side-by-side comparisons
- Markdown table output
- Drug comparison templates
- Study result comparisons
Parameters
| Parameter | Type | Default | Required | Description |
|---|
--items, -i | string | - | Yes | Items to compare (comma-separated) |
--attributes, -a | string | - | Yes | Comparison attributes (comma-separated) |
--output, -o | string | - | No | Output JSON file path |
Usage
python scripts/main.py --items "Drug A,Drug B" --attributes "Mechanism,Dose,Side Effects"
python scripts/main.py --items "Surgery,Chemo,Radiation" --attributes "Cost,Efficacy" --output comparison.json
Input Format
- items: Comma-separated list of items to compare (e.g., "Drug A,Drug B")
- attributes: Comma-separated list of comparison attributes (e.g., "Mechanism,Dose")
Output Format
{
"markdown_table": "string",
"html_table": "string"
}
Risk Assessment
| Risk Indicator | Assessment | Level |
|---|
| Code Execution | Python/R scripts executed locally | Medium |