Skip to content

sekacorn/Research-OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Research OS

Open research platform for quantitative social-science workflows.

Research OS is a local-first application for loading tabular data, exploring patterns, running hypothesis tests and regression models, generating cautious interpretation text, and connecting results to open-access literature. It is designed for researchers who want a lightweight reproducible workflow rather than a dashboard product.

Highlights

  • Local-first data workflow with editable previews and export support
  • EDA, hypothesis testing, OLS, logistic regression, diagnostics, and effect sizes
  • Mandatory methods/assumptions coaching layer for cautious interpretation
  • Report generation with methods, diagnostics, limitations, and next steps
  • Literature workflow for OpenAlex search, OA-only PDF downloads, citation export, and notes
  • Dataset export writes a machine-readable schema sidecar for reproducibility
  • Report export includes a downloadable analysis manifest JSON
  • Synthetic sample dataset included for demos and screenshots

Screenshots

Data Workflow

Data tab showing the loaded synthetic sample dataset, editable preview, schema table, missingness table, and export tools

Analysis Summary

Analysis tab showing numeric summaries and categorical counts in table form for non-visual inspection

Analysis Plots

Analysis tab showing histograms, category counts, scatter plot, and correlation heatmap in a two-column layout

Report Preview

Report tab showing the generated report preview with methods, model summary, diagnostics, and download actions

Literature Support

Literature tab showing PDF upload, OpenAlex search, local library entries, and citation and note actions

Who It Is For

Research OS is intended for quantitative researchers working with survey, observational, administrative, or other structured social data, including work in:

  • sociology
  • political science
  • public health
  • education research
  • criminology
  • economics
  • adjacent fields using reproducible quantitative methods

Workflow

  1. Load your own dataset or use the included sample dataset.
  2. Inspect schema, missingness, and exploratory summaries.
  3. Run hypothesis tests and regression models.
  4. Review methods-coach outputs, warnings, and limitations.
  5. Attach literature context and citations.
  6. Export a report draft for further writing and revision.

Quick Start

Windows

py -m pip install -U pip
py -m pip install -e .
py -m pip install -r requirements-dev.txt
run.bat

Linux / macOS

bash setup.sh
bash run.sh

Frontend default URL:

  • http://127.0.0.1:8501

API docs default URL:

  • http://127.0.0.1:8000/docs

To stop the app:

  • Windows: stop.bat
  • Linux / macOS: bash stop.sh

Sample Data

The repo includes a synthetic dataset at data/sample_students.csv. In the UI, use the Load sample dataset button on the Data page to populate the app quickly for demos, screenshots, and smoke testing.

Key Modules

  • app_streamlit/: Streamlit UI for Data, Analysis, Models, Report, and Literature pages
  • stats_engine/: schema, EDA, tests, regression, diagnostics, effect sizes, report generation, and interpretation helpers
  • literature/: OpenAlex search, OA resolution, PDF handling, local library, citations, and notes
  • api_fastapi/: thin FastAPI wrapper around existing stats and literature logic
  • docs/screenshots/: README screenshots

Accessibility

Accessibility notes are documented in ACCESSIBILITY.md.

Current status:

  • The project is not formally certified as Section 508 compliant.
  • The current UI uses labeled Streamlit controls and text-based status messages for most actions.
  • The biggest remaining accessibility risks are chart accessibility, screen-reader validation of complex widgets like st.data_editor, and the lack of a formal keyboard/screen-reader audit.

Documentation

Verification

  • Test suite: 33 passed
  • FastAPI contract tests: passing
  • Report-generation tests: passing

Run locally with:

python -m pytest -q

On Windows, replace python with py if needed.

About

Open research platform for quantitative social-science analysis, literature workflows, and reproducible reporting.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors