This page summarizes the development roadmap for DataLab Web.
- Extrapolation (power-law, Richardson, Shanks, Levin u-transform, custom formula)
- Error propagation (numerical derivatives, uncertainty synthesis, constants support)
- Fitting (polynomial, inverse-power, Padé, power-limit, custom models)
- Statistics (mean, sample variance, weighted variance)
- LaTeX table generation and optional PDF compilation
- CSV export
- Dark/light theme support
- Unified “?” help buttons
- Keep implementation details out of the main UI (technical info stays in docs)
- Responsive layout for mobile
- Theme toggle
- CSRF protection
- Input validation and size limits
- Sandboxed LaTeX compilation
- Secret key configured via environment variables
- Deployment documentation (Gunicorn / Nginx)
- Flask routes:
/docsand/docs/<page> - Markdown rendering with HTML escaping
- Whitelist mapping to prevent path traversal
docs.htmltemplate and navigation entry
- Frontend i18n module (
static/js/i18n.js) - Bilingual UI strings and a language switcher
- Remember language preference in the browser
- Help specs stored in
shared/help_specs.json - Method help and formula function list (ZH/EN)
- “?” modal UI; help content follows language changes
- Interactive onboarding/tutorial
- Built-in example datasets
- Local computation history
- Batch processing (multi-file input)
- Parameter sweeps
- More extrapolation methods and fitting models
- Result caching
- Async job queue for heavy computations
- Expand bilingual docs coverage
- Additional languages
- Security first: validate all user input; sandbox LaTeX compilation
- Backward compatibility: new features must not break existing workflows
- No tech stack in main UI: technical details belong in
/docs - Single source of truth: specs/docs/help stay consistent
- Progressive enhancement: core features work without JS; JS adds convenience
Contributions are welcome:
- Fork the repository and create a feature branch
- Ensure tests pass
- Update docs when adding features
- Submit a pull request with a clear description