Add post-stratification tutorial page (mdx)#142
Closed
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
Closed
Add post-stratification tutorial page (mdx)#142talgalili wants to merge 1 commit intofacebookresearch:mainfrom
talgalili wants to merge 1 commit intofacebookresearch:mainfrom
Conversation
|
@talgalili has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86857631. |
talgalili
added a commit
to talgalili/balance
that referenced
this pull request
Nov 12, 2025
Summary:
This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.
This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.
```
Error: Unable to build website for locale en.
Error: Error: Docusaurus found broken links!
Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.
Exhaustive list of all broken links found:
- On source page path = /docs/docs/statistical_methods/poststratify/:
-> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)
at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```
NOTE: this can only be tested after the previous diff has landed.
Differential Revision: D86857631
d7e012f to
7087337
Compare
talgalili
added a commit
to talgalili/balance
that referenced
this pull request
Nov 12, 2025
Summary:
This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.
This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.
```
Error: Unable to build website for locale en.
Error: Error: Docusaurus found broken links!
Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.
Exhaustive list of all broken links found:
- On source page path = /docs/docs/statistical_methods/poststratify/:
-> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)
at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```
NOTE: this can only be tested after the previous diff has landed.
Differential Revision: D86857631
7087337 to
2c1ac5b
Compare
Summary:
This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.
This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.
```
Error: Unable to build website for locale en.
Error: Error: Docusaurus found broken links!
Please check the pages of your site in the list below, and make sure you don't reference any path that does not exist.
Note: it's possible to ignore broken links with the 'onBrokenLinks' Docusaurus configuration, and let the build pass.
Exhaustive list of all broken links found:
- On source page path = /docs/docs/statistical_methods/poststratify/:
-> linking to ../../tutorials/quickstart_poststratify/ (resolved as: /docs/docs/tutorials/quickstart_poststratify/)
at throwError (/home/runner/work/balance/balance/website/node_modules/docusaurus/logger/lib/index.js:76:11)
at handleBrokenLinks (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/server/brokenLinks.js:153:47)
at async buildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:186:5)
at async tryToBuildLocale (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:41:20)
at async mapAsyncSequential (/home/runner/work/balance/balance/website/node_modules/docusaurus/utils/lib/jsUtils.js:34:24)
at async Command.build (/home/runner/work/balance/balance/website/node_modules/docusaurus/core/lib/commands/build.js:76:21)
[INFO] Docusaurus version: 2.4.3
Node version: v18.20.8
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
```
NOTE: this can only be tested after the previous diff has landed.
Differential Revision: D86857631
2c1ac5b to
6532da5
Compare
|
This pull request has been merged in 995c8bb. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
This adds a documentation page that embeds the post-stratification tutorial notebook as HTML on the balance website.
This is split from the previous diff because the MDX file references a URL that the original diff cannot see, causing validation errors.
NOTE: this can only be tested after the previous diff has landed.
Differential Revision: D86857631