allenai / ScienceWorld

ScienceWorld is a text-based virtual environment centered around accomplishing tasks from the standardized elementary science curriculum.
https://sciworld.apps.allenai.org/
Apache License 2.0
223 stars 26 forks source link

Fix typo in location name. green house -> greenhouse #26

Closed MarcCote closed 2 years ago

manuelciosici commented 2 years ago

@MarcCote While this PR does fix the green house typo, there are many other typos in the repository. May I suggest adding a pre-commit containing spell-checking via https://github.com/codespell-project/codespell ?

Below is a sample of the spelling errors codespell finds. I can send a PR for this if you agree that it is worth adding pre-commit to the repository.

Besides codespell's findings, the word bathtub is spelled as two words (bath and tub) when it should be just one (reference1, reference2).

simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:54: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:55: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:62: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:63: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:65: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:66: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:86: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:87: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:96: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskChemistryMix.scala:97: sandwhich ==> sandwich
simulator/src/main/scala/language/struct/ParamIterator.scala:59: Retrive ==> Retrieve
simulator/src/main/scala/language/struct/ParamIterator.scala:114: indicies ==> indices
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskMendelianGenetics2.scala:255: atLeast ==> at least
simulator/src/main/scala/scienceworld/objects/containers/Container.scala:56: cannonical ==> canonical
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskGrowPlant.scala:267: atLeast ==> at least
simulator/src/main/scala/scienceworld/objects/substance/food/Food.scala:417: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/objects/substance/food/Food.scala:418: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/objects/substance/food/Food.scala:424: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/objects/substance/food/Food.scala:425: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/objects/substance/food/Food.scala:429: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskMendelianGenetics1.scala:215: atLeast ==> at least
simulator/src/main/scala/scienceworld/objects/livingthing/animals/Animal.scala:47: cannonical ==> canonical
simulator/src/main/scala/scienceworld/objects/livingthing/animals/Animal.scala:52: cannonical ==> canonical
simulator/src/main/scala/scienceworld/objects/livingthing/animals/Animal.scala:58: cannonical ==> canonical
simulator/src/main/scala/language/runtime/runners/PredicateRunner.scala:14: evalution ==> evaluation, evolution
simulator/src/main/scala/language/runtime/runners/PredicateRunner.scala:233: heirarchical ==> hierarchical
simulator/src/main/scala/scienceworld/environments/BuildingMaker.scala:221: Electical ==> Electrical
simulator/src/main/scala/scienceworld/environments/BuildingMaker.scala:267: metalic ==> metallic
simulator/src/main/scala/scienceworld/objects/document/Document.scala:220: develope ==> develop
simulator/src/main/scala/scienceworld/tasks/goals/Goal.scala:79: competion ==> competition, completion
simulator/src/main/scala/scienceworld/tasks/goals/Goal.scala:119: unorderd ==> unordered
simulator/src/main/scala/scienceworld/tasks/goals/specificgoals/GoalTemperature.scala:64: thresold ==> threshold
simulator/src/main/scala/scienceworld/tasks/goals/specificgoals/GoalTemperature.scala:95: thresold ==> threshold
simulator/src/main/scala/language/runtime/runners/ActionRunner.scala:125: differnt ==> different
simulator/src/main/scala/scienceworld/processes/lifestage/LifeStage.scala:65: Cannonical ==> Canonical
simulator/src/main/scala/language/runtime/Interpreter.scala:155: encounted ==> encountered, encounter
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:4: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:214: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:215: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:221: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:222: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:228: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:229: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:395: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:396: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:403: Sandwhich ==> Sandwich
simulator/src/main/scala/scienceworld/processes/Chemistry.scala:404: sandwhich ==> sandwich
simulator/src/main/scala/scienceworld/processes/ElectricalConductivity.scala:100: dirctly ==> directly
simulator/src/main/scala/scienceworld/processes/ElectricalConductivity.scala:137: dirctly ==> directly
simulator/src/main/scala/language/struct/Taxonomy.scala:107: Sucess ==> Success
simulator/src/main/scala/language/struct/Taxonomy.scala:126: Sucess ==> Success
examples/random_agent.py:130: Epsiode ==> Episode
scienceworld/object_type_ids.tsv:200: Sandwhich ==> Sandwich
simulator/src/main/scala/language/model/Program.scala:162: cannonical ==> canonical
simulator/src/main/scala/scienceworld/input/InputParser.scala:610: indicies ==> indices
simulator/src/main/scala/scienceworld/goldagent/PathFinder.scala:56: appropraite ==> appropriate
simulator/src/main/scala/scienceworld/goldagent/PathFinder.scala:121: appropraite ==> appropriate
MarcCote commented 2 years ago

That'd be great. You can make a PR. :) I didn't know about codespell, that's neat.