Browse code

change urls from GitLab to GitHub

Bas Nijholt authored on 21/01/2019 14:56:03
Showing 10 changed files
... ...
@@ -130,10 +130,10 @@ We would like to give credits to the following people:
130 130
 
131 131
 For general discussion, we have a `Gitter chat
132 132
 channel <https://gitter.im/python-adaptive/adaptive>`_. If you find any
133
-bugs or have any feature suggestions please file a GitLab
134
-`issue <https://gitlab.kwant-project.org/qt/adaptive/issues/new?issue>`_
135
-or submit a `merge
136
-request <https://gitlab.kwant-project.org/qt/adaptive/merge_requests>`_.
133
+bugs or have any feature suggestions please file a GitHub
134
+`issue <https://github.com/python-adaptive/adaptive/issues/new>`_
135
+or submit a `pull
136
+request <https://github.com/python-adaptive/adaptive/pulls>`_.
137 137
 
138 138
 .. references-start
139 139
 .. |logo| image:: https://adaptive.readthedocs.io/en/latest/_static/logo.png
... ...
@@ -11,7 +11,7 @@ The following checks should be made *before* tagging the release.
11 11
 #### Check that all issues are resolved
12 12
 
13 13
 Check that all the issues and merge requests for the appropriate
14
-[milestone](https://gitlab.kwant-project.org/qt/adaptive/issues)
14
+[milestone](https://github.com/python-adaptive/adaptive/issues)
15 15
 have been resolved. Any unresolved issues should have their milestone
16 16
 bumped.
17 17
 
... ...
@@ -20,7 +20,7 @@ bumped.
20 20
 
21 21
 For major and minor releases we will be tagging the ``master`` branch.
22 22
 This should be as simple as verifying that the
23
-[latest CI pipeline](https://gitlab.kwant-project.org/qt/adaptive/pipelines)
23
+[latest CI pipeline](https://dev.azure.com/python-adaptive/adaptive/_build)
24 24
 succeeded.
25 25
 
26 26
 
... ...
@@ -437,7 +437,7 @@ class Learner2D(BaseLearner):
437 437
             point_new = tuple(self._unscale(point_new))
438 438
 
439 439
             # np.clip results in numerical precision problems
440
-            # https://gitlab.kwant-project.org/qt/adaptive/issues/132
440
+            # https://github.com/python-adaptive/adaptive/issues/7
441 441
             clip = lambda x, l, u: max(l, min(u, x))
442 442
             point_new = (clip(point_new[0], *self.bounds[0]),
443 443
                          clip(point_new[1], *self.bounds[1]))
... ...
@@ -68,7 +68,7 @@ def same_ivals(f, a, b, tol):
68 68
         return equal_ivals(learner.ivals, ivals, verbose=True)
69 69
 
70 70
 
71
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
71
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/55)
72 72
 @pytest.mark.xfail
73 73
 def test_that_gives_same_intervals_as_reference_implementation():
74 74
     for i, args in enumerate([[f0, 0, 3, 1e-5],
... ...
@@ -157,7 +157,7 @@ def test_adding_points_and_skip_one_point():
157 157
     np.testing.assert_almost_equal(learner.igral, learner2.igral)
158 158
 
159 159
 
160
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
160
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/55)
161 161
 @pytest.mark.xfail
162 162
 def test_tell_in_random_order(first_add_33=False):
163 163
     from operator import attrgetter
... ...
@@ -218,7 +218,7 @@ def test_tell_in_random_order(first_add_33=False):
218 218
             assert np.isfinite(l.err)
219 219
 
220 220
 
221
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
221
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/55)
222 222
 @pytest.mark.xfail
223 223
 def test_tell_in_random_order_first_add_33():
224 224
     test_tell_in_random_order(first_add_33=True)
... ...
@@ -238,7 +238,7 @@ def test_approximating_intervals():
238 238
         assert ivals[i].b == ivals[i + 1].a, (ivals[i], ivals[i + 1])
239 239
 
240 240
 
241
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/43)
241
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/96)
242 242
 @pytest.mark.xfail
243 243
 def test_removed_choose_mutiple_points_at_once():
244 244
     """Given that a high-precision interval that was split into 2 low-precision ones,
... ...
@@ -9,7 +9,7 @@ from adaptive.runner import simple
9 9
 
10 10
 
11 11
 def test_pending_loss_intervals():
12
-    # https://gitlab.kwant-project.org/qt/adaptive/issues/99
12
+    # https://github.com/python-adaptive/adaptive/issues/40
13 13
     l = Learner1D(lambda x: x, (0, 4))
14 14
 
15 15
     l.tell(0, 0)
... ...
@@ -24,7 +24,7 @@ def test_pending_loss_intervals():
24 24
 
25 25
 
26 26
 def test_loss_interpolation_for_unasked_point():
27
-    # https://gitlab.kwant-project.org/qt/adaptive/issues/99
27
+    # https://github.com/python-adaptive/adaptive/issues/40
28 28
     l = Learner1D(lambda x: x, (0, 4))
29 29
 
30 30
     l.tell(0, 0)
... ...
@@ -127,7 +127,7 @@ def test_termination_on_discontinuities():
127 127
 
128 128
 
129 129
 def test_order_adding_points():
130
-    # and https://gitlab.kwant-project.org/qt/adaptive/issues/98
130
+    # and https://github.com/python-adaptive/adaptive/issues/41
131 131
     l = Learner1D(lambda x: x, (0, 1))
132 132
     l.tell_many([1, 0, 0.5], [0, 0, 0])
133 133
     assert l.losses_combined == {(0, 0.5): 0.5, (0.5, 1): 0.5}
... ...
@@ -136,7 +136,7 @@ def test_order_adding_points():
136 136
 
137 137
 
138 138
 def test_adding_existing_point_passes_silently():
139
-    # See https://gitlab.kwant-project.org/qt/adaptive/issues/97
139
+    # See https://github.com/python-adaptive/adaptive/issues/42
140 140
     l = Learner1D(lambda x: x, (0, 4))
141 141
     l.tell(0, 0)
142 142
     l.tell(1, 0)
... ...
@@ -167,7 +167,7 @@ def small_deviations(x):
167 167
 def test_small_deviations():
168 168
     """This tests whether the Learner1D can handle small deviations.
169 169
     See https://gitlab.kwant-project.org/qt/adaptive/merge_requests/73 and
170
-    https://gitlab.kwant-project.org/qt/adaptive/issues/61."""
170
+    https://github.com/python-adaptive/adaptive/issues/78."""
171 171
 
172 172
     eps = 5e-14
173 173
     learner = Learner1D(small_deviations, bounds=(1 - eps, 1 + eps))
... ...
@@ -221,7 +221,7 @@ def test_uniform_sampling1D_v2():
221 221
 
222 222
 
223 223
 def test_add_data_unordered():
224
-    # see https://gitlab.kwant-project.org/qt/adaptive/issues/95
224
+    # see https://github.com/python-adaptive/adaptive/issues/44
225 225
     learner = Learner1D(lambda x: x, bounds=(-1, 1))
226 226
     xs = [-1, 1, 0]
227 227
 
... ...
@@ -263,7 +263,7 @@ def test_adding_existing_data_is_idempotent(learner_type, f, learner_kwargs):
263 263
     assert set(pls) == set(cpls)
264 264
 
265 265
 
266
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
266
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/55)
267 267
 #      but we xfail it now, as Learner2D will be deprecated anyway
268 268
 @run_with(Learner1D, xfail(Learner2D), LearnerND, AverageLearner)
269 269
 def test_adding_non_chosen_data(learner_type, f, learner_kwargs):
... ...
@@ -336,7 +336,7 @@ def test_point_adding_order_is_irrelevant(learner_type, f, learner_kwargs):
336 336
 
337 337
 
338 338
 # XXX: the Learner2D fails with ~50% chance
339
-# see https://gitlab.kwant-project.org/qt/adaptive/issues/84
339
+# see https://github.com/python-adaptive/adaptive/issues/55
340 340
 @run_with(Learner1D, xfail(Learner2D), LearnerND, AverageLearner)
341 341
 def test_expected_loss_improvement_is_less_than_total_loss(learner_type, f, learner_kwargs):
342 342
     """The estimated loss improvement can never be greater than the total loss."""
... ...
@@ -360,7 +360,7 @@ def test_expected_loss_improvement_is_less_than_total_loss(learner_type, f, lear
360 360
         assert sum(loss_improvements) < learner.loss()
361 361
 
362 362
 
363
-# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
363
+# XXX: This *should* pass (https://github.com/python-adaptive/adaptive/issues/55)
364 364
 #      but we xfail it now, as Learner2D will be deprecated anyway
365 365
 @run_with(Learner1D, xfail(Learner2D), LearnerND)
366 366
 def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner_kwargs):
... ...
@@ -41,7 +41,7 @@ def test_simple(runner):
41 41
 def test_nonconforming_output(runner):
42 42
     """Test that using a runner works with a 2D learner, even when the
43 43
     learned function outputs a 1-vector. This tests against the regression
44
-    flagged in https://gitlab.kwant-project.org/qt/adaptive/issues/58.
44
+    flagged in https://github.com/python-adaptive/adaptive/issues/81.
45 45
     """
46 46
 
47 47
     def f(x):
... ...
@@ -1,12 +1,12 @@
1 1
 {
2 2
     "version": 1,
3 3
     "project": "adaptive",
4
-    "project_url": "https://gitlab.kwant-project.org/qt/adaptive",
4
+    "project_url": "https://github.com/python-adaptive/adaptive",
5 5
     "repo": "..",
6 6
     "dvcs": "git",
7 7
     "environment_type": "conda",
8 8
     "install_timeout": 600,
9
-    "show_commit_url": "https://gitlab.kwant-project.org/qt/adaptive/commit/",
9
+    "show_commit_url": "https://github.com/python-adaptive/adaptive/commits/",
10 10
     "pythons": ["3.6"],
11 11
     "conda_channels": ["conda-forge"],
12 12
     "matrix": {
... ...
@@ -1,7 +1,7 @@
1 1
 Tutorial Adaptive
2 2
 =================
3 3
 
4
-`Adaptive <https://gitlab.kwant-project.org/qt/adaptive-evaluation>`__
4
+`Adaptive <https://github.com/python-adaptive/adaptive>`__
5 5
 is a package for adaptively sampling functions with support for parallel
6 6
 evaluation.
7 7
 
... ...
@@ -11,7 +11,7 @@
11 11
    "cell_type": "markdown",
12 12
    "metadata": {},
13 13
    "source": [
14
-    "[`adaptive`](https://gitlab.kwant-project.org/qt/adaptive-evaluation) is a package for adaptively sampling functions with support for parallel evaluation.\n",
14
+    "[`adaptive`](https://github.com/python-adaptive/adaptive) is a package for adaptively sampling functions with support for parallel evaluation.\n",
15 15
     "\n",
16 16
     "This is an introductory notebook that shows some basic use cases.\n",
17 17
     "\n",