Dyra1204 commited on
Commit
94e21d4
·
verified ·
1 Parent(s): ffc65c3

Upload docs/roadmap.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. docs/roadmap.md +54 -0
docs/roadmap.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BiasXplainer — Roadmap (expanded)
2
+
3
+ This roadmap outlines planned work, priorities and potential milestones for BiasXplainer. Use this as a living document to coordinate development and contributions.
4
+
5
+ ## Short-term (next 1-3 months)
6
+
7
+ 1. Improve documentation and tests
8
+ - Add unit tests for `CounterfactualGenerator` template expansions and replacements.
9
+ - Add examples for SHAP fallback behavior and batch export flows.
10
+ 2. Packaging & CI
11
+ - Add GitHub Actions for linting (black/isort), tests (pytest) and build checks.
12
+ - Create a minimal PyPI package configuration (check `setup.py`) and publish a beta release.
13
+ 3. Better PDF/Export support
14
+ - Replace the lightweight PDF stub with a proper PDF renderer (WeasyPrint or ReportLab).
15
+
16
+ ## Medium-term (3-9 months)
17
+
18
+ 1. Model improvements
19
+ - Provide a small fine-tuned model checkpoint trained to detect gendered stereotypes more accurately.
20
+ - Add model calibration utilities and evaluation scripts (precision/recall by subgroup).
21
+ 2. Explainability & UX
22
+ - Improve SHAP sampling strategy to be faster and provide deterministic seeds for reproducibility.
23
+ - Add a compact REST API wrapper (FastAPI) for programmatic access with rate limiting for batch jobs.
24
+ 3. Evaluation & datasets
25
+ - Collect a small labeled dataset for bias detection (ethical, consented sources) to benchmark model performance.
26
+
27
+ ## Long-term (9-18 months)
28
+
29
+ 1. Integration & plugins
30
+ - Build a plugin system to allow domain-specific rule-sets or templates for counterfactuals.
31
+ - Provide browser extensions or editor plugins (VS Code) to highlight biased text in the editor.
32
+ 2. Governance & community
33
+ - Create contribution guidelines, a Code of Conduct and a roadmap board for public issue prioritization.
34
+
35
+ ## Optional / Nice-to-have
36
+
37
+ - Multi-lingual support: extend detectors and templates for non-English languages.
38
+ - Real-time inference: WebSocket-backed service that highlights text as the user types.
39
+ - Active learning loop: allow human reviewers to confirm/correct model predictions and use those labels to refine the model.
40
+
41
+ ## Contributors & Ownership
42
+
43
+ Primary owner: dyra-12 (repository)
44
+ Open to contributors: yes — accept PRs with tests and clear descriptions.
45
+
46
+ ## How to help
47
+
48
+ - File issues with concrete reproduction steps.
49
+ - Provide small PRs: docs, tests, or bugfixes are the most welcome.
50
+ - Validate exports and edge-cases with real sample text from target domains.
51
+
52
+ ---
53
+
54
+ This roadmap is intentionally lightweight — if you want a project board or milestones created in GitHub I can scaffold a GitHub Projects board and open issues for the short-term items.