Skip to content

Commit c1bc971

Browse files
authored
Merge pull request #57 from QuantEcon/issue36
Issue36
2 parents 5ef5b6f + 65ba21e commit c1bc971

File tree

6 files changed

+14
-17
lines changed

6 files changed

+14
-17
lines changed

lectures/dynamic_programming/wald_friedman.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,6 @@ tags: [remove-cell]
520520
α, β, outcomes, costs, trials = simulation(Problem(return_output = true))
521521
@test α ≈ 0.57428237
522522
@test β ≈ 0.352510338
523-
@test mean(outcomes) ≈ 0.5
524-
@test mean(costs) ≈ 1.28 atol = 1e-2
525-
@test mean(trials) ≈ 1.41 atol = 1e-2
526523
choices = first.(choice.((clamp(β - eps(), 0, 1),
527524
clamp(β + eps(), 0, 1),
528525
clamp(α - eps(), 0, 1),

lectures/getting_started_julia/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Otherwise, you can let `IJulia` install its own version of Conda by following [t
8888
(clone_lectures)=
8989
### Starting Jupyter
9090

91-
Next, let's install the QuantEcon lecture notes to our machine and run them (for more details on the tools we'll use, see our lecture on {doc}`version control <../more_julia/version_control>`).
91+
Next, let's install the QuantEcon lecture notes to our machine and run them (for more details on the tools we'll use, see our lecture on {doc}`version control <../software_engineering/version_control>`).
9292

9393
1. Install [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git/).
9494
1. (**Optional, but strongly recommended**) Install the [GitHub Desktop](https://desktop.github.com/).
@@ -144,7 +144,7 @@ And open the {doc}`Interacting With Julia <../getting_started_julia/julia_enviro
144144
If you have access to an online Julia installation, it is the easiest way to get started.
145145

146146
Eventually, you will want to do a {ref}`local installation <jl_jupyterlocal>` in order to use other
147-
{doc}`tools and editors <../more_julia/tools_editors>` such as [Atom/Juno](http://junolab.org/), but
147+
{doc}`tools and editors <../software_engineering/tools_editors>` such as [Atom/Juno](http://junolab.org/), but
148148
don't let the environment get in the way of learning the language.
149149

150150
(jl_jupyterhub)=

lectures/software_engineering/need_for_speed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ The main Julia package for benchmarking is [BenchmarkTools.jl](https://www.githu
505505

506506
Below, we'll use the `@btime` macro it exports to evaluate the performance of Julia code.
507507

508-
As mentioned in an {doc}`earlier lecture <../more_julia/testing>`, we can also save benchmark results to a file and guard against performance regressions in code.
508+
As mentioned in an {doc}`earlier lecture <../software_engineering/testing>`, we can also save benchmark results to a file and guard against performance regressions in code.
509509

510510
For more, see the package docs.
511511

lectures/software_engineering/testing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The result should be
7777
This is all we need for now.
7878

7979

80-
**Note:** Before these steps, make sure that you've either completed the {doc}`version control <../more_julia/version_control>` lecture or run.
80+
**Note:** Before these steps, make sure that you've either completed the {doc}`version control <../software_engineering/version_control>` lecture or run.
8181

8282
```{code-block} julia
8383
git config --global user.name "Your Name"
@@ -187,7 +187,7 @@ You can see the change reflected in our default package list by running
187187
] st
188188
```
189189

190-
For more on the package mode, see the {doc}`tools and editors <../more_julia/tools_editors>` lecture.
190+
For more on the package mode, see the {doc}`tools and editors <../software_engineering/tools_editors>` lecture.
191191

192192
### Using the Package Manager
193193

@@ -293,7 +293,7 @@ Here's the `Manifest.toml`
293293

294294
We can also run other operations, like `] up`, `] precompile`, etc.
295295

296-
Package operations are listed in detail in the {doc}`tools and editors <../more_julia/tools_editors>` lecture.
296+
Package operations are listed in detail in the {doc}`tools and editors <../software_engineering/tools_editors>` lecture.
297297

298298
Recall that, to quit the active environment and return to the base `(v1.1)`, simply run
299299

@@ -642,7 +642,7 @@ This shows us precisely which methods (and parts of methods) are untested.
642642

643643
## Pull Requests to External Julia Projects
644644

645-
As mentioned in {doc}`version control <../more_julia/version_control>`, sometimes we'll want to work on external repos that are also Julia projects.
645+
As mentioned in {doc}`version control <../software_engineering/version_control>`, sometimes we'll want to work on external repos that are also Julia projects.
646646

647647
* `] dev` the git URL (or package name, if the project is a registered Julia package), which will both clone the git repo to `~/.julia/dev` and sync it with the Julia package manager.
648648

@@ -694,7 +694,7 @@ Here, for example, we're revising the README.
694694

695695
* Clicking "commit to master" (recall that the checkboxes next to each file indicate whether it's to be committed) and then pushing (e.g., hitting "push" under the "Repository" dropdown) will add the committed changes to your account.
696696

697-
To confirm this, we can check the history on our account [here](https://github.com/quanteconuser/Expectations.jl/commits/master); for more on working with git repositories, see the {doc}`version control <../more_julia/version_control>` lecture.
697+
To confirm this, we can check the history on our account [here](https://github.com/quanteconuser/Expectations.jl/commits/master); for more on working with git repositories, see the {doc}`version control <../software_engineering/version_control>` lecture.
698698

699699
```{figure} /_static/figures/testing-expectations.png
700700
:width: 100%
@@ -708,7 +708,7 @@ The green check mark indicates that Travis tests passed for this commit.
708708
:width: 100%
709709
```
710710

711-
For more on PRs, see the relevant section of the {doc}`version control <../more_julia/version_control>` lecture.
711+
For more on PRs, see the relevant section of the {doc}`version control <../software_engineering/version_control>` lecture.
712712

713713
For more on forking, see the docs on [GitHub Desktop](https://help.github.com/desktop/guides/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop/) and [the GitHub Website](https://guides.github.com/activities/forking/).
714714

@@ -763,7 +763,7 @@ Another goal of testing is to make sure that code doesn't slow down significantl
763763

764764
We can do this using tools provided by the `BenchmarkTools.jl` package.
765765

766-
See the {doc}`need for speed <../more_julia/need_for_speed>` lecture for more details.
766+
See the {doc}`need for speed <../software_engineering/need_for_speed>` lecture for more details.
767767

768768
## Additional Notes
769769

lectures/software_engineering/tools_editors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The most feature-rich one for Julia development is [Atom](https://atom.io/), wit
120120

121121
There are several reasons to use a text editor like Atom, including
122122

123-
* Git integration (more on this in the {doc}`next lecture <../more_julia/version_control>`).
123+
* Git integration (more on this in the {doc}`next lecture <../software_engineering/version_control>`).
124124
* Painless inspection of variables and data.
125125
* Easily run code blocks, and drop in custom snippets of code.
126126
* Integration with Julia documentation and plots.
@@ -274,7 +274,7 @@ Julia's package manager lets you set up Python-style "virtualenvs," or subsets o
274274
This way, you can work with (and specify) the dependencies (i.e., required packages) for one project without worrying about impacts on other projects.
275275

276276
* An `environment` is a set of packages specified by a `Project.toml` (and optionally, a `Manifest.toml`).
277-
* A `registry` is a git repository corresponding to a list of (typically) registered packages, from which Julia can pull (for more on git repositories, see {doc}`version control <../more_julia/version_control>`).
277+
* A `registry` is a git repository corresponding to a list of (typically) registered packages, from which Julia can pull (for more on git repositories, see {doc}`version control <../software_engineering/version_control>`).
278278
* A `depot` is a directory, like `~/.julia`, which contains assets (compile caches, registries, package source directories, etc.).
279279

280280
Essentially, an environment is a dependency tree for a project, or a "frame of mind" for Julia's package manager.

lectures/software_engineering/version_control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ A PR requests the project maintainer to merge ("pull") changes you've worked on
317317

318318
There are a few different workflows for creating and handling PRs, which we'll walk through below.
319319

320-
**Note:** If the changes are for a Julia Package, you will need to follow a different workflow -- described in the {doc}`testing lecture <../more_julia/testing>`.
320+
**Note:** If the changes are for a Julia Package, you will need to follow a different workflow -- described in the {doc}`testing lecture <../software_engineering/testing>`.
321321

322322
(web_interface)=
323323
### Quick Fixes
@@ -476,7 +476,7 @@ At which point the process of creating a PR is identical to the previous case.
476476

477477
One special case is when the repo in question is actually a Julia project or package.
478478

479-
We cover that (along with package workflow in general) in the {doc}`testing lecture <../more_julia/testing>`.
479+
We cover that (along with package workflow in general) in the {doc}`testing lecture <../software_engineering/testing>`.
480480

481481
## Additional Resources and Troubleshooting
482482

0 commit comments

Comments
 (0)