{"id":20493212,"url":"https://github.com/exios66/python-moral-graph","last_synced_at":"2026-02-04T09:46:27.860Z","repository":{"id":260449789,"uuid":"881322424","full_name":"Exios66/Python-Moral-Graph","owner":"Exios66","description":"Moral Graph Generation with Python.","archived":false,"fork":false,"pushed_at":"2024-11-04T14:34:25.000Z","size":338,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T05:55:35.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://exios66.github.io/Python-Moral-Graph/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exios66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-31T10:47:08.000Z","updated_at":"2024-12-18T20:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"a446b4f4-103b-45bc-ba52-5273becc3252","html_url":"https://github.com/Exios66/Python-Moral-Graph","commit_stats":null,"previous_names":["exios66/python-moral-graph"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPython-Moral-Graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPython-Moral-Graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPython-Moral-Graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2FPython-Moral-Graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exios66","download_url":"https://codeload.github.com/Exios66/Python-Moral-Graph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242074790,"owners_count":20068116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T17:33:56.346Z","updated_at":"2026-02-04T09:46:22.825Z","avatar_url":"https://github.com/Exios66.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-Moral-Graph\n\nA Python package for simulating and analyzing moral decision-making experiments using a sophisticated rubric-based evaluation system.\n\n## Features\n\n- Simulates psychological experiments with multiple participants and chatbots\n- Implements a comprehensive moral evaluation rubric with 8 dimensions\n- Generates detailed analytics and visualizations\n- Supports customizable experiment parameters\n- Provides data export capabilities for further analysis\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/Python-Moral-Graph.git\ncd Python-Moral-Graph\n```\n\n2. Install dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom moral_graph import simulate_experiment\n\n# Run simulation with 100 participants\nexperiment_data = simulate_experiment(num_participants=100)\n\n# Save results to CSV\nexperiment_data.to_csv('experiment_results.csv', index=False)\n```\n\n### Running the Full Pipeline\n\n```bash\npython src/main.py\n```\n\nThis will:\n\n1. Run the experiment simulation\n2. Generate visualizations\n3. Create a summary report\n4. Save all outputs to the `data/outputs` directory\n\n## Project Structure\n\n```plaintext\n\nPython-Moral-Graph/\n├── data/\n│   └── outputs/          # Generated data and visualizations\n├── src/\n│   ├── moral_graph/     # Main package\n│   │   ├── __init__.py\n│   │   ├── core.py      # Core classes and constants\n│   │   ├── simulator.py # Simulation logic\n│   │   └── visualization.py # Data visualization\n│   └── main.py          # Example usage script\n├── tests/               # Test files\n├── requirements.txt     # Project dependencies\n└── README.md           # This file\n```\n\n## Moral Graph Rubric Dimensions\n\nThe evaluation system uses 8 key dimensions:\n\n1. Ethical Alignment (20%)\n2. Empathy and Emotional Intelligence (15%)\n3. Accuracy and Reliability (20%)\n4. Engagement and Responsiveness (10%)\n5. Cultural Sensitivity (10%)\n6. Conflict Resolution and Problem-Solving (10%)\n7. Privacy and Confidentiality (10%)\n8. Adaptability and Learning (5%)\n\n## Testing\n\nRun tests using pytest:\n\n```bash\npytest tests/\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fpython-moral-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexios66%2Fpython-moral-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fpython-moral-graph/lists"}