Francisco Zanartu commited on
Commit
741d230
1 Parent(s): 96ff96c

+ doctrings

Browse files

+ safety settings
change openai's gpt4 to google's palm2
+ lanchain chain to handle exceptions
refactor variable names
rename examples.py to auxiliar.py

Files changed (2) hide show
  1. app.py +115 -53
  2. examples.py → auxiliar.py +216 -197
app.py CHANGED
@@ -1,104 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import json
3
  import requests
4
  import gradio as gr
5
-
6
- # from langchain.chat_models import ChatGooglePalm
7
- from langchain_openai import ChatOpenAI
8
  from langchain.prompts import PromptTemplate
 
9
  from langchain.schema.messages import HumanMessage, SystemMessage
10
- from examples import (
11
  FALLACY_CLAIMS,
12
  DEBUNKINGS,
13
  DEFINITIONS,
14
- DEFAULT_TEMPLATE,
15
  SIMILARITY_TEMPLATE,
16
  )
17
 
18
-
19
  hf_api_key = os.environ["HF_API_KEY"]
20
  google_key = os.environ["GOOGLE_API_KEY"]
21
- openai_api_key = os.environ["OPENAI_API_KEY"]
22
- openai_organization = os.environ["OPENAI_ORGANIZATION_ID"]
 
 
 
 
 
 
 
 
23
 
24
- # chat = ChatGooglePalm(google_api_key=google_key, temperature=0.0)
25
- chat = ChatOpenAI(
 
26
  temperature=0,
27
- openai_api_key=os.environ.get("OPENAI_API_KEY"),
28
- openai_organization=os.environ.get("OPENAI_ORGANIZATION_ID"),
29
- model_name="gpt-4-0125-preview",
30
  )
31
 
32
- default_template = PromptTemplate.from_template(DEFAULT_TEMPLATE)
33
-
34
  similarity_template = PromptTemplate.from_template(SIMILARITY_TEMPLATE)
35
 
36
 
37
- def query(payload, API_URL, api_token=hf_api_key):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  headers = {"Authorization": f"Bearer {api_token}"}
39
  options = {"use_cache": False, "wait_for_model": True}
40
  payload = {"inputs": payload, "options": options}
41
- response = requests.post(API_URL, headers=headers, json=payload)
42
  return json.loads(response.content.decode("utf-8"))
43
 
44
 
45
- flicc_model = "https://api-inference.huggingface.co/models/fzanartu/flicc"
46
- cards_model = (
47
  "https://api-inference.huggingface.co/models/crarojasca/BinaryAugmentedCARDS"
48
  )
49
- semantic_textual_similarity = (
50
  "https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2"
51
  )
52
 
53
 
54
- def fallacy_detector(text):
55
- response = query(text, API_URL=cards_model)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  if response[0][0].get("label") == "Contrarian":
57
- response = query(text, API_URL=flicc_model)
58
  label = response[0][0].get("label")
59
  claims = FALLACY_CLAIMS.get(label, None)
60
 
61
  if claims:
62
  data = query(
63
  {"source_sentence": text, "sentences": claims},
64
- API_URL=semantic_textual_similarity,
65
  )
66
  max_similarity = data.index(max(data))
67
- messages = [
68
- SystemMessage(
69
- content="You are an expert climate analyst, who provide precise and concise responses to climate change misinformation."
70
- ),
71
- HumanMessage(
72
- content=SIMILARITY_TEMPLATE.format(
73
- fallacy=label,
74
- definition=DEFINITIONS.get("label"),
75
- text=text,
76
- claim=claims[max_similarity],
77
- example=DEBUNKINGS.get(claims[max_similarity]),
78
- )
79
- ),
80
- ]
81
- result = chat(messages)
82
- result = result.content
83
 
84
  else:
85
- messages = [
86
- SystemMessage(
87
- content="You are an expert climate analyst, who provide precise and concise responses to climate change misinformation."
88
- ),
89
- HumanMessage(
90
- content=DEFAULT_TEMPLATE.format(
91
- fallacy=label, definition=DEFINITIONS.get("label"), text=text
92
- )
93
- ),
94
- ]
95
- result = chat(messages)
96
- result = result.content
97
  else:
98
  result = "No fallacy has been detected in your text."
99
 
100
  return result
101
 
102
 
103
- demo = gr.Interface(fn=fallacy_detector, inputs="text", outputs="text")
104
  demo.launch(debug=True)
 
1
+ """
2
+ Module for detecting fallacies in text.
3
+
4
+ Functions:
5
+ - rebuttal_generator: Detects fallacies in a text input by utilizing models for fallacy
6
+ detection and semantic textual similarity and generates a rebuttal for the fallacious claim.
7
+ - query: Sends a query to a specified API endpoint with the provided payload and returns
8
+ the response.
9
+ - demo: Launches a Gradio interface for interactively detecting fallacies in text.
10
+
11
+ Dependencies:
12
+ - os: Provides a portable way of using operating system dependent functionality.
13
+ - json: Provides functions for encoding and decoding JSON data.
14
+ - requests: Allows sending HTTP requests easily.
15
+ - gradio: Facilitates the creation of customizable UI components for machine learning models.
16
+ - langchain_google_genai: Wrapper for Google Generative AI language models.
17
+ - auxiliar: Contains auxiliary data used in the fallacy detection process.
18
+
19
+ Environment Variables:
20
+ - HF_API_KEY: API key for accessing Hugging Face model APIs.
21
+ - GOOGLE_API_KEY: API key for accessing Google APIs.
22
+
23
+ Constants:
24
+ - FLICC_MODEL: API endpoint for the FLICC model used for fallacy detection.
25
+ - CARDS_MODEL: API endpoint for the CARDS model used for fallacy detection.
26
+ - SEMANTIC_TEXTUAL_SIMILARITY: API endpoint for the model used for semantic textual similarity.
27
+
28
+ Global Variables:
29
+ - hf_api_key: API key for accessing Hugging Face model APIs.
30
+ - google_key: API key for accessing Google APIs.
31
+ - safety_settings: Settings for safety measures in the Google Generative AI model.
32
+ - llm: Instance of the GoogleGenerativeAI class for text generation.
33
+ - similarity_template: Template for generating prompts for similarity comparison.
34
+ - FALLACY_CLAIMS: Dictionary containing fallacy labels and corresponding claims.
35
+ - DEBUNKINGS: Dictionary containing debunkings for fallacy claims.
36
+ - DEFINITIONS: Dictionary containing definitions for fallacy labels.
37
+ """
38
+
39
  import os
40
  import json
41
  import requests
42
  import gradio as gr
43
+ from langchain_google_genai import GoogleGenerativeAI
44
+ from google.generativeai.types.safety_types import HarmBlockThreshold, HarmCategory
 
45
  from langchain.prompts import PromptTemplate
46
+ from langchain.chains import LLMChain
47
  from langchain.schema.messages import HumanMessage, SystemMessage
48
+ from auxiliar import (
49
  FALLACY_CLAIMS,
50
  DEBUNKINGS,
51
  DEFINITIONS,
 
52
  SIMILARITY_TEMPLATE,
53
  )
54
 
 
55
  hf_api_key = os.environ["HF_API_KEY"]
56
  google_key = os.environ["GOOGLE_API_KEY"]
57
+ # openai_api_key = os.environ["OPENAI_API_KEY"]
58
+ # openai_organization = os.environ["OPENAI_ORGANIZATION_ID"]
59
+
60
+ safety_settings = {
61
+ HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
62
+ HarmCategory.HARM_CATEGORY_HATE_SPEECH: HarmBlockThreshold.BLOCK_NONE,
63
+ HarmCategory.HARM_CATEGORY_HARASSMENT: HarmBlockThreshold.BLOCK_NONE,
64
+ HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
65
+ }
66
+
67
 
68
+ llm = GoogleGenerativeAI(
69
+ model="models/text-bison-001",
70
+ google_api_key=google_key,
71
  temperature=0,
72
+ safety_settings=safety_settings,
 
 
73
  )
74
 
 
 
75
  similarity_template = PromptTemplate.from_template(SIMILARITY_TEMPLATE)
76
 
77
 
78
+ def query(payload, api_url, api_token=hf_api_key):
79
+ """
80
+ Sends a query to the specified API endpoint with the provided payload.
81
+
82
+ Args:
83
+ payload (dict): The payload to be sent to the API.
84
+ api_url (str): The URL of the API endpoint.
85
+ api_token (str, optional): The API token used for authentication. Defaults to hf_api_key.
86
+
87
+ Returns:
88
+ dict: The JSON response from the API.
89
+
90
+ Raises:
91
+ ValueError: If the response content cannot be decoded as UTF-8.
92
+
93
+ Example:
94
+ >>> query({"text": "example text"}, "https://api.example.com")
95
+ {'status': 'success', 'result': 'example result'}
96
+ """
97
  headers = {"Authorization": f"Bearer {api_token}"}
98
  options = {"use_cache": False, "wait_for_model": True}
99
  payload = {"inputs": payload, "options": options}
100
+ response = requests.post(api_url, headers=headers, json=payload)
101
  return json.loads(response.content.decode("utf-8"))
102
 
103
 
104
+ FLICC_MODEL = "https://api-inference.huggingface.co/models/fzanartu/flicc"
105
+ CARDS_MODEL = (
106
  "https://api-inference.huggingface.co/models/crarojasca/BinaryAugmentedCARDS"
107
  )
108
+ SEMANTIC_TEXTUAL_SIMILARITY = (
109
  "https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2"
110
  )
111
 
112
 
113
+ def rebuttal_generator(text):
114
+ """
115
+ Generates a rebuttal for a text containing a detected fallacy.
116
+
117
+ This function detects fallacies in the input text and generates a rebuttal
118
+ for the fallacious claim.
119
+
120
+ Args:
121
+ text (str): The input text containing a potentially fallacious claim.
122
+
123
+ Returns:
124
+ str: A rebuttal for the fallacious claim in the input text.
125
+
126
+ Raises:
127
+ ValueError: If no similar sentence is found.
128
+
129
+ Example:
130
+ >>> rebuttal_generator("This is a text containing a fallacy.")
131
+ 'A rebuttal to the fallacy of [fallacy label]: [rebuttal]'
132
+ """
133
+
134
+ response = query(text, api_url=CARDS_MODEL)
135
  if response[0][0].get("label") == "Contrarian":
136
+ response = query(text, api_url=FLICC_MODEL)
137
  label = response[0][0].get("label")
138
  claims = FALLACY_CLAIMS.get(label, None)
139
 
140
  if claims:
141
  data = query(
142
  {"source_sentence": text, "sentences": claims},
143
+ api_url=SEMANTIC_TEXTUAL_SIMILARITY,
144
  )
145
  max_similarity = data.index(max(data))
146
+ chain = LLMChain(llm=llm, prompt=similarity_template, verbose=True)
147
+ result = chain.run(
148
+ {
149
+ "claim": claims[max_similarity],
150
+ "fallacy": label,
151
+ "definition": DEFINITIONS.get(label),
152
+ "example": DEBUNKINGS.get(claims[max_similarity]),
153
+ "text": text,
154
+ }
155
+ )
 
 
 
 
 
 
156
 
157
  else:
158
+ raise ValueError("No similar sentence found")
 
 
 
 
 
 
 
 
 
 
 
159
  else:
160
  result = "No fallacy has been detected in your text."
161
 
162
  return result
163
 
164
 
165
+ demo = gr.Interface(fn=rebuttal_generator, inputs="text", outputs="text")
166
  demo.launch(debug=True)
examples.py → auxiliar.py RENAMED
@@ -1,3 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  FALLACY_CLAIMS = {
2
  "ad hominem": [
3
  "Climate science is unreliable.",
@@ -97,253 +112,253 @@ FALLACY_CLAIMS = {
97
 
98
  DEBUNKINGS = {
99
  "Ice is not melting.": "## FACT: Ice is melting across the planet from the Arctic to Antarctica, with Greenland and Antarctica losing hundreds of billions of tonnes of ice per year and glaciers shrinking at an accelerating rate.\n\
100
- ## MYTH: Ice isn't melting.\n\
101
- ## FALLACY: This argument relies on cherry picking by focusing only on short-term or regional trends. It also demands impossible expectations by suggesting that ice cannot be growing anywhere if global warming is happening.\n\
102
- ## FACT: The fact that ice is melting all over our planet is another line of evidence that global warming is real.",
103
  "Antarctica is not melting.": "## FACT: Even though Antarctic sea ice was growing between 1980 - 2014, it is clear now that Antarctic sea ice has been in steady decline.\n\
104
- ## MYTH: Antarctic sea ice isn't melting.\n\
105
- ## FALLACY: This argument demands impossible expectations by suggesting ice cannot be growing at any point in time if global warming is happening. It also assumes temperature is the only factor driving sea ice trends. Sea ice formation is complex, with wind also being a factor impacting its growth or decline.\n\
106
- ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
107
  "Greenland is not melting.": "## FACT: Greenland on the whole is losing ice, at a rate of over 2 Mount Everests worth of ice every year.\n\
108
- ## MYTH: Greenland isn't melting.\n\
109
- ## FALLACY: This argument relies on cherry picking by focusing on one small area where ice may be growing while ignoring the rest of Greenland. It may also demand impossible expectations by suggesting that ice cannot be growing in any part of Greenland if global warming is happening.\n\
110
- ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
111
  "Arctic is not melting.": "## FACT: Arctic sea ice is shrinking at an accelerating rate.\n\
112
- ## MYTH: Arctic sea ice isn't melting.\n\
113
- ## FALLACY: This argument relies on cherry picking, focusing on short-term trends and ignoring the long-term decline in sea ice.\n\
114
- ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
115
  "Glaciers are not melting": "## FACT: Overall, glaciers across the globe are shrinking at an accelerating rate, threatening water supplies for millions of people.\n\
116
- ## MYTH: Glaciers aren't melting.\n\
117
- ## FALLACY: This argument relies on cherry picking by focusing only on growing glaciers and ignoring the vast majority of shrinking glaciers.\n\
118
- ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
119
  "We are heading into an ice age.": "## FACT: Warming from greenhouse gas emissions far outweighs any cooling influence from natural factors.\n\
120
- ## MYTH: We're heading into an ice age.\n\
121
- ## FALLACY: This argument assumes that only natural factors drive global warming when in reality, human activity is the main driver of warming\n\
122
- ## FACT: Many lines of evidence indicate warming across the global climate.",
123
  "Cold weather disproves global warming.": "## FACT: Global warming has made hot days more likely and hotter.\n\
124
- ## MYTH: Cold weather disproves global warming.\n\
125
- ## FALLACY: This argument relies on anecdotal evidence rather than sound or compelling evidence. It also demands impossible expectations by suggesting that if it's currently cold, then global warming cannot be happening.\n\
126
- ## FACT: Many lines of evidence indicate warming across the global climate.",
127
  "There has been a hiatus in global warming in recent years.": "## FACT: Our planet has continued to build up heat since 1998 - global warming is still happening.\n\
128
- ## MYTH: There's been a hiatus in global warming in recent years.\n\
129
- ## FALLACY: This argument relies on cherry picking, focusing on short-term trends which are not long enough to make conclusions about long-term climate trends.\n\
130
- ## FACT: Many lines of evidence indicate warming across the global climate.",
131
  "Oceans are cooling.": "## FACT: The oceans build up heat with over 90% of global warming going into the oceans.\n\
132
- ## MYTH: Oceans are cooling.\n\
133
- ## FALLACY: This argument relies on cherry picking regions where oceans may be cooling, ignoring the majority of the ocean which is warming drastically.\n\
134
- ## FACT: Many lines of evidence indicate warming across the global climate.",
135
  "Sea level rise is exaggerated.": "## FACT: Global sea level rise is accelerating due to increased ice melt and thermal expansion.\n\
136
- ## MYTH: Sea level rise is exaggerated.\n\
137
- ## FALLACY: This argument relies on ignoring that the rate of sea level rise is increasing so future sea level rise will be faster than current levels.\n\
138
- ## FACT: Many lines of evidence indicate warming across the global climate.",
139
  "Extreme weather is not linked to climate change.": "## FACT: Global warming is increasing the amount of energy in the climate system which is intensifying extreme weather events.\n\
140
- ## MYTH: Extreme weather is not linked to climate change.\n\
141
- ## FALLACY: This argument assumes that past extreme weather is similar to current conditions. However, global warming is generally making extreme weather more intense and/or frequent. For example, a 1 in 1000 year event is now happening more regularly.\n\
142
- ## FACT: Many lines of evidence indicate warming across the global climate.",
143
  "They changed the name from 'global warming' to 'climate change'.": "## FACT: Global warming and climate change have both been used for decades and are two different phenomena, with global warming being the long-term trend of rising global temperature, and climate change being the change in climates due to global warming.\n\
144
- ## MYTH: They changed the name from 'global warming' to 'climate change'.\n\
145
- ## FALLACY: This argument relies on misrepresentation as both terms have been used frequently for many decades, and the usage of both terms has increased over the past 40 years.\n\
146
- ## FACT: The term climate change has been used by scientists for decades. The Intergovernmental Panel on Climate Change (IPCC)—using the term climate change in its title—was formed in 1988.",
147
  "Global warming is caused by natural cycles.": "## FACT: Many lines of evidence have found that human-caused CO2 pollution is the main driver of modern global warming, overpowering natural factors.\n\
148
- ## MYTH: Global warming is caused by natural cycles.\n\
149
- ## FALLACY: This argument assumes that there can only be one cause for global warming. It ignores that there are in fact multiple factors driving global warming, including human greenhouse gas emissions.\n\
150
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
151
  "Global warming is caused by the sun.": "## FACT: Changing patterns in the yearly and daily cycle confirm human-caused global warming, rule out the sun.\n\
152
- ## MYTH: Global warming is caused by the sun.\n\
153
- ## FALLACY: This argument ignores the evidence that the sun has been cooling over the past few decades of global warming. It also assumes that solar activity is the only one driver for global warming, which ignores other factors such as man-made greenhouse gases.\n\
154
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
155
  "Geological sources are warming the oceans.": "## FACT: The observed patterns of ocean warming are consistent with being caused by greenhouse warming, and rule out other causes like geological sources.\n\
156
- ## MYTH: Geological sources are warming the oceans.\n\
157
- ## FALLACY: This argument ignores the fact that ocean warming is coming from the ocean's surface, driven by greenhouse warming.\n\
158
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
159
  "Ocean cycles are driving global warming.": "## FACT: The world's oceans are building up heat. This cannot be caused by ocean cycles which merely move heat around, not build up extra heat.\n\
160
- ## MYTH: Ocean cycles are driving global warming.\n\
161
- ## FALLACY: This argument assumes that short-term temperature change is similar to long-term temperature change, because they both involve temperature change. But they are not equivalent because ocean cycles involve transfer of heat between the ocean and atmosphere while global warming is a planetary build-up in heat.\n\
162
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
163
  "Climate is changing because climate has always changed.": "## FACT: While climate has changed naturally in the past, current climate change is faster than past warming events and can only be explained by human activity.\n\
164
- ## MYTH: Climate is changing because climate has always changed.\n\
165
- ## FALLACY: This argument assumes that what caused climate change in the past (natural factors) must be the same as what's causing climate change now.\n\
166
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
167
  "Climate change is caused by non-greenhouse gas forcings.": "## FACT: Human activity has a much greater influence on climate than non-greenhouse gas influences.\n\
168
- ## MYTH: Climate change is caused by non-greenhouse gas forcings.\n\
169
- ## FALLACY: This argument ignores the body of evidence confirming that burning of fossil fuels is the main driver of global warming.\n\
170
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
171
  "There is no evidence that greenhouse warming is driving climate change.": "## FACT: There are many lines of evidence showing that greenhouse gases cause warming and are the main driver of current global warming.\n\
172
- ## MYTH: There's no evidence that greenhouse warming is driving climate change.\n\
173
- ## FALLACY: This argument ignores the body of evidence confirming that burning of fossil fuels is the main driver of global warming.\n\
174
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
175
  "CO2 is a trace gas so can not have a strong effect.": "## FACT: Satellites measure the warming effect from CO2. The increased greenhouse effect is an observed reality.\n\
176
- ## MYTH: CO2 is a trace gas so can't have a strong effect.\n\
177
- ## FALLACY: This argument misrepresents how CO2 is behaves. Small active substances can have a strong effect (e.g., it only takes a small amount of mercury to poison someone).\n\
178
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
179
  "The greenhouse effect is saturated so adding more CO2 will not make much difference.": "## FACT: Emitting more CO2 means more heat is being trapped high up in the atmosphere where the air is thinner. This is because layers higher up in the atmosphere are less saturated than lower layers.\n\
180
- ## MYTH: The greenhouse effect is saturated so adding more CO2 won't make much difference.\n\
181
- ## FALLACY: This argument oversimplifies the fact that atmosphere is made up of multiple layers by assuming that CO2 is concentrated in only one layer of the atmosphere.\n\
182
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
183
  "In the past, CO2 lagged warming so CO2 does not cause warming.": "## FACT: Ice cores tell us that warming caused the ocean to emit more CO2. Combined with greenhouse effect, this is a reinforcing feedback.\n\
184
- ## MYTH: In the past, CO2 lagged warming so CO2 doesn't cause warming.\n\
185
- ## FALLACY: This argument is a false choice. While it is true that CO2 causes global warming, that doesn't mean global warming won't also lead to increased atmospheric CO2. CO2 causes warming and warming causes more CO2. The two combined comprise a reinforcing feedback.\n\
186
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
187
  "Water vapor is the strongest driver of current global warming.": "## FACT: Water vapour provides a reinforcing feedback, making climate even more sensitive to CO2 emissions.\n\
188
- ## MYTH: Water vapor is the strongest driver of current global warming.\n\
189
- ## FALLACY: This argument misrepresents water vapor as a climate driver when it is actually a feedback. The amount of vapor in the air depends on air temperature. Warming causes water vapor to rise, which causes further warming: a reinforcing feedback.\n\
190
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
191
  "The tropospheric hot spot has not been observed, disproving human-caused global warming.": "## FACT: There are many observed patterns in our climate confirming that greenhouse gases are causing warming.\n\
192
- ## MYTH: The tropospheric hot spot hasn't been observed, disproving human-caused global warming.\n\
193
- ## FALLACY: This argument ignores new data using the latest, advanced technology that has found a clear signal for the hot spot. It also misrepresents the tropospheric hotspot which is not a fingerprint of anthropogenic warming—it is the result of any type of warming regardless of the cause. Cooling in the stratosphere is a more appropriate fingerprint of anthropogenic warming.\n\
194
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
195
  "Human CO2 emissions are tiny compared to natural CO2 emissions.": "## FACT: Humans are emitting billions of tonnes of CO2 into the atmosphere, upsetting the natural balance and raising atmospheric CO2 to levels not seen in millions of years.\n\
196
- ## MYTH: Human CO2 emissions are tiny compared to natural CO2 emissions.\n\
197
- ## FALLACY: This argument oversimplifies the carbon cycle by ignoring that nature both emits and absorbs CO2, with natural emissions and absorptions being roughly balanced. Human CO2 emissions upset that balance.\n\
198
- ## FACT: Many scientific studies have found that human activity is causing global warming.",
199
  "Climate sensitivity is low due to negative feedbacks.": "## FACT: Independent lines of evidence find that our climate is highly sensitive to CO2 emissions, with reinforcing feedbacks amplifying the initial greenhouse warming from CO2 emissions.\n\
200
- ## MYTH: Climate sensitivity is low due to negative feedbacks.\n\
201
- ## FALLACY: This argument ignores the many lines of evidence that the net effect of climate feedbacks is strongly positive.\n\
202
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
203
  "Species can adapt to climate change.": "## FACT: Climate is changing faster than species can adapt to it, causing negative impacts on species all over the world.\n\
204
- ## MYTH: Species can adapt to climate change.\n\
205
- ## FALLACY: This argument relies on a false equivalence, assuming that current climate change is equivalent to past climate change when what is happening now is unprecedented in millions of years.\n\
206
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
207
  "Polar bear populations are increasing.": "## FACT: Polar bears need sea ice to hunt, so melting sea ice threatens their survival.\n\
208
- ## MYTH: Polar bear populations are increasing.\n\
209
- ## FALLACY: This argument oversimplifies the variety of factors that influence polar bear populations. One threat (hunting) has been removed but replaced with an increasing threat (melting sea ice). Polar bears need sea ice to hunt so the shrinking of Arctic sea ice is endangering their populations.\n\
210
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
211
  "Coral reefs have recovered before so they will survive climate change.": "## FACT: Coral reefs will suffer permanent damage from global warming and ocean acidification.\n\
212
- ## MYTH: Coral reefs have recovered before so they'll survive climate change.\n\
213
- ## FALLACY: This argument fails to consider that reefs may only be able to recover if there is no new disturbance. Bleaching events will become more frequent with time decreasing this chance of recovery. During past mass extinction events, it took millions of years in the past for coral reefs to recover from mass extinction events.\n\
214
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
215
  "CO2 is not a pollutant.": "## FACT: A pollutant is any substance that disrupts the environment. Human CO2 emissions have resulted in the disruptive effect of global warming.\n\
216
- ## MYTH: CO2 is not a pollutant.\n\
217
- ## FALLACY: This argument diverts attention from the issue of global warming by focusing on terminology rather than the negative impacts of climate change. It also misrepresents CO2 as being benign just because it is naturally occurring.\n\
218
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
219
  "CO2 is plant food.": "## FACT: Plants need the right amount of water to flourish; climate change upsets that balance.\n\
220
- ## MYTH: CO2 is plant food.\n\
221
- ## FALLACY: This argument oversimplifies the ways that climate change impacts agriculture through increased heat stress and flooding. CO2 fertilisation is just one factor affecting plant growth. The full picture shows that negative impacts outweigh benefits.\n\
222
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
223
  "Only a few degrees of global warming is insignificant.": "## FACT: At a global scale, a few degrees of warming is a massive amount of heat, causing significant damage to society and the environment.\n\
224
- ## MYTH: Only a few degrees of global warming is insignificant.\n\
225
- ## FALLACY: This argument is a false equivalence, assuming two different things—local warming and global warming—are the same.\n\
226
- ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
227
  "Climate policies are harmful.": "## FACT: Numerous climate solutions are cheaper than the alternatives before even accounting for the trillions of dollars that will be saved by reducing climate and air pollution.\n\
228
- ## MYTH: Climate policies are harmful.\n\
229
- ## FALLACY: This argument ignores the impacts on an individual's quality of life when not drastically reducing the fossil fuels. Climate change will lead to a much greater decrease in peoples' quality of life.\n\
230
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
231
  "Climate policy increases costs and are harmful.": "## FACT: Numerous climate solutions are cheaper than the alternatives before even accounting for the trillions of dollars that will be saved by reducing climate and air pollution.\n\
232
- ## MYTH: Climate policy increases costs and are harmful.\n\
233
- ## FALLACY: This argument oversimplifying the situation by selectively focusing on the potentially harmful effects of introducing policy while ignoring the harmful effects of taking no climate action.\n\
234
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
235
  "Renewable technologies harms the environment.": "## FACT: While there may be downsides to any technology, the long-term impacts of taking no climate action are both numerous and severe.\n\
236
- ## MYTH: Renewable technologies harms the environment.\n\
237
- ## FALLACY: This argument selectively focuses on the negative short-term impacts of clean technologies and ignores the long-term positive effects.\n\
238
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
239
  "Climate policies will limit peoples' freedoms.": "## FACT: Climate policies are designed to prolong the life of the planet, prolonging our freedom to live and our resources.\n\
240
- ## MYTH: Climate policies will limit peoples' freedoms.\n\
241
- ## FALLACY: This argument focuses on the negative aspects of regulation while ignoring that regulations are designed to as safeguards to protect people's livelihoods. Furthermore, as climate change worsens, consumer freedoms will become limited as resources become scarce.\n\
242
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
243
  "Climate policies are ineffective at preventing climate change.": "## FACT: At a global scale, climate change policies are effective in significantly reducing greenhouse gas emissions.\n\
244
- ## MYTH: Climate policies are ineffective at preventing climate change.\n\
245
- ## FALLACY: This argument demands the impossible expectation that climate policies be perfect or singlehandedly solve climate change. While it is important to ensure a policy is thorough and limits unintended consequences, the consequences will be far worse if we do nothing.\n\
246
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
247
  "Green jobs are small and growing slowly.": "## FACT: Green jobs are growing steadily. With more development and investment in a sector or with steady growth, green jobs will show accelerating growth in the future.\n\
248
- ## MYTH: Green jobs are small and growing slowly.\n\
249
- ## FALLACY: This argument falsely assumes that the current growth rate of green jobs will stay the same. Exponential growth always shows slow growth in the early stages.\n\
250
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
251
  "A single climate policy would have a negligible impact in reducing climate change.": "## FACT: If every nation agreed to limit CO2 emissions, significant global emissions cuts can be accomplished.\n\
252
- ## MYTH: A single climate policy would have a negligible impact in reducing climate change.\n\
253
- ## FALLACY: This argument demands impossible expectations by assuming a policy is only worth implementing if it is single-handedly 100% effective in solving climate change.\n\
254
- ## FACT: A single policy cannot single handedly solve climate change. We need a suite of policies from all countries in the world in order to solve climate change.",
255
  "It is better to adapt to climate change than to mitigate.": "## FACT: Failing to mitigate against climate change means that adapting to it will be much harder, as well as more expensive.\n\
256
- ## MYTH: It's better to adapt to climate change than to mitigate.\n\
257
- ## FALLACY: This argument cherry picks by only looking at the negative economic impacts of climate action while ignoring the benefits. It ignores that failing to mitigate against climate change will also make adapting to climate change more difficult as well as cause economic damage.\n\
258
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
259
  "Climate action is pointless because of China's emissions.": "## FACT: Solving climate change requires all the world's countries working together to substantially reduce global emissions.\n\
260
- ## MYTH: Climate action is pointless because of China's emissions.\n\
261
- ## FALLACY: This argument oversimplifies by not recognising that each country has it's different resources, societal challenges, and historical emissions. Developing countries have a right to attain the same standard of living as developed countries, who historically have been emitting CO2 at greater rates.\n\
262
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
263
  "Solving climate change is too hard.": "## FACT: Climate action can be implemented on all levels of government, through corporations and wider society.\n\
264
- ## MYTH: Solving climate change is too hard.\n\
265
- ## FALLACY: This argument oversimplifies the situation, arguing that because political agreement can be challenging, it is impossible to implement policies.\n\
266
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
267
  "Climate policy is too difficult.": "## FACT: Not implementing policy now will make mitigating climate change in the future much harder.\n\
268
- ## MYTH: Climate policy is too difficult.\n\
269
- ## FALLACY: This argument falsely assumes that global agreement is impossible because it has been difficult before. This in turn may create a self full-filling prophecy about reaching a global climate agreement, as the pessimism makes the task even more challenging to achieve.\n\
270
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
271
  "The public do not support for climate action.": "## FACT: While some of the public may be confused about aspects of climate change, public support for climate solutions has been growing.\n\
272
- ## MYTH: The public don't support for climate action.\n\
273
- ## FALLACY: Often this argument relies on cherry picked data by sampling members of the public who are confused or dismissive about climate change.\n\
274
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
275
  "Clean energy will not work.": "## FACT: While renewable energy only supply a small part of our power now, technological improvements mean that we will be able to rely on it in the future.\n\
276
- ## MYTH: Clean energy won't work.\n\
277
- ## FALLACY: This argument falsely assumes that the current situation with renewables will stay the same in the future.\n\
278
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
279
  "Clean energy is unreliable.": "## FACT: The benefits of clean energy sources far outweigh any unreliable or negative aspects associated with them.\n\
280
- ## MYTH: Clean energy is unreliable.\n\
281
- ## FALLACY: This argument relies on cherry picking by focusing on negative aspects of renewable energy while ignoring the benefits.\n\
282
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
283
  "We need fossil fuel energy.": "## FACT: While fossil fuels have helped us build a successful economy in the past, it assumes that they are the only way to build wealth into the future.\n\
284
- ## MYTH: We need fossil fuel energy.\n\
285
- ## FALLACY: This argument oversimplifies by ignoring that we don't only need energy but also other resources to sustain livelihoods, which are damaged by the use of fossil fuels. It may also ignore the benefits of switching to renewables in the long run as fossil fuels will inevitably run out.\n\
286
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
287
  "Fossil fuels are plentiful.": "## FACT: Fossil fuels are not a renewable energy source. We only have a few decades left of fossil fuel use until they run out.\n\
288
- ## MYTH: Fossil fuels are plentiful.\n\
289
- ## FALLACY: This argument ignores the environmental impacts that comes with burning the remaining fossil fuel reserviors. Even if fossil fuels are not on the brink of running out, there are other reasons we should not use all the remaining fossil fuel reserves. Just because we have fossil fuel doesn't mean we should burn it. It also ignores the benefits of clean energy which not only mitigate climate impacts but are also becoming more affordable and viable.\n\
290
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
291
  "Fossil fuels are cheap.": "## FACT: While fossil fuels have had a low market price, externalities such as air pollution and adverse health impacts raise the true price on society to be much higher than renewable sources of energy.\n\
292
- ## MYTH: Fossil fuels are cheap.\n\
293
- ## FALLACY: This argument oversimplifies by ignoring that there is more to energy sources than just cost. Costs through climate impacts should be considered. It also ignores relevant evidence that renewables are reducing in cost and in many cases, becoming even cheaper than fossil fuels.\n\
294
- ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
295
  "Climate science is unreliable.": "## FACT: Decades of scientific research, replicated using independent methods, have consistently found that climate change is happening and is caused by human activity.\n\
296
- ## MYTH: Climate science is unreliable.\n\
297
- ## FALLACY: This argument relies on attacking scientists and science rather than addressing the scientific content itself.\n\
298
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
299
  "There is no scientific consensus on human-caused global warming.": "## FACT: A number of scientific studies have found that between 90% to 100% of climate scientists agree that humans are causing global warming, with multipe studies converging on 97% consensus.\n\
300
- ## MYTH: There's no scientific consensus on human-caused global warming.\n\
301
- ## FALLACY: This argument ignores the many independent lines of evidence that give us confidence in our understanding of climate change.\n\
302
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
303
  "Climate proxies are unreliable.": "## FACT: Scientists know how to account for other environmental factors that may affect the proxy data to identify clear trends.\n\
304
- ## MYTH: Climate proxies are unreliable.\n\
305
- ## FALLACY: This argument misrepresents how climate proxies work. Adjusting measurements is a standard scientific process and necessary to ensure observations accurately reflect reality.\n\
306
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
307
  "The surface temperature record is unreliable.": "## FACT: We measure temperature in many ways and all the indicators consistently find that our planet is warming.\n\
308
- ## MYTH: The surface temperature record is unreliable.\n\
309
- ## FALLACY: This argument misrepresents the situation, as scientists take into account potential urban contamination of the temperature record.\n\
310
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
311
  "Climate models are unreliable.": "## FACT: Climate models have made a number of successful predictions based on fundamental physical principles.\n\
312
- ## MYTH: Climate models are unreliable.\n\
313
- ## FALLACY: This argument demands impossible expectations from climate models, whose projections are averaged over time to reflect long-term externally-forced changes, smoothing out short-term variability like ocean cycles or volcanic eruptions. It's impossible to expect that the two will exactly match.\n\
314
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
315
  "The climate movement is unreliable.": "## FACT: Our scientific understanding of climate change is based on many lines of empirical evidence.\n\
316
- ## MYTH: The climate movement is unreliable.\n\
317
- ## FALLACY: This argument relies on attacking scientists and science to distract from the robust body of evidence that find that human-caused climate change is happening.\n\
318
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
319
  "Climate change is a religion.": "## FACT: Climate science is evidence-based whilst religion is faith-based.\n\
320
- ## MYTH: Climate change is a religion.\n\
321
- ## FALLACY: This argument is a false equivalence, with a superficial comparison between the climate change movement and religion. Climate science is evidence-based while religion is faith-based—the two are distinctly different.\n\
322
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
323
  "The media is alarmist about climate change.": "## FACT: Reporting on evidence-based climate science is not biased, but rather a reflection of the scientific consensus about climate change. \n\
324
- ## MYTH: The media is alarmist about climate change.\n\
325
- ## FALLACY: This argument is an ad hominem attack on the media for their choices to distract from the problem and the evidence.\n\
326
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
327
  "Politicians are biased about climate change.": "## FACT: While politicians inevitably have political biases, supporting evidence-based scientific research is not biased or partisan.\n\
328
- ## MYTH: Politicians are biased about climate change.\n\
329
- ## FALLACY: This argument relies on ad hominem attacks on governments and politicians rather than addresses their arguments or policies.\n\
330
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
331
  "Environmentalists are biased.": "## FACT: While environmentalists may have political biases, supporting evidence-based scientific research is not biased or partisan.\n\
332
- ## MYTH: Environmentalists are biased.\n\
333
- ## FALLACY: This argument relies on ad hominem attacks on environmentalists rather than addresses their arguments or policies.\n\
334
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
335
  "Scientists are biased,": "## FACT: Our understanding of climate science is supported by many scientists across the world employing independent methodologies to come to robust, consistent conclusions.\n\
336
- ## MYTH: Scientists are biased\n\
337
- ## FALLACY: This argument relies on attacking scientists instead of engaging with their scientific research.\n\
338
- ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
339
  "Governments are secretly conspiring to create climate policy.": "## FACT: Many countries have open and transparent processes for developing and implementing climate policies. Governments and corporations are subject to freedom of information laws, which means that citizens can request access to documents and records related to climate policy. This transparency makes it difficult to hide any nefarious activity.\n\
340
- ## MYTH: Governments are secretly conspiring to create climate policy.\n\
341
- ## FALLACY: This argument is a conspiracy theory, arguing that governments are working with evil intent.\n\
342
- ## FACT: The claim that climate policy is part of a secret conspiracy is not supported by evidence. There are more plausible explanations for the actions of governing bodies and corporations. The overwhelming scientific consensus on climate change provides strong reasons for taking action to address this global challenge.",
343
  "Climate scientists are conspiring to deceive the public.": "## FACT: Scientific research is inherently open and transparent. Researchers publish their findings in peer-reviewed journals, allowing other scientists to examine their methods and data. Scientific findings are only considered valid if they can be replicated by other researchers. This process of scrutiny helps to ensure the reliability of scientific knowledge.\n\
344
- ## MYTH: Climate scientists are conspiring to deceive the public.\n\
345
- ## FALLACY: This argument is a conspiracy theory, arguing that scientists are secretly plotting with evil intent.\n\
346
- ## FACT: The claim that scientists are engaged in a conspiracy to suppress dissenting views is not supported by evidence. The scientific process is inherently open, transparent, and self-correcting.",
347
  }
348
 
349
  DEFINITIONS = {
@@ -391,26 +406,30 @@ text: {text}
391
  {fallacy} fallacy: {definition}
392
  response:"""
393
 
394
- SIMILARITY_TEMPLATE = """role:
 
395
  You are an expert climate analyst tasked with providing precise and concise responses to climate change misinformation using a structured format similar to a "hamburger-style" response.
396
 
397
- instruction:
 
398
  Provide precise and concise replies to climate change misinformation using a structured "hamburger-style" FACT, MYTH, FALLACY, FACT:
399
- The model consists of the following components: (leave out the CAPITALISED: words when responding use ## for heading, !###! for endmarkers, to mark the end of a response.
400
- FACT: A fact description in 60 words, without mentioning the myth. This fact should be clear, concise, and easy to remember. Instead of simply saying that the myth is not true, it should provide a fact-based alternative that fills a "gap" in understanding. Never refute the myth here.
401
- MYTH: A warning that a misunderstanding is coming, followed by a paraphrasing of the myth in 30 words or fewer. Only the myth. Don't debunk. Don't deny it yet. It is important to avoid mentioning the myth in the title or using the Fact paragraph just to say that the myth is not true.
402
- FALLACY: A 70-word or fewer explanation of the logical or argumentative fallacies that underlie the misinformation, and an explanation of how the myth misleads.
403
- FACT: Repeat the initial fact in 30 words or fewer."
404
 
405
  Your task is considered complete once all the elements of the hamburger-style response have been formulated, consider and adhere to the following example:
406
 
407
- example:
408
- text: {claim}
 
409
  {fallacy} fallacy: {definition}
410
  example response:
411
  {example} !###!
412
 
413
- climate change misinformation (remember to be as concise as the example presented before and to follow the "hamburger-style" response format):
414
- text: {text}
 
415
  {fallacy} fallacy: {definition}
416
  response:"""
 
1
+ """
2
+ This module contains data structures and templates for debunking climate change misinformation.
3
+
4
+ Attributes:
5
+ FALLACY_CLAIMS (dict): A dictionary mapping various fallacies to lists of associated
6
+ misinformation claims.
7
+ DEBUNKINGS (dict): A dictionary mapping specific misinformation claims to their
8
+ debunking explanations.
9
+ DEFINITIONS (dict): A dictionary mapping fallacy names to their definitions.
10
+ DEFAULT_TEMPLATE (str): A template for debunking misinformation using a structured
11
+ "hamburger-style" response.
12
+ SIMILARITY_TEMPLATE (str): A template for debunking misinformation using a
13
+ structured response with similar elements.
14
+ """
15
+
16
  FALLACY_CLAIMS = {
17
  "ad hominem": [
18
  "Climate science is unreliable.",
 
112
 
113
  DEBUNKINGS = {
114
  "Ice is not melting.": "## FACT: Ice is melting across the planet from the Arctic to Antarctica, with Greenland and Antarctica losing hundreds of billions of tonnes of ice per year and glaciers shrinking at an accelerating rate.\n\
115
+ ## MYTH: Ice isn't melting.\n\
116
+ ## FALLACY: This argument relies on cherry picking by focusing only on short-term or regional trends. It also demands impossible expectations by suggesting that ice cannot be growing anywhere if global warming is happening.\n\
117
+ ## FACT: The fact that ice is melting all over our planet is another line of evidence that global warming is real.",
118
  "Antarctica is not melting.": "## FACT: Even though Antarctic sea ice was growing between 1980 - 2014, it is clear now that Antarctic sea ice has been in steady decline.\n\
119
+ ## MYTH: Antarctic sea ice isn't melting.\n\
120
+ ## FALLACY: This argument demands impossible expectations by suggesting ice cannot be growing at any point in time if global warming is happening. It also assumes temperature is the only factor driving sea ice trends. Sea ice formation is complex, with wind also being a factor impacting its growth or decline.\n\
121
+ ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
122
  "Greenland is not melting.": "## FACT: Greenland on the whole is losing ice, at a rate of over 2 Mount Everests worth of ice every year.\n\
123
+ ## MYTH: Greenland isn't melting.\n\
124
+ ## FALLACY: This argument relies on cherry picking by focusing on one small area where ice may be growing while ignoring the rest of Greenland. It may also demand impossible expectations by suggesting that ice cannot be growing in any part of Greenland if global warming is happening.\n\
125
+ ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
126
  "Arctic is not melting.": "## FACT: Arctic sea ice is shrinking at an accelerating rate.\n\
127
+ ## MYTH: Arctic sea ice isn't melting.\n\
128
+ ## FALLACY: This argument relies on cherry picking, focusing on short-term trends and ignoring the long-term decline in sea ice.\n\
129
+ ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
130
  "Glaciers are not melting": "## FACT: Overall, glaciers across the globe are shrinking at an accelerating rate, threatening water supplies for millions of people.\n\
131
+ ## MYTH: Glaciers aren't melting.\n\
132
+ ## FALLACY: This argument relies on cherry picking by focusing only on growing glaciers and ignoring the vast majority of shrinking glaciers.\n\
133
+ ## FACT: Ice is melting across the planet from the Arctic to Antarctica, another line of evidence that global warming is real.",
134
  "We are heading into an ice age.": "## FACT: Warming from greenhouse gas emissions far outweighs any cooling influence from natural factors.\n\
135
+ ## MYTH: We're heading into an ice age.\n\
136
+ ## FALLACY: This argument assumes that only natural factors drive global warming when in reality, human activity is the main driver of warming\n\
137
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
138
  "Cold weather disproves global warming.": "## FACT: Global warming has made hot days more likely and hotter.\n\
139
+ ## MYTH: Cold weather disproves global warming.\n\
140
+ ## FALLACY: This argument relies on anecdotal evidence rather than sound or compelling evidence. It also demands impossible expectations by suggesting that if it's currently cold, then global warming cannot be happening.\n\
141
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
142
  "There has been a hiatus in global warming in recent years.": "## FACT: Our planet has continued to build up heat since 1998 - global warming is still happening.\n\
143
+ ## MYTH: There's been a hiatus in global warming in recent years.\n\
144
+ ## FALLACY: This argument relies on cherry picking, focusing on short-term trends which are not long enough to make conclusions about long-term climate trends.\n\
145
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
146
  "Oceans are cooling.": "## FACT: The oceans build up heat with over 90% of global warming going into the oceans.\n\
147
+ ## MYTH: Oceans are cooling.\n\
148
+ ## FALLACY: This argument relies on cherry picking regions where oceans may be cooling, ignoring the majority of the ocean which is warming drastically.\n\
149
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
150
  "Sea level rise is exaggerated.": "## FACT: Global sea level rise is accelerating due to increased ice melt and thermal expansion.\n\
151
+ ## MYTH: Sea level rise is exaggerated.\n\
152
+ ## FALLACY: This argument relies on ignoring that the rate of sea level rise is increasing so future sea level rise will be faster than current levels.\n\
153
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
154
  "Extreme weather is not linked to climate change.": "## FACT: Global warming is increasing the amount of energy in the climate system which is intensifying extreme weather events.\n\
155
+ ## MYTH: Extreme weather is not linked to climate change.\n\
156
+ ## FALLACY: This argument assumes that past extreme weather is similar to current conditions. However, global warming is generally making extreme weather more intense and/or frequent. For example, a 1 in 1000 year event is now happening more regularly.\n\
157
+ ## FACT: Many lines of evidence indicate warming across the global climate.",
158
  "They changed the name from 'global warming' to 'climate change'.": "## FACT: Global warming and climate change have both been used for decades and are two different phenomena, with global warming being the long-term trend of rising global temperature, and climate change being the change in climates due to global warming.\n\
159
+ ## MYTH: They changed the name from 'global warming' to 'climate change'.\n\
160
+ ## FALLACY: This argument relies on misrepresentation as both terms have been used frequently for many decades, and the usage of both terms has increased over the past 40 years.\n\
161
+ ## FACT: The term climate change has been used by scientists for decades. The Intergovernmental Panel on Climate Change (IPCC)—using the term climate change in its title—was formed in 1988.",
162
  "Global warming is caused by natural cycles.": "## FACT: Many lines of evidence have found that human-caused CO2 pollution is the main driver of modern global warming, overpowering natural factors.\n\
163
+ ## MYTH: Global warming is caused by natural cycles.\n\
164
+ ## FALLACY: This argument assumes that there can only be one cause for global warming. It ignores that there are in fact multiple factors driving global warming, including human greenhouse gas emissions.\n\
165
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
166
  "Global warming is caused by the sun.": "## FACT: Changing patterns in the yearly and daily cycle confirm human-caused global warming, rule out the sun.\n\
167
+ ## MYTH: Global warming is caused by the sun.\n\
168
+ ## FALLACY: This argument ignores the evidence that the sun has been cooling over the past few decades of global warming. It also assumes that solar activity is the only one driver for global warming, which ignores other factors such as man-made greenhouse gases.\n\
169
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
170
  "Geological sources are warming the oceans.": "## FACT: The observed patterns of ocean warming are consistent with being caused by greenhouse warming, and rule out other causes like geological sources.\n\
171
+ ## MYTH: Geological sources are warming the oceans.\n\
172
+ ## FALLACY: This argument ignores the fact that ocean warming is coming from the ocean's surface, driven by greenhouse warming.\n\
173
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
174
  "Ocean cycles are driving global warming.": "## FACT: The world's oceans are building up heat. This cannot be caused by ocean cycles which merely move heat around, not build up extra heat.\n\
175
+ ## MYTH: Ocean cycles are driving global warming.\n\
176
+ ## FALLACY: This argument assumes that short-term temperature change is similar to long-term temperature change, because they both involve temperature change. But they are not equivalent because ocean cycles involve transfer of heat between the ocean and atmosphere while global warming is a planetary build-up in heat.\n\
177
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
178
  "Climate is changing because climate has always changed.": "## FACT: While climate has changed naturally in the past, current climate change is faster than past warming events and can only be explained by human activity.\n\
179
+ ## MYTH: Climate is changing because climate has always changed.\n\
180
+ ## FALLACY: This argument assumes that what caused climate change in the past (natural factors) must be the same as what's causing climate change now.\n\
181
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
182
  "Climate change is caused by non-greenhouse gas forcings.": "## FACT: Human activity has a much greater influence on climate than non-greenhouse gas influences.\n\
183
+ ## MYTH: Climate change is caused by non-greenhouse gas forcings.\n\
184
+ ## FALLACY: This argument ignores the body of evidence confirming that burning of fossil fuels is the main driver of global warming.\n\
185
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
186
  "There is no evidence that greenhouse warming is driving climate change.": "## FACT: There are many lines of evidence showing that greenhouse gases cause warming and are the main driver of current global warming.\n\
187
+ ## MYTH: There's no evidence that greenhouse warming is driving climate change.\n\
188
+ ## FALLACY: This argument ignores the body of evidence confirming that burning of fossil fuels is the main driver of global warming.\n\
189
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
190
  "CO2 is a trace gas so can not have a strong effect.": "## FACT: Satellites measure the warming effect from CO2. The increased greenhouse effect is an observed reality.\n\
191
+ ## MYTH: CO2 is a trace gas so can't have a strong effect.\n\
192
+ ## FALLACY: This argument misrepresents how CO2 is behaves. Small active substances can have a strong effect (e.g., it only takes a small amount of mercury to poison someone).\n\
193
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
194
  "The greenhouse effect is saturated so adding more CO2 will not make much difference.": "## FACT: Emitting more CO2 means more heat is being trapped high up in the atmosphere where the air is thinner. This is because layers higher up in the atmosphere are less saturated than lower layers.\n\
195
+ ## MYTH: The greenhouse effect is saturated so adding more CO2 won't make much difference.\n\
196
+ ## FALLACY: This argument oversimplifies the fact that atmosphere is made up of multiple layers by assuming that CO2 is concentrated in only one layer of the atmosphere.\n\
197
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
198
  "In the past, CO2 lagged warming so CO2 does not cause warming.": "## FACT: Ice cores tell us that warming caused the ocean to emit more CO2. Combined with greenhouse effect, this is a reinforcing feedback.\n\
199
+ ## MYTH: In the past, CO2 lagged warming so CO2 doesn't cause warming.\n\
200
+ ## FALLACY: This argument is a false choice. While it is true that CO2 causes global warming, that doesn't mean global warming won't also lead to increased atmospheric CO2. CO2 causes warming and warming causes more CO2. The two combined comprise a reinforcing feedback.\n\
201
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
202
  "Water vapor is the strongest driver of current global warming.": "## FACT: Water vapour provides a reinforcing feedback, making climate even more sensitive to CO2 emissions.\n\
203
+ ## MYTH: Water vapor is the strongest driver of current global warming.\n\
204
+ ## FALLACY: This argument misrepresents water vapor as a climate driver when it is actually a feedback. The amount of vapor in the air depends on air temperature. Warming causes water vapor to rise, which causes further warming: a reinforcing feedback.\n\
205
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
206
  "The tropospheric hot spot has not been observed, disproving human-caused global warming.": "## FACT: There are many observed patterns in our climate confirming that greenhouse gases are causing warming.\n\
207
+ ## MYTH: The tropospheric hot spot hasn't been observed, disproving human-caused global warming.\n\
208
+ ## FALLACY: This argument ignores new data using the latest, advanced technology that has found a clear signal for the hot spot. It also misrepresents the tropospheric hotspot which is not a fingerprint of anthropogenic warming—it is the result of any type of warming regardless of the cause. Cooling in the stratosphere is a more appropriate fingerprint of anthropogenic warming.\n\
209
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
210
  "Human CO2 emissions are tiny compared to natural CO2 emissions.": "## FACT: Humans are emitting billions of tonnes of CO2 into the atmosphere, upsetting the natural balance and raising atmospheric CO2 to levels not seen in millions of years.\n\
211
+ ## MYTH: Human CO2 emissions are tiny compared to natural CO2 emissions.\n\
212
+ ## FALLACY: This argument oversimplifies the carbon cycle by ignoring that nature both emits and absorbs CO2, with natural emissions and absorptions being roughly balanced. Human CO2 emissions upset that balance.\n\
213
+ ## FACT: Many scientific studies have found that human activity is causing global warming.",
214
  "Climate sensitivity is low due to negative feedbacks.": "## FACT: Independent lines of evidence find that our climate is highly sensitive to CO2 emissions, with reinforcing feedbacks amplifying the initial greenhouse warming from CO2 emissions.\n\
215
+ ## MYTH: Climate sensitivity is low due to negative feedbacks.\n\
216
+ ## FALLACY: This argument ignores the many lines of evidence that the net effect of climate feedbacks is strongly positive.\n\
217
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
218
  "Species can adapt to climate change.": "## FACT: Climate is changing faster than species can adapt to it, causing negative impacts on species all over the world.\n\
219
+ ## MYTH: Species can adapt to climate change.\n\
220
+ ## FALLACY: This argument relies on a false equivalence, assuming that current climate change is equivalent to past climate change when what is happening now is unprecedented in millions of years.\n\
221
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
222
  "Polar bear populations are increasing.": "## FACT: Polar bears need sea ice to hunt, so melting sea ice threatens their survival.\n\
223
+ ## MYTH: Polar bear populations are increasing.\n\
224
+ ## FALLACY: This argument oversimplifies the variety of factors that influence polar bear populations. One threat (hunting) has been removed but replaced with an increasing threat (melting sea ice). Polar bears need sea ice to hunt so the shrinking of Arctic sea ice is endangering their populations.\n\
225
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
226
  "Coral reefs have recovered before so they will survive climate change.": "## FACT: Coral reefs will suffer permanent damage from global warming and ocean acidification.\n\
227
+ ## MYTH: Coral reefs have recovered before so they'll survive climate change.\n\
228
+ ## FALLACY: This argument fails to consider that reefs may only be able to recover if there is no new disturbance. Bleaching events will become more frequent with time decreasing this chance of recovery. During past mass extinction events, it took millions of years in the past for coral reefs to recover from mass extinction events.\n\
229
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
230
  "CO2 is not a pollutant.": "## FACT: A pollutant is any substance that disrupts the environment. Human CO2 emissions have resulted in the disruptive effect of global warming.\n\
231
+ ## MYTH: CO2 is not a pollutant.\n\
232
+ ## FALLACY: This argument diverts attention from the issue of global warming by focusing on terminology rather than the negative impacts of climate change. It also misrepresents CO2 as being benign just because it is naturally occurring.\n\
233
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
234
  "CO2 is plant food.": "## FACT: Plants need the right amount of water to flourish; climate change upsets that balance.\n\
235
+ ## MYTH: CO2 is plant food.\n\
236
+ ## FALLACY: This argument oversimplifies the ways that climate change impacts agriculture through increased heat stress and flooding. CO2 fertilisation is just one factor affecting plant growth. The full picture shows that negative impacts outweigh benefits.\n\
237
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
238
  "Only a few degrees of global warming is insignificant.": "## FACT: At a global scale, a few degrees of warming is a massive amount of heat, causing significant damage to society and the environment.\n\
239
+ ## MYTH: Only a few degrees of global warming is insignificant.\n\
240
+ ## FALLACY: This argument is a false equivalence, assuming two different things—local warming and global warming—are the same.\n\
241
+ ## FACT: Climate change is having negative impacts on society and the environment all over the world, with impacts worsening in the future.",
242
  "Climate policies are harmful.": "## FACT: Numerous climate solutions are cheaper than the alternatives before even accounting for the trillions of dollars that will be saved by reducing climate and air pollution.\n\
243
+ ## MYTH: Climate policies are harmful.\n\
244
+ ## FALLACY: This argument ignores the impacts on an individual's quality of life when not drastically reducing the fossil fuels. Climate change will lead to a much greater decrease in peoples' quality of life.\n\
245
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
246
  "Climate policy increases costs and are harmful.": "## FACT: Numerous climate solutions are cheaper than the alternatives before even accounting for the trillions of dollars that will be saved by reducing climate and air pollution.\n\
247
+ ## MYTH: Climate policy increases costs and are harmful.\n\
248
+ ## FALLACY: This argument oversimplifying the situation by selectively focusing on the potentially harmful effects of introducing policy while ignoring the harmful effects of taking no climate action.\n\
249
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
250
  "Renewable technologies harms the environment.": "## FACT: While there may be downsides to any technology, the long-term impacts of taking no climate action are both numerous and severe.\n\
251
+ ## MYTH: Renewable technologies harms the environment.\n\
252
+ ## FALLACY: This argument selectively focuses on the negative short-term impacts of clean technologies and ignores the long-term positive effects.\n\
253
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
254
  "Climate policies will limit peoples' freedoms.": "## FACT: Climate policies are designed to prolong the life of the planet, prolonging our freedom to live and our resources.\n\
255
+ ## MYTH: Climate policies will limit peoples' freedoms.\n\
256
+ ## FALLACY: This argument focuses on the negative aspects of regulation while ignoring that regulations are designed to as safeguards to protect people's livelihoods. Furthermore, as climate change worsens, consumer freedoms will become limited as resources become scarce.\n\
257
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
258
  "Climate policies are ineffective at preventing climate change.": "## FACT: At a global scale, climate change policies are effective in significantly reducing greenhouse gas emissions.\n\
259
+ ## MYTH: Climate policies are ineffective at preventing climate change.\n\
260
+ ## FALLACY: This argument demands the impossible expectation that climate policies be perfect or singlehandedly solve climate change. While it is important to ensure a policy is thorough and limits unintended consequences, the consequences will be far worse if we do nothing.\n\
261
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
262
  "Green jobs are small and growing slowly.": "## FACT: Green jobs are growing steadily. With more development and investment in a sector or with steady growth, green jobs will show accelerating growth in the future.\n\
263
+ ## MYTH: Green jobs are small and growing slowly.\n\
264
+ ## FALLACY: This argument falsely assumes that the current growth rate of green jobs will stay the same. Exponential growth always shows slow growth in the early stages.\n\
265
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
266
  "A single climate policy would have a negligible impact in reducing climate change.": "## FACT: If every nation agreed to limit CO2 emissions, significant global emissions cuts can be accomplished.\n\
267
+ ## MYTH: A single climate policy would have a negligible impact in reducing climate change.\n\
268
+ ## FALLACY: This argument demands impossible expectations by assuming a policy is only worth implementing if it is single-handedly 100% effective in solving climate change.\n\
269
+ ## FACT: A single policy cannot single handedly solve climate change. We need a suite of policies from all countries in the world in order to solve climate change.",
270
  "It is better to adapt to climate change than to mitigate.": "## FACT: Failing to mitigate against climate change means that adapting to it will be much harder, as well as more expensive.\n\
271
+ ## MYTH: It's better to adapt to climate change than to mitigate.\n\
272
+ ## FALLACY: This argument cherry picks by only looking at the negative economic impacts of climate action while ignoring the benefits. It ignores that failing to mitigate against climate change will also make adapting to climate change more difficult as well as cause economic damage.\n\
273
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
274
  "Climate action is pointless because of China's emissions.": "## FACT: Solving climate change requires all the world's countries working together to substantially reduce global emissions.\n\
275
+ ## MYTH: Climate action is pointless because of China's emissions.\n\
276
+ ## FALLACY: This argument oversimplifies by not recognising that each country has it's different resources, societal challenges, and historical emissions. Developing countries have a right to attain the same standard of living as developed countries, who historically have been emitting CO2 at greater rates.\n\
277
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
278
  "Solving climate change is too hard.": "## FACT: Climate action can be implemented on all levels of government, through corporations and wider society.\n\
279
+ ## MYTH: Solving climate change is too hard.\n\
280
+ ## FALLACY: This argument oversimplifies the situation, arguing that because political agreement can be challenging, it is impossible to implement policies.\n\
281
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
282
  "Climate policy is too difficult.": "## FACT: Not implementing policy now will make mitigating climate change in the future much harder.\n\
283
+ ## MYTH: Climate policy is too difficult.\n\
284
+ ## FALLACY: This argument falsely assumes that global agreement is impossible because it has been difficult before. This in turn may create a self full-filling prophecy about reaching a global climate agreement, as the pessimism makes the task even more challenging to achieve.\n\
285
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
286
  "The public do not support for climate action.": "## FACT: While some of the public may be confused about aspects of climate change, public support for climate solutions has been growing.\n\
287
+ ## MYTH: The public don't support for climate action.\n\
288
+ ## FALLACY: Often this argument relies on cherry picked data by sampling members of the public who are confused or dismissive about climate change.\n\
289
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
290
  "Clean energy will not work.": "## FACT: While renewable energy only supply a small part of our power now, technological improvements mean that we will be able to rely on it in the future.\n\
291
+ ## MYTH: Clean energy won't work.\n\
292
+ ## FALLACY: This argument falsely assumes that the current situation with renewables will stay the same in the future.\n\
293
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
294
  "Clean energy is unreliable.": "## FACT: The benefits of clean energy sources far outweigh any unreliable or negative aspects associated with them.\n\
295
+ ## MYTH: Clean energy is unreliable.\n\
296
+ ## FALLACY: This argument relies on cherry picking by focusing on negative aspects of renewable energy while ignoring the benefits.\n\
297
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
298
  "We need fossil fuel energy.": "## FACT: While fossil fuels have helped us build a successful economy in the past, it assumes that they are the only way to build wealth into the future.\n\
299
+ ## MYTH: We need fossil fuel energy.\n\
300
+ ## FALLACY: This argument oversimplifies by ignoring that we don't only need energy but also other resources to sustain livelihoods, which are damaged by the use of fossil fuels. It may also ignore the benefits of switching to renewables in the long run as fossil fuels will inevitably run out.\n\
301
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
302
  "Fossil fuels are plentiful.": "## FACT: Fossil fuels are not a renewable energy source. We only have a few decades left of fossil fuel use until they run out.\n\
303
+ ## MYTH: Fossil fuels are plentiful.\n\
304
+ ## FALLACY: This argument ignores the environmental impacts that comes with burning the remaining fossil fuel reserviors. Even if fossil fuels are not on the brink of running out, there are other reasons we should not use all the remaining fossil fuel reserves. Just because we have fossil fuel doesn't mean we should burn it. It also ignores the benefits of clean energy which not only mitigate climate impacts but are also becoming more affordable and viable.\n\
305
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
306
  "Fossil fuels are cheap.": "## FACT: While fossil fuels have had a low market price, externalities such as air pollution and adverse health impacts raise the true price on society to be much higher than renewable sources of energy.\n\
307
+ ## MYTH: Fossil fuels are cheap.\n\
308
+ ## FALLACY: This argument oversimplifies by ignoring that there is more to energy sources than just cost. Costs through climate impacts should be considered. It also ignores relevant evidence that renewables are reducing in cost and in many cases, becoming even cheaper than fossil fuels.\n\
309
+ ## FACT: Climate policy is necessary to avoid the worst impacts of climate change, which will have devastating effects on society and the environment.",
310
  "Climate science is unreliable.": "## FACT: Decades of scientific research, replicated using independent methods, have consistently found that climate change is happening and is caused by human activity.\n\
311
+ ## MYTH: Climate science is unreliable.\n\
312
+ ## FALLACY: This argument relies on attacking scientists and science rather than addressing the scientific content itself.\n\
313
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
314
  "There is no scientific consensus on human-caused global warming.": "## FACT: A number of scientific studies have found that between 90% to 100% of climate scientists agree that humans are causing global warming, with multipe studies converging on 97% consensus.\n\
315
+ ## MYTH: There's no scientific consensus on human-caused global warming.\n\
316
+ ## FALLACY: This argument ignores the many independent lines of evidence that give us confidence in our understanding of climate change.\n\
317
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
318
  "Climate proxies are unreliable.": "## FACT: Scientists know how to account for other environmental factors that may affect the proxy data to identify clear trends.\n\
319
+ ## MYTH: Climate proxies are unreliable.\n\
320
+ ## FALLACY: This argument misrepresents how climate proxies work. Adjusting measurements is a standard scientific process and necessary to ensure observations accurately reflect reality.\n\
321
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
322
  "The surface temperature record is unreliable.": "## FACT: We measure temperature in many ways and all the indicators consistently find that our planet is warming.\n\
323
+ ## MYTH: The surface temperature record is unreliable.\n\
324
+ ## FALLACY: This argument misrepresents the situation, as scientists take into account potential urban contamination of the temperature record.\n\
325
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
326
  "Climate models are unreliable.": "## FACT: Climate models have made a number of successful predictions based on fundamental physical principles.\n\
327
+ ## MYTH: Climate models are unreliable.\n\
328
+ ## FALLACY: This argument demands impossible expectations from climate models, whose projections are averaged over time to reflect long-term externally-forced changes, smoothing out short-term variability like ocean cycles or volcanic eruptions. It's impossible to expect that the two will exactly match.\n\
329
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
330
  "The climate movement is unreliable.": "## FACT: Our scientific understanding of climate change is based on many lines of empirical evidence.\n\
331
+ ## MYTH: The climate movement is unreliable.\n\
332
+ ## FALLACY: This argument relies on attacking scientists and science to distract from the robust body of evidence that find that human-caused climate change is happening.\n\
333
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
334
  "Climate change is a religion.": "## FACT: Climate science is evidence-based whilst religion is faith-based.\n\
335
+ ## MYTH: Climate change is a religion.\n\
336
+ ## FALLACY: This argument is a false equivalence, with a superficial comparison between the climate change movement and religion. Climate science is evidence-based while religion is faith-based—the two are distinctly different.\n\
337
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
338
  "The media is alarmist about climate change.": "## FACT: Reporting on evidence-based climate science is not biased, but rather a reflection of the scientific consensus about climate change. \n\
339
+ ## MYTH: The media is alarmist about climate change.\n\
340
+ ## FALLACY: This argument is an ad hominem attack on the media for their choices to distract from the problem and the evidence.\n\
341
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
342
  "Politicians are biased about climate change.": "## FACT: While politicians inevitably have political biases, supporting evidence-based scientific research is not biased or partisan.\n\
343
+ ## MYTH: Politicians are biased about climate change.\n\
344
+ ## FALLACY: This argument relies on ad hominem attacks on governments and politicians rather than addresses their arguments or policies.\n\
345
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
346
  "Environmentalists are biased.": "## FACT: While environmentalists may have political biases, supporting evidence-based scientific research is not biased or partisan.\n\
347
+ ## MYTH: Environmentalists are biased.\n\
348
+ ## FALLACY: This argument relies on ad hominem attacks on environmentalists rather than addresses their arguments or policies.\n\
349
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
350
  "Scientists are biased,": "## FACT: Our understanding of climate science is supported by many scientists across the world employing independent methodologies to come to robust, consistent conclusions.\n\
351
+ ## MYTH: Scientists are biased\n\
352
+ ## FALLACY: This argument relies on attacking scientists instead of engaging with their scientific research.\n\
353
+ ## FACT: Our understanding of climate change is based on a global community of scientific experts collecting and analysing evidence that point consistently to the reality of human-caused global warming.",
354
  "Governments are secretly conspiring to create climate policy.": "## FACT: Many countries have open and transparent processes for developing and implementing climate policies. Governments and corporations are subject to freedom of information laws, which means that citizens can request access to documents and records related to climate policy. This transparency makes it difficult to hide any nefarious activity.\n\
355
+ ## MYTH: Governments are secretly conspiring to create climate policy.\n\
356
+ ## FALLACY: This argument is a conspiracy theory, arguing that governments are working with evil intent.\n\
357
+ ## FACT: The claim that climate policy is part of a secret conspiracy is not supported by evidence. There are more plausible explanations for the actions of governing bodies and corporations. The overwhelming scientific consensus on climate change provides strong reasons for taking action to address this global challenge.",
358
  "Climate scientists are conspiring to deceive the public.": "## FACT: Scientific research is inherently open and transparent. Researchers publish their findings in peer-reviewed journals, allowing other scientists to examine their methods and data. Scientific findings are only considered valid if they can be replicated by other researchers. This process of scrutiny helps to ensure the reliability of scientific knowledge.\n\
359
+ ## MYTH: Climate scientists are conspiring to deceive the public.\n\
360
+ ## FALLACY: This argument is a conspiracy theory, arguing that scientists are secretly plotting with evil intent.\n\
361
+ ## FACT: The claim that scientists are engaged in a conspiracy to suppress dissenting views is not supported by evidence. The scientific process is inherently open, transparent, and self-correcting.",
362
  }
363
 
364
  DEFINITIONS = {
 
406
  {fallacy} fallacy: {definition}
407
  response:"""
408
 
409
+ SIMILARITY_TEMPLATE = """[Role]:
410
+
411
  You are an expert climate analyst tasked with providing precise and concise responses to climate change misinformation using a structured format similar to a "hamburger-style" response.
412
 
413
+ [Instruction]:
414
+
415
  Provide precise and concise replies to climate change misinformation using a structured "hamburger-style" FACT, MYTH, FALLACY, FACT:
416
+ The model consists of the following components: (leave out the CAPITALISED: words when responding use ## for heading, !###! for endmarkers, to mark the end of a response.
417
+ FACT: A 30 words or fewer fact description. Offer clear, memorable alternatives to enhance comprehension. Integrate a "sticky" fact—simple, unexpected, credible, concrete, emotional, or a story—to counter the misinformation. For example: "Arctic sea ice dropped 40% since the '70s, hitting record lows." Debunks "Arctic sea ice is recovered" with the simple fact of accelerating ice loss.
418
+ MYTH: Paraphrase the misinformation in 30 words or fewer.
419
+ FALLACY: Identify the logical or argumentative fallacy within 40 words or fewer. Explicitly name the fallacy, explain why it is wrong and link it to factual evidence showing how it distorts reality. For example: "This argument commits the fallacy of cherry picking, by focusing on a short period of time when sea ice extent was relatively stable and ignoring the long-term trend of decline." Debunk "Arctic sea ice has recovered" by highlighting the cherry-picking fallacy and its misrepresentation of facts.
420
+ FACT: Summarise and reinforce the initial fact in 30 words or less, while adding a complementary detail to enhance understanding.
421
 
422
  Your task is considered complete once all the elements of the hamburger-style response have been formulated, consider and adhere to the following example:
423
 
424
+ [Example]:
425
+
426
+ Misinformation: {claim}
427
  {fallacy} fallacy: {definition}
428
  example response:
429
  {example} !###!
430
 
431
+ Remember to be as concise as the example presented before and to follow the "hamburger-style" response format:
432
+
433
+ Misinformationtext: {text}
434
  {fallacy} fallacy: {definition}
435
  response:"""