Skip to content

Commit cbfe614

Browse files
committed
change urls from GitLab to GitHub
1 parent ca1b4b9 commit cbfe614

File tree

10 files changed

+25
-25
lines changed

10 files changed

+25
-25
lines changed

README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ We would like to give credits to the following people:
130130
131131
For general discussion, we have a `Gitter chat
132132
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>`_.
137137

138138
.. references-start
139139
.. |logo| image:: https://adaptive.readthedocs.io/en/latest/_static/logo.png

RELEASE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The following checks should be made *before* tagging the release.
1111
#### Check that all issues are resolved
1212

1313
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)
1515
have been resolved. Any unresolved issues should have their milestone
1616
bumped.
1717

@@ -20,7 +20,7 @@ bumped.
2020

2121
For major and minor releases we will be tagging the ``master`` branch.
2222
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)
2424
succeeded.
2525

2626

adaptive/learner/learner2D.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def _fill_stack(self, stack_till=1):
437437
point_new = tuple(self._unscale(point_new))
438438

439439
# 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
441441
clip = lambda x, l, u: max(l, min(u, x))
442442
point_new = (clip(point_new[0], *self.bounds[0]),
443443
clip(point_new[1], *self.bounds[1]))

adaptive/tests/test_cquad.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def same_ivals(f, a, b, tol):
6868
return equal_ivals(learner.ivals, ivals, verbose=True)
6969

7070

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)
7272
@pytest.mark.xfail
7373
def test_that_gives_same_intervals_as_reference_implementation():
7474
for i, args in enumerate([[f0, 0, 3, 1e-5],
@@ -157,7 +157,7 @@ def test_adding_points_and_skip_one_point():
157157
np.testing.assert_almost_equal(learner.igral, learner2.igral)
158158

159159

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)
161161
@pytest.mark.xfail
162162
def test_tell_in_random_order(first_add_33=False):
163163
from operator import attrgetter
@@ -218,7 +218,7 @@ def test_tell_in_random_order(first_add_33=False):
218218
assert np.isfinite(l.err)
219219

220220

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)
222222
@pytest.mark.xfail
223223
def test_tell_in_random_order_first_add_33():
224224
test_tell_in_random_order(first_add_33=True)
@@ -238,7 +238,7 @@ def test_approximating_intervals():
238238
assert ivals[i].b == ivals[i + 1].a, (ivals[i], ivals[i + 1])
239239

240240

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)
242242
@pytest.mark.xfail
243243
def test_removed_choose_mutiple_points_at_once():
244244
"""Given that a high-precision interval that was split into 2 low-precision ones,

adaptive/tests/test_learner1d.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def test_pending_loss_intervals():
12-
# https://gitlab.kwant-project.org/qt/adaptive/issues/99
12+
# https://github.com/python-adaptive/adaptive/issues/40
1313
l = Learner1D(lambda x: x, (0, 4))
1414

1515
l.tell(0, 0)
@@ -24,7 +24,7 @@ def test_pending_loss_intervals():
2424

2525

2626
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
2828
l = Learner1D(lambda x: x, (0, 4))
2929

3030
l.tell(0, 0)
@@ -127,7 +127,7 @@ def test_termination_on_discontinuities():
127127

128128

129129
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
131131
l = Learner1D(lambda x: x, (0, 1))
132132
l.tell_many([1, 0, 0.5], [0, 0, 0])
133133
assert l.losses_combined == {(0, 0.5): 0.5, (0.5, 1): 0.5}
@@ -136,7 +136,7 @@ def test_order_adding_points():
136136

137137

138138
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
140140
l = Learner1D(lambda x: x, (0, 4))
141141
l.tell(0, 0)
142142
l.tell(1, 0)
@@ -167,7 +167,7 @@ def small_deviations(x):
167167
def test_small_deviations():
168168
"""This tests whether the Learner1D can handle small deviations.
169169
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."""
171171

172172
eps = 5e-14
173173
learner = Learner1D(small_deviations, bounds=(1 - eps, 1 + eps))
@@ -221,7 +221,7 @@ def f(x):
221221

222222

223223
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
225225
learner = Learner1D(lambda x: x, bounds=(-1, 1))
226226
xs = [-1, 1, 0]
227227

adaptive/tests/test_learners.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def test_adding_existing_data_is_idempotent(learner_type, f, learner_kwargs):
263263
assert set(pls) == set(cpls)
264264

265265

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)
267267
# but we xfail it now, as Learner2D will be deprecated anyway
268268
@run_with(Learner1D, xfail(Learner2D), LearnerND, AverageLearner)
269269
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):
336336

337337

338338
# 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
340340
@run_with(Learner1D, xfail(Learner2D), LearnerND, AverageLearner)
341341
def test_expected_loss_improvement_is_less_than_total_loss(learner_type, f, learner_kwargs):
342342
"""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
360360
assert sum(loss_improvements) < learner.loss()
361361

362362

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)
364364
# but we xfail it now, as Learner2D will be deprecated anyway
365365
@run_with(Learner1D, xfail(Learner2D), LearnerND)
366366
def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner_kwargs):

adaptive/tests/test_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def f(x):
4141
def test_nonconforming_output(runner):
4242
"""Test that using a runner works with a 2D learner, even when the
4343
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.
4545
"""
4646

4747
def f(x):

benchmarks/asv.conf.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"version": 1,
33
"project": "adaptive",
4-
"project_url": "https://gitlab.kwant-project.org/qt/adaptive",
4+
"project_url": "https://github.com/python-adaptive/adaptive",
55
"repo": "..",
66
"dvcs": "git",
77
"environment_type": "conda",
88
"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/",
1010
"pythons": ["3.6"],
1111
"conda_channels": ["conda-forge"],
1212
"matrix": {

docs/source/tutorial/tutorial.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Tutorial Adaptive
22
=================
33

4-
`Adaptive <https://gitlab.kwant-project.org/qt/adaptive-evaluation>`__
4+
`Adaptive <https://github.com/python-adaptive/adaptive>`__
55
is a package for adaptively sampling functions with support for parallel
66
evaluation.
77

learner.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"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",
1515
"\n",
1616
"This is an introductory notebook that shows some basic use cases.\n",
1717
"\n",

0 commit comments

Comments
 (0)