Skip to content

feat: add remote synthetic corpus support and paper-style docs#5

Merged
nikazzio merged 7 commits intomainfrom
feat/remote-synthetic-paper-docs
Feb 12, 2026
Merged

feat: add remote synthetic corpus support and paper-style docs#5
nikazzio merged 7 commits intomainfrom
feat/remote-synthetic-paper-docs

Conversation

@nikazzio
Copy link
Owner

This pull request updates the documentation for Maxwell-Demon, shifting from informal guides to a more formal, English-language specification of the methodology, operational protocol, and theoretical framework. The changes clarify the dual-reference classification approach, provide a step-by-step execution protocol, and formalize the mathematical/statistical basis for distinguishing human and synthetic text. The documentation is now more accessible for non-Italian speakers and better structured for reproducible research.

Documentation modernization and clarity:

  • DOC/README.md: Rewrote the overview in English, clarified the contents and purpose of each documentation file, and emphasized the formal nature of the technical documentation.
  • DOC/guide.md: Replaced the informal Italian-centric workflow with a formalized operational protocol, specifying reproducibility preconditions, dataset validation, reference calibration, tournament inference, phase-space analysis, and interpretation heuristics. Added explicit commands, acceptance criteria, and minimal execution traces.

Formalization of theoretical framework:

  • DOC/theoretical_framework.md: Reorganized and formalized the mathematical/statistical basis for the dual-reference method. Defined the problem, dual-reference hypothesis, tournament mechanics, differential entropy statistic, interpretation regime, burstiness descriptor, phase-space geometry, and validity constraints. Provided explicit equations and clarified the operational meaning of key metrics (delta_h, burstiness_paisa).

@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 35.64155% with 316 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.08%. Comparing base (b3f092d) to head (33fee03).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/maxwell_demon/tools/report_stats.py 0.00% 78 Missing ⚠️
src/maxwell_demon/tools/plot_phase.py 0.00% 45 Missing ⚠️
src/maxwell_demon/tournament_cli.py 0.00% 43 Missing ⚠️
src/maxwell_demon/output_paths.py 28.30% 37 Missing and 1 partial ⚠️
src/maxwell_demon/config.py 38.18% 17 Missing and 17 partials ⚠️
src/maxwell_demon/cli.py 63.49% 14 Missing and 9 partials ⚠️
src/maxwell_demon/analyzer.py 72.97% 11 Missing and 9 partials ⚠️
src/maxwell_demon/tools/plot_results.py 0.00% 14 Missing ⚠️
src/maxwell_demon/tools/plot_results_html.py 0.00% 14 Missing ⚠️
src/maxwell_demon/tournament.py 83.33% 3 Missing and 3 partials ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   48.86%   37.08%   -11.78%     
===========================================
  Files           9       13        +4     
  Lines         395      728      +333     
  Branches       70      127       +57     
===========================================
+ Hits          193      270       +77     
- Misses        171      403      +232     
- Partials       31       55       +24     
Flag Coverage Δ
unittests 37.08% <35.64%> (-11.78%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nikazzio nikazzio merged commit 7e68547 into main Feb 12, 2026
1 of 3 checks passed
@nikazzio nikazzio deleted the feat/remote-synthetic-paper-docs branch February 12, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant