<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Code_Review</id>
	<title>Code Review - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Code_Review"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;action=history"/>
	<updated>2026-06-10T16:47:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=726&amp;oldid=prev</id>
		<title>Ajwt3 at 18:12, 16 June 2020</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=726&amp;oldid=prev"/>
		<updated>2020-06-16T18:12:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;amp;diff=726&amp;amp;oldid=725&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Ajwt3</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=725&amp;oldid=prev</id>
		<title>Ajwt3 at 18:10, 16 June 2020</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=725&amp;oldid=prev"/>
		<updated>2020-06-16T18:10:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:10, 16 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 98:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 98:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           c17ef9e..2d8e130  master     -&amp;gt; origin/master&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           c17ef9e..2d8e130  master     -&amp;gt; origin/master&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            ...&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;            ...&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git pull&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git pull&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        Updating c17ef9e..2d8e130&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        Updating c17ef9e..2d8e130&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 105:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 105:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         src/full_diagonalisation.F90 |   30 ++++++++++++------------------&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         src/full_diagonalisation.F90 |   30 ++++++++++++------------------&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         2 files changed, 14 insertions(+), 25 deletions(-)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         2 files changed, 14 insertions(+), 25 deletions(-)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git diff origin/master&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git diff origin/master&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         src/fciqmc_data.f90 |    2 +-&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         src/fciqmc_data.f90 |    2 +-&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         1 file changed, 1 insertion(+), 1 deletion(-)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         1 file changed, 1 insertion(+), 1 deletion(-)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git log --graph --oneline --decorate | head&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git log --graph --oneline --decorate | head&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        *   647b7dd (HEAD, master) Merge branch &#039;bug_fix/rdm_init&#039;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        *   647b7dd (HEAD, master) Merge branch &#039;bug_fix/rdm_init&#039;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        To git@tyc-svn.cmth.ph.ic.ac.uk:hubbard_fciqmc.git&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        To git@tyc-svn.cmth.ph.ic.ac.uk:hubbard_fciqmc.git&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           2d8e130..647b7dd  master -&amp;gt; master&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           2d8e130..647b7dd  master -&amp;gt; master&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git log --graph --oneline --decorate | head&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    [master]$ git log --graph --oneline --decorate | head&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        *   647b7dd (HEAD, origin/master, origin/HEAD, master) Merge branch &#039;bug_fix/rdm_init&#039;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        *   647b7dd (HEAD, origin/master, origin/HEAD, master) Merge branch &#039;bug_fix/rdm_init&#039;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ajwt3</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=91&amp;oldid=prev</id>
		<title>import&gt;Wv210 at 16:54, 17 November 2015</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=91&amp;oldid=prev"/>
		<updated>2015-11-17T16:54:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;amp;diff=91&amp;amp;oldid=90&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>import&gt;Wv210</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=90&amp;oldid=prev</id>
		<title>import&gt;Ajwt3: Created page with &quot;Some comments on code review (from the HANDE documentation)  * All development happens in branches.  * Branches are merged into master after review.  Merging between developme...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Code_Review&amp;diff=90&amp;oldid=prev"/>
		<updated>2015-11-03T23:53:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Some comments on code review (from the HANDE documentation)  * All development happens in branches.  * Branches are merged into master after review.  Merging between developme...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Some comments on code review (from the HANDE documentation)&lt;br /&gt;
&lt;br /&gt;
* All development happens in branches.&lt;br /&gt;
&lt;br /&gt;
* Branches are merged into master after review.  Merging between development&lt;br /&gt;
branches should be avoided.&lt;br /&gt;
&lt;br /&gt;
* Branches should be reviewed by one other person (at least) before merging into&lt;br /&gt;
master.&lt;br /&gt;
&lt;br /&gt;
* Once you have something stable which you think works and might be understandable&lt;br /&gt;
to someone else (this needn&amp;#039;t be fully working complete program - it could be&lt;br /&gt;
subroutines or a toy version), you should submit it to review.&lt;br /&gt;
&lt;br /&gt;
* To review, send a pull request email (see git request-pull) to all developers&lt;br /&gt;
(perhaps including a summary of work in the branch, which is not generated by&lt;br /&gt;
request-pull!).  This should be viewed as starting a conversation on the work.&lt;br /&gt;
&lt;br /&gt;
* Make changes prompted by the review and resend the pull request.  (This might&lt;br /&gt;
take a few iterations.)&lt;br /&gt;
&lt;br /&gt;
* How do I review code?&lt;br /&gt;
&lt;br /&gt;
We&amp;#039;re working on a workflow for this.  One method is to make a branch (if&lt;br /&gt;
you&amp;#039;re not already in one) and just add comments to the source.  It&amp;#039;s helpful&lt;br /&gt;
if the review is part of the git history (even if the comments never actually&lt;br /&gt;
make it to the master).  We currently are using watson-style&lt;br /&gt;
http://goosecode.com/watson/ tags in comments for code review and&lt;br /&gt;
discussion, for example:&lt;br /&gt;
&lt;br /&gt;
     ! [review] - JSS: How about doing it this way?&lt;br /&gt;
     ! [reply] - AJWT: I thought about it but that causes problems due to X.&lt;br /&gt;
&lt;br /&gt;
where JSS and AJWT are the initials of the reviewer and code author respectively.&lt;br /&gt;
&lt;br /&gt;
* Will *my* code actually get reviewed?&lt;br /&gt;
&lt;br /&gt;
We&amp;#039;re all usually terribly busy and have very little time, but in a group&lt;br /&gt;
effort a little from each person goes a long way.  If you review others&amp;#039; code&lt;br /&gt;
then they&amp;#039;re more likely to review yours.  Make it easy to review, by keeping&lt;br /&gt;
it clean and the features short.  Remember, this kind of review is far more&lt;br /&gt;
lightweight than peer review of publications, and should be able to slot into&lt;br /&gt;
people&amp;#039;s &amp;#039;free&amp;#039; time.  (Each branch is far more lightweight than a paper.)&lt;br /&gt;
A simple pull-request should be enough to get people to review.  This is&lt;br /&gt;
rather intricately tied in with the idea of project management.&lt;br /&gt;
Prodding/cajoling/bullying emails are all possible to aid the review&lt;br /&gt;
&lt;br /&gt;
* What happens if no-one replies to the pull request?&lt;br /&gt;
&lt;br /&gt;
Here are some opinions:&lt;br /&gt;
&lt;br /&gt;
  + I suggest that after an agreed upon time (X working days?) without even&lt;br /&gt;
    a &amp;quot;I&amp;#039;ll review but am too busy until next week&amp;quot; reply, the author is free to&lt;br /&gt;
    merge it into master (but should be open to fixes/improvements to that work&lt;br /&gt;
    that others subsequently suggest).&lt;br /&gt;
  + Having been burdened with years-long old dirty branches from other projects,&lt;br /&gt;
    merging is certainly vital.  I don&amp;#039;t think lack of review should stop&lt;br /&gt;
    merging, but it should prompt someone to ask why.&lt;br /&gt;
  + I would view it as a sign that the work is stable and relatively&lt;br /&gt;
    complete (for the time being) and is ready to be used by others/in&lt;br /&gt;
    production calculations.&lt;br /&gt;
&lt;br /&gt;
* Some advice from HANDE on pull requests and merging - this might be over the top for smaller projects!&lt;br /&gt;
&lt;br /&gt;
How to generate a pull request&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;br /&gt;
First push your work to the relevant branch on the git sever and then generate&lt;br /&gt;
template text for the pull request:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ git request-pull startref origin [endref]&lt;br /&gt;
&lt;br /&gt;
where startref (endref) is the commit you want to be reviewed from (to) and&lt;br /&gt;
origin is the name of remote configured to the git sever.  startref and endref&lt;br /&gt;
can be any way of referring to a specific commit and endref defaults to HEAD if&lt;br /&gt;
not given.  Usually the branch would have been created from master, in which&lt;br /&gt;
case you can simply do (even if master has been committed to since the branch&lt;br /&gt;
was created):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ git request-pull master origin&lt;br /&gt;
&lt;br /&gt;
which generates (for example)::&lt;br /&gt;
&lt;br /&gt;
    $ git request-pull master origin&lt;br /&gt;
    The following changes since commit 7a58a8d1a8f2e8af15df1c9946e7596078649d79:&lt;br /&gt;
&lt;br /&gt;
      Updated the config files for cx2. (2013-12-09 11:07:52 +0000)&lt;br /&gt;
&lt;br /&gt;
    are available in the git repository at:&lt;br /&gt;
&lt;br /&gt;
      git@tyc-svn.cmth.ph.ic.ac.uk:hubbard_fciqmc config/cx2&lt;br /&gt;
&lt;br /&gt;
    for you to fetch changes up to 1a5522648378f406d3e5fbd87e22e3768da490bc:&lt;br /&gt;
&lt;br /&gt;
      Fixed typo cx2 config comment (2013-12-13 14:35:42 +0000)&lt;br /&gt;
&lt;br /&gt;
    ----------------------------------------------------------------&lt;br /&gt;
    William Vigor (1):&lt;br /&gt;
          Fixed typo cx2 config comment&lt;br /&gt;
&lt;br /&gt;
     config/cx2 |    2 +-&lt;br /&gt;
     1 file changed, 1 insertion(+), 1 deletion(-)&lt;br /&gt;
&lt;br /&gt;
Copy and paste this text into your email client and send the pull request to&lt;br /&gt;
hande-dev@imperial.ac.uk (possibly with some additional text describing&lt;br /&gt;
motivation/benchmark results/etc).  If sendmail/exim4/other MTA is set up&lt;br /&gt;
properly (naturally the CMTH ones are) then&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    $ git request-pull master origin | mail -s &amp;quot;Pull request&amp;quot; hande-dev@imperial.ac.uk&lt;br /&gt;
&lt;br /&gt;
works as one would expect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Merging to master&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s a workflow to make merging to master simple.  Remember that&lt;br /&gt;
with git it&amp;#039;s extremely difficult to make permanently destructive changes&lt;br /&gt;
so if it goes wrong it can be fixed.&lt;br /&gt;
&lt;br /&gt;
Before you start make sure your code compiles and passes the test suite.&lt;br /&gt;
Do not merge broken code into master.&lt;br /&gt;
&lt;br /&gt;
Now make sure your master branch is up to date.  Here I do this in a fetch&lt;br /&gt;
then a pull just to see what else has changed.  I do a diff to be sure&lt;br /&gt;
I&amp;#039;m the same as the origin master.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    [master]$ git fetch&lt;br /&gt;
        remote: Counting objects: 340, done.&lt;br /&gt;
        remote: Compressing objects: 100% (182/182), done.&lt;br /&gt;
        remote: Total 200 (delta 137), reused 47 (delta 16)&lt;br /&gt;
        Receiving objects: 100% (200/200), 96.89 KiB, done.&lt;br /&gt;
        Resolving deltas: 100% (137/137), completed with 58 local objects.&lt;br /&gt;
        From tyc-svn.cmth.ph.ic.ac.uk:hubbard_fciqmc&lt;br /&gt;
           c17ef9e..2d8e130  master     -&amp;gt; origin/master&lt;br /&gt;
            ...&lt;br /&gt;
&lt;br /&gt;
    [master]$ git pull&lt;br /&gt;
        Updating c17ef9e..2d8e130&lt;br /&gt;
        Fast-forward&lt;br /&gt;
         lib/local/parallel.F90       |    9 ++-------&lt;br /&gt;
         src/full_diagonalisation.F90 |   30 ++++++++++++------------------&lt;br /&gt;
         2 files changed, 14 insertions(+), 25 deletions(-)&lt;br /&gt;
&lt;br /&gt;
    [master]$ git diff origin/master&lt;br /&gt;
&lt;br /&gt;
The blank output from this indicates we&amp;#039;re at origin/master.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m going to merge the branch bug_fix/rdm_init.  Crucially we use the --no-ff&lt;br /&gt;
flag to ensure that the merge creates a commit on master; this keeps the&lt;br /&gt;
history clean (by keeping development work in logical chunks after merging)&lt;br /&gt;
and also makes it very easy to roll-back and revert an entire feature if problems&lt;br /&gt;
are encounted.&lt;br /&gt;
&lt;br /&gt;
    [master]$ git merge --no-ff bug_fix/rdm_init&lt;br /&gt;
        Merge made by the &amp;#039;recursive&amp;#039; strategy.&lt;br /&gt;
         src/fciqmc_data.f90 |    2 +-&lt;br /&gt;
         1 file changed, 1 insertion(+), 1 deletion(-)&lt;br /&gt;
&lt;br /&gt;
    [master]$ git log --graph --oneline --decorate | head&lt;br /&gt;
        *   647b7dd (HEAD, master) Merge branch &amp;#039;bug_fix/rdm_init&amp;#039;&lt;br /&gt;
        |\&lt;br /&gt;
        | * 3c67d81 (bug_fix/rdm_init) Fix uninitialised doing_exact_rdm_eigv breaking fci&lt;br /&gt;
        * |   2d8e130 (origin/master, origin/HEAD) Merge branch &amp;#039;bug_fix/small_fci_mpi&amp;#039;&lt;br /&gt;
        |\ \&lt;br /&gt;
&lt;br /&gt;
This shows that a new commit has been created on master.&lt;br /&gt;
&lt;br /&gt;
At this point it&amp;#039;s possible that the merge needed some manual intervention.  It&amp;#039;s fine&lt;br /&gt;
to make these changes directly and commit them in the merge to your local master.  If the merge&lt;br /&gt;
is starting to get messy it might be best to rebase first to make it easier.&lt;br /&gt;
&lt;br /&gt;
Very importantly, you should now compile the code and run the tests, even if the merge&lt;br /&gt;
completed without any problems --- there might be unintented effects.  Only continue if the code&lt;br /&gt;
compiles and the tests pass.&lt;br /&gt;
If you need to make changes at this point, you can modify your local existing merge commit with&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    [master]$ git commit --amend&lt;br /&gt;
&lt;br /&gt;
Now we&amp;#039;ve made sure that the code works, all we do is push to the main repo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    [master]$ git push origin master&lt;br /&gt;
        Counting objects: 12, done.&lt;br /&gt;
        Delta compression using up to 12 threads.&lt;br /&gt;
        Compressing objects: 100% (7/7), done.&lt;br /&gt;
        Writing objects: 100% (7/7), 705 bytes, done.&lt;br /&gt;
        Total 7 (delta 5), reused 0 (delta 0)&lt;br /&gt;
        To git@tyc-svn.cmth.ph.ic.ac.uk:hubbard_fciqmc.git&lt;br /&gt;
           2d8e130..647b7dd  master -&amp;gt; master&lt;br /&gt;
&lt;br /&gt;
    [master]$ git log --graph --oneline --decorate | head&lt;br /&gt;
        *   647b7dd (HEAD, origin/master, origin/HEAD, master) Merge branch &amp;#039;bug_fix/rdm_init&amp;#039;&lt;br /&gt;
        |\&lt;br /&gt;
        | * 3c67d81 (bug_fix/rdm_init) Fix uninitialised doing_exact_rdm_eigv breaking fci&lt;br /&gt;
        * |   2d8e130 Merge branch &amp;#039;bug_fix/small_fci_mpi&amp;#039;&lt;br /&gt;
        |\ \&lt;br /&gt;
&lt;br /&gt;
Almost there.  We now ought to clean up the namespace to avoid old branch names hanging around&lt;br /&gt;
(the code of course will always stay).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     [master]$ git branch --delete bug_fix/rdm_init&lt;br /&gt;
     [master]$ git push origin --delete bug_fix/rdm_init&lt;br /&gt;
&lt;br /&gt;
The list of branches merged into HEAD can be found by doing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     [master]$ git branch --all --merged&lt;br /&gt;
&lt;br /&gt;
All done!&lt;/div&gt;</summary>
		<author><name>import&gt;Ajwt3</name></author>
	</entry>
</feed>